Skip to content

Commit 87d2319

Browse files
authored
Upgrade Blueprint to 5.10.2 (#100)
* feat: upgrade @blueprintjs/core to 5.10.2 * chore: bump package version * chore: update CI to use newest version of shiny.react * chore: update maintainer info --------- Co-authored-by: Jakub Sobolewski <[email protected]>
1 parent b7a1ec9 commit 87d2319

39 files changed

+1401
-1110
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
with:
2121
extra-packages: local::. # Necessary to avoid object usage linter errors.
2222

23+
- name: Install shiny.react with React 18.3.1
24+
if: always()
25+
env:
26+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
Rscript -e 'install.packages("remotes"); remotes::install_github("Appsilon/shiny.react")'
29+
2330
- name: R CMD check
2431
if: always()
2532
uses: r-lib/actions/check-r-package@v2

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Package: shiny.blueprint
22
Title: Palantir's 'Blueprint' for 'Shiny' Apps
3-
Version: 0.2.0
3+
Version: 0.2.0.900
44
Authors@R:
55
c(
6-
person("Kamil", "Żyła", role = c("aut", "cre"), email = "[email protected]"),
6+
person("Jakub", "Sobolewski", role = c("aut", "cre"), email = "[email protected]"),
7+
person("Kamil", "Żyła", role = "aut", email = "[email protected]"),
78
person("Filip", "Akkad", role = "aut", email = "[email protected]"),
89
person("Filip", "Stachura", role = "aut", email = "[email protected]"),
910
person("Paweł", "Chabros", role = "aut", email = "[email protected]"),
@@ -20,7 +21,7 @@ License: LGPL-3
2021
Encoding: UTF-8
2122
LazyData: true
2223
Roxygen: list(markdown = TRUE)
23-
RoxygenNote: 7.2.3
24+
RoxygenNote: 7.3.1
2425
VignetteBuilder: knitr
2526
Imports:
2627
checkmate,

inst/examples/Dialog.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server <- function(id) {
2626
isOpen = isOpen(),
2727
onClose = triggerEvent(ns("closeDialog")),
2828
div(
29-
className = "bp4-dialog-body",
29+
className = "bp5-dialog-body",
3030
H5("Analytical applications"),
3131
tags$p(
3232
"User interfaces that enable people to interact smoothly with data,",

inst/examples/Drawer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ server <- function(id) {
2525
title = "Hello",
2626
icon = "info-sign",
2727
div(
28-
class = "bp4-dialog-body",
28+
class = "bp5-dialog-body",
2929
p("Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
3030
)
3131
)

inst/examples/HTMLTable.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ui <- function(id) {
1212
tags$tr(tags$td("shiny.blueprint"), tags$td("R JS"), tags$td("2"))
1313
),
1414
tags$tfoot(
15-
tags$tr(tags$td("Total", colspan = 2), tags$td("1508"))
15+
tags$tr(tags$td("Total", colSpan = 2), tags$td("1508"))
1616
)
1717
)
1818
}

inst/examples/Label.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ library(shiny)
44
ui <- function(id) {
55
Label(
66
"Label",
7-
tags$input(class = "bp4-input")
7+
tags$input(class = "bp5-input")
88
)
99
}
1010

inst/examples/Menu.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ library(shiny)
44
ui <- function(id) {
55
Menu(
66
style = "max-width: 200px",
7-
className = "bp4-elevation-1",
7+
className = "bp5-elevation-1",
88
MenuDivider(title = "Edit"),
99
MenuItem(icon = "cut", text = "Cut", label = "^X"),
1010
MenuItem(icon = "duplicate", text = "Copy", label = "^C"),

inst/examples/MultistepDialog.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ server <- function(id) {
2929
DialogStep(
3030
id = "step1",
3131
panel = div(
32-
className = "bp4-dialog-body",
32+
className = "bp5-dialog-body",
3333
p("This is a step 1")
3434
),
3535
title = "Step 1"
3636
),
3737
DialogStep(
3838
id = "step2",
3939
panel = div(
40-
className = "bp4-dialog-body",
40+
className = "bp5-dialog-body",
4141
p("This is a step 2")
4242
),
4343
title = "Step 2"
4444
),
4545
DialogStep(
4646
id = "step3",
4747
panel = div(
48-
className = "bp4-dialog-body",
48+
className = "bp5-dialog-body",
4949
p("This is a step 3")
5050
),
5151
title = "Step 3"

inst/examples/Overlay.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server <- function(id) {
2626
isOpen = isOpen(),
2727
onClose = triggerEvent(ns("closeOverlay")),
2828
Card(
29-
className = "bp4-elevation-4 bp4-dark bp4-overlay-content",
29+
className = "bp5-elevation-4 bp5-dark bp5-overlay-content",
3030
interactive = TRUE,
3131
H5("Analytical applications"),
3232
tags$p(

inst/examples/Popover.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ server <- function(id) {
1717
output$ui <- renderReact({
1818
Popover(
1919
isOpen = isOpen(),
20-
target = Button.shinyInput(ns("hello"), "Say Hello", intent = "primary"),
20+
Button.shinyInput(ns("hello"), "Say Hello", intent = "primary"),
2121
usePortal = FALSE,
2222
content = tags$div(
2323
style = "padding: 1em",

0 commit comments

Comments
 (0)