New features
-
Added a new
toolbar()component for creating Bootstrap toolbars that can contain buttons, text, and other elements. (#1247)- Added
toolbar_input_button()for easily creating buttons to include in atoolbar(). (#1248) - Added
toolbar_input_select(), a select input designed for use within atoolbar(). (#1249) - Added
update_toolbar_input_select()for updating the choices, icon, label, and selected value of atoolbar_input_select()from the server. (#1266) - Added
update_toolbar_input_button()for updating the label, icon, and disabled state of atoolbar_input_button()from the server. (#1266) - Added
toolbar_divider()for adding visual dividers with customizable width and spacing between toolbar elements. (#1259)
- Added
-
sidebar()gains aresizableargument (defaultTRUE) to control whether the sidebar can be resized by dragging its edge on desktop (wide screen sizes). (#1299) -
input_code_editor()now supportslanguage = "ggsql"for syntax highlighting of ggsql queries. (#1291)
Improvements and bug fixes
-
bslib's version of Bootstrap and Bootswatch have been updated to 5.3.8. (#1287)
-
Fixed a caret drift issue in
input_code_editor()where the cursor would appear to the right of the actual text insertion point when certain themes or on some operating systems. (#1304) -
Fixed the chevron icon on
selectInput(selectize = FALSE)when using Bootstrap 5. (#1307) -
Improved the sidebar resize handle to avoid conflicts with the sidebar's native scrollbar and to better support touch devices. (#1299)
-
The brand.yml example app (
shiny::runExample("brand.yml", package = "bslib")) now usesbrand_pluck()andbrand_has()from{brand.yml}. (#1288)