Skip to content

Commit 4f04d41

Browse files
committed
Merge 'origin/main' into branch rc-v0.10.0
2 parents 7890dc0 + bc56d8e commit 4f04d41

File tree

128 files changed

+8112
-16
lines changed

Some content is hidden

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

128 files changed

+8112
-16
lines changed

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ Collate:
9999
'files.R'
100100
'fill.R'
101101
'imports.R'
102+
'input-code-editor.R'
102103
'input-dark-mode.R'
103104
'input-submit.R'
104105
'input-switch.R'

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export(font_face)
9393
export(font_google)
9494
export(font_link)
9595
export(hide_toast)
96+
export(input_code_editor)
9697
export(input_dark_mode)
9798
export(input_submit_textarea)
9899
export(input_switch)
@@ -163,6 +164,7 @@ export(toggle_sidebar)
163164
export(toggle_switch)
164165
export(toggle_tooltip)
165166
export(tooltip)
167+
export(update_code_editor)
166168
export(update_popover)
167169
export(update_submit_textarea)
168170
export(update_switch)

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
* 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)
1010

11-
* Added toast notifications based on [Bootstrap's Toast component](https://getbootstrap.com/docs/5.3/components/toasts/): Use `toast()` to create customizable toast objects, `show_toast()` to display a toast message, `hide_toast()` for manual dismissal, and `toast_header()` for structured headers with icons and status indicators. (#1246)
11+
* Added toast notifications based on [Bootstrap's Toast component](https://getbootstrap.com/docs/5.3/components/toasts/): Use `toast()` to create customizable toast objects, `show_toast()` to display a toast message, `hide_toast()` for manual dismissal, and `toast_header()` for structured headers with icons and status indicators. Try it with `shiny::runExample("toast", package = "bslib")`. (#1246)
12+
13+
* Added a new `input_code_editor()` element that allows for light-weight code editing with syntax highlighting, using the [prism-code-editor](https://prism-code-editor.netlify.app/) library. The editor supports 20+ languages, more than a dozen themes, and automatic light/dark mode switching. Try it with `shiny::runExample("code-editor", package = "bslib")`. (#1274)
1214

1315
## Improvements and bug fixes
1416

0 commit comments

Comments
 (0)