Skip to content

Commit 9f47ee3

Browse files
authored
chore: upgrade html deps (bslib 0.11.9000 → 0.12.0.9000) (#2446)
1 parent 0abddd7 commit 9f47ee3

46 files changed

Lines changed: 147 additions & 14 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121

2222
### Bug fixes
2323

24+
* A dynamically-rendered output (e.g. `@render.ui`) inside a `ui.popover()` or `ui.tooltip()` without a `title=` no longer gets stuck showing "recalculating". The container collapsed to 0 width, so the output's `ResizeObserver` never fired; vendored bslib CSS now gives it a non-zero minimum width. (#2446)
25+
2426
* Closing a session no longer destroys the reactive values and calcs created in it, so async work that outlives the connection does not error. Since v1.6.1, refreshing the page while an `@reactive.extended_task` (or any `asyncio` task) was in flight could raise `DestroyedReactiveError: Reactive value '<name>' has been destroyed.` once it settled, leaving the task in neither `"success"` nor `"error"`. Values and calcs are now left readable at their last value on close and reclaimed by garbage collection, while an explicit `session.destroy(id)` on a live session still tears them down. Effects are still destroyed on close. (#2428)
2527

2628
* The `ui.Theme` API reference examples now run in Shinylive. Compiling a customized theme requires `libsass`, but Shinylive only auto-loads packages it finds in an app's top-level imports and `Theme.to_css()` imports `sass` lazily, so the examples died with an `ImportError`. The example directory now declares `libsass` in a `requirements.txt`. (#2387)

scripts/_functions_setup.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
ensure_base_packages <- function() {
2+
if (identical(getOption("repos")[["CRAN"]], "@CRAN@")) {
3+
options(repos = c(CRAN = "https://cloud.r-project.org"))
4+
}
5+
26
for (pkg in c("cli", "pak")) {
37
if (!requireNamespace(pkg, quietly = TRUE)) {
48
message("Installing base package: ", pkg)

shiny/_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
shiny_html_deps = "1.14.0.9000"
2-
bslib = "0.11.0.9000"
2+
bslib = "0.12.0.9000"
33
htmltools = "0.5.9.9000"
44
bootstrap = "5.3.8"
55
requirejs = "2.3.6"

shiny/ui/_input_code_editor_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from typing import Literal
66

7-
VERSION_PRISM_CODE_EDITOR = "0.11.0.9000"
7+
VERSION_PRISM_CODE_EDITOR = "0.12.0.9000"
88

99
CodeEditorBundledLanguage = Literal[
1010
"bash",

shiny/www/shared/_version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"note!": "Generated by scripts/htmlDependencies.R: do not edit by hand",
33
"package": "shiny",
4-
"version": "1.14.0.9000 (rstudio/shiny@107747a6d177d8e795c4cc37b21c628e32f68db9)"
4+
"version": "1.14.0.9000 (rstudio/shiny@ef93041ff7cbef679dbc37f527e09427eaf8d80a)"
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"note!": "Generated by scripts/htmlDependencies.R: do not edit by hand",
3-
"shiny_version": "1.14.0.9000 (rstudio/shiny@107747a6d177d8e795c4cc37b21c628e32f68db9)",
4-
"bslib_version": "0.11.0.9000 (rstudio/bslib@996f77ebaad029a6d4ed9110167194e09e0546d6)",
3+
"shiny_version": "1.14.0.9000 (rstudio/shiny@ef93041ff7cbef679dbc37f527e09427eaf8d80a)",
4+
"bslib_version": "0.12.0.9000 (rstudio/bslib@97aa1abc262bff3fdfab686d4206a45fe7276ad6)",
55
"htmltools_version": "0.5.9.9000 (rstudio/htmltools@5135d17923ab80b3599da1f335d5d33eb9aa63a3)",
66
"bootstrap_version": "5.3.8"
77
}

shiny/www/shared/bootstrap/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"note!": "Generated by scripts/htmlDependencies.R: do not edit by hand",
33
"package": "bslib",
4-
"version": "0.11.0.9000 (rstudio/bslib@996f77ebaad029a6d4ed9110167194e09e0546d6)"
4+
"version": "0.12.0.9000 (rstudio/bslib@97aa1abc262bff3fdfab686d4206a45fe7276ad6)"
55
}

shiny/www/shared/bslib/components/code-editor.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/bslib/components/components.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)