Skip to contents

bs4Dash 2.3.4

CRAN release: 2024-09-03

  • Added shinylive to support documentation examples.

Minor change

  • Update jquery-ui to 1.13.2. Thanks @biognosys-so.
  • Fix CRAN NOTES.

bs4Dash 2.3.3

CRAN release: 2024-01-23

Breaking change (potential)

  • Fix #302: both dashboardSidebar() and dashboardControlbar() default skin value is NULL. This allows them to inherit from the parent dashboardPage() dark parameter and have either a full light or full dark skin. Therefore, it won’t be possible anymore to apply a light sidebar background with the dashboardPage() when the main theme is dark and inversely. If you want to do so, you have to set dark = NULL, for instance:
library(shiny)
library(bs4Dash)

shinyApp(
  ui = dashboardPage(
    dark = NULL,
    header = dashboardHeader(
      title = dashboardBrand(
        title = "My dashboard",
        color = "primary",
        href = "https://adminlte.io/themes/v3",
        image = "https://adminlte.io/themes/v3/dist/img/AdminLTELogo.png"
      )
    ),
    sidebar = dashboardSidebar(skin = "dark"),
    body = dashboardBody(
      box(status = "danger"),
      box(status = "primary"),
      box(status = "orange")
    ),
    controlbar = dashboardControlbar(skin = "dark"),
    title = "DashboardPage"
  ),
  server = function(input, output) { }
)

Bug fixes

  • Remove unused headTitles parameter from bs4Table().
  • Fix #315: alert title is not added to alert body and if Alert is not closable the header contains “undefined” key word. Thanks @MohammedFCIS.

bs4Dash 2.3.0

CRAN release: 2023-06-15

New feature

New navbar navigation menu. - navbarTab(), navbarMenu() and updateNavbarTabs() to create navbar navigation. This will close #108.

Minor change

Bug fixes

  • Fix #349: allow to pass list of accordionItem() with .list parameter in accordion(). Thanks @vladimirstroganov for reporting.
  • Fix #330: allow to use input elements (or any not menuItem element) in the sidebar.
  • Fix #343: Refine help parameter behavior in dashboardPage(). If NULL, no icon is shown. If FALSE, icon and toggle are shown but not checked. If TRUE the toggle is checked.

Internal

  • Change dark/light switch CSS class for consistency.

bs4Dash 2.2.1

CRAN release: 2022-12-20

New features

Minor change

  • Fix #323: remove sidebar collapse animation on app startup. JS code moved back to R. Thanks @lucas-alcantara for reporting.

Bug fixes

bs4Dash 2.1.0

CRAN release: 2022-05-05

Breaking change

Minor changes/fixes

bs4Dash 2.0.3

CRAN release: 2021-09-16

This release is a patch to fix an issue preventing the release of Shiny 1.7.0.

Minor changes

  • Internal change regarding the waiter package but no user impact. Thanks @JohnCoene.

bs4Dash 2.0.2

CRAN release: 2021-07-23

Patch to fix CRAN warning on Mac M1.

Minor changes

bs4Dash 2.0.1

CRAN release: 2021-07-16

Minor changes

Bug Fix

  • Fix #220: Disable badgeLabel in SidebarMenuItem when collapsed. Wrong tag structure fixed.
  • Fix #219: icon appears after header in bs4Card/box.

bs4Dash 2.0.0

CRAN release: 2021-05-26

Breaking changes

This is to align with shinydashboard and shinydashboardPlus. ### bs4DashPage/dashboardPage - navbar param becomes header. - Remove old_school, sidebar_mini, sidebar_collapsed, controlbar_collapsed, controlbar_overlay, enable_preloader, loading_duration and loading_background. These parameters move to dashboardSidebar, controlbar … - New freshTheme parameter to pass fresh powered themes. - New options parameter to configure AdminLTE3. - New preloader to use waiter as a preloading engine.

bs4DashFooter

  • ... becomes left.
  • right_text becomes right.

bs4DashNavbar/dashboardHeader

  • controlbarIcon accepts shiny::icon instead of the icon name.
  • sidebarIcon accepts shiny::icon instead of the icon name.
  • add title, titleWidth and disable

bs4UserMenu

  • src becomes image.

bs4DashControlbar/dashboardControlbar

  • Add collapsed and overlay.
  • Remove title.
  • Rename inputId to id.

updatebs4Controlbar

  • inputId becomes id.
  • New alias: updateControlbar.
  • session is not mandatory

bs4DashSidebar/dashboardSidebar/updateSidebar

  • inputId moved to the end.
  • inputId renamed to id.
  • Added collapsed and minified.
  • Add width.
  • Remove opacity, title, brandColor, url and src.

bs4SidebarMenu

  • child_indent becomes childIndent.
  • Add .list to pass programmatically generated bs4SidebarMenuItem.

bs4SidebarMenuItem

bs4SidebarUserPanel

  • img and text become image and name, respectively.

bs4Card

  • Change solidHeader behavior.
  • Remove all sidebar related parameters from bs4Card(). This is now part of the new bs4CardSidebar().
  • Remove dropdownIcon parameter from bs4Card(). It is now part of the dropdownItemList().
  • Remove labelStatus, labelText and labelTooltip params from bs4Card(). This is to reduce the number of parameters of cards.
  • By default, closable is now FALSE for bs4Card().
  • Rename dropdownItemList by cardDropdown
  • Rename dropdownItemListItem by cardDropdownItem

