Skip to content

Commit

Permalink
export all html dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Oct 23, 2023
1 parent adb82f1 commit 445071b
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 18 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinybusy
Title: Busy Indicators and Notifications for 'Shiny' Applications
Version: 0.3.1.9000
Version: 0.3.1.9100
Authors@R: c(person("Fanny", "Meyer", role = "aut"),
person("Victor", "Perrier", email = "victor.perrier@dreamrs.fr", role = c("aut", "cre")),
person("Silex Technologies", comment = "https://www.silex-ip.com", role = "fnd"))
Expand All @@ -14,7 +14,7 @@ Imports:
shiny,
jsonlite,
htmlwidgets
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
URL: https://github.com/dreamRs/shinybusy
BugReports: https://github.com/dreamRs/shinybusy/issues
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ export(busy_start_up)
export(config_notify)
export(config_report)
export(hide_spinner)
export(html_dependency_busy)
export(html_dependency_epic)
export(html_dependency_freezeframe)
export(html_dependency_loading)
export(html_dependency_nanobar)
export(html_dependency_notiflix)
export(html_dependency_notify)
export(html_dependency_report)
export(html_dependency_shinybusy)
export(html_dependency_spinkit)
export(html_dependency_startup)
export(logo_silex)
export(notify)
export(notify_failure)
Expand Down
14 changes: 14 additions & 0 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ html_dependency_notiflix <- function() {

#' @importFrom htmltools htmlDependency
#' @importFrom utils packageVersion
#' @export
#' @rdname html-dependencies
html_dependency_startup <- function() {
htmlDependency(
name = "shinybusy-startup",
Expand All @@ -100,6 +102,9 @@ html_dependency_startup <- function() {
script = "startup.js"
)
}

#' @export
#' @rdname html-dependencies
html_dependency_loading <- function() {
htmlDependency(
name = "shinybusy-loading",
Expand All @@ -109,6 +114,9 @@ html_dependency_loading <- function() {
script = "loading.js"
)
}

#' @export
#' @rdname html-dependencies
html_dependency_busy <- function() {
htmlDependency(
name = "shinybusy-busy",
Expand All @@ -118,6 +126,9 @@ html_dependency_busy <- function() {
script = "busy.js"
)
}

#' @export
#' @rdname html-dependencies
html_dependency_notify <- function() {
htmlDependency(
name = "shinybusy-notify",
Expand All @@ -127,6 +138,9 @@ html_dependency_notify <- function() {
script = "notify.js"
)
}

#' @export
#' @rdname html-dependencies
html_dependency_report <- function() {
htmlDependency(
name = "shinybusy-report",
Expand Down
2 changes: 1 addition & 1 deletion inst/packer/notify.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/packer/report.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions man/html-dependencies.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions man/manual-gif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions man/manual-spinner.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"css-loader": "^6.5.1",
"freezeframe": "^5.0.2",
"nanobar": "^0.4.2",
"notiflix": "^3.2.4",
"notiflix": "^3.2.6",
"style-loader": "^3.3.1",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2",
Expand Down

0 comments on commit 445071b

Please sign in to comment.