reflex 0.8.8a1__tar.gz → 0.8.8a2__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.8a1 → reflex-0.8.8a2}/PKG-INFO +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/pyproject.toml +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/state.js +5 -5
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/app.py +2 -2
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/compiler/compiler.py +2 -2
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/compiler/templates.py +4 -4
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/compiler/utils.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/component.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/lucide/icon.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/lucide/icon.pyi +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/drawer.py +9 -21
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/compiler.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/event.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/format.py +1 -1
- {reflex-0.8.8a1 → reflex-0.8.8a2}/.gitignore +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/LICENSE +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/README.md +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/app/entry.client.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/app/routes.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/components/shiki/code.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/react-router.config.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/styles/__reflex_style_reset.css +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/utils/react-theme.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/.templates/web/vite-plugin-safari-cachebust.js +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/__main__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/admin.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/assets.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/compiler/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/bare.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/body.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/body.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/document.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/document.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/fragment.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/link.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/link.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/meta.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/script.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/script.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/strict_mode.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/base/strict_mode.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/auto_scroll.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/auto_scroll.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/banner.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/banner.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/colors.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/cond.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/debounce.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/foreach.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/helmet.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/helmet.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/html.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/html.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/match.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/responsive.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/sticky.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/sticky.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/upload.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/window_events.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/core/window_events.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/shiki_code_block.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/datadisplay/shiki_code_block.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/dynamic.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/element.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/element.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/field.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/literals.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/moment/moment.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/plotly/plotly.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/props.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/video.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_router/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_router/dom.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/react_router/dom.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/general.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/recharts/recharts.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/sonner/toast.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/sonner/toast.pyi +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/tag.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/config.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/colors.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/config.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/custom_components.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/event.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/installer.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/route.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/state.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/constants/utils.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/environment.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/experimental/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/experimental/client_state.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/experimental/hooks.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/data.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/dynamic.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/manager.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/proxy.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/storage.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/istate/wrappers.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/middleware/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/middleware/middleware.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/model.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/page.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/_screenshot.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/shared_tailwind.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/sitemap.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/tailwind_v3.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/plugins/tailwind_v4.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/py.typed +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/reflex.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/route.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/state.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/style.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/testing.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/build.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/codespaces.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/compat.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/console.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/decorator.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/exceptions.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/exec.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/export.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/frontend_skeleton.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/imports.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/js_runtimes.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/misc.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/monitoring.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/net.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/path_ops.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/prerequisites.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/processes.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/redir.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/registry.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/rename.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/serializers.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/telemetry.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/templates.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/token_manager.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/utils/types.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/__init__.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/base.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/datetime.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/dep_tracking.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/function.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/number.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/object.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/reflex/vars/sequence.py +0 -0
- {reflex-0.8.8a1 → reflex-0.8.8a2}/scripts/hatch_build.py +0 -0
|
@@ -415,7 +415,7 @@ export const applyRestEvent = async (event, socket, navigate, params) => {
|
|
|
415
415
|
if (event.payload.files === undefined || event.payload.files.length === 0) {
|
|
416
416
|
// Submit the event over the websocket to trigger the event handler.
|
|
417
417
|
return await applyEvent(
|
|
418
|
-
|
|
418
|
+
ReflexEvent(event.name, { files: [] }),
|
|
419
419
|
socket,
|
|
420
420
|
navigate,
|
|
421
421
|
params,
|
|
@@ -775,7 +775,7 @@ export const uploadFiles = async (
|
|
|
775
775
|
* @param {string} handler The client handler to process event.
|
|
776
776
|
* @returns The event object.
|
|
777
777
|
*/
|
|
778
|
-
export const
|
|
778
|
+
export const ReflexEvent = (
|
|
779
779
|
name,
|
|
780
780
|
payload = {},
|
|
781
781
|
event_actions = {},
|
|
@@ -987,7 +987,7 @@ export const useEventLoop = (
|
|
|
987
987
|
|
|
988
988
|
window.onerror = function (msg, url, lineNo, columnNo, error) {
|
|
989
989
|
addEvents([
|
|
990
|
-
|
|
990
|
+
ReflexEvent(`${exception_state_name}.handle_frontend_exception`, {
|
|
991
991
|
info: error.name + ": " + error.message + "\n" + error.stack,
|
|
992
992
|
component_stack: "",
|
|
993
993
|
}),
|
|
@@ -999,7 +999,7 @@ export const useEventLoop = (
|
|
|
999
999
|
//https://github.com/mknichel/javascript-errors?tab=readme-ov-file#promise-rejection-events
|
|
1000
1000
|
window.onunhandledrejection = function (event) {
|
|
1001
1001
|
addEvents([
|
|
1002
|
-
|
|
1002
|
+
ReflexEvent(`${exception_state_name}.handle_frontend_exception`, {
|
|
1003
1003
|
info:
|
|
1004
1004
|
event.reason?.name +
|
|
1005
1005
|
": " +
|
|
@@ -1072,7 +1072,7 @@ export const useEventLoop = (
|
|
|
1072
1072
|
if (storage_to_state_map[e.key]) {
|
|
1073
1073
|
const vars = {};
|
|
1074
1074
|
vars[storage_to_state_map[e.key]] = e.newValue;
|
|
1075
|
-
const event =
|
|
1075
|
+
const event = ReflexEvent(
|
|
1076
1076
|
`${state_name}.reflex___state____update_vars_internal_state.update_vars_internal`,
|
|
1077
1077
|
{ vars: vars },
|
|
1078
1078
|
);
|
|
@@ -1311,9 +1311,9 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1311
1311
|
self.head_components,
|
|
1312
1312
|
html_lang=self.html_lang,
|
|
1313
1313
|
html_custom_attrs=(
|
|
1314
|
-
{"suppressHydrationWarning":
|
|
1314
|
+
{"suppressHydrationWarning": True, **self.html_custom_attrs}
|
|
1315
1315
|
if self.html_custom_attrs
|
|
1316
|
-
else {"suppressHydrationWarning":
|
|
1316
|
+
else {"suppressHydrationWarning": True}
|
|
1317
1317
|
),
|
|
1318
1318
|
)
|
|
1319
1319
|
)
|
|
@@ -6,7 +6,7 @@ import sys
|
|
|
6
6
|
from collections.abc import Callable, Iterable, Sequence
|
|
7
7
|
from inspect import getmodule
|
|
8
8
|
from pathlib import Path
|
|
9
|
-
from typing import TYPE_CHECKING
|
|
9
|
+
from typing import TYPE_CHECKING, Any
|
|
10
10
|
|
|
11
11
|
from reflex import constants
|
|
12
12
|
from reflex.compiler import templates, utils
|
|
@@ -465,7 +465,7 @@ def _compile_stateful_components(
|
|
|
465
465
|
def compile_document_root(
|
|
466
466
|
head_components: list[Component],
|
|
467
467
|
html_lang: str | None = None,
|
|
468
|
-
html_custom_attrs: dict[str, Var |
|
|
468
|
+
html_custom_attrs: dict[str, Var | Any] | None = None,
|
|
469
469
|
) -> tuple[str, str]:
|
|
470
470
|
"""Compile the document root.
|
|
471
471
|
|
|
@@ -303,7 +303,7 @@ export const onLoadInternalEvent = () => {{
|
|
|
303
303
|
// But only send the vars if any are actually set in the browser.
|
|
304
304
|
if (client_storage_vars && Object.keys(client_storage_vars).length !== 0) {{
|
|
305
305
|
internal_events.push(
|
|
306
|
-
|
|
306
|
+
ReflexEvent(
|
|
307
307
|
'{state_name}.{constants.CompileVars.UPDATE_VARS_INTERNAL}',
|
|
308
308
|
{{vars: client_storage_vars}},
|
|
309
309
|
),
|
|
@@ -312,14 +312,14 @@ export const onLoadInternalEvent = () => {{
|
|
|
312
312
|
|
|
313
313
|
// `on_load_internal` triggers the correct on_load event(s) for the current page.
|
|
314
314
|
// If the page does not define any on_load event, this will just set `is_hydrated = true`.
|
|
315
|
-
internal_events.push(
|
|
315
|
+
internal_events.push(ReflexEvent('{state_name}.{constants.CompileVars.ON_LOAD_INTERNAL}'));
|
|
316
316
|
|
|
317
317
|
return internal_events;
|
|
318
318
|
}}
|
|
319
319
|
|
|
320
320
|
// The following events are sent when the websocket connects or reconnects.
|
|
321
321
|
export const initialEvents = () => [
|
|
322
|
-
|
|
322
|
+
ReflexEvent('{state_name}.{constants.CompileVars.HYDRATE}'),
|
|
323
323
|
...onLoadInternalEvent()
|
|
324
324
|
]
|
|
325
325
|
"""
|
|
@@ -351,7 +351,7 @@ export const initialEvents = () => []
|
|
|
351
351
|
)
|
|
352
352
|
|
|
353
353
|
return rf"""import {{ createContext, useContext, useMemo, useReducer, useState, createElement, useEffect }} from "react"
|
|
354
|
-
import {{ applyDelta,
|
|
354
|
+
import {{ applyDelta, ReflexEvent, hydrateClientStorage, useEventLoop, refs }} from "$/utils/state"
|
|
355
355
|
import {{ jsx }} from "@emotion/react";
|
|
356
356
|
|
|
357
357
|
export const initialState = {"{}" if not initial_state else json_dumps(initial_state)}
|
|
@@ -350,7 +350,7 @@ def compile_custom_component(
|
|
|
350
350
|
def create_document_root(
|
|
351
351
|
head_components: Sequence[Component] | None = None,
|
|
352
352
|
html_lang: str | None = None,
|
|
353
|
-
html_custom_attrs: dict[str, Var |
|
|
353
|
+
html_custom_attrs: dict[str, Var | Any] | None = None,
|
|
354
354
|
) -> Component:
|
|
355
355
|
"""Create the document root.
|
|
356
356
|
|
|
@@ -2599,7 +2599,7 @@ class StatefulComponent(BaseComponent):
|
|
|
2599
2599
|
memo_name = f"{event_trigger}_{chain_hash}"
|
|
2600
2600
|
|
|
2601
2601
|
# Calculate Var dependencies accessed by the handler for useCallback dep array.
|
|
2602
|
-
var_deps = ["addEvents", "
|
|
2602
|
+
var_deps = ["addEvents", "ReflexEvent"]
|
|
2603
2603
|
|
|
2604
2604
|
# Get deps from event trigger var data.
|
|
2605
2605
|
var_deps.extend(cls._get_deps_from_event_trigger(event))
|
|
@@ -6,7 +6,7 @@ from reflex.utils.imports import ImportVar
|
|
|
6
6
|
from reflex.vars.base import LiteralVar, Var
|
|
7
7
|
from reflex.vars.sequence import LiteralStringVar, StringVar
|
|
8
8
|
|
|
9
|
-
LUCIDE_LIBRARY = "lucide-react@0.
|
|
9
|
+
LUCIDE_LIBRARY = "lucide-react@0.541.0"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class LucideIconComponent(Component):
|
|
@@ -11,7 +11,7 @@ from reflex.components.core.breakpoints import Breakpoints
|
|
|
11
11
|
from reflex.event import EventType, PointerEventInfo
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
|
-
LUCIDE_LIBRARY = "lucide-react@0.
|
|
14
|
+
LUCIDE_LIBRARY = "lucide-react@0.541.0"
|
|
15
15
|
|
|
16
16
|
class LucideIconComponent(Component):
|
|
17
17
|
@classmethod
|
|
@@ -124,13 +124,13 @@ class DrawerContent(DrawerComponent):
|
|
|
124
124
|
alias = "Vaul" + tag
|
|
125
125
|
|
|
126
126
|
# Style set partially based on the source code at https://ui.shadcn.com/docs/components/drawer
|
|
127
|
-
def
|
|
127
|
+
def add_style(self) -> dict:
|
|
128
128
|
"""Get the style for the component.
|
|
129
129
|
|
|
130
130
|
Returns:
|
|
131
131
|
The dictionary of the component style as value and the style notation as key.
|
|
132
132
|
"""
|
|
133
|
-
|
|
133
|
+
return {
|
|
134
134
|
"left": "0",
|
|
135
135
|
"right": "0",
|
|
136
136
|
"bottom": "0",
|
|
@@ -139,9 +139,6 @@ class DrawerContent(DrawerComponent):
|
|
|
139
139
|
"z_index": 50,
|
|
140
140
|
"display": "flex",
|
|
141
141
|
}
|
|
142
|
-
style = self.style or {}
|
|
143
|
-
base_style.update(style)
|
|
144
|
-
return {"css": base_style}
|
|
145
142
|
|
|
146
143
|
# Fired when the drawer content is opened.
|
|
147
144
|
on_open_auto_focus: EventHandler[no_args_event_spec]
|
|
@@ -186,13 +183,13 @@ class DrawerOverlay(DrawerComponent):
|
|
|
186
183
|
alias = "Vaul" + tag
|
|
187
184
|
|
|
188
185
|
# Style set based on the source code at https://ui.shadcn.com/docs/components/drawer
|
|
189
|
-
def
|
|
186
|
+
def add_style(self) -> dict:
|
|
190
187
|
"""Get the style for the component.
|
|
191
188
|
|
|
192
189
|
Returns:
|
|
193
190
|
The dictionary of the component style as value and the style notation as key.
|
|
194
191
|
"""
|
|
195
|
-
|
|
192
|
+
return {
|
|
196
193
|
"position": "fixed",
|
|
197
194
|
"left": "0",
|
|
198
195
|
"right": "0",
|
|
@@ -201,9 +198,6 @@ class DrawerOverlay(DrawerComponent):
|
|
|
201
198
|
"z_index": 50,
|
|
202
199
|
"background": "rgba(0, 0, 0, 0.5)",
|
|
203
200
|
}
|
|
204
|
-
style = self.style or {}
|
|
205
|
-
base_style.update(style)
|
|
206
|
-
return {"css": base_style}
|
|
207
201
|
|
|
208
202
|
|
|
209
203
|
class DrawerClose(DrawerTrigger):
|
|
@@ -222,21 +216,18 @@ class DrawerTitle(DrawerComponent):
|
|
|
222
216
|
alias = "Vaul" + tag
|
|
223
217
|
|
|
224
218
|
# Style set based on the source code at https://ui.shadcn.com/docs/components/drawer
|
|
225
|
-
def
|
|
219
|
+
def add_style(self) -> dict:
|
|
226
220
|
"""Get the style for the component.
|
|
227
221
|
|
|
228
222
|
Returns:
|
|
229
223
|
The dictionary of the component style as value and the style notation as key.
|
|
230
224
|
"""
|
|
231
|
-
|
|
225
|
+
return {
|
|
232
226
|
"font-size": "1.125rem",
|
|
233
227
|
"font-weight": "600",
|
|
234
|
-
"line-
|
|
228
|
+
"line-height": "1",
|
|
235
229
|
"letter-spacing": "-0.05em",
|
|
236
230
|
}
|
|
237
|
-
style = self.style or {}
|
|
238
|
-
base_style.update(style)
|
|
239
|
-
return {"css": base_style}
|
|
240
231
|
|
|
241
232
|
|
|
242
233
|
class DrawerDescription(DrawerComponent):
|
|
@@ -247,18 +238,15 @@ class DrawerDescription(DrawerComponent):
|
|
|
247
238
|
alias = "Vaul" + tag
|
|
248
239
|
|
|
249
240
|
# Style set based on the source code at https://ui.shadcn.com/docs/components/drawer
|
|
250
|
-
def
|
|
241
|
+
def add_style(self) -> dict:
|
|
251
242
|
"""Get the style for the component.
|
|
252
243
|
|
|
253
244
|
Returns:
|
|
254
245
|
The dictionary of the component style as value and the style notation as key.
|
|
255
246
|
"""
|
|
256
|
-
|
|
247
|
+
return {
|
|
257
248
|
"font-size": "0.875rem",
|
|
258
249
|
}
|
|
259
|
-
style = self.style or {}
|
|
260
|
-
base_style.update(style)
|
|
261
|
-
return {"css": base_style}
|
|
262
250
|
|
|
263
251
|
|
|
264
252
|
class DrawerHandle(DrawerComponent):
|
|
@@ -64,7 +64,7 @@ class CompileVars(SimpleNamespace):
|
|
|
64
64
|
# The name of the var storing any connection error.
|
|
65
65
|
CONNECT_ERROR = "connectErrors"
|
|
66
66
|
# The name of the function for converting a dict to an event.
|
|
67
|
-
TO_EVENT = "
|
|
67
|
+
TO_EVENT = "ReflexEvent"
|
|
68
68
|
# The name of the internal on_load event.
|
|
69
69
|
ON_LOAD_INTERNAL = "reflex___state____on_load_internal_state.on_load_internal"
|
|
70
70
|
# The name of the internal event to update generic state vars.
|
|
@@ -1930,7 +1930,7 @@ class LiteralEventVar(VarOperationCall, LiteralVar, EventVar):
|
|
|
1930
1930
|
_var_type=EventSpec,
|
|
1931
1931
|
_var_data=_var_data,
|
|
1932
1932
|
_var_value=value,
|
|
1933
|
-
_func=FunctionStringVar("
|
|
1933
|
+
_func=FunctionStringVar("ReflexEvent"),
|
|
1934
1934
|
_args=(
|
|
1935
1935
|
# event handler name
|
|
1936
1936
|
".".join(
|
|
@@ -518,7 +518,7 @@ def format_event(event_spec: EventSpec) -> str:
|
|
|
518
518
|
|
|
519
519
|
if event_spec.client_handler_name:
|
|
520
520
|
event_args.append(wrap(event_spec.client_handler_name, '"'))
|
|
521
|
-
return f"
|
|
521
|
+
return f"ReflexEvent({', '.join(event_args)})"
|
|
522
522
|
|
|
523
523
|
|
|
524
524
|
if TYPE_CHECKING:
|
|
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
|