Skip to content

Commit

Permalink
Refresh NEWS files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 15, 2024
1 parent f01495e commit 120117b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions news-files-annotated/bslib.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@

!end-bullets-3!
!end-bullet!
- !begin-bullet!
The `open` argument of `layout_sidebar()` now includes the option to
place a sidebar that's always open on mobile screens *above the main
content* with `open = list(mobile = "always-above")`. (#1088)

!end-bullet!

!end-bullets-2!

Expand Down Expand Up @@ -111,6 +117,11 @@
When `card_body(fillable = FALSE)`, bslib now preserves flow-layout
margin bottom settings. (#1073)

!end-bullet!
- !begin-bullet!
Fixed a bug in `layout_sidebar()` that caused a spurious and
confusing error message. (#1081)

!end-bullet!

!end-bullets-4!
Expand Down
3 changes: 3 additions & 0 deletions news-files/bslib.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* `file` is designed to accept a path to a local (server-side) file, but now recognizes remote files that start with a protocol prefix, e.g. `https://`, or two slashes, e.g. `//`. Local files are base64-encoded and embedded in the HTML output, while remote files are linked directly. To use a relative path for a file that will be served by the Shiny app, use `src` instead of file, e.g. `card_image(src = "cat.jpg")` where `cat.jpg` is stored in `www/`.
* `container` is now `NULL` by default to avoid wrapping the card image in an additional card body container and `fill` is now `FALSE` by default to avoid stretching the image. These changes makes it easier to construct [cards with image caps](https://getbootstrap.com/docs/5.3/components/card/#images).

* The `open` argument of `layout_sidebar()` now includes the option to place a sidebar that's always open on mobile screens _above the main content_ with `open = list(mobile = "always-above")`. (#1088)

## Bug fixes

Expand All @@ -31,6 +32,8 @@

* When `card_body(fillable = FALSE)`, bslib now preserves flow-layout margin bottom settings. (#1073)

* Fixed a bug in `layout_sidebar()` that caused a spurious and confusing error message. (#1081)

# bslib 0.7.0

This large release includes many improvements and bug fixes for newer UI components like `layout_columns()`, `card()`, and `sidebar()`. In addition, the new `input_task_button()` offers a drop-in replacement for `shiny::actionButton()` (to prevent multiple submissions of the same operation) as well as pairing nicely with the new `shiny::ExtendedTask` for implementing truly non-blocking operations in Shiny.
Expand Down
Binary file modified news-files/hashes.rds
Binary file not shown.
2 changes: 2 additions & 0 deletions previous_updates.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17470,3 +17470,5 @@ bslib,19632c4161fe3686a4fbbb17843e8ef5,"• `file` is designed to accept a path
bslib,19632c4161fe3686a4fbbb17843e8ef5,• `container` is now `NULL` by default to avoid wrapping the card image in an additional card body container and `fill` is now `FALSE` by default to avoid stretching the image. These changes makes it easier to construct cards with image caps.,NA,NA,NA,NA
gt,5da2410babdcbfbf199e5013ce1f036a,"`opt_interactive()` now works when columns are merged with `cols_merge()` (@​olivroy, #1785).",NA,NA,NA,NA
gt,b3edab5437df63ddcdc4ca4b2a25031f,"`opt_interactive()` now works when columns are substituted with `sub_*()` (@​olivroy, #1759).",NA,NA,NA,NA
bslib,d9f6c43c17ba8501756e027fa603f6d1,"The `open` argument of `layout_sidebar()` now includes the option to place a sidebar that's always open on mobile screens *above the main content* with `open = list(mobile = ""always-above"")`. (#1088)",NA,NA,NA,NA
bslib,02fa7f12fa4c07d44f4f0c61207c67de,Fixed a bug in `layout_sidebar()` that caused a spurious and confusing error message. (#1081),NA,NA,NA,NA
Binary file modified refresh-token.rds
Binary file not shown.

0 comments on commit 120117b

Please sign in to comment.