diff --git a/R/ui.R b/R/ui.R index 28ea7a39..b5b3cd04 100644 --- a/R/ui.R +++ b/R/ui.R @@ -129,7 +129,7 @@ get_barposition <- function(metadata) { #' @param label_select Character string. The label for the select input. Defaults to "Choose an option...". #' @param grid Logical. Whether to show a grid for slider input. Defaults to TRUE. #' @param individual Logical. Whether buttons in a group should be individually styled. Defaults to TRUE. -#' @param justified Logical. Whether buttons in a group should be justified. Defaults to FALSE. +#' @param justified Logical. Whether buttons in a group should fill the width of the parent div. Defaults to FALSE. #' @param force_edges Logical. Whether to force edges for slider input. Defaults to TRUE. #' @param option List. Options for the select, radio, checkbox, and slider inputs. #' @param placeholder Character string. Placeholder text for text and textarea inputs. @@ -227,8 +227,7 @@ sd_question <- function( label = markdown_to_html(label), choices = list_name_md_to_html(option), direction = direction, - selected = character(0), - status = status + selected = character(0) ) output <- shiny::tagAppendChild(output, shiny::tags$script(shiny::HTML(sprintf(" @@ -245,7 +244,7 @@ sd_question <- function( choices = list_name_md_to_html(option), direction = direction, individual = individual, - justified = justified + justified = TRUE ) output <- shiny::tagAppendChild(output, shiny::tags$script(shiny::HTML(sprintf(" diff --git a/man/sd_question.Rd b/man/sd_question.Rd index c0ee6587..f8cc181c 100644 --- a/man/sd_question.Rd +++ b/man/sd_question.Rd @@ -49,7 +49,7 @@ sd_question( \item{individual}{Logical. Whether buttons in a group should be individually styled. Defaults to TRUE.} -\item{justified}{Logical. Whether buttons in a group should be justified. Defaults to FALSE.} +\item{justified}{Logical. Whether buttons in a group should fill the width of the parent div. Defaults to FALSE.} \item{force_edges}{Logical. Whether to force edges for slider input. Defaults to TRUE.} diff --git a/pkgdown/favicon/apple-touch-icon-120x120.png b/pkgdown/favicon/apple-touch-icon-120x120.png index 70fc7337..1e0a1316 100644 Binary files a/pkgdown/favicon/apple-touch-icon-120x120.png and b/pkgdown/favicon/apple-touch-icon-120x120.png differ diff --git a/pkgdown/favicon/apple-touch-icon-152x152.png b/pkgdown/favicon/apple-touch-icon-152x152.png index dd136e8a..0214b30d 100644 Binary files a/pkgdown/favicon/apple-touch-icon-152x152.png and b/pkgdown/favicon/apple-touch-icon-152x152.png differ diff --git a/pkgdown/favicon/apple-touch-icon-180x180.png b/pkgdown/favicon/apple-touch-icon-180x180.png index d52bc6c7..e174cdcd 100644 Binary files a/pkgdown/favicon/apple-touch-icon-180x180.png and b/pkgdown/favicon/apple-touch-icon-180x180.png differ diff --git a/pkgdown/favicon/apple-touch-icon-60x60.png b/pkgdown/favicon/apple-touch-icon-60x60.png index 3e46de80..7af29374 100644 Binary files a/pkgdown/favicon/apple-touch-icon-60x60.png and b/pkgdown/favicon/apple-touch-icon-60x60.png differ diff --git a/pkgdown/favicon/apple-touch-icon-76x76.png b/pkgdown/favicon/apple-touch-icon-76x76.png index ca5314cc..fb79da77 100644 Binary files a/pkgdown/favicon/apple-touch-icon-76x76.png and b/pkgdown/favicon/apple-touch-icon-76x76.png differ diff --git a/pkgdown/favicon/apple-touch-icon.png b/pkgdown/favicon/apple-touch-icon.png index 8306e09c..2042c4d5 100644 Binary files a/pkgdown/favicon/apple-touch-icon.png and b/pkgdown/favicon/apple-touch-icon.png differ diff --git a/pkgdown/favicon/favicon-16x16.png b/pkgdown/favicon/favicon-16x16.png index da99f4ad..6733593b 100644 Binary files a/pkgdown/favicon/favicon-16x16.png and b/pkgdown/favicon/favicon-16x16.png differ diff --git a/pkgdown/favicon/favicon-32x32.png b/pkgdown/favicon/favicon-32x32.png index 666555a2..a55292f5 100644 Binary files a/pkgdown/favicon/favicon-32x32.png and b/pkgdown/favicon/favicon-32x32.png differ diff --git a/pkgdown/favicon/favicon.ico b/pkgdown/favicon/favicon.ico index d7e70b13..9eb8b994 100644 Binary files a/pkgdown/favicon/favicon.ico and b/pkgdown/favicon/favicon.ico differ