Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* `@render.data_frame`'s input value `input.<ID>_column_filter()` has been deprecated. Please use `<ID>.filter()` to retrieve the same information. (#1374)

* Deprecated functions in `shiny.experimental` have been removed. By and large, these functions are now available in the main `shiny` namespace. (#1540)

### New features

* Added a new `shiny.ui.Chat` class for building conversational interfaces with fully customizable and performant response generation. (#1453)
Expand Down
4 changes: 2 additions & 2 deletions shiny/experimental/api-examples/card_image/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""
),
x.ui.card(
x.ui.card_header(
ui.card_header(
"These two images are in their own individual card_body() container"
),
x.ui.card_image(
Expand All @@ -21,7 +21,7 @@
file=None,
src="https://posit.co/wp-content/uploads/2022/10/Posit-logo-h-full-color-RGB-TM.svg",
),
x.ui.card_header("These two images are in the same card_body() container"),
ui.card_header("These two images are in the same card_body() container"),
x.ui.card_image(
file=None,
src="https://posit.co/wp-content/uploads/2022/10/Posit-logo-h-full-color-RGB-TM.svg",
Expand Down
4 changes: 2 additions & 2 deletions shiny/experimental/api-examples/card_title/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

app_ui = ui.page_fluid(
x.ui.card(
x.ui.card_header("This is the header"),
ui.card_header("This is the header"),
x.ui.card_body(
x.ui.card_title("This is the title"),
ui.p("This is the body."),
ui.p("This is still the body."),
),
x.ui.card_footer("This is the footer"),
ui.card_footer("This is the footer"),
full_screen=True,
)
)
Expand Down
158 changes: 0 additions & 158 deletions shiny/experimental/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,170 +9,12 @@
card_title,
)

from ._deprecated import (
# Input Switch
toggle_switch,
# Input Text Area
input_text_area,
# Navs
navset_pill_card,
navset_tab_card,
# Sidebar
Sidebar,
sidebar,
layout_sidebar,
toggle_sidebar,
sidebar_toggle,
panel_sidebar,
panel_main,
DeprecatedPanelSidebar,
DeprecatedPanelMain,
# Tooltip
tooltip_update,
tooltip_toggle,
tooltip,
toggle_tooltip,
update_tooltip,
# Css
CssUnit,
as_css_padding,
as_css_unit,
as_width_unit,
# Popover
popover,
toggle_popover,
update_popover,
# Accordion
AccordionPanel,
accordion,
accordion_panel,
accordion_panel_close,
accordion_panel_insert,
accordion_panel_open,
accordion_panel_remove,
accordion_panel_set,
update_accordion_panel,
# Fill
as_fill_carrier,
as_fill_item,
as_fillable_container,
is_fill_carrier,
is_fill_item,
is_fillable_container,
remove_all_fill,
# Card
TagCallable,
CardItem,
card_footer,
card_header,
# Value Box
showcase_left_center,
showcase_top_right,
value_box,
# Layout
layout_column_wrap,
# Navs
navset_bar,
navset_card_pill,
navset_card_tab,
# Outputs
output_image,
output_plot,
output_ui,
# Page
page_fillable,
page_navbar,
page_sidebar,
)


__all__ = (
# Card
"WrapperCallable",
"ImgContainer",
"TagCallable",
"card",
"card_title",
"card_body",
"card_image",
# Deprecated
# # Sidebar
"Sidebar",
"sidebar",
"layout_sidebar",
"toggle_sidebar",
"sidebar_toggle",
"panel_sidebar",
"panel_main",
"DeprecatedPanelSidebar",
"DeprecatedPanelMain",
# # Input Switch
"toggle_switch",
# # Input Text Area
"input_text_area",
# # Navs
"navset_pill_card",
"navset_tab_card",
# # Tooltip
"tooltip",
"toggle_tooltip",
"update_tooltip",
"tooltip_update",
"tooltip_toggle",
# # Sidebar
"sidebar_toggle",
"panel_sidebar",
"panel_main",
"DeprecatedPanelSidebar",
"DeprecatedPanelMain",
# # Css
"CssUnit",
"as_css_unit",
"as_css_padding",
"as_width_unit",
# # Popover
"popover",
"toggle_popover",
"update_popover",
# Accordion
"AccordionPanel",
"accordion",
"accordion_panel",
"accordion_panel_set",
"accordion_panel_open",
"accordion_panel_close",
"accordion_panel_insert",
"accordion_panel_remove",
"update_accordion_panel",
# # Fill
"as_fill_carrier",
"as_fillable_container",
"as_fill_item",
"remove_all_fill",
"is_fill_carrier",
"is_fillable_container",
"is_fill_item",
# # Card
"TagCallable",
"CardItem",
"card_header",
"card_footer",
# # ValueBox
"showcase_left_center",
"showcase_top_right",
"value_box",
# # Layout
"layout_column_wrap",
# # Navs
"navset_bar",
"navset_card_tab",
"navset_card_pill",
# # Output
"output_image",
"output_plot",
"output_ui",
# # Page
"page_sidebar",
"page_fillable",
"page_navbar",
)
Loading