NEWS.md
calendarProInput(), a date and time picker component based on JavaScript library vanilla-calendar-pro.virtualSelectInput(): ability to set a JavaScript function as callback for selectedLabelRenderer.inputType in searchInput() and textInputIcon() to specify the input’s type, for example "password".knobInput() and switchInput() are softly deprecated, since the JavaScript libraries used by those widgets are no longer actively maintained.slimSelectInput(), an alternative select menu.airDatepickerInput() & updateAirDateInput(): added a tz argument to specify timezone.checkboxGroupButtons() & radioGroupButtons(): fixed justified layout when using individual buttons.updateAirDateInput() when updating selected value with no options.WinBox(): added auto_index argument to automatically open window above all others.applyWinBox() to apply arbitrary method on an existing window.updateAirDateInput() when updating selected value and options at the same time #684.WinBox() to manage multiple windows in an app, https://nextapps-de.github.io/winbox/.updateNoUiSliderInput(): added disableHandlers and enableHandlers to disable/enable specific handlers.updateVirtualSelect() : added open argument to open/close the dropdown.virtualSelectInput() added updateOn argument to to set when input is updated: on change or on close.timeInput() to select time using browser input.virtualSelectInput() : ability to use JavaScript functions for onServerSearch or labelRenderer parameters, by @MichalLauer.virtualSelectInput() / prepare_choices() : added classNames as optional argument, by @SverreFL.updatePickerInput() : fix max option group, fix #670.updateProgressBar(), fix #656.searchInput() : added btnClass argument to set class of search and reset buttons.pickerInput() and multiInput(), #652 by @MichalLauer.pickerInput() : fix choicesOpts with grouped choices #650
updateProgressBar() : accept HTML in title #651
searchInput() : remove inline CSS and !important use #637
shinyWidgetsGallery() new look for the gallery and two new tabs (for airDatepickerInput() and virtualSelectInput()).airDatepickerInput() : added arguments :
disabledDaysOfWeek to disable day(s) of the week.readonly to prevent edit in the input field.onkeydown to add onkeydown attribute on the input field.materialSwitch() : click on the label now toggle the switch #582.pickerInput() : added argument stateInput to activate or deactivate the special input value input$<inputId>_open allowing to know if the menu is opened or not.updateColorPickr() : added argument swatches to update swatches from server.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/selectizeGroupServer module is deprecated, use equivalent Select Group Input Module in package datamods
verticalTabsetPanel() does not work with bslib using Bootstrap 5 #549.treeInput() collapse and expand methods (in javascript).multiInput() is no longer renders HTML tags inside values #545.awesomeCheckboxGroup() errors when colon in choices #543.treeInput() based on treejs library.updateVirtualSelect() has a new argument disabledChoices to disable some choices from the menu.selectizeGroup module, thanks to @evgeniyftw.switchInput() produced an error when using bslib::bs_theme(version = "3") #528.pickerGroup module when using aggregate #491.airDatePicker() #532.airDatepickerInput() z-index and buttons.dropdown(): added block & no_outline arguments.actionBttn(): added ability to pass arguments to tag container.autonumericInput(): remove custom CSS stylespickerInput’s custom input to know if the menu is open or closed wasn’t working anymore after using updatePickerInput #522
updateNoUiSliderInput(): new argument label = to update the widget’s label.airDatepickerInput(): argument dateFormat has a new notation, default value changed from yyyy-mm-dd to yyyy-MM-dd. See https://air-datepicker.com/docs?scrollTo=dateFormat for potential alues.pickerInput bindings: fixed update method when using Bootstrap 5.virtualSelectInput state (opened or closed) is now available with input$<inputId>_open.virtualSelectInput(), a select dropdown widget that support a lot of choices, based on virtual-select JavaScript library.pickerInput() works with Bootstrap 5.alert() and panel() Bootstrap utilities to work with Bootstrap 5.formula argument from aggregate() to accomode to R 4.2.0 (fix #491)bootstrap-switch-js to 3.3.4 to fix bug when value = TRUE.colorSelectorInput() causing not returning an input value.bslib::bs_theme() :
checkboxGroupButtons()/radioGroupButtons(): status argument now accept a vector, thanks to @jassler (#440)downloadBttn() now has a icon argument.switchInput() is now themable with {bslib}, thanks to @AshesITR (#454)updateNumericRangeInput() failed to correctly update label (#441)verticalTabsetPanel() didn’t work inside renderUI and with more than one panel (#446)statiCard(): fixed rendering in renderUI and value not displayed if animation interrupted (#406, #407)checkboxGroupButtons()/radioGroupButtons() fixed justified = TRUE argument compatibility with Bootstrap 4 (fix #423)numericRangeInput(): added min, max, step arguments.shinyWidgetsGallery(): switch to Font-Awesome 5 icon names (to accomodate with Shiny 1.7.0).setSliderColor(), thanks to @shannonpileggi (#396)progressBar(), thanks to @swsoyee (#388)awesomeCheckboxGroup(), thanks to @MayaGans (#390)autonumericInput(): distinguish between no input and input=0, see #384
disabledDates argument’s behavior in updateAirDateInput(), see #379
inputSweetAlert(): added email and url types.inputSweetAlert(): allow javascript code, for example to use argument inputValidator with a function.pretty***() and awesome***() functions.updateAirDateInput() has new arguments show and hide to show/hide the picker from server.colorPickr() function: a color picker based on https://github.com/Simonwep/pickr.chooseSliderSkin().chooseSliderSkin() to work with shiny > 1.6.0pickerInput() to work with shiny > 1.6.0 (this is fixed in dev version of shiny).airDatepickerInput() had a new argument highlightedDates to mark some dates in calendar as specific.updateAirDateInput() by @ericnewkirk.show_alert(), sendSweetAlert() and inputSweetAlert() now accept parameters directly passed to JavaScript method.statiCard() to create minimal statistic cards.airDatepicker() now support italian, thanks to @ClaudioZandonella.currencyInput(), formatNumericInput() and autonumericInput() to enter numeric value with specified format like a currency, by @srmatth.updateNumericInputIcon() and updateTextInputIcon().useSweetAlert()).radioGroupButtons() and checkboxGroupButtons() with checkIcon not working properly (#311)airDatepickerInput() z-index issue (causing incorrect display in modal or sidebar).downloadBttn() causing download to be triggered twice.radioGroupButtons() and checkboxGroupButtons() via respective update methods.numericInputIcon() if min and/or max are provided and value is outside range.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 startedknobInput() has two new arguments : pre and post to add prefix/suffix to the value displayed.awesome*() dependencies.show_toast() to display toast notification.show_alert() and ask_confirmation() aliases for sendSweetAlert() and confirmSweetAlert() with optional session argument.dropMenu() bindings to work with inputs updates.downloadBttn() worked only when clicking the label, now you can click the full button #271.textInputIcon() (as a replacement of textInputAddon()) and numericInputIcon() to display icon(s) along to text and numeric inputs.airDatepickerInput, no breaking change intended, if encounter some troubles please open an issue.airDatepickerInput() has a new argument startView to set the view displayed when date picker is openned.dropMenu, a more robust and customizable replacement for dropdown() or dropdownMenu().updatePickerInput().selectizeGroupServer()(module selectizeGroup) now accept reactive data and reactive vars arguments, see examples for details ?selectizeGroupServer.pickerInput for large list of choices.pickerInput()’s choicesOpt argument now accept an element tokens that 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 a theme argument to customize Sweet Alerts appearance (e.g. with sendSweetAlert for example).updateMulti() preserve character encoding #232.verticalTabPanel() preventing outputs to be displayed #237.sendSweetAlert(), confirmSweetAlert(), inputSweetAlert().useTablerDash() to import functions from tablerDash.updateProgressBar(), confirmSweetAlert(), inputSweetAlert() are now module friendly, thanks to @AshesITR.inline = TRUE/FALSE argument to dropdownButton(): return either a span or a div element.DT::datatable() with pagination inside a dropdown().radioGroupButtons() and checkboxGroupButtons().inline = TRUE/FALSE argument to pickerGroupUI(): put pickers side-by-side (default) or one of top of each other.useArgonDash to import functions from argonDash.useBs4Dash to import functions from bs4Dash.searchInput label & placeholder in modules.useShinydashboard.prettyRadio & prettyCheckbox with icons.updateMultiInput for updating multiInput, thanks to @ifellows.updateVerticalTabsetPanel for updating verticalTabsetPanel.knobInput and airDatepickerInput.unit_mark & range_value in progressBar).update_on to choose when trigger update server-side in spectrumInput.selectizeGroup.pickerOptions to help using pickerInput options argument.actionGroupButtons.dropdown button act like an actionButton (same behavior as dropdownButton)pickerInput).sliderInput : chooseSliderSkin and setSliderColor by @DivadNojnarg.downloadBttn, a downloadButton with custom appearance.airDatepickerInput, to select single, multiple and range of dates. You can also select time. And two shortcuts to select months or years.useShinydashboard to use functions from ‘shinydashboard’ into a classic ‘shiny’ app, specifically valueBox, infoBox and box.setBackgroundColor and setBackgroundImage to change background color or use an image, by @DivadNojnarg.updateSearchInput to update searchInput server-side #52.inline to prettySwitch, prettyToggle and prettyCheckbox to position checkboxes side by side.html to confirmSweetAlert and sendSweetAlert to pass HTML tags in alert window #48.selectizeGroup and pickerGroup.noUiSlider, a minimal slider range for numeric values.confirmSweetAlert (confirmation dialog box), inputSweetAlert (text input dialog box), progressSweetAlert (progress bar in popup).sendSweetAlert works without using useSweetAlert in UI.toggleDropdownButton.Bug fixes : * Fix logic on when btn-size class is added to button by @coolbutuseless. * Bug in dependencies between pretty* and bttn.
spectrumInput for choosing colors in palettes or custom one.prettyCheckbox, prettySwitch, prettyToggle, prettyCheckboxGroup and prettyRadioButtons for create pretty checkboxes, toggle switch, radio buttons with colors, icons and a lot of options.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.
sliderTextInput : a slider for character vector.choiceNames & choiceValues for checkboxGroupButtons & radioGroupButtons to easily pass HTML in the names displayed on the buttons.inline to materialSwitch, thanks to @FrissAnalytics.bsplus.pickerInput to bootstrap-select 1.12.4.switchInput to bootstrap-switch 3.3.4.receiveSweetAlert for simpler use with useSweetAlert.materialSwitch (#17).Several updates methods implemented.
updateAwesomeCheckbox for updating single awesome checkbox.panel to create similar panel than in shinydashboard.updateSwitchInput, updateRadioGroupButtons, updateCheckboxGroupButtons, updateAwesomeRadio, updateAwesomeCheckboxGroup
searchInput are now actionButton, see #11