- New widget
quercusInput(), hierarchical treeview component based on JavaScript library quercus.js. - Updated virtual-select to 1.1.0, see https://github.com/sa-si-dev/virtual-select/releases.
- Updated air-datepicker to 3.6.0, see https://github.com/t1m0n/air-datepicker?tab=readme-ov-file#v360
- Updated vanilla-calendar-pro to 3.1.0, see https://github.com/uvarov-frontend/vanilla-calendar-pro/releases
- New widget
calendarProInput(), a date and time picker component based on JavaScript library vanilla-calendar-pro. virtualSelectInput(): ability to set a JavaScript function as callback forselectedLabelRenderer.- New argument
inputTypeinsearchInput()andtextInputIcon()to specify the input's type, for example"password". knobInput()andswitchInput()are softly deprecated, since the JavaScript libraries used by those widgets are no longer actively maintained.- Updated virtual-select to 1.0.47 (fix focus issue), see https://github.com/sa-si-dev/virtual-select/releases.
- Updated @simonwep/pickr to 1.9.1, see https://github.com/simonwep/pickr/releases.
- New widget :
slimSelectInput(), an alternative select menu. - Updated virtual-select to 1.0.45, see https://github.com/sa-si-dev/virtual-select/releases.
airDatepickerInput()&updateAirDateInput(): added atzargument to specify timezone.checkboxGroupButtons()&radioGroupButtons(): fixed justified layout when using individual buttons.
- Fixed a bug in
updateAirDateInput()when updating selected value with no options. - Updated virtual-select to 1.0.43, see https://github.com/sa-si-dev/virtual-select/releases.
WinBox(): addedauto_indexargument to automatically open window above all others.- Added
applyWinBox()to apply arbitrary method on an existing window.
- Fixed a bug in
updateAirDateInput()when updating selected value and options at the same time #684. - New widget
WinBox()to manage multiple windows in an app, https://nextapps-de.github.io/winbox/.
- Updated virtual-select-plugin to 1.0.42 and inclued tooltip plugin, #674 by @stla.
- Updated air-datepicker to 3.5.0.
- Updated noUiSlider to 15.7.1.
updateNoUiSliderInput(): addeddisableHandlersandenableHandlersto disable/enable specific handlers.updateVirtualSelect(): addedopenargument to open/close the dropdown.virtualSelectInput()addedupdateOnargument to to set when input is updated: on change or on close.- New widget
timeInput()to select time using browser input.
- New feature for
virtualSelectInput(): ability to use JavaScript functions foronServerSearchorlabelRendererparameters, by @MichalLauer. - New feature for
virtualSelectInput()/prepare_choices(): added classNames as optional argument, by @SverreFL. - Updated air-datepicker to 3.4.0 (with croatian and bulgarian locale), fix #668.
updatePickerInput(): fix max option group, fix #670.- Fix JavaScript errors generated by
updateProgressBar(), fix #656.
searchInput(): addedbtnClassargument to set class of search and reset buttons.- Addition of autocomplete parameter for
pickerInput()andmultiInput(), #652 by @MichalLauer.
pickerInput(): fix choicesOpts with grouped choices #650updateProgressBar(): accept HTML in title #651- don't use system.file for packer htmldependencies
searchInput(): remove inline CSS and!importantuse #637
shinyWidgetsGallery()new look for the gallery and two new tabs (forairDatepickerInput()andvirtualSelectInput()).airDatepickerInput(): added arguments :disabledDaysOfWeekto disable day(s) of the week.readonlyto prevent edit in the input field.onkeydownto add onkeydown attribute on the input field.
materialSwitch(): click on the label now toggle the switch #582.pickerInput(): added argumentstateInputto activate or deactivate the special input valueinput$<inputId>_openallowing to know if the menu is opened or not.updateColorPickr(): added argumentswatchesto update swatches from server.- Updated virtual-select-plugin to 1.0.39 (fix #601).
- Updated sweetalert2 to v11.7.27.
- Updated air-datepicker to 3.3.5.
verticalTabsetPanel()does not render output content when using Bootstrap 5 #570.virtualSelectInput: fixed crash with choices=list() #571.
useShinydashboard(),useShinydashboardPlus(),useTablerDash(),useArgonDash(),useBs4Dash(),setShadow(),setSliderColor()are deprecated and will be removed in a future release.selectizeGroupUI/selectizeGroupServermodule is deprecated, use equivalent Select Group Input Module in package datamods
- Updated virtual-select-plugin to 1.0.37.
- Updated air-datepicker to 3.3.3, fix #553.
verticalTabsetPanel()does not work with bslib using Bootstrap 5 #549.
- Updated virtual-select-plugin to 1.0.34.
- Updated air-datepicker to 3.3.1 with language support for japanese and korean.
- Updated
treeInput()collapse and expand methods (in javascript).
multiInput()is no longer renders HTML tags inside values #545.awesomeCheckboxGroup()errors when colon in choices #543.
- New widget
treeInput()based on treejs library. - Updated virtual-select-plugin to 1.0.33.
updateVirtualSelect()has a new argumentdisabledChoicesto disable some choices from the menu.- It's now possible to use variable with space in their name in
selectizeGroupmodule, thanks to @evgeniyftw.
switchInput()produced an error when usingbslib::bs_theme(version = "3")#528.- Fixed a bug in
pickerGroupmodule when usingaggregate#491. - Fixed highlightedDates no longer works for
airDatePicker()#532.
- Updated air-datepicker to 3.2.1 with language support for italian and arabic.
- Fixed
airDatepickerInput()z-index and buttons. dropdown(): addedblock&no_outlinearguments.actionBttn(): added ability to pass arguments to tag container.autonumericInput(): remove custom CSS styles
pickerInput's custom input to know if the menu is open or closed wasn't working anymore after usingupdatePickerInput#522
- Updated air-datepicker library to latest version (3.2.0), updating bindings to use dayjs to manipulate date.
updateNoUiSliderInput(): new argumentlabel =to update the widget's label.
airDatepickerInput(): argumentdateFormathas a new notation, default value changed fromyyyy-mm-ddtoyyyy-MM-dd. See https://air-datepicker.com/docs?scrollTo=dateFormat for potential alues.
- Updated virtual-select-plugin to 1.0.30
pickerInputbindings: fixed update method when using Bootstrap 5.virtualSelectInputstate (opened or closed) is now available withinput$<inputId>_open.
- New widget
virtualSelectInput(), a select dropdown widget that support a lot of choices, based on virtual-select JavaScript library. - Updated bootstrap-select to v1.14.0-beta3, to make
pickerInput()works with Bootstrap 5. - Updated
alert()andpanel()Bootstrap utilities to work with Bootstrap 5.
- Removed
formulaargument fromaggregate()to accomode to R 4.2.0 (fix #491)
- Revert
bootstrap-switch-jsto 3.3.4 to fix bug whenvalue = TRUE. - Fixed a bug in
colorSelectorInput()causing not returning an input value.
- Following functions are now compatible with Bootstrap 4 & 5, when using
bslib::bs_theme():radioGroupButtons()checkboxGroupButtons()textInputIcon()numericInputIcon()
checkboxGroupButtons()/radioGroupButtons():statusargument now accept a vector, thanks to @jassler (#440)downloadBttn()now has aiconargument.switchInput()is now themable with {bslib}, thanks to @AshesITR (#454)
updateNumericRangeInput()failed to correctly updatelabel(#441)verticalTabsetPanel()didn't work insiderenderUIand with more than one panel (#446)statiCard(): fixed rendering inrenderUIand value not displayed if animation interrupted (#406, #407)checkboxGroupButtons()/radioGroupButtons()fixedjustified = TRUEargument compatibility with Bootstrap 4 (fix #423)
numericRangeInput(): addedmin,max,steparguments.shinyWidgetsGallery(): switch to Font-Awesome 5 icon names (to accomodate with Shiny 1.7.0).
- Add transparent border to
setSliderColor(), thanks to @shannonpileggi (#396) - Add commas in value and total of
progressBar(), thanks to @swsoyee (#388) - Add position absolute to
awesomeCheckboxGroup(), thanks to @MayaGans (#390) autonumericInput(): distinguish between no input and input=0, see #384- Update of
disabledDatesargument's behavior inupdateAirDateInput(), see #379 - Updated sweetalert2 dependencies to 11.1.4
inputSweetAlert(): added email and url types.inputSweetAlert(): allow javascript code, for example to use argumentinputValidatorwith a function.
- {bslib} support for
pretty***()andawesome***()functions. - Update to work with {shinydashboardPlus} 2.0.0
updateAirDateInput()has new argumentsshowandhideto show/hide the picker from server.- New
colorPickr()function: a color picker based on https://github.com/Simonwep/pickr. - Updated skins available in
chooseSliderSkin().
- Fixed
chooseSliderSkin()to work with shiny > 1.6.0 - Temporary fix for
pickerInput()to work with shiny > 1.6.0 (this is fixed in dev version of shiny). airDatepickerInput()had a new argumenthighlightedDatesto mark some dates in calendar as specific.- Fixed timezone issues in
updateAirDateInput()by @ericnewkirk.
- Fixed failing test with upcoming shiny release
show_alert(),sendSweetAlert()andinputSweetAlert()now accept parameters directly passed to JavaScript method.- New function
statiCard()to create minimal statistic cards. airDatepicker()now support italian, thanks to @ClaudioZandonella.
- New functions:
currencyInput(),formatNumericInput()andautonumericInput()to enter numeric value with specified format like a currency, by @srmatth. - Ability to update icons in
updateNumericInputIcon()andupdateTextInputIcon(). - SweetAlert family: upgraded to 9.17.1 and added a polyfill to work in Internet Explorer (see
useSweetAlert()).
- Disable
radioGroupButtons()andcheckboxGroupButtons()with checkIcon not working properly (#311)
- Fixed
airDatepickerInput()z-index issue (causing incorrect display in modal or sidebar). - Fixed a bug in
downloadBttn()causing download to be triggered twice. - Added the ability to disable completely or partially
radioGroupButtons()andcheckboxGroupButtons()via respective update methods. - UI validation in
numericInputIcon()if min and/or max are provided and value is outside range.
- New function
execute_safely()to display a message in case of error and don't stop application. airDatepickerInput()has two new arguments:onlyTimepicker: to only display the time picker part of the widget.firstDay: day index from which week will be started
knobInput()has two new arguments :preandpostto add prefix/suffix to the value displayed.- Updated
awesome*()dependencies. - Sweet alert family:
- update dependencies to 9.10.13
- New function
show_toast()to display toast notification. - New functions
show_alert()andask_confirmation()aliases forsendSweetAlert()andconfirmSweetAlert()with optional session argument.
- Changes in
dropMenu()bindings to work with inputs updates. downloadBttn()worked only when clicking the label, now you can click the full button #271.
- Added two new functions :
textInputIcon()(as a replacement oftextInputAddon()) andnumericInputIcon()to display icon(s) along to text and numeric inputs. - Internal rewrite of
airDatepickerInput, no breaking change intended, if encounter some troubles please open an issue. airDatepickerInput()has a new argumentstartViewto set the view displayed when date picker is openned.- New function
dropMenu, a more robust and customizable replacement fordropdown()ordropdownMenu(). - Fixed encoding bug in
updatePickerInput().
selectizeGroupServer()(moduleselectizeGroup) now acceptreactivedata andreactivevars arguments, see examples for details?selectizeGroupServer.- Internal optimization of
pickerInputfor large list of choices. pickerInput()'schoicesOptargument now accept an elementtokensthat can be use to declare keywords for live-search.pickerUpdate(): updated dependencies & bindings, now live-search & multiple selection works fine together #142.useSweetAlert()now accept athemeargument to customize Sweet Alerts appearance (e.g. withsendSweetAlertfor example).updateMulti()preserve character encoding #232.- Fixed a bug in
verticalTabPanel()preventing outputs to be displayed #237.
- Update to SweetAlert2: more options available for
sendSweetAlert(),confirmSweetAlert(),inputSweetAlert(). - add
useTablerDash()to import functions from tablerDash. updateProgressBar(),confirmSweetAlert(),inputSweetAlert()are now module friendly, thanks to @AshesITR.- add
inline = TRUE/FALSEargument todropdownButton(): return either a span or a div element. - You can now use a
DT::datatable()with pagination inside adropdown(). - Removed extra margins (top and bottom, 3px each) in
radioGroupButtons()andcheckboxGroupButtons(). - add
inline = TRUE/FALSEargument topickerGroupUI(): put pickers side-by-side (default) or one of top of each other.
- Remove a unit test that was not compatible with an upcoming version of Shiny.
- add
useArgonDashto import functions from argonDash. - add
useBs4Dashto import functions from bs4Dash. - Fix updating
searchInputlabel & placeholder in modules. - Fix issue with ghost sidebar in
useShinydashboard. - Fix issue updating
prettyRadio&prettyCheckboxwith icons.
- Fix a bug with
awesome*widgets due to FontAwesome upgrade in Shiny @AshesITR. - New methods for mutating vertical tabs (
appendVerticalTab,removeVerticalTab,reorderVerticalTabs) by @ifellows - New widget
numericRangeInputby @wkdavis.
- New function
updateMultiInputfor updatingmultiInput, thanks to @ifellows. - New function
updateVerticalTabsetPanelfor updatingverticalTabsetPanel. - Update options for
knobInputandairDatepickerInput. - Custom unit & range in progress bars (arguments
unit_mark&range_valueinprogressBar). - Argument
update_onto choose when trigger update server-side inspectrumInput. - Vertical layout in
selectizeGroup. - New function
pickerOptionsto help usingpickerInputoptions argument. - Bug fix with size argument in
actionGroupButtons. dropdownbutton act like anactionButton(same behavior asdropdownButton)- Update Bootstrap-Select JavaScript library from 1.12.4 to 1.13.3 (used in
pickerInput).
- New functions to customize
sliderInput:chooseSliderSkinandsetSliderColorby @DivadNojnarg. - New function
downloadBttn, adownloadButtonwith custom appearance. - New widget
airDatepickerInput, to select single, multiple and range of dates. You can also select time. And two shortcuts to select months or years. - New function to add spinners when outputs are recalculating.
- New function
useShinydashboardto use functions from 'shinydashboard' into a classic 'shiny' app, specificallyvalueBox,infoBoxandbox. - New functions
setBackgroundColorandsetBackgroundImageto change background color or use an image, by @DivadNojnarg.
- New function
updateSearchInputto updatesearchInputserver-side #52. - New argument
inlinetoprettySwitch,prettyToggleandprettyCheckboxto position checkboxes side by side. - New argument
htmltoconfirmSweetAlertandsendSweetAlertto pass HTML tags in alert window #48. - New Shiny modules to create dependent select menu :
selectizeGroupandpickerGroup. - New widget :
noUiSlider, a minimal slider range for numeric values.
- New functions with Sweet Alert :
confirmSweetAlert(confirmation dialog box),inputSweetAlert(text input dialog box),progressSweetAlert(progress bar in popup). - Update Sweet Alert library to 2.O
sendSweetAlertworks without usinguseSweetAlertin UI.- Update multi.js to 0.2.4
- Update bootstrap switch to 3.3.4
- Change minimal version of R to 3.3.1
- Function to toggle dropdown server-side :
toggleDropdownButton.
Bug fixes :
- Fix logic on when btn-size class is added to button by @coolbutuseless.
- Bug in dependencies between
pretty*andbttn.
- New widget :
spectrumInputfor choosing colors in palettes or custom one. - New widgets :
prettyCheckbox,prettySwitch,prettyToggle,prettyCheckboxGroupandprettyRadioButtonsfor create pretty checkboxes, toggle switch, radio buttons with colors, icons and a lot of options. - New widget :
knobInputa round slider, thanks to @DivadNojnarg.
Bug fixes:
- Bug when initializing (in modal window or in
renderUI)pickerInputandswitchInput. awesomeCheckboxGroupnot working wheninline = FALSE, thanks to @meganhartwell-stemcell, @dStudio-git, @Nicolabo to report this.- Weird behavior of inputs in
dropdownreported by @markdumke.
- New widget :
sliderTextInput: a slider for character vector. - New arguments
choiceNames&choiceValuesforcheckboxGroupButtons&radioGroupButtonsto easily pass HTML in the names displayed on the buttons. - New argument
inlinetomaterialSwitch, thanks to @FrissAnalytics.
- Support for bookmarking state.
- Support for tooltip from
bsplus. - Upgrade
pickerInputto bootstrap-select 1.12.4. - Upgrade
switchInputto bootstrap-switch 3.3.4. - Remove
receiveSweetAlertfor simpler use withuseSweetAlert. - Add inline argument to
materialSwitch(#17). - Display code for dropdowns in gallery.
This release fix a bug in the gallery and add tests.
- Fix a bug when in
checkboxGroupButtonswhenindividual = TRUE, causingshinyWidgetsGalleryon launch.
Several updates methods implemented.
- Add function
updateAwesomeCheckboxfor updating single awesome checkbox. - New function
panelto create similar panel than in shinydashboard. - New arguments and examples for
updateSwitchInput,updateRadioGroupButtons,updateCheckboxGroupButtons,updateAwesomeRadio,updateAwesomeCheckboxGroup
- Buttons in
searchInputare nowactionButton, see #11
Better documentation and examples. Alternative function to create a dropdown. New function colorSelector.