Skip to content

Commit 34889e6

Browse files
authored
v0.9.0 (#1179)
* Increment version number to 0.9.0 * chore: Remove "experimental" badge from stable functions * chore: urlchecker::url_update() * `yarn build` (GitHub Actions) * ci: run again * chore: revdepcheck::cloud_check() * tweak cran commments * docs: adjust docs for brand.yml in rmd and pkgdown * docs: Add link to release post --------- Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com>
1 parent 0dd6812 commit 34889e6

38 files changed

+156
-69
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: bslib
22
Title: Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'
3-
Version: 0.8.0.9000
3+
Version: 0.9.0
44
Authors@R: c(
55
person("Carson", "Sievert", , "carson@posit.co", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-4958-2844")),

NEWS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# bslib (development version)
1+
# bslib 0.9.0
22

33
## Breaking changes
44

@@ -10,7 +10,7 @@
1010

1111
## New features
1212

13-
* bslib now supports unified theming with [brand.yml](https://posit-dev.github.io/brand-yml). brand.yml lets you theme your Shiny apps, Quarto documents and more with a single, portable YAML file. Learn more in the new [Unified theming with brand.yml](https://rstudio.github.io/bslib/dev/articles/brand-yml/) article. (#1148)
13+
* bslib now supports unified theming with [brand.yml](https://posit-dev.github.io/brand-yml/). brand.yml lets you theme your Shiny apps, Quarto documents and more with a single, portable YAML file. Learn more in the new [Unified theming with brand.yml](https://rstudio.github.io/bslib/dev/articles/brand-yml/) article. (#1148)
1414

1515
## Improvements and bug fixes
1616

@@ -26,6 +26,8 @@
2626

2727
* bslib now uses navbar markup with Bootstrap 5 that's closer to the expected markup for Bootstrap. We still include the `navbar-default` or `navbar-inverse` classes on the `<nav>` element, for backwards compatibility, but in apps that use Bootstrap 5 these classes have no styles. (#1146)
2828

29+
* The following functions are no longer marked "experimental": `accordion()`, `breakpoints()`, `card()`, `input_dark_mode()`, `input_switch()`, `layout_columns()`, `layout_column_wrap()`, `page_fillable()`, `page_sidebar()`, `layout_sidebar()`, `sidebar()`, `popover()`, `tooltip()` and `value_box()`.
30+
2931
# bslib 0.8.0
3032

3133
## Breaking changes

R/accordion.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' Create a vertically collapsing accordion
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' An accordion can be used to organize UI elements and content in a limited
75
#' space. It comprises multiple, vertically stacked panels that expand or
86
#' collapse when clicked, providing a compact layout that works well for
@@ -197,8 +195,6 @@ accordion_panel <- function(title, ..., value = title, icon = NULL) {
197195
#' Dynamically update accordions
198196
#'
199197
#' @description
200-
#' `r lifecycle::badge("experimental")`
201-
#'
202198
#' Dynamically update/modify [`accordion()`]s in a Shiny app. To be updated
203199
#' programmatically, the [accordion()] must have an `id`. These functions
204200
#' require an active Shiny session and only work with a running Shiny app.

R/breakpoints.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' Define breakpoint values
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' A generic constructor for responsive breakpoints.
75
#'
86
#' @param xs The default value to apply to the `xs` breakpoint. Note that this

R/bs-theme.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#' provide a value of `"bootstrap"` (this value will also work in
8888
#' `bs_theme_update()` to remove a `preset` or `bootswatch` theme).
8989
#' @param brand Specifies how to apply branding to your theme using
90-
#' [brand.yml](https://posit-dev.github.io/brand-yml), a simple YAML file that
90+
#' [brand.yml](https://posit-dev.github.io/brand-yml/), a simple YAML file that
9191
#' defines key brand elements like colors, fonts, and logos. Valid options:
9292
#'
9393
#' - `NULL` (default): Automatically looks for a `_brand.yml` file in the
@@ -106,7 +106,7 @@
106106
#' the brand.yml structure.
107107
#'
108108
#' Learn more about creating and using brand.yml files at the
109-
#' [brand.yml homepage](https://posit-dev.github.io/brand-yml) or run
109+
#' [brand.yml homepage](https://posit-dev.github.io/brand-yml/) or run
110110
#' `shiny::runExample("brand.yml", package = "bslib")` to try brand.yml in a
111111
#' demo app.
112112
#' @param bootswatch The name of a bootswatch theme (see [bootswatch_themes()]

R/card.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' A Bootstrap card component
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' A general purpose container for grouping related UI elements together with a
75
#' border and optional padding. To learn more about [card()]s, see [the Cards
86
#' article](https://rstudio.github.io/bslib/articles/cards/index.html) or the

R/input-dark-mode.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' Dark mode input control
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' Creates a button that toggles between dark and light modes, specifically for
75
#' toggling between light and dark [Bootstrap color
86
#' modes](https://getbootstrap.com/docs/5.3/customize/color-modes/) -- a new

R/input-switch.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' Switch input control
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' Create an on-off style switch control for specifying logical values.
75
#'
86
#' @examplesIf rlang::is_interactive()

R/layout.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#' Column-first uniform grid layouts
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
5-
#'
64
#' Wraps a 1d sequence of UI elements into a 2d grid. The number of columns (and
75
#' rows) in the grid dependent on the column `width` as well as the size of the
86
#' display. For more explanation and illustrative examples, see the _References_

R/page.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ page_fixed <- function(..., title = NULL, theme = bs_theme(), lang = NULL) {
7676
#' A screen-filling page layout
7777
#'
7878
#' @description
79-
#' `r lifecycle::badge("experimental")`
80-
#'
8179
#' A Bootstrap-based page layout whose contents fill the full height and width
8280
#' of the browser window.
8381
#'
@@ -203,8 +201,6 @@ validateCssPadding <- function(padding = NULL) {
203201
#' A sidebar page (i.e., dashboard)
204202
#'
205203
#' @description
206-
#' `r lifecycle::badge("experimental")`
207-
#'
208204
#' Create a dashboard layout with a full-width header (`title`) and [sidebar()].
209205
#'
210206
#' @param ... UI elements to display in the 'main' content area (i.e., next to

0 commit comments

Comments
 (0)