reflex 0.6.4a3__tar.gz → 0.6.5a1__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.6.4a3 → reflex-0.6.5a1}/PKG-INFO +3 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/README.md +1 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/pyproject.toml +7 -6
- reflex-0.6.5a1/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +20 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +4 -8
- reflex-0.6.5a1/reflex/.templates/web/components/shiki/code.js +34 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/state.js +29 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/__init__.py +4 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/__init__.pyi +4 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app.py +148 -154
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app_mixins/lifespan.py +5 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app_mixins/middleware.py +3 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app_mixins/mixin.py +3 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/base.py +2 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/compiler/compiler.py +111 -37
- reflex-0.6.5a1/reflex/components/base/app_wrap.pyi +47 -0
- reflex-0.6.5a1/reflex/components/base/bare.py +119 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/body.pyi +17 -17
- reflex-0.6.5a1/reflex/components/base/document.pyi +242 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/error_boundary.pyi +25 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/fragment.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/head.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/link.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/meta.pyi +65 -65
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/script.py +4 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/script.pyi +23 -20
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/component.py +250 -31
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/banner.py +1 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/banner.pyi +81 -81
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/client_side_routing.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/clipboard.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/clipboard.pyi +24 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/debounce.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/debounce.pyi +18 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/html.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/upload.py +82 -28
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/upload.pyi +77 -72
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/code.py +55 -40
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/code.pyi +46 -44
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/dataeditor.py +21 -20
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/dataeditor.pyi +103 -35
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/shiki_code_block.py +60 -27
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/shiki_code_block.pyi +86 -65
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/dynamic.py +9 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/element.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/base.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/forms.py +12 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/forms.pyi +293 -233
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/inline.pyi +449 -449
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/media.pyi +401 -401
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/metadata.pyi +97 -97
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/other.pyi +113 -113
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/scripts.pyi +49 -49
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/sectioning.pyi +241 -241
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/tables.pyi +161 -161
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/typography.pyi +241 -241
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/gridjs/datatable.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/lucide/icon.py +1 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/lucide/icon.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/markdown/markdown.py +180 -49
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/markdown/markdown.pyi +36 -19
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/moment/moment.py +17 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/moment/moment.pyi +26 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/base.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/image.py +3 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/image.pyi +21 -19
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/link.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/video.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/plotly/plotly.py +79 -78
- reflex-0.6.5a1/reflex/components/plotly/plotly.pyi +153 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/props.py +34 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/accordion.py +15 -8
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/accordion.pyi +121 -118
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/base.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/drawer.py +41 -20
- reflex-0.6.5a1/reflex/components/radix/primitives/drawer.pyi +635 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/form.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/form.pyi +200 -167
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/progress.pyi +81 -81
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/slider.pyi +89 -83
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/base.py +27 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/base.pyi +286 -113
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/color_mode.py +17 -9
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/color_mode.pyi +68 -56
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/alert_dialog.py +8 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/alert_dialog.pyi +125 -117
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/aspect_ratio.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/avatar.py +1 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/avatar.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/badge.py +1 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/badge.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/button.pyi +18 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/callout.py +1 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/callout.pyi +81 -81
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/card.py +1 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/card.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox.py +4 -8
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox.pyi +61 -52
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox_cards.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox_group.pyi +33 -33
- reflex-0.6.5a1/reflex/components/radix/themes/components/context_menu.py +248 -0
- reflex-0.6.5a1/reflex/components/radix/themes/components/context_menu.pyi +685 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/data_list.pyi +65 -65
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/dialog.py +11 -11
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/dialog.pyi +135 -120
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/dropdown_menu.py +14 -25
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/dropdown_menu.pyi +157 -145
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/hover_card.py +19 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/hover_card.pyi +102 -67
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/icon_button.pyi +18 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/inset.py +1 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/inset.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/popover.py +22 -13
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/popover.pyi +98 -72
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/progress.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio_cards.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio_cards.pyi +37 -34
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio_group.py +3 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio_group.pyi +69 -66
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/scroll_area.py +1 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/scroll_area.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/segmented_control.pyi +37 -34
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/select.py +7 -11
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/select.pyi +175 -154
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/separator.py +1 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/separator.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/skeleton.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/slider.py +12 -21
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/slider.pyi +47 -25
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/spinner.py +1 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/spinner.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/switch.py +3 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/switch.pyi +21 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/table.py +21 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/table.pyi +392 -116
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/tabs.py +3 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/tabs.pyi +89 -83
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/text_area.py +1 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/text_area.pyi +43 -20
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/text_field.py +1 -5
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/text_field.pyi +101 -55
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/tooltip.py +5 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/tooltip.pyi +25 -22
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/base.py +2 -27
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/base.pyi +82 -82
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/box.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/center.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/container.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/flex.py +1 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/flex.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/grid.py +1 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/grid.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/list.py +20 -15
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/list.pyi +175 -92
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/section.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/spacer.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/stack.py +6 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/stack.pyi +91 -62
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/blockquote.py +2 -8
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/blockquote.pyi +17 -17
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/code.py +4 -10
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/code.pyi +19 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/heading.py +4 -11
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/heading.pyi +19 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/link.py +4 -10
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/link.pyi +19 -18
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/text.py +4 -11
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/text.pyi +115 -114
- reflex-0.6.5a1/reflex/components/react_player/audio.pyi +121 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/react_player/react_player.py +17 -17
- reflex-0.6.5a1/reflex/components/react_player/react_player.pyi +121 -0
- reflex-0.6.5a1/reflex/components/react_player/video.pyi +121 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/cartesian.py +45 -45
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/cartesian.pyi +389 -304
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/charts.py +22 -22
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/charts.pyi +226 -179
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/general.py +26 -27
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/general.pyi +106 -99
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/polar.py +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/polar.pyi +70 -64
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/recharts.pyi +33 -33
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/sonner/toast.py +9 -36
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/sonner/toast.pyi +20 -24
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/suneditor/editor.py +8 -8
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/suneditor/editor.pyi +50 -25
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/iter_tag.py +1 -10
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/tag.py +1 -4
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/config.py +198 -35
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/__init__.py +4 -16
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/base.py +7 -14
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/colors.py +0 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/installer.py +12 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/state.py +4 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/custom_components/custom_components.py +6 -6
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/event.py +486 -241
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/client_state.py +9 -9
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/layout.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/layout.pyi +95 -87
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/misc.py +1 -1
- reflex-0.6.5a1/reflex/istate/__init__.py +1 -0
- reflex-0.6.5a1/reflex/istate/proxy.py +33 -0
- reflex-0.6.5a1/reflex/istate/wrappers.py +27 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/model.py +7 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/page.py +2 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/reflex.py +142 -8
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/state.py +127 -46
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/testing.py +9 -7
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/console.py +0 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/exceptions.py +31 -3
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/exec.py +33 -14
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/format.py +15 -12
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/net.py +1 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/path_ops.py +2 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/prerequisites.py +82 -46
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/pyi_generator.py +63 -20
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/registry.py +1 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/serializers.py +75 -36
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/telemetry.py +3 -2
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/types.py +125 -10
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/base.py +131 -119
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/function.py +59 -12
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/number.py +3 -1
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/object.py +30 -24
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/sequence.py +7 -7
- reflex-0.6.4a3/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -34
- reflex-0.6.4a3/reflex/.templates/web/components/shiki/code.js +0 -29
- reflex-0.6.4a3/reflex/components/base/app_wrap.pyi +0 -47
- reflex-0.6.4a3/reflex/components/base/bare.py +0 -50
- reflex-0.6.4a3/reflex/components/base/document.pyi +0 -242
- reflex-0.6.4a3/reflex/components/plotly/plotly.pyi +0 -103
- reflex-0.6.4a3/reflex/components/radix/primitives/drawer.pyi +0 -546
- reflex-0.6.4a3/reflex/components/radix/themes/components/context_menu.py +0 -155
- reflex-0.6.4a3/reflex/components/radix/themes/components/context_menu.pyi +0 -582
- reflex-0.6.4a3/reflex/components/react_player/audio.pyi +0 -96
- reflex-0.6.4a3/reflex/components/react_player/react_player.pyi +0 -99
- reflex-0.6.4a3/reflex/components/react_player/video.pyi +0 -96
- {reflex-0.6.4a3 → reflex-0.6.5a1}/LICENSE +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/__main__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/admin.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/compiler/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/compiler/templates.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/compiler/utils.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/body.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/document.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/fragment.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/head.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/link.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/base/meta.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/colors.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/cond.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/foreach.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/html.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/match.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/core/responsive.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/element.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/literals.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/base.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/link.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/next/video.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/react_player/video.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/compiler.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/config.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/custom_components.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/event.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/route.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/style.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/constants/utils.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/assets.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/experimental/hooks.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/istate/data.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/istate/dynamic.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/istate/storage.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/middleware/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/middleware/middleware.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/route.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/style.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/__init__.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/build.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/codespaces.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/compat.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/export.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/imports.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/processes.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/utils/redir.py +0 -0
- {reflex-0.6.4a3 → reflex-0.6.5a1}/reflex/vars/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: reflex
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.5a1
|
|
4
4
|
Summary: Web apps in pure Python.
|
|
5
5
|
Home-page: https://reflex.dev
|
|
6
6
|
License: Apache-2.0
|
|
@@ -33,7 +33,7 @@ Requires-Dist: python-multipart (>=0.0.5,<0.1)
|
|
|
33
33
|
Requires-Dist: python-socketio (>=5.7.0,<6.0)
|
|
34
34
|
Requires-Dist: redis (>=4.3.5,<6.0)
|
|
35
35
|
Requires-Dist: reflex-chakra (>=0.6.0)
|
|
36
|
-
Requires-Dist: reflex-hosting-cli (>=0.1.
|
|
36
|
+
Requires-Dist: reflex-hosting-cli (>=0.1.5,<2.0)
|
|
37
37
|
Requires-Dist: rich (>=13.0.0,<14.0)
|
|
38
38
|
Requires-Dist: setuptools (>=75.0)
|
|
39
39
|
Requires-Dist: sqlmodel (>=0.0.14,<0.1)
|
|
@@ -279,7 +279,7 @@ You can create a multi-page app by adding more pages.
|
|
|
279
279
|
|
|
280
280
|
<div align="center">
|
|
281
281
|
|
|
282
|
-
📑 [Docs](https://reflex.dev/docs/getting-started/introduction) | 🗞️ [Blog](https://reflex.dev/blog) | 📱 [Component Library](https://reflex.dev/docs/library) | 🖼️ [
|
|
282
|
+
📑 [Docs](https://reflex.dev/docs/getting-started/introduction) | 🗞️ [Blog](https://reflex.dev/blog) | 📱 [Component Library](https://reflex.dev/docs/library) | 🖼️ [Templates](https://reflex.dev/templates/) | 🛸 [Deployment](https://reflex.dev/docs/hosting/deploy-quick-start)
|
|
283
283
|
|
|
284
284
|
</div>
|
|
285
285
|
|
|
@@ -228,7 +228,7 @@ You can create a multi-page app by adding more pages.
|
|
|
228
228
|
|
|
229
229
|
<div align="center">
|
|
230
230
|
|
|
231
|
-
📑 [Docs](https://reflex.dev/docs/getting-started/introduction) | 🗞️ [Blog](https://reflex.dev/blog) | 📱 [Component Library](https://reflex.dev/docs/library) | 🖼️ [
|
|
231
|
+
📑 [Docs](https://reflex.dev/docs/getting-started/introduction) | 🗞️ [Blog](https://reflex.dev/blog) | 📱 [Component Library](https://reflex.dev/docs/library) | 🖼️ [Templates](https://reflex.dev/templates/) | 🛸 [Deployment](https://reflex.dev/docs/hosting/deploy-quick-start)
|
|
232
232
|
|
|
233
233
|
</div>
|
|
234
234
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "reflex"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.5a1"
|
|
4
4
|
description = "Web apps in pure Python."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
authors = [
|
|
@@ -49,7 +49,7 @@ wrapt = [
|
|
|
49
49
|
{version = ">=1.11.0,<2.0", python = "<3.11"},
|
|
50
50
|
]
|
|
51
51
|
packaging = ">=23.1,<25.0"
|
|
52
|
-
reflex-hosting-cli = ">=0.1.
|
|
52
|
+
reflex-hosting-cli = ">=0.1.5,<2.0"
|
|
53
53
|
charset-normalizer = ">=3.3.2,<4.0"
|
|
54
54
|
wheel = ">=0.42.0,<1.0"
|
|
55
55
|
build = ">=1.0.3,<2.0"
|
|
@@ -68,15 +68,15 @@ darglint = ">=1.8.1,<2.0"
|
|
|
68
68
|
dill = ">=0.3.8"
|
|
69
69
|
toml = ">=0.10.2,<1.0"
|
|
70
70
|
pytest-asyncio = ">=0.24.0"
|
|
71
|
-
pytest-cov = ">=4.0.0,<
|
|
72
|
-
ruff = "
|
|
71
|
+
pytest-cov = ">=4.0.0,<7.0"
|
|
72
|
+
ruff = "0.7.2"
|
|
73
73
|
pandas = ">=2.1.1,<3.0"
|
|
74
74
|
pillow = ">=10.0.0,<12.0"
|
|
75
75
|
plotly = ">=5.13.0,<6.0"
|
|
76
76
|
asynctest = ">=0.13.0,<1.0"
|
|
77
77
|
pre-commit = ">=3.2.1"
|
|
78
78
|
selenium = ">=4.11.0,<5.0"
|
|
79
|
-
pytest-benchmark = ">=4.0.0,<
|
|
79
|
+
pytest-benchmark = ">=4.0.0,<6.0"
|
|
80
80
|
playwright = ">=1.46.0"
|
|
81
81
|
pytest-playwright = ">=0.5.1"
|
|
82
82
|
|
|
@@ -91,8 +91,9 @@ build-backend = "poetry.core.masonry.api"
|
|
|
91
91
|
|
|
92
92
|
[tool.ruff]
|
|
93
93
|
target-version = "py39"
|
|
94
|
+
lint.isort.split-on-trailing-comma = false
|
|
94
95
|
lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
|
|
95
|
-
lint.ignore = ["B008", "
|
|
96
|
+
lint.ignore = ["B008", "D205", "E501", "F403", "SIM115"]
|
|
96
97
|
lint.pydocstyle.convention = "google"
|
|
97
98
|
|
|
98
99
|
[tool.ruff.lint.per-file-ignores]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{% extends "web/pages/base_page.js.jinja2" %}
|
|
2
|
+
|
|
3
|
+
{% block export %}
|
|
4
|
+
{% for component in components %}
|
|
5
|
+
|
|
6
|
+
{% for custom_code in component.custom_code %}
|
|
7
|
+
{{custom_code}}
|
|
8
|
+
{% endfor %}
|
|
9
|
+
|
|
10
|
+
export const {{component.name}} = memo(({ {{-component.props|join(", ")-}} }) => {
|
|
11
|
+
{% for hook in component.hooks %}
|
|
12
|
+
{{ hook }}
|
|
13
|
+
{% endfor %}
|
|
14
|
+
return(
|
|
15
|
+
{{utils.render(component.render)}}
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
})
|
|
19
|
+
{% endfor %}
|
|
20
|
+
{% endblock %}
|
|
@@ -36,14 +36,10 @@
|
|
|
36
36
|
{# component: component dictionary #}
|
|
37
37
|
{% macro render_tag(component) %}
|
|
38
38
|
<{{component.name}} {{- render_props(component.props) }}>
|
|
39
|
-
{
|
|
40
|
-
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
{% for child in component.children %}
|
|
44
|
-
{{ render(child) }}
|
|
45
|
-
{% endfor %}
|
|
46
|
-
{%- endif -%}
|
|
39
|
+
{{ component.contents }}
|
|
40
|
+
{% for child in component.children %}
|
|
41
|
+
{{ render(child) }}
|
|
42
|
+
{% endfor %}
|
|
47
43
|
</{{component.name}}>
|
|
48
44
|
{%- endmacro %}
|
|
49
45
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useEffect, useState } from "react"
|
|
2
|
+
import { codeToHtml} from "shiki"
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Code component that uses Shiki to convert code to HTML and render it.
|
|
6
|
+
*
|
|
7
|
+
* @param code - The code to be highlighted.
|
|
8
|
+
* @param theme - The theme to be used for highlighting.
|
|
9
|
+
* @param language - The language of the code.
|
|
10
|
+
* @param transformers - The transformers to be applied to the code.
|
|
11
|
+
* @param decorations - The decorations to be applied to the code.
|
|
12
|
+
* @param divProps - Additional properties to be passed to the div element.
|
|
13
|
+
* @returns The rendered code block.
|
|
14
|
+
*/
|
|
15
|
+
export function Code ({code, theme, language, transformers, decorations, ...divProps}) {
|
|
16
|
+
const [codeResult, setCodeResult] = useState("")
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
async function fetchCode() {
|
|
19
|
+
const result = await codeToHtml(code, {
|
|
20
|
+
lang: language,
|
|
21
|
+
theme,
|
|
22
|
+
transformers,
|
|
23
|
+
decorations
|
|
24
|
+
});
|
|
25
|
+
setCodeResult(result);
|
|
26
|
+
}
|
|
27
|
+
fetchCode();
|
|
28
|
+
}, [code, language, theme, transformers, decorations]
|
|
29
|
+
|
|
30
|
+
)
|
|
31
|
+
return (
|
|
32
|
+
<div dangerouslySetInnerHTML={{__html: codeResult}} {...divProps} ></div>
|
|
33
|
+
)
|
|
34
|
+
}
|
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
} from "$/utils/context.js";
|
|
16
16
|
import debounce from "$/utils/helpers/debounce";
|
|
17
17
|
import throttle from "$/utils/helpers/throttle";
|
|
18
|
-
import * as Babel from "@babel/standalone";
|
|
19
18
|
|
|
20
19
|
// Endpoint URLs.
|
|
21
20
|
const EVENTURL = env.EVENT;
|
|
@@ -139,8 +138,7 @@ export const evalReactComponent = async (component) => {
|
|
|
139
138
|
if (!window.React && window.__reflex) {
|
|
140
139
|
window.React = window.__reflex.react;
|
|
141
140
|
}
|
|
142
|
-
const
|
|
143
|
-
const encodedJs = encodeURIComponent(output);
|
|
141
|
+
const encodedJs = encodeURIComponent(component);
|
|
144
142
|
const dataUri = "data:text/javascript;charset=utf-8," + encodedJs;
|
|
145
143
|
const module = await eval(`import(dataUri)`);
|
|
146
144
|
return module.default;
|
|
@@ -180,11 +178,6 @@ export const applyEvent = async (event, socket) => {
|
|
|
180
178
|
return false;
|
|
181
179
|
}
|
|
182
180
|
|
|
183
|
-
if (event.name == "_console") {
|
|
184
|
-
console.log(event.payload.message);
|
|
185
|
-
return false;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
181
|
if (event.name == "_remove_cookie") {
|
|
189
182
|
cookies.remove(event.payload.key, { ...event.payload.options });
|
|
190
183
|
queueEventIfSocketExists(initialEvents(), socket);
|
|
@@ -215,12 +208,6 @@ export const applyEvent = async (event, socket) => {
|
|
|
215
208
|
return false;
|
|
216
209
|
}
|
|
217
210
|
|
|
218
|
-
if (event.name == "_set_clipboard") {
|
|
219
|
-
const content = event.payload.content;
|
|
220
|
-
navigator.clipboard.writeText(content);
|
|
221
|
-
return false;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
211
|
if (event.name == "_download") {
|
|
225
212
|
const a = document.createElement("a");
|
|
226
213
|
a.hidden = true;
|
|
@@ -235,11 +222,6 @@ export const applyEvent = async (event, socket) => {
|
|
|
235
222
|
return false;
|
|
236
223
|
}
|
|
237
224
|
|
|
238
|
-
if (event.name == "_alert") {
|
|
239
|
-
alert(event.payload.message);
|
|
240
|
-
return false;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
225
|
if (event.name == "_set_focus") {
|
|
244
226
|
const ref =
|
|
245
227
|
event.payload.ref in refs ? refs[event.payload.ref] : event.payload.ref;
|
|
@@ -256,9 +238,35 @@ export const applyEvent = async (event, socket) => {
|
|
|
256
238
|
return false;
|
|
257
239
|
}
|
|
258
240
|
|
|
259
|
-
if (
|
|
241
|
+
if (
|
|
242
|
+
event.name == "_call_function" &&
|
|
243
|
+
typeof event.payload.function !== "string"
|
|
244
|
+
) {
|
|
245
|
+
try {
|
|
246
|
+
const eval_result = event.payload.function();
|
|
247
|
+
if (event.payload.callback) {
|
|
248
|
+
if (!!eval_result && typeof eval_result.then === "function") {
|
|
249
|
+
event.payload.callback(await eval_result);
|
|
250
|
+
} else {
|
|
251
|
+
event.payload.callback(eval_result);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
} catch (e) {
|
|
255
|
+
console.log("_call_function", e);
|
|
256
|
+
if (window && window?.onerror) {
|
|
257
|
+
window.onerror(e.message, null, null, null, e);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
if (event.name == "_call_script" || event.name == "_call_function") {
|
|
260
264
|
try {
|
|
261
|
-
const eval_result =
|
|
265
|
+
const eval_result =
|
|
266
|
+
event.name == "_call_script"
|
|
267
|
+
? eval(event.payload.javascript_code)
|
|
268
|
+
: eval(event.payload.function)();
|
|
269
|
+
|
|
262
270
|
if (event.payload.callback) {
|
|
263
271
|
if (!!eval_result && typeof eval_result.then === "function") {
|
|
264
272
|
eval(event.payload.callback)(await eval_result);
|
|
@@ -303,10 +303,13 @@ _MAPPING: dict = {
|
|
|
303
303
|
"EventHandler",
|
|
304
304
|
"background",
|
|
305
305
|
"call_script",
|
|
306
|
+
"call_function",
|
|
307
|
+
"run_script",
|
|
306
308
|
"clear_local_storage",
|
|
307
309
|
"clear_session_storage",
|
|
308
310
|
"console_log",
|
|
309
311
|
"download",
|
|
312
|
+
"noop",
|
|
310
313
|
"prevent_default",
|
|
311
314
|
"redirect",
|
|
312
315
|
"remove_cookie",
|
|
@@ -333,6 +336,7 @@ _MAPPING: dict = {
|
|
|
333
336
|
"State",
|
|
334
337
|
"dynamic",
|
|
335
338
|
],
|
|
339
|
+
"istate.wrappers": ["get_state"],
|
|
336
340
|
"style": ["Style", "toggle_color_mode"],
|
|
337
341
|
"utils.imports": ["ImportVar"],
|
|
338
342
|
"utils.serializers": ["serializer"],
|
|
@@ -155,17 +155,20 @@ from .constants import Env as Env
|
|
|
155
155
|
from .event import EventChain as EventChain
|
|
156
156
|
from .event import EventHandler as EventHandler
|
|
157
157
|
from .event import background as background
|
|
158
|
+
from .event import call_function as call_function
|
|
158
159
|
from .event import call_script as call_script
|
|
159
160
|
from .event import clear_local_storage as clear_local_storage
|
|
160
161
|
from .event import clear_session_storage as clear_session_storage
|
|
161
162
|
from .event import console_log as console_log
|
|
162
163
|
from .event import download as download
|
|
163
164
|
from .event import event as event
|
|
165
|
+
from .event import noop as noop
|
|
164
166
|
from .event import prevent_default as prevent_default
|
|
165
167
|
from .event import redirect as redirect
|
|
166
168
|
from .event import remove_cookie as remove_cookie
|
|
167
169
|
from .event import remove_local_storage as remove_local_storage
|
|
168
170
|
from .event import remove_session_storage as remove_session_storage
|
|
171
|
+
from .event import run_script as run_script
|
|
169
172
|
from .event import scroll_to as scroll_to
|
|
170
173
|
from .event import set_clipboard as set_clipboard
|
|
171
174
|
from .event import set_focus as set_focus
|
|
@@ -177,6 +180,7 @@ from .experimental import _x as _x
|
|
|
177
180
|
from .istate.storage import Cookie as Cookie
|
|
178
181
|
from .istate.storage import LocalStorage as LocalStorage
|
|
179
182
|
from .istate.storage import SessionStorage as SessionStorage
|
|
183
|
+
from .istate.wrappers import get_state as get_state
|
|
180
184
|
from .middleware import Middleware as Middleware
|
|
181
185
|
from .middleware import middleware as middleware
|
|
182
186
|
from .model import Model as Model
|