github rstudio/bslib v0.11.0
bslib 0.11.0

4 hours ago

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 a toolbar(). (#1248)
    • Added toolbar_input_select(), a select input designed for use within a toolbar(). (#1249)
    • Added update_toolbar_input_select() for updating the choices, icon, label, and selected value of a toolbar_input_select() from the server. (#1266)
    • Added update_toolbar_input_button() for updating the label, icon, and disabled state of a toolbar_input_button() from the server. (#1266)
    • Added toolbar_divider() for adding visual dividers with customizable width and spacing between toolbar elements. (#1259)
  • sidebar() gains a resizable argument (default TRUE) to control whether the sidebar can be resized by dragging its edge on desktop (wide screen sizes). (#1299)

  • input_code_editor() now supports language = "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 uses brand_pluck() and brand_has() from {brand.yml}. (#1288)

Don't miss a new bslib release

NewReleases is sending notifications on new releases.