diff --git a/shiny/express/ui/__init__.py b/shiny/express/ui/__init__.py index 0920f6bac..12f215930 100644 --- a/shiny/express/ui/__init__.py +++ b/shiny/express/ui/__init__.py @@ -29,6 +29,10 @@ strong, ) +from ...ui import ( + fill, +) + from ...ui import ( AccordionPanel, AnimationOptions, @@ -169,6 +173,8 @@ "span", "strong", "tags", + # Submodules + "fill", # Imports from ...ui "AccordionPanel", "AnimationOptions", diff --git a/shiny/ui/__init__.py b/shiny/ui/__init__.py index 5df1d08d1..3142e3fc2 100644 --- a/shiny/ui/__init__.py +++ b/shiny/ui/__init__.py @@ -31,8 +31,12 @@ tags, ) -# Expose the following modules for extended usage: ex: ui.fill.as_fill_item(x) -from . import css, fill # noqa: F401 # pyright: ignore[reportUnusedImport] +# The css module is for internal use, so we won't re-export it. +from . import css # noqa: F401 # pyright: ignore[reportUnusedImport] + +# Expose the fill module for extended usage: ex: ui.fill.as_fill_item(x). +from . import fill + from ._accordion import ( AccordionPanel, accordion, @@ -346,6 +350,8 @@ "strong", "em", "hr", + # Submodules + "fill", # utils "js_eval", )