Skip to content

Commit 3b742a2

Browse files
authored
Update dependencies (#1353)
1 parent 2273d98 commit 3b742a2

12 files changed

+812
-373
lines changed

shiny/ui/_download_button.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,19 @@ def download_button(
4848
return tags.a(
4949
icon,
5050
label,
51-
{"class": "btn btn-default shiny-download-link", "style": css(width=width)},
51+
{
52+
"class": "btn btn-default shiny-download-link disabled",
53+
"style": css(width=width),
54+
},
5255
id=resolve_id(id),
53-
# This is a fake link that just results in a 404. It will be replaced by a
54-
# working link after the server side logic runs, so this link will only be
55-
# visited in cases where the user clicks the button too fast, or if the server
56-
# never defines a handler for this download button.
57-
href="session/0/download/missing_download",
56+
href="",
5857
target="_blank",
5958
# We can't use `download` in pyodide mode, because the browser chooses not to
6059
# route the download through the service worker in that case. (Observed by
6160
# jcheng on 1/7/2022, using Chrome Version 96.0.4664.110.)
6261
download=None if is_pyodide else True,
62+
aria_disabled="true",
63+
tabindex="-1",
6364
**kwargs,
6465
)
6566

@@ -103,10 +104,12 @@ def download_link(
103104
return tags.a(
104105
icon,
105106
label,
106-
{"class": "shiny-download-link", "style": css(width=width)},
107+
{"class": "shiny-download-link disabled", "style": css(width=width)},
107108
id=resolve_id(id),
108-
href="session/0/download/missing_download",
109+
href="",
109110
target="_blank",
110111
download=None if is_pyodide else True,
112+
aria_disabled="true",
113+
tabindex="-1",
111114
**kwargs,
112115
)

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!": "This file is auto-generated by scripts/htmlDependencies.R",
33
"package": "shiny",
4-
"version": "Github (rstudio/shiny@950c63049b37cb3156bf134fa4ff13ad3cedee48)"
4+
"version": "Github (rstudio/shiny@2872c87e3239ffd4f8ab8560974a98600dcd755d)"
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"note!": "This file is auto-generated by scripts/htmlDependencies.R",
3-
"shiny_version": "Github (rstudio/shiny@950c63049b37cb3156bf134fa4ff13ad3cedee48)",
4-
"bslib_version": "Github (rstudio/bslib@2c87d0c8753d003fef66858235ead8c9206aefa9)",
3+
"shiny_version": "Github (rstudio/shiny@2872c87e3239ffd4f8ab8560974a98600dcd755d)",
4+
"bslib_version": "Github (rstudio/bslib@3dd55fd7249d30ecddac8f98ba8dc70aee0b3459)",
55
"htmltools_version": "Github (rstudio/htmltools@038ef7be3b02a9248f122b745ad7830cc429d437)",
66
"bootstrap_version": "5.3.1"
77
}

shiny/www/shared/bslib/_version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"note!": "This file is auto-generated by scripts/htmlDependencies.R",
33
"package": "bslib",
4-
"version": "Github (rstudio/bslib@2c87d0c8753d003fef66858235ead8c9206aefa9)"
4+
"version": "Github (rstudio/bslib@3dd55fd7249d30ecddac8f98ba8dc70aee0b3459)"
55
}

shiny/www/shared/bslib/components/components.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/bslib/components/components.min.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/shared/bslib/components/web-components.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/web-components.min.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)