Skip to content

Commit

Permalink
chore: Update NEWS, bump package version, fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnowicki committed Feb 28, 2024
1 parent bd8349c commit a4b26ae
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: shiny.semantic
Title: Semantic UI Support for Shiny
Version: 0.5.0.9001
Version: 0.5.0.9002
Authors@R: c(person("Filip", "Stachura", email = "[email protected]", role = "aut"),
person("Dominik", "Krzeminski", role = "aut"),
person("Krystian", "Igras", role = "aut"),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- Fixed `update_multiple_checkbox` not supporting choices with single quote.

- `semantic_DT` now accepts style and class arguments.

# [shiny.semantic 0.5.0](https://github.com/Appsilon/shiny.semantic/releases/tag/0.5.0)

- `shiny.semantic` no longer uses CDN as the default source of assets. Instead, `semantic.assets` package was introduced.
Expand Down
15 changes: 9 additions & 6 deletions R/tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@
#' }
#'
#' @export
semantic_DT <- function(..., options = list(), style="semanticui", class = 'ui small compact table') {
DT::datatable(..., options = options,
class = class,
style = style,
rownames = FALSE)
semantic_DT <- function(..., options = list(), style = "semanticui", class = 'ui small compact table') {
DT::datatable(
...,
options = options,
class = class,
style = style,
rownames = FALSE
)
}

#' Semantic DT Output
Expand All @@ -38,5 +41,5 @@ semantic_DT <- function(..., options = list(), style="semanticui", class = 'ui s
#' @return DT Output with semanitc style
#' @export
semantic_DTOutput <- function(...) {
DT::DTOutput(...)
DT::DTOutput(...)
}
11 changes: 10 additions & 1 deletion man/semantic_DT.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4b26ae

Please sign in to comment.