Skip to content

Commit

Permalink
cran release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Nov 16, 2017
1 parent 55d5437 commit 7172129
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinyWidgets
Title: Custom Inputs Widgets for Shiny
Version: 0.3.7.950
Version: 0.4.0
Authors@R: c(
person("Victor", "Perrier", email = "[email protected]", role = c("aut", "cre")),
person("Fanny", "Meyer", email = "[email protected]", role = c("aut")),
Expand Down
11 changes: 9 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
shinyWidgets 0.3.7.900
shinyWidgets 0.4.0
======================

* Bug when initializing (in modal window or in `renderUI`) `pickerInput` and `switchInput`.
* New widget : `spectrumInput` for choosing colors in palettes or custom one.
* New widgets : `prettyCheckbox`, `prettySwitch`, `prettyToggle`, `prettyCheckboxGroup` and `prettyRadioButtons` for create pretty checkboxes,
toggle switch, radio buttons with colors, icons and a lot of options.
* New widget : `knobInput` a round slider, thanks to @DivadNojnarg.

Bug fixes:
* Bug when initializing (in modal window or in `renderUI`) `pickerInput` and `switchInput`.
* `awesomeCheckboxGroup` not working when `inline = FALSE`, thanks to @meganhartwell-stemcell, @dStudio-git, @Nicolabo to report this.
* Weird behavior of inputs in `dropdown` reported by @markdumke.



shinyWidgets 0.3.6
==================

* New widget : `sliderTextInput` : a slider for character vector.
* New arguments `choiceNames` & `choiceValues` for `checkboxGroupButtons` & `radioGroupButtons` to easily pass HTML in the names displayed on the buttons.
* New argument `inline` to `materialSwitch`, thanks to @FrissAnalytics.


shinyWidgets 0.3.5
Expand Down
3 changes: 2 additions & 1 deletion R/input-knob.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' @param inputColor Input value (number) color.
#' @param bgColor Background color.
#' @param readOnly Disable knob (\code{TRUE} or \code{FALSE}).
#' @param skin Change Knob skin, only one option avaible : 'tron'.
#' @param skin Change Knob skin, only one option available : 'tron'.
#' @param width The width of the input, e.g. \code{400px}, or \code{100\%}.
#' @param height The height of the input, e.g. \code{400px}, or \code{100\%}.
#'
Expand All @@ -38,6 +38,7 @@
#' if (interactive()) {
#'
#' library("shiny")
#' library("shinyWidgets")
#'
#' ui <- fluidPage(
#' knobInput(
Expand Down
2 changes: 1 addition & 1 deletion R/input-pretty.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ updatePrettySwitch<- function (session, inputId, label = NULL, value = NULL) {

#' @title Pretty Toggle Input
#'
#' @description A single chexkbox that changes appearance if checked or not.
#' @description A single checkbox that changes appearance if checked or not.
#'
#' @param inputId The \code{input} slot that will be used to access the value.
#' @param label_on Display label for the control when value is \code{TRUE}.
Expand Down
2 changes: 1 addition & 1 deletion R/input-spectrum.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param choices List of colors to display in the menu.
#' @param selected The initially selected value.
#' @param flat Display the menu inline.
#' @param options Additionnal options to pass to spectrum, possible values are described here : \url{https://bgrins.github.io/spectrum/#options}.
#' @param options Additional options to pass to spectrum, possible values are described here : \url{https://bgrins.github.io/spectrum/#options}.
#' @param width The width of the input, e.g. \code{400px}, or \code{100\%}.
#'
#'
Expand Down
3 changes: 2 additions & 1 deletion man/knobInput.Rd

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

2 changes: 1 addition & 1 deletion man/prettyToggle.Rd

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

2 changes: 1 addition & 1 deletion man/spectrumInput.Rd

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

0 comments on commit 7172129

Please sign in to comment.