reflex 0.7.1a1__tar.gz → 0.7.1a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- {reflex-0.7.1a1 → reflex-0.7.1a3}/PKG-INFO +1 -1
- {reflex-0.7.1a1 → reflex-0.7.1a3}/pyproject.toml +1 -1
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/package.json.jinja2 +7 -1
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app.py +24 -33
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/auto_scroll.py +5 -2
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/banner.py +8 -7
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/banner.pyi +2 -51
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/sonner/toast.py +22 -11
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/sonner/toast.pyi +10 -5
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/installer.py +4 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/style.py +9 -18
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/prerequisites.py +1 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/LICENSE +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/README.md +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/macros.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/components/shiki/code.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/web/utils/state.js +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/__main__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/admin.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/assets.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/compiler/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/compiler/compiler.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/compiler/templates.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/compiler/utils.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/bare.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/body.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/body.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/document.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/document.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/fragment.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/head.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/head.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/link.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/link.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/meta.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/script.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/script.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/strict_mode.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/base/strict_mode.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/component.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/auto_scroll.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/client_side_routing.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/colors.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/cond.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/debounce.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/foreach.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/html.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/html.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/match.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/responsive.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/sticky.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/sticky.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/upload.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/shiki_code_block.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/datadisplay/shiki_code_block.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/dynamic.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/element.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/element.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/literals.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/lucide/icon.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/lucide/icon.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/moment/moment.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/base.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/image.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/image.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/link.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/link.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/video.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/next/video.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/plotly/plotly.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/props.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/drawer.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/video.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/general.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/recharts/recharts.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/suneditor/editor.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/suneditor/editor.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/tag.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/config.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/colors.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/compiler.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/config.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/custom_components.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/event.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/route.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/state.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/style.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/constants/utils.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/event.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/client_state.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/hooks.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/layout.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/layout.pyi +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/experimental/misc.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/data.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/dynamic.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/proxy.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/storage.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/istate/wrappers.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/middleware/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/middleware/middleware.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/model.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/page.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/py.typed +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/reflex.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/route.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/state.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/testing.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/build.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/codespaces.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/compat.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/console.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/decorator.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/exceptions.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/exec.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/export.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/format.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/imports.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/net.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/path_ops.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/processes.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/redir.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/registry.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/serializers.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/telemetry.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/utils/types.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/__init__.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/base.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/datetime.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/dep_tracking.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/function.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/number.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/object.py +0 -0
- {reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/vars/sequence.py +0 -0
|
@@ -15,7 +15,13 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
{% for package, version in dev_dependencies.items() %}
|
|
17
17
|
"{{ package }}": "{{ version }}"{% if not loop.last %},{% endif %}
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
{% endfor %}
|
|
20
|
+
},
|
|
21
|
+
"overrides": {
|
|
22
|
+
{% for package, version in overrides.items() %}
|
|
23
|
+
"{{ package }}": "{{ version }}"{% if not loop.last %},{% endif %}
|
|
24
|
+
|
|
19
25
|
{% endfor %}
|
|
20
26
|
}
|
|
21
27
|
}
|
|
@@ -75,6 +75,7 @@ from reflex.components.core.client_side_routing import (
|
|
|
75
75
|
from reflex.components.core.sticky import sticky
|
|
76
76
|
from reflex.components.core.upload import Upload, get_upload_dir
|
|
77
77
|
from reflex.components.radix import themes
|
|
78
|
+
from reflex.components.sonner.toast import toast
|
|
78
79
|
from reflex.config import ExecutorType, environment, get_config
|
|
79
80
|
from reflex.event import (
|
|
80
81
|
_EVENT_FIELDS,
|
|
@@ -84,7 +85,6 @@ from reflex.event import (
|
|
|
84
85
|
EventType,
|
|
85
86
|
IndividualEventType,
|
|
86
87
|
get_hydrate_event,
|
|
87
|
-
window_alert,
|
|
88
88
|
)
|
|
89
89
|
from reflex.model import Model, get_db_status
|
|
90
90
|
from reflex.page import DECORATED_PAGES
|
|
@@ -144,7 +144,7 @@ def default_backend_exception_handler(exception: Exception) -> EventSpec:
|
|
|
144
144
|
EventSpec: The window alert event.
|
|
145
145
|
|
|
146
146
|
"""
|
|
147
|
-
from reflex.components.sonner.toast import
|
|
147
|
+
from reflex.components.sonner.toast import toast
|
|
148
148
|
|
|
149
149
|
error = traceback.format_exc()
|
|
150
150
|
|
|
@@ -155,18 +155,16 @@ def default_backend_exception_handler(exception: Exception) -> EventSpec:
|
|
|
155
155
|
if is_prod_mode()
|
|
156
156
|
else [f"{type(exception).__name__}: {exception}.", "See logs for details."]
|
|
157
157
|
)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
error_message.insert(0, "An error occurred.")
|
|
169
|
-
return window_alert("\n".join(error_message))
|
|
158
|
+
|
|
159
|
+
return toast(
|
|
160
|
+
"An error occurred.",
|
|
161
|
+
level="error",
|
|
162
|
+
fallback_to_alert=True,
|
|
163
|
+
description="<br/>".join(error_message),
|
|
164
|
+
position="top-center",
|
|
165
|
+
id="backend_error",
|
|
166
|
+
style={"width": "500px"},
|
|
167
|
+
)
|
|
170
168
|
|
|
171
169
|
|
|
172
170
|
def extra_overlay_function() -> Optional[Component]:
|
|
@@ -414,7 +412,7 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
414
412
|
] = default_backend_exception_handler
|
|
415
413
|
|
|
416
414
|
# Put the toast provider in the app wrap.
|
|
417
|
-
|
|
415
|
+
toaster: Component | None = dataclasses.field(default_factory=toast.provider)
|
|
418
416
|
|
|
419
417
|
@property
|
|
420
418
|
def api(self) -> FastAPI | None:
|
|
@@ -1100,10 +1098,6 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1100
1098
|
should_compile = self._should_compile()
|
|
1101
1099
|
|
|
1102
1100
|
if not should_compile:
|
|
1103
|
-
if self.bundle_toaster:
|
|
1104
|
-
from reflex.components.sonner.toast import Toaster
|
|
1105
|
-
|
|
1106
|
-
Toaster.is_used = True
|
|
1107
1101
|
with console.timing("Evaluate Pages (Backend)"):
|
|
1108
1102
|
for route in self._unevaluated_pages:
|
|
1109
1103
|
console.debug(f"Evaluating page: {route}")
|
|
@@ -1133,20 +1127,6 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1133
1127
|
+ adhoc_steps_without_executor,
|
|
1134
1128
|
)
|
|
1135
1129
|
|
|
1136
|
-
if self.bundle_toaster:
|
|
1137
|
-
from reflex.components.component import memo
|
|
1138
|
-
from reflex.components.sonner.toast import toast
|
|
1139
|
-
|
|
1140
|
-
internal_toast_provider = toast.provider()
|
|
1141
|
-
|
|
1142
|
-
@memo
|
|
1143
|
-
def memoized_toast_provider():
|
|
1144
|
-
return internal_toast_provider
|
|
1145
|
-
|
|
1146
|
-
toast_provider = Fragment.create(memoized_toast_provider())
|
|
1147
|
-
|
|
1148
|
-
app_wrappers[(1, "ToasterProvider")] = toast_provider
|
|
1149
|
-
|
|
1150
1130
|
with console.timing("Evaluate Pages (Frontend)"):
|
|
1151
1131
|
performance_metrics: list[tuple[str, float]] = []
|
|
1152
1132
|
for route in self._unevaluated_pages:
|
|
@@ -1207,6 +1187,17 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1207
1187
|
# Add the custom components from the page to the set.
|
|
1208
1188
|
custom_components |= component._get_all_custom_components()
|
|
1209
1189
|
|
|
1190
|
+
if (toaster := self.toaster) is not None:
|
|
1191
|
+
from reflex.components.component import memo
|
|
1192
|
+
|
|
1193
|
+
@memo
|
|
1194
|
+
def memoized_toast_provider():
|
|
1195
|
+
return toaster
|
|
1196
|
+
|
|
1197
|
+
toast_provider = Fragment.create(memoized_toast_provider())
|
|
1198
|
+
|
|
1199
|
+
app_wrappers[(1, "ToasterProvider")] = toast_provider
|
|
1200
|
+
|
|
1210
1201
|
# Add the app wraps to the app.
|
|
1211
1202
|
for key, app_wrap in self.app_wraps.items():
|
|
1212
1203
|
component = app_wrap(self._state is not None)
|
|
@@ -11,7 +11,9 @@ from reflex.vars.base import Var, get_unique_variable_name
|
|
|
11
11
|
class AutoScroll(Div):
|
|
12
12
|
"""A div that automatically scrolls to the bottom when new content is added."""
|
|
13
13
|
|
|
14
|
-
_memoization_mode = MemoizationMode(
|
|
14
|
+
_memoization_mode = MemoizationMode(
|
|
15
|
+
disposition=MemoizationDisposition.ALWAYS, recursive=False
|
|
16
|
+
)
|
|
15
17
|
|
|
16
18
|
@classmethod
|
|
17
19
|
def create(cls, *children, **props):
|
|
@@ -44,7 +46,6 @@ class AutoScroll(Div):
|
|
|
44
46
|
"""
|
|
45
47
|
ref_name = self.get_ref()
|
|
46
48
|
return [
|
|
47
|
-
"const containerRef = useRef(null);",
|
|
48
49
|
"const wasNearBottom = useRef(false);",
|
|
49
50
|
"const hadScrollbar = useRef(false);",
|
|
50
51
|
f"""
|
|
@@ -85,6 +86,8 @@ useEffect(() => {{
|
|
|
85
86
|
const container = {ref_name}.current;
|
|
86
87
|
if (!container) return;
|
|
87
88
|
|
|
89
|
+
scrollToBottomIfNeeded();
|
|
90
|
+
|
|
88
91
|
// Create ResizeObserver to detect height changes
|
|
89
92
|
const resizeObserver = new ResizeObserver(() => {{
|
|
90
93
|
scrollToBottomIfNeeded();
|
|
@@ -5,6 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
from typing import Optional
|
|
6
6
|
|
|
7
7
|
from reflex import constants
|
|
8
|
+
from reflex.components.base.fragment import Fragment
|
|
8
9
|
from reflex.components.component import Component
|
|
9
10
|
from reflex.components.core.cond import cond
|
|
10
11
|
from reflex.components.el.elements.typography import Div
|
|
@@ -16,7 +17,7 @@ from reflex.components.radix.themes.components.dialog import (
|
|
|
16
17
|
)
|
|
17
18
|
from reflex.components.radix.themes.layout.flex import Flex
|
|
18
19
|
from reflex.components.radix.themes.typography.text import Text
|
|
19
|
-
from reflex.components.sonner.toast import
|
|
20
|
+
from reflex.components.sonner.toast import ToastProps, toast_ref
|
|
20
21
|
from reflex.config import environment
|
|
21
22
|
from reflex.constants import Dirs, Hooks, Imports
|
|
22
23
|
from reflex.constants.compiler import CompileVars
|
|
@@ -90,7 +91,7 @@ def default_connection_error() -> list[str | Var | Component]:
|
|
|
90
91
|
]
|
|
91
92
|
|
|
92
93
|
|
|
93
|
-
class ConnectionToaster(
|
|
94
|
+
class ConnectionToaster(Fragment):
|
|
94
95
|
"""A connection toaster component."""
|
|
95
96
|
|
|
96
97
|
def add_hooks(self) -> list[str | Var]:
|
|
@@ -113,11 +114,11 @@ class ConnectionToaster(Toaster):
|
|
|
113
114
|
if environment.REFLEX_DOES_BACKEND_COLD_START.get():
|
|
114
115
|
loading_message = Var.create("Backend is starting.")
|
|
115
116
|
backend_is_loading_toast_var = Var(
|
|
116
|
-
f"toast
|
|
117
|
+
f"toast?.loading({loading_message!s}, {{...toast_props, description: '', closeButton: false, onDismiss: () => setUserDismissed(true)}},)"
|
|
117
118
|
)
|
|
118
119
|
backend_is_not_responding = Var.create("Backend is not responding.")
|
|
119
120
|
backend_is_down_toast_var = Var(
|
|
120
|
-
f"toast
|
|
121
|
+
f"toast?.error({backend_is_not_responding!s}, {{...toast_props, description: '', onDismiss: () => setUserDismissed(true)}},)"
|
|
121
122
|
)
|
|
122
123
|
toast_var = Var(
|
|
123
124
|
f"""
|
|
@@ -138,10 +139,11 @@ setTimeout(() => {{
|
|
|
138
139
|
f"Cannot connect to server: {connection_error}."
|
|
139
140
|
)
|
|
140
141
|
toast_var = Var(
|
|
141
|
-
f"toast
|
|
142
|
+
f"toast?.error({loading_message!s}, {{...toast_props, onDismiss: () => setUserDismissed(true)}},)"
|
|
142
143
|
)
|
|
143
144
|
|
|
144
145
|
individual_hooks = [
|
|
146
|
+
Var(f"const toast = {toast_ref};"),
|
|
145
147
|
f"const toast_props = {LiteralVar.create(props)!s};",
|
|
146
148
|
"const [userDismissed, setUserDismissed] = useState(false);",
|
|
147
149
|
"const [waitedForBackend, setWaitedForBackend] = useState(false);",
|
|
@@ -163,7 +165,7 @@ setTimeout(() => {{
|
|
|
163
165
|
{toast_var!s}
|
|
164
166
|
}}
|
|
165
167
|
}} else {{
|
|
166
|
-
toast
|
|
168
|
+
toast?.dismiss("{toast_id}");
|
|
167
169
|
setUserDismissed(false); // after reconnection reset dismissed state
|
|
168
170
|
}}
|
|
169
171
|
}}
|
|
@@ -189,7 +191,6 @@ setTimeout(() => {{
|
|
|
189
191
|
Returns:
|
|
190
192
|
The connection toaster component.
|
|
191
193
|
"""
|
|
192
|
-
Toaster.is_used = True
|
|
193
194
|
return super().create(*children, **props)
|
|
194
195
|
|
|
195
196
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
|
+
from reflex.components.base.fragment import Fragment
|
|
8
9
|
from reflex.components.component import Component
|
|
9
10
|
from reflex.components.el.elements.typography import Div
|
|
10
11
|
from reflex.components.lucide.icon import Icon
|
|
11
|
-
from reflex.components.sonner.toast import Toaster, ToastProps
|
|
12
12
|
from reflex.constants.compiler import CompileVars
|
|
13
13
|
from reflex.event import EventType
|
|
14
14
|
from reflex.style import Style
|
|
@@ -41,48 +41,13 @@ class WebsocketTargetURL(Var):
|
|
|
41
41
|
|
|
42
42
|
def default_connection_error() -> list[str | Var | Component]: ...
|
|
43
43
|
|
|
44
|
-
class ConnectionToaster(
|
|
44
|
+
class ConnectionToaster(Fragment):
|
|
45
45
|
def add_hooks(self) -> list[str | Var]: ...
|
|
46
46
|
@overload
|
|
47
47
|
@classmethod
|
|
48
48
|
def create( # type: ignore
|
|
49
49
|
cls,
|
|
50
50
|
*children,
|
|
51
|
-
theme: Optional[Union[Var[str], str]] = None,
|
|
52
|
-
rich_colors: Optional[Union[Var[bool], bool]] = None,
|
|
53
|
-
expand: Optional[Union[Var[bool], bool]] = None,
|
|
54
|
-
visible_toasts: Optional[Union[Var[int], int]] = None,
|
|
55
|
-
position: Optional[
|
|
56
|
-
Union[
|
|
57
|
-
Literal[
|
|
58
|
-
"bottom-center",
|
|
59
|
-
"bottom-left",
|
|
60
|
-
"bottom-right",
|
|
61
|
-
"top-center",
|
|
62
|
-
"top-left",
|
|
63
|
-
"top-right",
|
|
64
|
-
],
|
|
65
|
-
Var[
|
|
66
|
-
Literal[
|
|
67
|
-
"bottom-center",
|
|
68
|
-
"bottom-left",
|
|
69
|
-
"bottom-right",
|
|
70
|
-
"top-center",
|
|
71
|
-
"top-left",
|
|
72
|
-
"top-right",
|
|
73
|
-
]
|
|
74
|
-
],
|
|
75
|
-
]
|
|
76
|
-
] = None,
|
|
77
|
-
close_button: Optional[Union[Var[bool], bool]] = None,
|
|
78
|
-
offset: Optional[Union[Var[str], str]] = None,
|
|
79
|
-
dir: Optional[Union[Var[str], str]] = None,
|
|
80
|
-
hotkey: Optional[Union[Var[str], str]] = None,
|
|
81
|
-
invert: Optional[Union[Var[bool], bool]] = None,
|
|
82
|
-
toast_options: Optional[Union[ToastProps, Var[ToastProps]]] = None,
|
|
83
|
-
gap: Optional[Union[Var[int], int]] = None,
|
|
84
|
-
loading_icon: Optional[Union[Icon, Var[Icon]]] = None,
|
|
85
|
-
pause_when_page_is_hidden: Optional[Union[Var[bool], bool]] = None,
|
|
86
51
|
style: Optional[Style] = None,
|
|
87
52
|
key: Optional[Any] = None,
|
|
88
53
|
id: Optional[Any] = None,
|
|
@@ -110,20 +75,6 @@ class ConnectionToaster(Toaster):
|
|
|
110
75
|
|
|
111
76
|
Args:
|
|
112
77
|
*children: The children of the component.
|
|
113
|
-
theme: the theme of the toast
|
|
114
|
-
rich_colors: whether to show rich colors
|
|
115
|
-
expand: whether to expand the toast
|
|
116
|
-
visible_toasts: the number of toasts that are currently visible
|
|
117
|
-
position: the position of the toast
|
|
118
|
-
close_button: whether to show the close button
|
|
119
|
-
offset: offset of the toast
|
|
120
|
-
dir: directionality of the toast (default: ltr)
|
|
121
|
-
hotkey: Keyboard shortcut that will move focus to the toaster area.
|
|
122
|
-
invert: Dark toasts in light mode and vice versa.
|
|
123
|
-
toast_options: These will act as default options for all toasts. See toast() for all available options.
|
|
124
|
-
gap: Gap between toasts when expanded
|
|
125
|
-
loading_icon: Changes the default loading icon
|
|
126
|
-
pause_when_page_is_hidden: Pauses toast timers when the page is hidden, e.g., when the tab is backgrounded, the browser is minimized, or the OS is locked.
|
|
127
78
|
style: The style of the component.
|
|
128
79
|
key: A unique key for the component.
|
|
129
80
|
id: The id for the component.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Any,
|
|
5
|
+
from typing import Any, Literal, Optional, Union
|
|
6
6
|
|
|
7
7
|
from reflex.base import Base
|
|
8
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
@@ -17,6 +17,7 @@ from reflex.utils.serializers import serializer
|
|
|
17
17
|
from reflex.vars import VarData
|
|
18
18
|
from reflex.vars.base import LiteralVar, Var
|
|
19
19
|
from reflex.vars.function import FunctionVar
|
|
20
|
+
from reflex.vars.number import ternary_operation
|
|
20
21
|
from reflex.vars.object import ObjectVar
|
|
21
22
|
|
|
22
23
|
LiteralPosition = Literal[
|
|
@@ -217,9 +218,6 @@ class Toaster(Component):
|
|
|
217
218
|
# Pauses toast timers when the page is hidden, e.g., when the tab is backgrounded, the browser is minimized, or the OS is locked.
|
|
218
219
|
pause_when_page_is_hidden: Var[bool]
|
|
219
220
|
|
|
220
|
-
# Marked True when any Toast component is created.
|
|
221
|
-
is_used: ClassVar[bool] = False
|
|
222
|
-
|
|
223
221
|
def add_hooks(self) -> list[Var | str]:
|
|
224
222
|
"""Add hooks for the toaster component.
|
|
225
223
|
|
|
@@ -241,13 +239,17 @@ class Toaster(Component):
|
|
|
241
239
|
|
|
242
240
|
@staticmethod
|
|
243
241
|
def send_toast(
|
|
244
|
-
message: str | Var = "",
|
|
242
|
+
message: str | Var = "",
|
|
243
|
+
level: str | None = None,
|
|
244
|
+
fallback_to_alert: bool = False,
|
|
245
|
+
**props,
|
|
245
246
|
) -> EventSpec:
|
|
246
247
|
"""Send a toast message.
|
|
247
248
|
|
|
248
249
|
Args:
|
|
249
250
|
message: The message to display.
|
|
250
251
|
level: The level of the toast.
|
|
252
|
+
fallback_to_alert: Whether to fallback to an alert if the toaster is not created.
|
|
251
253
|
**props: The options for the toast.
|
|
252
254
|
|
|
253
255
|
Raises:
|
|
@@ -256,11 +258,6 @@ class Toaster(Component):
|
|
|
256
258
|
Returns:
|
|
257
259
|
The toast event.
|
|
258
260
|
"""
|
|
259
|
-
if not Toaster.is_used:
|
|
260
|
-
raise ValueError(
|
|
261
|
-
"Toaster component must be created before sending a toast. (use `rx.toast.provider()`)"
|
|
262
|
-
)
|
|
263
|
-
|
|
264
261
|
toast_command = (
|
|
265
262
|
ObjectVar.__getattr__(toast_ref.to(dict), level) if level else toast_ref
|
|
266
263
|
).to(FunctionVar)
|
|
@@ -277,6 +274,21 @@ class Toaster(Component):
|
|
|
277
274
|
else:
|
|
278
275
|
toast = toast_command.call(message)
|
|
279
276
|
|
|
277
|
+
if fallback_to_alert:
|
|
278
|
+
toast = ternary_operation(
|
|
279
|
+
toast_ref.bool(),
|
|
280
|
+
toast,
|
|
281
|
+
FunctionVar("window.alert").call(
|
|
282
|
+
Var.create(
|
|
283
|
+
message
|
|
284
|
+
if isinstance(message, str) and message
|
|
285
|
+
else props.get("title", props.get("description", ""))
|
|
286
|
+
)
|
|
287
|
+
.to(str)
|
|
288
|
+
.replace("<br/>", "\n")
|
|
289
|
+
),
|
|
290
|
+
)
|
|
291
|
+
|
|
280
292
|
return run_script(toast)
|
|
281
293
|
|
|
282
294
|
@staticmethod
|
|
@@ -379,7 +391,6 @@ class Toaster(Component):
|
|
|
379
391
|
Returns:
|
|
380
392
|
The toaster component.
|
|
381
393
|
"""
|
|
382
|
-
cls.is_used = True
|
|
383
394
|
return super().create(*children, **props)
|
|
384
395
|
|
|
385
396
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any,
|
|
6
|
+
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.base import Base
|
|
9
9
|
from reflex.components.component import Component, ComponentNamespace
|
|
@@ -60,12 +60,13 @@ class ToastProps(PropsBase, NoExtrasAllowedProps):
|
|
|
60
60
|
def dict(self, *args: Any, **kwargs: Any) -> dict[str, Any]: ...
|
|
61
61
|
|
|
62
62
|
class Toaster(Component):
|
|
63
|
-
is_used: ClassVar[bool] = False
|
|
64
|
-
|
|
65
63
|
def add_hooks(self) -> list[Var | str]: ...
|
|
66
64
|
@staticmethod
|
|
67
65
|
def send_toast(
|
|
68
|
-
message: str | Var = "",
|
|
66
|
+
message: str | Var = "",
|
|
67
|
+
level: str | None = None,
|
|
68
|
+
fallback_to_alert: bool = False,
|
|
69
|
+
**props,
|
|
69
70
|
) -> EventSpec: ...
|
|
70
71
|
@staticmethod
|
|
71
72
|
def toast_info(message: str | Var = "", **kwargs: Any): ...
|
|
@@ -185,13 +186,17 @@ class ToastNamespace(ComponentNamespace):
|
|
|
185
186
|
|
|
186
187
|
@staticmethod
|
|
187
188
|
def __call__(
|
|
188
|
-
message: Union[str, Var] = "",
|
|
189
|
+
message: Union[str, Var] = "",
|
|
190
|
+
level: Optional[str] = None,
|
|
191
|
+
fallback_to_alert: bool = False,
|
|
192
|
+
**props,
|
|
189
193
|
) -> "EventSpec":
|
|
190
194
|
"""Send a toast message.
|
|
191
195
|
|
|
192
196
|
Args:
|
|
193
197
|
message: The message to display.
|
|
194
198
|
level: The level of the toast.
|
|
199
|
+
fallback_to_alert: Whether to fallback to an alert if the toaster is not created.
|
|
195
200
|
**props: The options for the toast.
|
|
196
201
|
|
|
197
202
|
Raises:
|
|
@@ -6,7 +6,7 @@ from typing import Any, Literal, Tuple, Type
|
|
|
6
6
|
|
|
7
7
|
from reflex import constants
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints, breakpoints_values
|
|
9
|
-
from reflex.event import EventChain, EventHandler
|
|
9
|
+
from reflex.event import EventChain, EventHandler, EventSpec, run_script
|
|
10
10
|
from reflex.utils import format
|
|
11
11
|
from reflex.utils.exceptions import ReflexError
|
|
12
12
|
from reflex.utils.imports import ImportVar
|
|
@@ -49,9 +49,9 @@ def _color_mode_var(_js_expr: str, _var_type: Type = str) -> Var:
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
def set_color_mode(
|
|
52
|
-
new_color_mode: LiteralColorMode | Var[LiteralColorMode]
|
|
53
|
-
) ->
|
|
54
|
-
"""Create an
|
|
52
|
+
new_color_mode: LiteralColorMode | Var[LiteralColorMode],
|
|
53
|
+
) -> EventSpec:
|
|
54
|
+
"""Create an EventSpec Var that sets the color mode to a specific value.
|
|
55
55
|
|
|
56
56
|
Note: `set_color_mode` is not a real event and cannot be triggered from a
|
|
57
57
|
backend event handler.
|
|
@@ -60,24 +60,15 @@ def set_color_mode(
|
|
|
60
60
|
new_color_mode: The color mode to set.
|
|
61
61
|
|
|
62
62
|
Returns:
|
|
63
|
-
The
|
|
63
|
+
The EventSpec Var that can be passed to an event trigger.
|
|
64
64
|
"""
|
|
65
65
|
base_setter = _color_mode_var(
|
|
66
66
|
_js_expr=constants.ColorMode.SET,
|
|
67
|
-
|
|
68
|
-
)
|
|
69
|
-
if new_color_mode is None:
|
|
70
|
-
return base_setter
|
|
71
|
-
|
|
72
|
-
if not isinstance(new_color_mode, Var):
|
|
73
|
-
new_color_mode = LiteralVar.create(new_color_mode)
|
|
67
|
+
).to(FunctionVar)
|
|
74
68
|
|
|
75
|
-
return
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
base_setter._get_all_var_data(), new_color_mode._get_all_var_data()
|
|
79
|
-
),
|
|
80
|
-
).to(FunctionVar, EventChain)
|
|
69
|
+
return run_script(
|
|
70
|
+
base_setter.call(new_color_mode),
|
|
71
|
+
)
|
|
81
72
|
|
|
82
73
|
|
|
83
74
|
# Var resolves to the current color mode for the app ("light", "dark" or "system")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/README.md.jinja2
RENAMED
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/__init__.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2
RENAMED
|
File without changes
|
{reflex-0.7.1a1 → reflex-0.7.1a3}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|