bs4CardSidebar

bs4TabCard

  • Change solidHeader behavior.

bs4ValueBox

bs4InfoBox

  • status becomes color
  • Remove ... for subtitle
  • Remove iconStatus.
  • Add href and fill.
  • Rename gradientColor to gradient.

bs4UserCard

  • src becomes image.
  • status becomes color.

bs4SocialBox

attachmentBlock

  • src becomes image.
  • titleUrl becomes href.

descriptionBlock

bs4Box

  • This component has been removed

bs4TabCard

bs4DropdownMenu

  • badge becomes badgeStatus
  • Add type.
  • icon expects shiny::icon.
  • Replace labelText by headerText.
  • Add .list and href.
  • Remove align.

bs4DropdownMenuItem

Others

New features

Minor change

  • bs4Sortable() is initialized each time a new sortable element is added. Fixes #198.
  • New taskItem().
  • Add indicators and .list to carousel().
  • insertTab() is using more shiny vanilla elements.
  • bs4UserMenu() does not close when clicked inside.
  • Add glyphicons as an html dependency
  • New legacy parameter in bs4SidebarMenu(): to use old AdminLTE2 styling for item selection
  • Now, clicking outside the bs4DashControlbar() when it is opened will close it. To keep it open, see below
  • New pinned option for bs4DashControlbar(): allow to block the controlbar state
  • New expandedName param for bs4SidebarMenuItem to align with shinydashboard
  • id is NULL in bs4TabSetPanel() by default
  • side is default to left in bs4TabSetPanel()
  • change bs4TabPanel() param order to align with shiny

Bug Fix

bs4Dash 0.5.0

CRAN release: 2019-11-27

Breaking Changes

  • remove fixed parameters from bs4DashNavbar() since it does not exist in the new AdminLTE version
  • rework on bs4DropdownMenuItem: change text to message, date to time. Add new params: from, src, status and type.

Major Changes

  • add link back to https://www.glyphicons.com. Thanks @statnmap
  • upgrade AdminLTE3 version to rc4
  • add bs4DashSidebar() input binding to indicate the state (collapse: FALSE, open: TRUE) as well as updatebs4Sidebar() to programmatically toggle its state
  • add bs4Controlbar() input binding to indicate the state (collapse: FALSE, open: TRUE) as well as updatebs4Controlbar() to programmatically toggle its state
  • add bs4Card() input binding to indicate the state (collapse: FALSE, open: TRUE, maximize, closed, …) as well as updatebs4Card() to programmatically toggle its state
  • add bs4InsertTab() to programmatically insert bs4TabPanel() in bs4TabSetPanel()
  • add bs4RemoveTab() to programmatically remove bs4TabPanel() in bs4TabSetPanel()

New features

  • bs4DashPage() has a new sidebar_mini parameter. When TRUE, the sidebar has a minimum width when collapsed (you still see icons). When false, it behaves like in shinydashboard
  • bs4InfoBox() can now navigate between tabs if the tabName parameter is specified. It must however correspond to an existing bs4TabItem() in the body!
  • bs4ValueBox() has a footer argument. It is different from the href parameter. Thanks @stefanfritsch
  • add expand_on_hover parameter to bs4DashSidebar()
  • add compact parameters to bs4DashNavbar() to reduce the navbar size
  • add getAdminLTEColors() to preview all available color themes
  • by default, bs4DashSidebar() has a fixed layout. This prevent from not seeing sidebar items if the body contains too many elements
  • bs4DashPage() has options to change the bs4Controlbar() behavior when it expands (see controlbar_overlay)
  • bs4SidebarMenu() has 3 new parameters: flat (design effect), child_indent and compact
  • add sidebar in bs4Card()
  • add bs4UserMenu() for bs4DashNavbar()
  • add bs4Ribbon(), a sort of enhanced label for cards or any content
  • add bs4Quote(), an improved blockquote tag for Bootstrap 4

Bug Fix

bs4Dash 0.4.0

CRAN release: 2019-07-25

Major changes

Breaking changes

Minor Changes

Bug Fix

bs4Dash 0.3.0

CRAN release: 2019-04-06

Breaking change

Major changes

Minor changes

Bug fix

  • Fix icon rendering issue due to a change in shiny 1.2.0 dependencies (font awesome)
  • Fix #19: Whenever a bs4Card() starts on a collapsed state, the content is displayed when uncollapsed is pressed. Thanks @stanmap for the remark. (See here for a similar issue)
  • bs4Card(): the collapse icon changes to + and - depending on the current collapse status.
  • fix various issues in bs4DropdownMenu()
  • fix #12: Compatibility with shinyWidgets pickerInput. Thanks @pvictor
  • fix #13 in bs4TabPanel(): handle tabName with space and with punctuation characters. Thanks @stephLH
  • fix bs4TabCard(): when the user set 2 or more active tabs at the same time, only the first one is selected
  • related to #16: modify bs4Dash.js file so that only the first body content tab is selected and not that of the bs4TabCard(), as they have the same class (tab-pane).

bs4Dash 0.2.0

CRAN release: 2018-09-20

Major changes

  • bs4Dash now works on shinyapp.io (previously, there was a problem with tab navigation)
  • major update of all dependencies (bootstrap 4, fontawesome, ionicons, …) with htmltools

Minor changes

bs4Dash 0.1.0

CRAN release: 2018-07-05

  • initial release