reflex 0.8.4__tar.gz → 0.8.4a1__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.8.4 → reflex-0.8.4a1}/PKG-INFO +1 -1
- {reflex-0.8.4 → reflex-0.8.4a1}/pyproject.toml +1 -1
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/react-theme.js +17 -12
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/installer.py +1 -1
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/misc.py +3 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/.gitignore +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/LICENSE +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/README.md +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/macros.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/app/entry.client.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/app/routes.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/components/shiki/code.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/react-router.config.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/styles/__reflex_style_reset.css +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/utils/state.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/vite-plugin-safari-cachebust.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/web/vite.config.js +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/__main__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/admin.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/app.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/assets.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/compiler/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/compiler/compiler.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/compiler/templates.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/compiler/utils.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/bare.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/body.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/body.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/document.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/document.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/fragment.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/link.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/link.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/meta.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/script.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/script.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/strict_mode.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/base/strict_mode.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/component.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/auto_scroll.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/auto_scroll.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/banner.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/banner.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/client_side_routing.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/colors.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/cond.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/debounce.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/foreach.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/helmet.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/helmet.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/html.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/html.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/match.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/responsive.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/sticky.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/sticky.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/upload.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/window_events.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/core/window_events.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/shiki_code_block.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/datadisplay/shiki_code_block.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/dynamic.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/element.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/element.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/field.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/literals.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/lucide/icon.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/lucide/icon.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/moment/moment.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/plotly/plotly.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/props.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/drawer.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/video.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_router/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_router/dom.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/react_router/dom.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/general.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/recharts/recharts.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/sonner/toast.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/sonner/toast.pyi +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/tag.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/config.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/colors.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/compiler.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/config.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/custom_components.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/event.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/route.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/state.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/constants/utils.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/environment.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/event.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/experimental/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/experimental/client_state.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/experimental/hooks.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/data.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/dynamic.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/manager.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/proxy.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/storage.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/istate/wrappers.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/middleware/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/middleware/middleware.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/model.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/page.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/shared_tailwind.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/sitemap.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/tailwind_v3.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/plugins/tailwind_v4.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/py.typed +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/reflex.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/route.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/state.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/style.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/testing.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/build.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/codespaces.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/compat.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/console.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/decorator.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/exceptions.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/exec.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/export.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/format.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/imports.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/net.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/path_ops.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/prerequisites.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/processes.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/redir.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/registry.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/serializers.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/telemetry.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/utils/types.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/__init__.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/base.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/datetime.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/dep_tracking.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/function.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/number.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/object.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/reflex/vars/sequence.py +0 -0
- {reflex-0.8.4 → reflex-0.8.4a1}/scripts/hatch_build.py +0 -0
|
@@ -18,9 +18,17 @@ const ThemeContext = createContext({
|
|
|
18
18
|
|
|
19
19
|
export function ThemeProvider({ children, defaultTheme = "system" }) {
|
|
20
20
|
const [theme, setTheme] = useState(defaultTheme);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
)
|
|
21
|
+
|
|
22
|
+
// Detect system preference synchronously during initialization
|
|
23
|
+
const getInitialSystemTheme = () => {
|
|
24
|
+
if (defaultTheme !== "system") return defaultTheme;
|
|
25
|
+
if (typeof window === "undefined") return "light";
|
|
26
|
+
return window.matchMedia("(prefers-color-scheme: dark)").matches
|
|
27
|
+
? "dark"
|
|
28
|
+
: "light";
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const [systemTheme, setSystemTheme] = useState(getInitialSystemTheme);
|
|
24
32
|
const [isInitialized, setIsInitialized] = useState(false);
|
|
25
33
|
|
|
26
34
|
const firstRender = useRef(true);
|
|
@@ -37,7 +45,6 @@ export function ThemeProvider({ children, defaultTheme = "system" }) {
|
|
|
37
45
|
if (lastCompiledTheme !== defaultColorMode) {
|
|
38
46
|
// on app startup, make sure the application color mode is persisted correctly.
|
|
39
47
|
localStorage.setItem("last_compiled_theme", defaultColorMode);
|
|
40
|
-
setIsInitialized(true);
|
|
41
48
|
return;
|
|
42
49
|
}
|
|
43
50
|
}
|
|
@@ -71,21 +78,19 @@ export function ThemeProvider({ children, defaultTheme = "system" }) {
|
|
|
71
78
|
};
|
|
72
79
|
});
|
|
73
80
|
|
|
74
|
-
// Save theme to localStorage whenever it changes
|
|
75
|
-
// Skip saving only if theme key already exists and we haven't initialized yet
|
|
81
|
+
// Save theme to localStorage whenever it changes (but not on initial mount)
|
|
76
82
|
useEffect(() => {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}, [theme]);
|
|
83
|
+
if (isInitialized) {
|
|
84
|
+
localStorage.setItem("theme", theme);
|
|
85
|
+
}
|
|
86
|
+
}, [theme, isInitialized]);
|
|
81
87
|
|
|
82
88
|
useEffect(() => {
|
|
83
|
-
if (!isInitialized) return;
|
|
84
89
|
const root = window.document.documentElement;
|
|
85
90
|
root.classList.remove("light", "dark");
|
|
86
91
|
root.classList.add(resolvedTheme);
|
|
87
92
|
root.style.colorScheme = resolvedTheme;
|
|
88
|
-
}, [resolvedTheme
|
|
93
|
+
}, [resolvedTheme]);
|
|
89
94
|
|
|
90
95
|
return createElement(
|
|
91
96
|
ThemeContext.Provider,
|
|
@@ -143,7 +143,7 @@ class PackageJson(SimpleNamespace):
|
|
|
143
143
|
"postcss-import": "16.1.1",
|
|
144
144
|
"@react-router/dev": _react_router_version,
|
|
145
145
|
"@react-router/fs-routes": _react_router_version,
|
|
146
|
-
"rolldown-vite": "7.0.
|
|
146
|
+
"rolldown-vite": "7.0.9",
|
|
147
147
|
}
|
|
148
148
|
OVERRIDES = {
|
|
149
149
|
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
|
|
@@ -113,6 +113,8 @@ if (typeof document !== 'undefined') {
|
|
|
113
113
|
const systemPreference = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
114
114
|
const resolvedTheme = theme === "system" ? systemPreference : theme;
|
|
115
115
|
|
|
116
|
+
console.log("[PRELOAD] Theme applied:", resolvedTheme, "from theme:", theme, "system:", systemPreference);
|
|
117
|
+
|
|
116
118
|
// Apply theme immediately - blocks until complete
|
|
117
119
|
// Use classList to avoid overwriting other classes
|
|
118
120
|
document.documentElement.classList.remove("light", "dark");
|
|
@@ -122,6 +124,7 @@ if (typeof document !== 'undefined') {
|
|
|
122
124
|
} catch (e) {
|
|
123
125
|
// Fallback to system preference on any error (resolve "system" to actual theme)
|
|
124
126
|
const fallbackTheme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
127
|
+
console.log("[PRELOAD] Error, falling back to:", fallbackTheme);
|
|
125
128
|
document.documentElement.classList.remove("light", "dark");
|
|
126
129
|
document.documentElement.classList.add(fallbackTheme);
|
|
127
130
|
document.documentElement.style.colorScheme = fallbackTheme;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/__init__.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/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
|
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2
RENAMED
|
File without changes
|
{reflex-0.8.4 → reflex-0.8.4a1}/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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|