Skip to content

bs4Dash 0.6.0.9000

Compare
Choose a tag to compare
@DivadNojnarg DivadNojnarg released this 16 Apr 22:02
· 164 commits to master since this release

Note: this is not an official release and has never been published on CRAN.

bs4Dash 0.6.0.9000

Breaking changes

  • updatebs4TabSetPanel(): selected takes the name of the tab instead of its index. This is more convenient (same as in shinydashboard)
  • 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()
  • value is now mandatory in bs4InfoBox()
  • change attachmentBlock() title_url to titleUrl (to match with a new upcoming package...)
  • descriptionBlock(): number_color, number_icon, right_border and margin_bottom become
    camel case parms (numberColor, numberIcon, rightBorder and marginBottom)
  • numberIcon in descriptionBlock() only need the name of the icon ('times') instead
  • bs4Jumbotron(): btn_name becomes btnName
  • userPost(): collapse_status becomes collapseStatus

New features

  • add bs4ShowTab() and bs4HideTab(): thanks @fmmattioni for the reminder ;)
  • New bs4CardLayout(): simplify the way to deal with bs4Card()!
  • New bs4CloseAlert(): programmatically close bs4Alert()
  • New bs4Toast(): include the builtin AdminLTE3 toasts!
  • Add options to select bs4SidebarMenuItem() and bs4SidebarMenuSubItem() at start.
  • Now bs4DropdownMenuItem() may act as an actionButton
  • Whenever a bs4Card() is maximized, the collapsible icon is hidden (does not make sense to have it)
  • new bs4CardLabel() to add text labels in bs4Card()
  • new bs4CardSidebar(): access the status via input$id. Add updatebs4CardSidebar() to toggle the card sidebar
  • add bs4PopoverServer(), bs4PopoverUI(), bs4TooltipUI() and bs4TooltipServer()
  • bs4TabSetPanel(): you may access the currently selected tab with input$id
  • add type parameter to bs4TabSetPanel() and bs4TabCard() so as to select
    between pills or tabs (cosmetic choice). If type is not provided, the behaviour is unchanged (pills are the default)
  • add fixed param to bs4DashFooter()
  • add fixed parameter to bs4DashSidebar(). Thanks @mppallante
  • re-add fixed parameter to bs4DashNavbar(). This is reintroduced by adminlte with a new css class name
  • add animated, label parameters to bs4ProgressBar()
  • add iconStatus parameter to bs4InfoBox() to allow icon color
    to be independant from the card status (https://adminlte.io/themes/v3/pages/widgets.html). Thanks @rolando-gsw

Minor change

  • 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

  • Fix issue #110: due to the fact that the bs4Controlbar() now collapse when clicked outside, clicking on an input triggering the updatebs4Controlbar() would toggle it twice. Thanks @dwhdai
  • Fix issue #112 with sliderInput z-index and bs4DashPage() preloader. Thanks @analytichealth for the report
  • Fix issue in bs4DashSidebar() url link. Thanks @pvictor
  • Fix #30: programmatically close bs4Alert()
  • Fix #47: Control bar not showing top elements when collapsed is FALSE
  • Fix #99: rework the way sidebar items work. By default, when sidebar items has subitems and is selected, the first item is not selected. We leave the choice to the user. Thanks @analytichealth
  • Fix bs4DropdownMenu() example
  • fix #94: cannot render element with dependencies in bs4InsertTab()
  • fix #93: set default inputId when it is not provided in bs4DashControlbar() so that
    renderUI works. Thanks @artemklevtsov
  • fix #86 : cannot use updatebs4TabSetPanel() with renderUI. Thanks @jyjek
  • add condition argument to bs4SidebarMenuItem(). See #35. Thanks @aldomann
  • some vignettes examples were not up to date