Skip to content

Commit e12c1f6

Browse files
authored
feat: Use brand.yml R package (#1227)
* feat: Use `brand.yml` R package * fix: remote to brand.yml on github * ci: updated brand.yml * ci(routine): Tidy description to avoid circular commits * chore: fix DESCRIPTION from bad merge * chore: use brand.yml from CRAN * feat: skip finding `_brand.yml` if brand.yml is not installed * tests: skip appropriate tests if brand.yml is not installed * chore: skip depends-only check * tests: skip if rmarkdown is not installed * chore: Add NEWS bullet
1 parent 0757592 commit e12c1f6

11 files changed

+81
-843
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
format-r-code: true
2222
R-CMD-check:
2323
uses: rstudio/shiny-workflows/.github/workflows/R-CMD-check.yaml@v1
24+
with:
25+
check-depends-only: false
2426
deploy:
2527
if: github.repository == 'rstudio/bslib' && github.event_name == 'push'
2628
runs-on: ubuntu-20.04

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Imports:
4242
rlang,
4343
sass (>= 0.4.9)
4444
Suggests:
45+
brand.yml,
4546
bsicons,
4647
curl,
4748
fontawesome,

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# bslib (development version)
22

3+
## Breaking changes
4+
5+
* bslib now uses the `{brand.yml}` package for reading [brand.yml](https://posit-dev.github.io/brand.yml) files. This change improves compatibility with other tools that use brand.yml files, such as Quarto. The `{brand.yml}` package must be installed for `_brand.yml` files to be automatically discovered. (#1227)
6+
37
## New features
48

59
* Added a new `input_submit_textarea()` input element, which is similar to `shiny::textAreaInput()`, but includes a submit button to only submit the text changes to the server on click. This is especially useful when the input text change triggers a long-running operation and/or the user wants to type longer-form input and review it before submitting it. (#1204)

0 commit comments

Comments
 (0)