reflex 0.6.0a1__tar.gz → 0.6.0a2__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.0a1 → reflex-0.6.0a2}/PKG-INFO +2 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/pyproject.toml +2 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/__init__.py +8 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/__init__.pyi +2 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app.py +4 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/base.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/compiler/compiler.py +2 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/compiler/utils.py +3 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/app_wrap.py +2 -2
- reflex-0.6.0a2/reflex/components/base/app_wrap.pyi +67 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/bare.py +4 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/body.pyi +17 -27
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/document.pyi +81 -131
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/error_boundary.py +6 -7
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/error_boundary.pyi +20 -33
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/fragment.pyi +17 -27
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/head.pyi +33 -53
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/link.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/link.pyi +33 -54
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/meta.pyi +65 -105
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/script.py +1 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/script.pyi +21 -38
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/component.py +48 -47
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/banner.py +23 -27
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/banner.pyi +134 -171
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/client_side_routing.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/client_side_routing.pyi +33 -54
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/clipboard.py +2 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/clipboard.pyi +20 -33
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/cond.py +5 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/debounce.py +5 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/debounce.pyi +20 -33
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/foreach.py +3 -4
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/html.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/html.pyi +35 -46
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/match.py +17 -17
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/upload.py +17 -23
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/upload.pyi +78 -124
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/code.py +9 -10
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/code.pyi +302 -412
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/dataeditor.py +8 -10
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/dataeditor.pyi +40 -53
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/element.pyi +17 -27
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/base.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/base.pyi +34 -45
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/forms.py +16 -16
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/forms.pyi +554 -707
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/inline.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/inline.pyi +937 -1218
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/media.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/media.pyi +786 -997
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/metadata.py +3 -6
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/metadata.pyi +181 -242
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/other.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/other.pyi +235 -306
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/scripts.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/scripts.pyi +109 -140
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/sectioning.py +0 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/sectioning.pyi +496 -647
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/tables.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/tables.pyi +351 -452
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/typography.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/typography.pyi +506 -657
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/gridjs/datatable.py +6 -9
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/gridjs/datatable.pyi +35 -56
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/lucide/icon.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/lucide/icon.pyi +33 -54
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/markdown/markdown.py +26 -31
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/markdown/markdown.pyi +27 -37
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/moment/moment.py +13 -12
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/moment/moment.pyi +23 -35
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/base.pyi +17 -27
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/image.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/image.pyi +22 -37
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/link.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/link.pyi +17 -28
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/video.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/video.pyi +17 -28
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/plotly/plotly.py +12 -13
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/plotly/plotly.pyi +39 -54
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/props.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/__init__.pyi +1 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/__init__.pyi +1 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/accordion.py +4 -4
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/accordion.pyi +424 -495
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/base.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/base.pyi +33 -54
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/drawer.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/drawer.pyi +172 -273
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/form.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/form.pyi +257 -364
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/progress.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/progress.pyi +231 -282
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/slider.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/slider.pyi +87 -138
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/base.py +3 -24
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/base.pyi +178 -250
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/color_mode.py +5 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/color_mode.pyi +187 -220
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/alert_dialog.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/alert_dialog.pyi +136 -207
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/aspect_ratio.pyi +17 -28
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/avatar.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/avatar.pyi +70 -81
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/badge.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/badge.pyi +88 -99
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/button.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/button.pyi +98 -109
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/callout.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/callout.pyi +322 -373
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/card.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/card.pyi +38 -49
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox.py +1 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox.pyi +208 -245
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox_cards.pyi +94 -115
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox_group.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/checkbox_group.pyi +86 -107
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/context_menu.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/context_menu.pyi +238 -319
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/data_list.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/data_list.pyi +130 -171
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/dialog.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/dialog.pyi +139 -210
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/dropdown_menu.pyi +249 -332
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/hover_card.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/hover_card.pyi +90 -131
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/icon_button.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/icon_button.pyi +98 -109
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/inset.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/inset.pyi +47 -58
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/popover.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/popover.pyi +95 -136
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/progress.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/progress.pyi +71 -82
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio.pyi +69 -80
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio_cards.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio_cards.pyi +98 -119
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio_group.py +8 -11
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/radio_group.pyi +228 -271
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/scroll_area.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/scroll_area.pyi +21 -32
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/segmented_control.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/segmented_control.pyi +90 -113
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/select.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/select.pyi +374 -471
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/separator.py +1 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/separator.pyi +69 -80
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/skeleton.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/skeleton.pyi +23 -34
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/slider.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/slider.pyi +75 -88
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/spinner.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/spinner.pyi +19 -30
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/switch.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/switch.pyi +71 -84
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/table.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/table.pyi +261 -332
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/tabs.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/tabs.pyi +139 -194
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/text_area.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/text_area.pyi +96 -111
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/text_field.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/text_field.pyi +247 -286
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/tooltip.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/tooltip.pyi +26 -37
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/__init__.pyi +1 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/base.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/base.pyi +56 -67
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/box.pyi +34 -45
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/center.pyi +56 -67
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/container.py +1 -2
- reflex-0.6.0a2/reflex/components/radix/themes/layout/container.pyi +118 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/flex.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/flex.pyi +56 -67
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/grid.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/grid.pyi +64 -75
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/list.py +5 -6
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/list.pyi +193 -244
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/section.py +1 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/section.pyi +36 -47
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/spacer.pyi +56 -67
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/stack.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/stack.pyi +128 -159
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/blockquote.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/blockquote.pyi +89 -100
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/code.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/code.pyi +90 -101
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/heading.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/heading.pyi +96 -107
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/link.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/link.pyi +102 -113
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/text.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/text.pyi +501 -572
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/audio.pyi +33 -60
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/react_player.py +1 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/react_player.pyi +33 -60
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/video.pyi +33 -60
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/cartesian.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/cartesian.pyi +678 -861
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/charts.py +4 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/charts.pyi +252 -357
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/general.py +1 -2
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/general.pyi +180 -231
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/polar.py +4 -5
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/polar.pyi +144 -181
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/recharts.pyi +33 -53
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/sonner/toast.py +16 -17
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/sonner/toast.pyi +36 -47
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/suneditor/editor.py +2 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/suneditor/editor.pyi +55 -78
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/cond_tag.py +6 -4
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/iter_tag.py +28 -16
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/match_tag.py +6 -4
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/tag.py +40 -23
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/event.py +113 -65
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/client_state.py +18 -18
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/hooks.py +16 -16
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/layout.py +5 -5
- reflex-0.6.0a2/reflex/experimental/layout.pyi +432 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/middleware/hydrate_middleware.py +2 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/middleware/middleware.py +3 -3
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/state.py +148 -82
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/style.py +21 -22
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/exceptions.py +16 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/format.py +22 -34
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/imports.py +16 -73
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/prerequisites.py +15 -8
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/pyi_generator.py +13 -8
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/serializers.py +12 -22
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/telemetry.py +2 -1
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/types.py +10 -5
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/__init__.py +6 -2
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/base.py +567 -206
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/function.py +15 -19
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/number.py +16 -18
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/object.py +28 -30
- {reflex-0.6.0a1/reflex/ivars → reflex-0.6.0a2/reflex/vars}/sequence.py +53 -42
- reflex-0.6.0a1/reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +0 -36
- reflex-0.6.0a1/reflex/components/base/app_wrap.pyi +0 -77
- reflex-0.6.0a1/reflex/components/radix/themes/layout/container.pyi +0 -129
- reflex-0.6.0a1/reflex/experimental/layout.pyi +0 -483
- reflex-0.6.0a1/reflex/vars.py +0 -501
- {reflex-0.6.0a1 → reflex-0.6.0a2}/LICENSE +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/README.md +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/.templates/web/utils/state.js +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/__main__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/admin.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/compiler/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/compiler/templates.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/body.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/document.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/fragment.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/head.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/base/meta.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/colors.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/core/responsive.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/element.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/literals.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/next/base.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/react_player/video.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/recharts/recharts.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/config.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/base.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/colors.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/compiler.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/config.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/custom_components.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/event.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/installer.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/route.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/constants/style.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/assets.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/experimental/misc.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/middleware/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/model.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/page.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/reflex.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/route.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/testing.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/__init__.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/build.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/codespaces.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/compat.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/console.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/exec.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/export.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/net.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/path_ops.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/processes.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/redir.py +0 -0
- {reflex-0.6.0a1 → reflex-0.6.0a2}/reflex/utils/registry.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.0a2
|
|
4
4
|
Summary: Web apps in pure Python.
|
|
5
5
|
Home-page: https://reflex.dev
|
|
6
6
|
License: Apache-2.0
|
|
@@ -34,7 +34,7 @@ Requires-Dist: python-engineio (!=4.6.0)
|
|
|
34
34
|
Requires-Dist: python-multipart (>=0.0.5,<0.1)
|
|
35
35
|
Requires-Dist: python-socketio (>=5.7.0,<6.0)
|
|
36
36
|
Requires-Dist: redis (>=4.3.5,<6.0)
|
|
37
|
-
Requires-Dist: reflex-chakra (>=0.6.
|
|
37
|
+
Requires-Dist: reflex-chakra (>=0.6.0a6)
|
|
38
38
|
Requires-Dist: reflex-hosting-cli (>=0.1.2,<2.0)
|
|
39
39
|
Requires-Dist: rich (>=13.0.0,<14.0)
|
|
40
40
|
Requires-Dist: setuptools (>=69.1.1,<70.2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "reflex"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.0a2"
|
|
4
4
|
description = "Web apps in pure Python."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
authors = [
|
|
@@ -59,7 +59,7 @@ httpx = ">=0.25.1,<1.0"
|
|
|
59
59
|
twine = ">=4.0.0,<6.0"
|
|
60
60
|
tomlkit = ">=0.12.4,<1.0"
|
|
61
61
|
lazy_loader = ">=0.4"
|
|
62
|
-
reflex-chakra = ">=0.6.
|
|
62
|
+
reflex-chakra = ">=0.6.0a6"
|
|
63
63
|
|
|
64
64
|
[tool.poetry.group.dev.dependencies]
|
|
65
65
|
pytest = ">=7.1.2,<8.0"
|
|
@@ -27,7 +27,7 @@ function AppWrap({children}) {
|
|
|
27
27
|
|
|
28
28
|
export default function MyApp({ Component, pageProps }) {
|
|
29
29
|
return (
|
|
30
|
-
<ThemeProvider defaultTheme={ defaultColorMode }
|
|
30
|
+
<ThemeProvider defaultTheme={ defaultColorMode } attribute="class">
|
|
31
31
|
<AppWrap>
|
|
32
32
|
<StateProvider>
|
|
33
33
|
<EventLoopProvider>
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
{% macro render_match_tag(component) %}
|
|
86
86
|
{
|
|
87
87
|
(() => {
|
|
88
|
-
switch (JSON.stringify({{ component.cond.
|
|
88
|
+
switch (JSON.stringify({{ component.cond._js_expr }})) {
|
|
89
89
|
{% for case in component.match_cases %}
|
|
90
90
|
{% for condition in case[:-1] %}
|
|
91
|
-
case JSON.stringify({{ condition.
|
|
91
|
+
case JSON.stringify({{ condition._js_expr }}):
|
|
92
92
|
{% endfor %}
|
|
93
93
|
return {{ case[-1] }};
|
|
94
94
|
break;
|
|
@@ -206,6 +206,13 @@ RADIX_PRIMITIVES_MAPPING: dict = {
|
|
|
206
206
|
"components.radix.primitives.form": [
|
|
207
207
|
"form",
|
|
208
208
|
],
|
|
209
|
+
"components.radix.primitives.progress": [
|
|
210
|
+
"progress",
|
|
211
|
+
],
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
RADIX_PRIMITIVES_SHORTCUT_MAPPING: dict = {
|
|
215
|
+
k: v for k, v in RADIX_PRIMITIVES_MAPPING.items() if "progress" not in k
|
|
209
216
|
}
|
|
210
217
|
|
|
211
218
|
COMPONENTS_CORE_MAPPING: dict = {
|
|
@@ -248,7 +255,7 @@ RADIX_MAPPING: dict = {
|
|
|
248
255
|
**RADIX_THEMES_COMPONENTS_MAPPING,
|
|
249
256
|
**RADIX_THEMES_TYPOGRAPHY_MAPPING,
|
|
250
257
|
**RADIX_THEMES_LAYOUT_MAPPING,
|
|
251
|
-
**
|
|
258
|
+
**RADIX_PRIMITIVES_SHORTCUT_MAPPING,
|
|
252
259
|
}
|
|
253
260
|
|
|
254
261
|
_MAPPING: dict = {
|
|
@@ -338,7 +345,6 @@ _SUBMODULES: set[str] = {
|
|
|
338
345
|
"testing",
|
|
339
346
|
"utils",
|
|
340
347
|
"vars",
|
|
341
|
-
"ivars",
|
|
342
348
|
"config",
|
|
343
349
|
"compiler",
|
|
344
350
|
}
|
|
@@ -12,7 +12,6 @@ from . import compiler as compiler
|
|
|
12
12
|
from . import components as components
|
|
13
13
|
from . import config as config
|
|
14
14
|
from . import event as event
|
|
15
|
-
from . import ivars as ivars
|
|
16
15
|
from . import model as model
|
|
17
16
|
from . import style as style
|
|
18
17
|
from . import testing as testing
|
|
@@ -132,6 +131,7 @@ from .components.radix.themes.layout.container import container as container
|
|
|
132
131
|
from .components.radix.themes.layout.flex import flex as flex
|
|
133
132
|
from .components.radix.themes.layout.grid import grid as grid
|
|
134
133
|
from .components.radix.themes.layout.list import list_item as list_item
|
|
134
|
+
from .components.radix.themes.layout.list import list_ns as list # noqa
|
|
135
135
|
from .components.radix.themes.layout.list import ordered_list as ordered_list
|
|
136
136
|
from .components.radix.themes.layout.list import unordered_list as unordered_list
|
|
137
137
|
from .components.radix.themes.layout.section import section as section
|
|
@@ -197,6 +197,7 @@ RADIX_THEMES_COMPONENTS_MAPPING: dict
|
|
|
197
197
|
RADIX_THEMES_LAYOUT_MAPPING: dict
|
|
198
198
|
RADIX_THEMES_TYPOGRAPHY_MAPPING: dict
|
|
199
199
|
RADIX_PRIMITIVES_MAPPING: dict
|
|
200
|
+
RADIX_PRIMITIVES_SHORTCUT_MAPPING: dict
|
|
200
201
|
COMPONENTS_CORE_MAPPING: dict
|
|
201
202
|
COMPONENTS_BASE_MAPPING: dict
|
|
202
203
|
RADIX_MAPPING: dict
|
|
@@ -9,6 +9,7 @@ import copy
|
|
|
9
9
|
import functools
|
|
10
10
|
import inspect
|
|
11
11
|
import io
|
|
12
|
+
import json
|
|
12
13
|
import multiprocessing
|
|
13
14
|
import os
|
|
14
15
|
import platform
|
|
@@ -823,7 +824,7 @@ class App(MiddlewareMixin, LifespanMixin, Base):
|
|
|
823
824
|
for dep in deps:
|
|
824
825
|
if dep not in state.vars and dep not in state.backend_vars:
|
|
825
826
|
raise exceptions.VarDependencyError(
|
|
826
|
-
f"ComputedVar {var.
|
|
827
|
+
f"ComputedVar {var._js_expr} on state {state.__name__} has an invalid dependency {dep}"
|
|
827
828
|
)
|
|
828
829
|
|
|
829
830
|
for substate in state.class_subclasses:
|
|
@@ -1531,8 +1532,9 @@ class EventNamespace(AsyncNamespace):
|
|
|
1531
1532
|
sid: The Socket.IO session id.
|
|
1532
1533
|
data: The event data.
|
|
1533
1534
|
"""
|
|
1535
|
+
fields = json.loads(data)
|
|
1534
1536
|
# Get the event.
|
|
1535
|
-
event = Event.
|
|
1537
|
+
event = Event(**{k: v for k, v in fields.items() if k != "handler"})
|
|
1536
1538
|
|
|
1537
1539
|
self.token_to_sid[event.token] = sid
|
|
1538
1540
|
self.sid_to_token[sid] = event.token
|
|
@@ -110,7 +110,7 @@ class Base(BaseModel): # pyright: ignore [reportUnboundVariable]
|
|
|
110
110
|
var: The variable to add a pydantic field for.
|
|
111
111
|
default_value: The default value of the field
|
|
112
112
|
"""
|
|
113
|
-
var_name = var.
|
|
113
|
+
var_name = var._js_expr.split(".")[-1]
|
|
114
114
|
new_field = ModelField.infer(
|
|
115
115
|
name=var_name,
|
|
116
116
|
value=default_value,
|
|
@@ -17,12 +17,12 @@ from reflex.components.component import (
|
|
|
17
17
|
StatefulComponent,
|
|
18
18
|
)
|
|
19
19
|
from reflex.config import get_config
|
|
20
|
-
from reflex.ivars.base import ImmutableVar, LiteralVar
|
|
21
20
|
from reflex.state import BaseState
|
|
22
21
|
from reflex.style import SYSTEM_COLOR_MODE
|
|
23
22
|
from reflex.utils.exec import is_prod_mode
|
|
24
23
|
from reflex.utils.imports import ImportVar
|
|
25
24
|
from reflex.utils.prerequisites import get_web_dir
|
|
25
|
+
from reflex.vars.base import LiteralVar, Var
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
def _compile_document_root(root: Component) -> str:
|
|
@@ -320,7 +320,7 @@ def _compile_tailwind(
|
|
|
320
320
|
def compile_document_root(
|
|
321
321
|
head_components: list[Component],
|
|
322
322
|
html_lang: Optional[str] = None,
|
|
323
|
-
html_custom_attrs: Optional[Dict[str, Union[
|
|
323
|
+
html_custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
324
324
|
) -> tuple[str, str]:
|
|
325
325
|
"""Compile the document root.
|
|
326
326
|
|
|
@@ -7,8 +7,8 @@ from pathlib import Path
|
|
|
7
7
|
from typing import Any, Callable, Dict, Optional, Type, Union
|
|
8
8
|
from urllib.parse import urlparse
|
|
9
9
|
|
|
10
|
-
from reflex.ivars.base import ImmutableVar
|
|
11
10
|
from reflex.utils.prerequisites import get_web_dir
|
|
11
|
+
from reflex.vars.base import Var
|
|
12
12
|
|
|
13
13
|
try:
|
|
14
14
|
from pydantic.v1.fields import ModelField
|
|
@@ -268,7 +268,7 @@ def compile_custom_component(
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
# Concatenate the props.
|
|
271
|
-
props = [prop.
|
|
271
|
+
props = [prop._js_expr for prop in component.get_prop_vars()]
|
|
272
272
|
|
|
273
273
|
# Compile the component.
|
|
274
274
|
return (
|
|
@@ -286,7 +286,7 @@ def compile_custom_component(
|
|
|
286
286
|
def create_document_root(
|
|
287
287
|
head_components: list[Component] | None = None,
|
|
288
288
|
html_lang: Optional[str] = None,
|
|
289
|
-
html_custom_attrs: Optional[Dict[str, Union[
|
|
289
|
+
html_custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
290
290
|
) -> Component:
|
|
291
291
|
"""Create the document root.
|
|
292
292
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from reflex.components.base.fragment import Fragment
|
|
4
4
|
from reflex.components.component import Component
|
|
5
|
-
from reflex.
|
|
5
|
+
from reflex.vars.base import Var
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class AppWrap(Fragment):
|
|
@@ -15,4 +15,4 @@ class AppWrap(Fragment):
|
|
|
15
15
|
Returns:
|
|
16
16
|
A new AppWrap component containing {children}.
|
|
17
17
|
"""
|
|
18
|
-
return super().create(
|
|
18
|
+
return super().create(Var(_js_expr="children"))
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""Stub file for reflex/components/base/app_wrap.py"""
|
|
2
|
+
|
|
3
|
+
# ------------------- DO NOT EDIT ----------------------
|
|
4
|
+
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
|
+
# ------------------------------------------------------
|
|
6
|
+
from typing import Any, Callable, Dict, Optional, Union, overload
|
|
7
|
+
|
|
8
|
+
from reflex.components.base.fragment import Fragment
|
|
9
|
+
from reflex.event import EventHandler, EventSpec
|
|
10
|
+
from reflex.style import Style
|
|
11
|
+
from reflex.vars.base import Var
|
|
12
|
+
|
|
13
|
+
class AppWrap(Fragment):
|
|
14
|
+
@overload
|
|
15
|
+
@classmethod
|
|
16
|
+
def create( # type: ignore
|
|
17
|
+
cls,
|
|
18
|
+
*children,
|
|
19
|
+
style: Optional[Style] = None,
|
|
20
|
+
key: Optional[Any] = None,
|
|
21
|
+
id: Optional[Any] = None,
|
|
22
|
+
class_name: Optional[Any] = None,
|
|
23
|
+
autofocus: Optional[bool] = None,
|
|
24
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
25
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
26
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
27
|
+
on_context_menu: Optional[
|
|
28
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
29
|
+
] = None,
|
|
30
|
+
on_double_click: Optional[
|
|
31
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
32
|
+
] = None,
|
|
33
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
34
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
35
|
+
on_mouse_down: Optional[
|
|
36
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
37
|
+
] = None,
|
|
38
|
+
on_mouse_enter: Optional[
|
|
39
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
40
|
+
] = None,
|
|
41
|
+
on_mouse_leave: Optional[
|
|
42
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
43
|
+
] = None,
|
|
44
|
+
on_mouse_move: Optional[
|
|
45
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
46
|
+
] = None,
|
|
47
|
+
on_mouse_out: Optional[
|
|
48
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
49
|
+
] = None,
|
|
50
|
+
on_mouse_over: Optional[
|
|
51
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
52
|
+
] = None,
|
|
53
|
+
on_mouse_up: Optional[
|
|
54
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
55
|
+
] = None,
|
|
56
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
57
|
+
on_unmount: Optional[
|
|
58
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
59
|
+
] = None,
|
|
60
|
+
**props,
|
|
61
|
+
) -> "AppWrap":
|
|
62
|
+
"""Create a new AppWrap component.
|
|
63
|
+
|
|
64
|
+
Returns:
|
|
65
|
+
A new AppWrap component containing {children}.
|
|
66
|
+
"""
|
|
67
|
+
...
|
|
@@ -7,8 +7,7 @@ from typing import Any, Iterator
|
|
|
7
7
|
from reflex.components.component import Component
|
|
8
8
|
from reflex.components.tags import Tag
|
|
9
9
|
from reflex.components.tags.tagless import Tagless
|
|
10
|
-
from reflex.
|
|
11
|
-
from reflex.vars import Var
|
|
10
|
+
from reflex.vars.base import Var
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
class Bare(Component):
|
|
@@ -26,18 +25,18 @@ class Bare(Component):
|
|
|
26
25
|
Returns:
|
|
27
26
|
The component.
|
|
28
27
|
"""
|
|
29
|
-
if isinstance(contents,
|
|
28
|
+
if isinstance(contents, Var):
|
|
30
29
|
return cls(contents=contents)
|
|
31
30
|
else:
|
|
32
31
|
contents = str(contents) if contents is not None else ""
|
|
33
32
|
return cls(contents=contents) # type: ignore
|
|
34
33
|
|
|
35
34
|
def _render(self) -> Tag:
|
|
36
|
-
if isinstance(self.contents,
|
|
35
|
+
if isinstance(self.contents, Var):
|
|
37
36
|
return Tagless(contents=f"{{{str(self.contents)}}}")
|
|
38
37
|
return Tagless(contents=str(self.contents))
|
|
39
38
|
|
|
40
|
-
def _get_vars(self, include_children: bool = False) -> Iterator[
|
|
39
|
+
def _get_vars(self, include_children: bool = False) -> Iterator[Var]:
|
|
41
40
|
"""Walk all Vars used in this component.
|
|
42
41
|
|
|
43
42
|
Args:
|
|
@@ -7,8 +7,8 @@ from typing import Any, Callable, Dict, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component
|
|
9
9
|
from reflex.event import EventHandler, EventSpec
|
|
10
|
-
from reflex.ivars.base import ImmutableVar
|
|
11
10
|
from reflex.style import Style
|
|
11
|
+
from reflex.vars.base import Var
|
|
12
12
|
|
|
13
13
|
class Body(Component):
|
|
14
14
|
@overload
|
|
@@ -21,51 +21,41 @@ class Body(Component):
|
|
|
21
21
|
id: Optional[Any] = None,
|
|
22
22
|
class_name: Optional[Any] = None,
|
|
23
23
|
autofocus: Optional[bool] = None,
|
|
24
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
25
|
-
on_blur: Optional[
|
|
26
|
-
|
|
27
|
-
] = None,
|
|
28
|
-
on_click: Optional[
|
|
29
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
30
|
-
] = None,
|
|
24
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
25
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
26
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
31
27
|
on_context_menu: Optional[
|
|
32
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
28
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
33
29
|
] = None,
|
|
34
30
|
on_double_click: Optional[
|
|
35
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
36
|
-
] = None,
|
|
37
|
-
on_focus: Optional[
|
|
38
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
39
|
-
] = None,
|
|
40
|
-
on_mount: Optional[
|
|
41
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
31
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
42
32
|
] = None,
|
|
33
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
34
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
43
35
|
on_mouse_down: Optional[
|
|
44
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
36
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
45
37
|
] = None,
|
|
46
38
|
on_mouse_enter: Optional[
|
|
47
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
39
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
48
40
|
] = None,
|
|
49
41
|
on_mouse_leave: Optional[
|
|
50
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
42
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
51
43
|
] = None,
|
|
52
44
|
on_mouse_move: Optional[
|
|
53
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
45
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
54
46
|
] = None,
|
|
55
47
|
on_mouse_out: Optional[
|
|
56
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
48
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
57
49
|
] = None,
|
|
58
50
|
on_mouse_over: Optional[
|
|
59
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
51
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
60
52
|
] = None,
|
|
61
53
|
on_mouse_up: Optional[
|
|
62
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
63
|
-
] = None,
|
|
64
|
-
on_scroll: Optional[
|
|
65
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
54
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
66
55
|
] = None,
|
|
56
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
67
57
|
on_unmount: Optional[
|
|
68
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
58
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
69
59
|
] = None,
|
|
70
60
|
**props,
|
|
71
61
|
) -> "Body":
|