reflex 0.3.7a1__py3-none-any.whl → 0.3.8__py3-none-any.whl
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/.templates/apps/blank/code/blank.py +0 -1
- reflex/.templates/apps/demo/code/demo.py +0 -1
- reflex/.templates/apps/sidebar/code/sidebar.py +6 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +4 -1
- reflex/.templates/jinja/web/pages/base_page.js.jinja2 +4 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +24 -0
- reflex/.templates/jinja/web/tailwind.config.js.jinja2 +4 -1
- reflex/.templates/web/utils/helpers/dataeditor.js +56 -54
- reflex/__init__.py +4 -2
- reflex/__init__.pyi +6 -2
- reflex/app.py +43 -9
- reflex/app.pyi +2 -1
- reflex/app_module_for_backend.py +13 -0
- reflex/compiler/compiler.py +19 -0
- reflex/components/__init__.py +9 -232
- reflex/components/base/__init__.py +5 -1
- reflex/components/base/app_wrap.py +1 -1
- reflex/components/base/app_wrap.pyi +1 -1
- reflex/components/base/document.py +0 -8
- reflex/components/base/document.pyi +0 -80
- reflex/components/{layout → base}/fragment.pyi +1 -1
- reflex/components/chakra/__init__.py +202 -19
- reflex/components/{libs/chakra.pyi → chakra/base.pyi} +1 -1
- reflex/components/chakra/datadisplay/__init__.py +12 -0
- reflex/components/{datadisplay → chakra/datadisplay}/badge.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/badge.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/code.py +5 -5
- reflex/components/{datadisplay → chakra/datadisplay}/code.pyi +5 -5
- reflex/components/{datadisplay → chakra/datadisplay}/divider.py +4 -2
- reflex/components/{datadisplay → chakra/datadisplay}/divider.pyi +5 -3
- reflex/components/{datadisplay → chakra/datadisplay}/keyboard_key.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/keyboard_key.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/list.py +3 -3
- reflex/components/{datadisplay → chakra/datadisplay}/list.pyi +4 -4
- reflex/components/{datadisplay → chakra/datadisplay}/stat.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/stat.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/table.py +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/table.pyi +3 -3
- reflex/components/{datadisplay → chakra/datadisplay}/tag.py +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/tag.pyi +3 -3
- reflex/components/{disclosure → chakra/disclosure}/accordion.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/accordion.pyi +2 -2
- reflex/components/{disclosure → chakra/disclosure}/tabs.py +2 -2
- reflex/components/{disclosure → chakra/disclosure}/tabs.pyi +3 -3
- reflex/components/{disclosure → chakra/disclosure}/transition.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/transition.pyi +2 -2
- reflex/components/{disclosure → chakra/disclosure}/visuallyhidden.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/visuallyhidden.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/alert.py +2 -2
- reflex/components/{feedback → chakra/feedback}/alert.pyi +2 -6
- reflex/components/{feedback → chakra/feedback}/circularprogress.py +1 -1
- reflex/components/{feedback → chakra/feedback}/circularprogress.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/progress.py +1 -1
- reflex/components/{feedback → chakra/feedback}/progress.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/skeleton.py +1 -1
- reflex/components/{feedback → chakra/feedback}/skeleton.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/spinner.py +1 -1
- reflex/components/{feedback → chakra/feedback}/spinner.pyi +2 -2
- reflex/components/{forms → chakra/forms}/__init__.py +2 -11
- reflex/components/{forms → chakra/forms}/button.py +3 -1
- reflex/components/{forms → chakra/forms}/button.pyi +2 -2
- reflex/components/{forms → chakra/forms}/checkbox.py +1 -1
- reflex/components/{forms → chakra/forms}/checkbox.pyi +2 -6
- reflex/components/{forms → chakra/forms}/colormodeswitch.py +10 -2
- reflex/components/{forms → chakra/forms}/colormodeswitch.pyi +83 -3
- reflex/components/{forms → chakra/forms}/date_picker.py +1 -1
- reflex/components/{forms → chakra/forms}/date_picker.pyi +2 -2
- reflex/components/{forms → chakra/forms}/date_time_picker.py +1 -1
- reflex/components/{forms → chakra/forms}/date_time_picker.pyi +2 -2
- reflex/components/{forms → chakra/forms}/editable.py +1 -1
- reflex/components/{forms → chakra/forms}/editable.pyi +2 -2
- reflex/components/{forms → chakra/forms}/email.py +1 -1
- reflex/components/{forms → chakra/forms}/email.pyi +2 -2
- reflex/components/{forms → chakra/forms}/form.py +1 -1
- reflex/components/{forms → chakra/forms}/form.pyi +2 -2
- reflex/components/{forms → chakra/forms}/iconbutton.py +1 -1
- reflex/components/{forms → chakra/forms}/iconbutton.pyi +2 -2
- reflex/components/{forms → chakra/forms}/input.py +5 -4
- reflex/components/{forms → chakra/forms}/input.pyi +59 -5
- reflex/components/{forms → chakra/forms}/numberinput.py +6 -2
- reflex/components/{forms → chakra/forms}/numberinput.pyi +10 -2
- reflex/components/{forms → chakra/forms}/password.py +1 -1
- reflex/components/{forms → chakra/forms}/password.pyi +2 -2
- reflex/components/{forms → chakra/forms}/pininput.py +1 -1
- reflex/components/{forms → chakra/forms}/pininput.pyi +2 -2
- reflex/components/{forms → chakra/forms}/radio.py +3 -3
- reflex/components/{forms → chakra/forms}/radio.pyi +4 -4
- reflex/components/{forms → chakra/forms}/rangeslider.py +1 -1
- reflex/components/{forms → chakra/forms}/rangeslider.pyi +2 -2
- reflex/components/{forms → chakra/forms}/select.py +3 -3
- reflex/components/{forms → chakra/forms}/select.pyi +4 -4
- reflex/components/{forms → chakra/forms}/slider.py +4 -3
- reflex/components/{forms → chakra/forms}/slider.pyi +5 -4
- reflex/components/{forms → chakra/forms}/switch.py +1 -1
- reflex/components/{forms → chakra/forms}/switch.pyi +2 -2
- reflex/components/{forms → chakra/forms}/textarea.py +2 -2
- reflex/components/{forms → chakra/forms}/textarea.pyi +3 -3
- reflex/components/chakra/forms/time_picker.py +11 -0
- reflex/components/chakra/forms/time_picker.pyi +129 -0
- reflex/components/{layout → chakra/layout}/__init__.py +1 -20
- reflex/components/{layout → chakra/layout}/aspect_ratio.py +1 -1
- reflex/components/{layout → chakra/layout}/aspect_ratio.pyi +2 -2
- reflex/components/{layout → chakra/layout}/box.py +1 -1
- reflex/components/{layout → chakra/layout}/box.pyi +2 -2
- reflex/components/{layout → chakra/layout}/card.py +2 -2
- reflex/components/{layout → chakra/layout}/card.pyi +3 -3
- reflex/components/{layout → chakra/layout}/center.py +1 -1
- reflex/components/{layout → chakra/layout}/center.pyi +2 -2
- reflex/components/{layout → chakra/layout}/container.py +1 -1
- reflex/components/{layout → chakra/layout}/container.pyi +2 -2
- reflex/components/{layout → chakra/layout}/flex.py +1 -1
- reflex/components/{layout → chakra/layout}/flex.pyi +2 -2
- reflex/components/{layout → chakra/layout}/grid.py +1 -1
- reflex/components/{layout → chakra/layout}/grid.pyi +2 -2
- reflex/components/{layout → chakra/layout}/html.py +1 -1
- reflex/components/{layout → chakra/layout}/html.pyi +2 -2
- reflex/components/{layout → chakra/layout}/spacer.py +1 -1
- reflex/components/{layout → chakra/layout}/spacer.pyi +2 -2
- reflex/components/{layout → chakra/layout}/stack.py +1 -1
- reflex/components/{layout → chakra/layout}/stack.pyi +2 -2
- reflex/components/{layout → chakra/layout}/wrap.py +1 -1
- reflex/components/{layout → chakra/layout}/wrap.pyi +2 -2
- reflex/components/chakra/media/__init__.py +7 -0
- reflex/components/{media → chakra/media}/avatar.py +1 -1
- reflex/components/{media → chakra/media}/avatar.pyi +2 -2
- reflex/components/chakra/media/icon.py +110 -0
- reflex/components/{media → chakra/media}/icon.pyi +2 -2
- reflex/components/chakra/media/image.py +1 -1
- reflex/components/chakra/media/image.pyi +1 -1
- reflex/components/{navigation → chakra/navigation}/__init__.py +0 -1
- reflex/components/{navigation → chakra/navigation}/breadcrumb.py +3 -3
- reflex/components/{navigation → chakra/navigation}/breadcrumb.pyi +4 -4
- reflex/components/{navigation → chakra/navigation}/link.py +2 -2
- reflex/components/{navigation → chakra/navigation}/link.pyi +3 -3
- reflex/components/{navigation → chakra/navigation}/linkoverlay.py +1 -1
- reflex/components/{navigation → chakra/navigation}/linkoverlay.pyi +2 -2
- reflex/components/{navigation → chakra/navigation}/stepper.py +1 -1
- reflex/components/{navigation → chakra/navigation}/stepper.pyi +2 -2
- reflex/components/{overlay → chakra/overlay}/__init__.py +0 -1
- reflex/components/{overlay → chakra/overlay}/alertdialog.py +2 -2
- reflex/components/{overlay → chakra/overlay}/alertdialog.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/drawer.py +3 -3
- reflex/components/{overlay → chakra/overlay}/drawer.pyi +4 -4
- reflex/components/{overlay → chakra/overlay}/menu.py +4 -6
- reflex/components/{overlay → chakra/overlay}/menu.pyi +4 -4
- reflex/components/{overlay → chakra/overlay}/modal.py +2 -2
- reflex/components/{overlay → chakra/overlay}/modal.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/popover.py +2 -2
- reflex/components/{overlay → chakra/overlay}/popover.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/tooltip.py +1 -1
- reflex/components/{overlay → chakra/overlay}/tooltip.pyi +2 -2
- reflex/components/{typography → chakra/typography}/__init__.py +0 -1
- reflex/components/{typography → chakra/typography}/heading.py +1 -1
- reflex/components/{typography → chakra/typography}/heading.pyi +2 -2
- reflex/components/{typography → chakra/typography}/highlight.py +1 -1
- reflex/components/{typography → chakra/typography}/highlight.pyi +2 -2
- reflex/components/{typography → chakra/typography}/span.py +1 -1
- reflex/components/{typography → chakra/typography}/span.pyi +2 -2
- reflex/components/{typography → chakra/typography}/text.py +1 -1
- reflex/components/{typography → chakra/typography}/text.pyi +2 -2
- reflex/components/component.py +7 -8
- reflex/components/core/__init__.py +22 -0
- reflex/components/{overlay → core}/banner.py +4 -3
- reflex/components/{overlay → core}/banner.pyi +5 -4
- reflex/components/{navigation → core}/client_side_routing.py +1 -1
- reflex/components/{navigation → core}/client_side_routing.pyi +2 -2
- reflex/components/{layout → core}/cond.py +1 -1
- reflex/components/{forms → core}/debounce.py +1 -1
- reflex/components/{forms → core}/debounce.pyi +2 -2
- reflex/components/{layout → core}/foreach.py +18 -2
- reflex/components/core/match.py +257 -0
- reflex/components/{layout → core}/responsive.py +1 -1
- reflex/components/{forms → core}/upload.py +2 -2
- reflex/components/{forms → core}/upload.pyi +3 -3
- reflex/components/datadisplay/__init__.py +4 -13
- reflex/components/el/elements/inline.py +4 -0
- reflex/components/el/elements/inline.pyi +3 -0
- reflex/components/gridjs/__init__.py +5 -0
- reflex/components/{datadisplay → gridjs}/datatable.pyi +1 -1
- reflex/components/literals.py +27 -0
- reflex/components/markdown/__init__.py +5 -0
- reflex/components/{typography → markdown}/markdown.py +16 -6
- reflex/components/{typography → markdown}/markdown.pyi +10 -5
- reflex/components/media/__init__.py +1 -8
- reflex/components/media/icon.py +2 -110
- reflex/components/moment/__init__.py +5 -0
- reflex/components/{datadisplay → moment}/moment.pyi +1 -1
- reflex/components/next/__init__.py +2 -0
- reflex/components/{navigation/nextlink.pyi → next/link.pyi} +1 -1
- reflex/components/plotly/__init__.py +5 -0
- reflex/components/{graphing → plotly}/plotly.pyi +1 -1
- reflex/components/radix/primitives/__init__.py +12 -1
- reflex/components/radix/primitives/accordion.py +33 -68
- reflex/components/radix/primitives/accordion.pyi +6 -89
- reflex/components/radix/primitives/base.py +27 -0
- reflex/components/radix/primitives/base.pyi +95 -0
- reflex/components/radix/primitives/form.py +267 -0
- reflex/components/radix/primitives/form.pyi +740 -0
- reflex/components/radix/primitives/progress.py +84 -0
- reflex/components/radix/primitives/progress.pyi +268 -0
- reflex/components/radix/primitives/slider.py +179 -0
- reflex/components/radix/primitives/slider.pyi +452 -0
- reflex/components/radix/themes/base.py +43 -31
- reflex/components/radix/themes/base.pyi +223 -29
- reflex/components/radix/themes/components/__init__.py +18 -3
- reflex/components/radix/themes/components/alertdialog.py +27 -6
- reflex/components/radix/themes/components/alertdialog.pyi +713 -2
- reflex/components/radix/themes/components/aspectratio.py +1 -1
- reflex/components/radix/themes/components/aspectratio.pyi +67 -2
- reflex/components/radix/themes/components/avatar.py +0 -3
- reflex/components/radix/themes/components/avatar.pyi +13 -13
- reflex/components/radix/themes/components/badge.py +1 -4
- reflex/components/radix/themes/components/badge.pyi +11 -11
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +15 -11
- reflex/components/radix/themes/components/callout.pyi +144 -12
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +68 -1
- reflex/components/radix/themes/components/checkbox.pyi +14 -12
- reflex/components/radix/themes/components/contextmenu.pyi +402 -8
- reflex/components/radix/themes/components/dialog.py +6 -0
- reflex/components/radix/themes/components/dialog.pyi +518 -0
- reflex/components/radix/themes/components/dropdownmenu.pyi +337 -8
- reflex/components/radix/themes/components/hovercard.pyi +195 -0
- reflex/components/radix/themes/components/iconbutton.pyi +14 -12
- reflex/components/radix/themes/components/icons.py +2 -2
- reflex/components/radix/themes/components/inset.pyi +65 -0
- reflex/components/radix/themes/components/popover.pyi +260 -0
- reflex/components/radix/themes/components/radiogroup.py +1 -1
- reflex/components/radix/themes/components/radiogroup.pyi +78 -9
- reflex/components/radix/themes/components/scrollarea.pyi +65 -0
- reflex/components/radix/themes/components/select.pyi +342 -13
- reflex/components/radix/themes/components/separator.pyi +7 -5
- reflex/components/radix/themes/components/slider.py +4 -4
- reflex/components/radix/themes/components/slider.pyi +17 -13
- reflex/components/radix/themes/components/switch.pyi +20 -18
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +458 -1
- reflex/components/radix/themes/components/tabs.py +4 -4
- reflex/components/radix/themes/components/tabs.pyi +263 -3
- reflex/components/radix/themes/components/textarea.py +1 -1
- reflex/components/radix/themes/components/textarea.pyi +1 -1
- reflex/components/radix/themes/components/textfield.py +1 -1
- reflex/components/radix/themes/components/textfield.pyi +18 -14
- reflex/components/radix/themes/components/tooltip.py +15 -0
- reflex/components/radix/themes/components/tooltip.pyi +205 -0
- reflex/components/radix/themes/layout/base.pyi +65 -0
- reflex/components/radix/themes/layout/box.pyi +65 -0
- reflex/components/radix/themes/layout/container.pyi +65 -0
- reflex/components/radix/themes/layout/flex.pyi +65 -0
- reflex/components/radix/themes/layout/grid.pyi +65 -0
- reflex/components/radix/themes/layout/section.pyi +65 -0
- reflex/components/radix/themes/typography/blockquote.pyi +16 -14
- reflex/components/radix/themes/typography/code.pyi +22 -20
- reflex/components/radix/themes/typography/em.pyi +65 -0
- reflex/components/radix/themes/typography/heading.pyi +30 -28
- reflex/components/radix/themes/typography/kbd.pyi +65 -0
- reflex/components/radix/themes/typography/link.py +2 -1
- reflex/components/radix/themes/typography/link.pyi +121 -28
- reflex/components/radix/themes/typography/quote.pyi +66 -0
- reflex/components/radix/themes/typography/strong.pyi +65 -0
- reflex/components/radix/themes/typography/text.pyi +30 -28
- reflex/components/react_player/__init__.py +7 -0
- reflex/components/react_player/audio.py +8 -0
- reflex/components/{media → react_player}/audio.pyi +3 -3
- reflex/components/{libs → react_player}/react_player.py +1 -1
- reflex/components/{libs → react_player}/react_player.pyi +3 -3
- reflex/components/react_player/video.py +8 -0
- reflex/components/{media → react_player}/video.pyi +3 -3
- reflex/components/{graphing/recharts → recharts}/cartesian.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/charts.py +1 -1
- reflex/components/{graphing/recharts → recharts}/charts.pyi +2 -2
- reflex/components/{graphing/recharts → recharts}/general.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/polar.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/recharts.pyi +1 -1
- reflex/components/suneditor/__init__.py +5 -0
- reflex/components/{forms → suneditor}/editor.pyi +1 -1
- reflex/components/tags/__init__.py +1 -0
- reflex/components/tags/iter_tag.py +3 -3
- reflex/components/tags/match_tag.py +19 -0
- reflex/constants/base.py +2 -0
- reflex/constants/config.py +1 -1
- reflex/constants/installer.py +1 -0
- reflex/constants/style.py +1 -1
- reflex/event.py +1 -1
- reflex/reflex.py +14 -12
- reflex/state.py +14 -0
- reflex/style.py +1 -1
- reflex/testing.py +59 -9
- reflex/utils/build.py +7 -1
- reflex/utils/exceptions.py +6 -0
- reflex/utils/exec.py +2 -2
- reflex/utils/export.py +1 -1
- reflex/utils/format.py +41 -4
- reflex/utils/prerequisites.py +56 -11
- reflex/utils/processes.py +8 -1
- reflex/utils/types.py +2 -2
- reflex/vars.py +25 -1
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/METADATA +8 -2
- reflex-0.3.8.dist-info/RECORD +492 -0
- reflex/components/graphing/__init__.py +0 -5
- reflex/components/libs/__init__.py +0 -31
- reflex/components/media/audio.py +0 -8
- reflex/components/media/image.pyi +0 -123
- reflex/components/media/video.py +0 -8
- reflex-0.3.7a1.dist-info/RECORD +0 -470
- /reflex/components/{layout → base}/fragment.py +0 -0
- /reflex/components/{libs/chakra.py → chakra/base.py} +0 -0
- /reflex/components/{disclosure → chakra/disclosure}/__init__.py +0 -0
- /reflex/components/{feedback → chakra/feedback}/__init__.py +0 -0
- /reflex/components/{forms → chakra/forms}/multiselect.py +0 -0
- /reflex/components/{datadisplay → gridjs}/datatable.py +0 -0
- /reflex/components/{datadisplay → moment}/moment.py +0 -0
- /reflex/components/{navigation/nextlink.py → next/link.py} +0 -0
- /reflex/components/{graphing → plotly}/plotly.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/__init__.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/cartesian.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/general.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/polar.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/recharts.py +0 -0
- /reflex/components/{forms → suneditor}/editor.py +0 -0
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/LICENSE +0 -0
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/WHEEL +0 -0
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/entry_points.txt +0 -0
|
@@ -3,8 +3,8 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Optional, Union
|
|
5
5
|
|
|
6
|
+
from reflex.components.chakra import ChakraComponent, LiteralImageLoading
|
|
6
7
|
from reflex.components.component import Component
|
|
7
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralImageLoading
|
|
8
8
|
from reflex.vars import Var
|
|
9
9
|
|
|
10
10
|
|
|
@@ -8,8 +8,8 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Optional, Union
|
|
11
|
+
from reflex.components.chakra import ChakraComponent, LiteralImageLoading
|
|
11
12
|
from reflex.components.component import Component
|
|
12
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralImageLoading
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
15
15
|
class Image(ChakraComponent):
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""Breadcrumb components."""
|
|
2
2
|
|
|
3
|
+
from reflex.components.chakra import ChakraComponent
|
|
4
|
+
from reflex.components.chakra.navigation.link import Link
|
|
3
5
|
from reflex.components.component import Component
|
|
4
|
-
from reflex.components.
|
|
5
|
-
from reflex.components.libs.chakra import ChakraComponent
|
|
6
|
-
from reflex.components.navigation.link import Link
|
|
6
|
+
from reflex.components.core.foreach import Foreach
|
|
7
7
|
from reflex.vars import Var
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/navigation/breadcrumb.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/navigation/breadcrumb.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,10 +7,10 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
+
from reflex.components.chakra import ChakraComponent
|
|
11
|
+
from reflex.components.chakra.navigation.link import Link
|
|
10
12
|
from reflex.components.component import Component
|
|
11
|
-
from reflex.components.
|
|
12
|
-
from reflex.components.libs.chakra import ChakraComponent
|
|
13
|
-
from reflex.components.navigation.link import Link
|
|
13
|
+
from reflex.components.core.foreach import Foreach
|
|
14
14
|
from reflex.vars import Var
|
|
15
15
|
|
|
16
16
|
class Breadcrumb(ChakraComponent):
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""A link component."""
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
from reflex.components.chakra import ChakraComponent
|
|
4
5
|
from reflex.components.component import Component
|
|
5
|
-
from reflex.components.
|
|
6
|
-
from reflex.components.navigation.nextlink import NextLink
|
|
6
|
+
from reflex.components.next.link import NextLink
|
|
7
7
|
from reflex.utils import imports
|
|
8
8
|
from reflex.vars import BaseVar, Var
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/navigation/link.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/navigation/link.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,9 +7,9 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
+
from reflex.components.chakra import ChakraComponent
|
|
10
11
|
from reflex.components.component import Component
|
|
11
|
-
from reflex.components.
|
|
12
|
-
from reflex.components.navigation.nextlink import NextLink
|
|
12
|
+
from reflex.components.next.link import NextLink
|
|
13
13
|
from reflex.utils import imports
|
|
14
14
|
from reflex.vars import BaseVar, Var
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/navigation/linkoverlay.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/navigation/linkoverlay.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
-
from reflex.components.
|
|
10
|
+
from reflex.components.chakra import ChakraComponent
|
|
11
11
|
from reflex.vars import Var
|
|
12
12
|
|
|
13
13
|
class LinkOverlay(ChakraComponent):
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import List, Literal, Optional, Tuple
|
|
4
4
|
|
|
5
|
+
from reflex.components.chakra import ChakraComponent, LiteralColorScheme
|
|
5
6
|
from reflex.components.component import Component
|
|
6
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralColorScheme
|
|
7
7
|
from reflex.vars import Var
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/navigation/stepper.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/navigation/stepper.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,8 +8,8 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import List, Literal, Optional, Tuple
|
|
11
|
+
from reflex.components.chakra import ChakraComponent, LiteralColorScheme
|
|
11
12
|
from reflex.components.component import Component
|
|
12
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralColorScheme
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
15
15
|
class Stepper(ChakraComponent):
|
|
@@ -3,9 +3,9 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Union
|
|
5
5
|
|
|
6
|
+
from reflex.components.chakra import ChakraComponent, LiteralAlertDialogSize
|
|
7
|
+
from reflex.components.chakra.media.icon import Icon
|
|
6
8
|
from reflex.components.component import Component
|
|
7
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralAlertDialogSize
|
|
8
|
-
from reflex.components.media.icon import Icon
|
|
9
9
|
from reflex.vars import Var
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/alertdialog.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/alertdialog.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,9 +8,9 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Union
|
|
11
|
+
from reflex.components.chakra import ChakraComponent, LiteralAlertDialogSize
|
|
12
|
+
from reflex.components.chakra.media.icon import Icon
|
|
11
13
|
from reflex.components.component import Component
|
|
12
|
-
from reflex.components.libs.chakra import ChakraComponent, LiteralAlertDialogSize
|
|
13
|
-
from reflex.components.media.icon import Icon
|
|
14
14
|
from reflex.vars import Var
|
|
15
15
|
|
|
16
16
|
class AlertDialog(ChakraComponent):
|
|
@@ -3,13 +3,13 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Union
|
|
5
5
|
|
|
6
|
-
from reflex.components.
|
|
7
|
-
from reflex.components.libs.chakra import (
|
|
6
|
+
from reflex.components.chakra import (
|
|
8
7
|
ChakraComponent,
|
|
9
8
|
LiteralColorScheme,
|
|
10
9
|
LiteralDrawerSize,
|
|
11
10
|
)
|
|
12
|
-
from reflex.components.media.icon import Icon
|
|
11
|
+
from reflex.components.chakra.media.icon import Icon
|
|
12
|
+
from reflex.components.component import Component
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/drawer.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/drawer.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,13 +8,13 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Union
|
|
11
|
-
from reflex.components.
|
|
12
|
-
from reflex.components.libs.chakra import (
|
|
11
|
+
from reflex.components.chakra import (
|
|
13
12
|
ChakraComponent,
|
|
14
13
|
LiteralColorScheme,
|
|
15
14
|
LiteralDrawerSize,
|
|
16
15
|
)
|
|
17
|
-
from reflex.components.media.icon import Icon
|
|
16
|
+
from reflex.components.chakra.media.icon import Icon
|
|
17
|
+
from reflex.components.component import Component
|
|
18
18
|
from reflex.vars import Var
|
|
19
19
|
|
|
20
20
|
class Drawer(ChakraComponent):
|
|
@@ -3,14 +3,14 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, List, Optional, Union
|
|
5
5
|
|
|
6
|
-
from reflex.components.
|
|
7
|
-
from reflex.components.forms.button import Button
|
|
8
|
-
from reflex.components.libs.chakra import (
|
|
6
|
+
from reflex.components.chakra import (
|
|
9
7
|
ChakraComponent,
|
|
10
8
|
LiteralChakraDirection,
|
|
11
9
|
LiteralMenuOption,
|
|
12
10
|
LiteralMenuStrategy,
|
|
13
11
|
)
|
|
12
|
+
from reflex.components.chakra.forms.button import Button
|
|
13
|
+
from reflex.components.component import Component
|
|
14
14
|
from reflex.vars import Var
|
|
15
15
|
|
|
16
16
|
|
|
@@ -133,9 +133,7 @@ class MenuList(ChakraComponent):
|
|
|
133
133
|
tag = "MenuList"
|
|
134
134
|
|
|
135
135
|
@classmethod
|
|
136
|
-
def create(
|
|
137
|
-
cls, *children, items: Optional[list] = None, **props
|
|
138
|
-
) -> ChakraComponent:
|
|
136
|
+
def create(cls, *children, items: Optional[list] = None, **props) -> Component:
|
|
139
137
|
"""Create a MenuList component, and automatically wrap in MenuItem if not already one.
|
|
140
138
|
|
|
141
139
|
Args:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/menu.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/menu.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,14 +8,14 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, List, Optional, Union
|
|
11
|
-
from reflex.components.
|
|
12
|
-
from reflex.components.forms.button import Button
|
|
13
|
-
from reflex.components.libs.chakra import (
|
|
11
|
+
from reflex.components.chakra import (
|
|
14
12
|
ChakraComponent,
|
|
15
13
|
LiteralChakraDirection,
|
|
16
14
|
LiteralMenuOption,
|
|
17
15
|
LiteralMenuStrategy,
|
|
18
16
|
)
|
|
17
|
+
from reflex.components.chakra.forms.button import Button
|
|
18
|
+
from reflex.components.component import Component
|
|
19
19
|
from reflex.vars import Var
|
|
20
20
|
|
|
21
21
|
class Menu(ChakraComponent):
|
|
@@ -3,9 +3,9 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Literal, Optional, Union
|
|
5
5
|
|
|
6
|
+
from reflex.components.chakra import ChakraComponent
|
|
7
|
+
from reflex.components.chakra.media import Icon
|
|
6
8
|
from reflex.components.component import Component
|
|
7
|
-
from reflex.components.libs.chakra import ChakraComponent
|
|
8
|
-
from reflex.components.media import Icon
|
|
9
9
|
from reflex.vars import Var
|
|
10
10
|
|
|
11
11
|
ModalSizes = Literal["xs", "sm", "md", "lg", "xl", "full"]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/modal.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/modal.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,9 +8,9 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Literal, Optional, Union
|
|
11
|
+
from reflex.components.chakra import ChakraComponent
|
|
12
|
+
from reflex.components.chakra.media import Icon
|
|
11
13
|
from reflex.components.component import Component
|
|
12
|
-
from reflex.components.libs.chakra import ChakraComponent
|
|
13
|
-
from reflex.components.media import Icon
|
|
14
14
|
from reflex.vars import Var
|
|
15
15
|
|
|
16
16
|
ModalSizes = Literal["xs", "sm", "md", "lg", "xl", "full"]
|
|
@@ -3,13 +3,13 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Union
|
|
5
5
|
|
|
6
|
-
from reflex.components.
|
|
7
|
-
from reflex.components.libs.chakra import (
|
|
6
|
+
from reflex.components.chakra import (
|
|
8
7
|
ChakraComponent,
|
|
9
8
|
LiteralChakraDirection,
|
|
10
9
|
LiteralMenuStrategy,
|
|
11
10
|
LiteralPopOverTrigger,
|
|
12
11
|
)
|
|
12
|
+
from reflex.components.component import Component
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/popover.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/popover.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,13 +8,13 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Union
|
|
11
|
-
from reflex.components.
|
|
12
|
-
from reflex.components.libs.chakra import (
|
|
11
|
+
from reflex.components.chakra import (
|
|
13
12
|
ChakraComponent,
|
|
14
13
|
LiteralChakraDirection,
|
|
15
14
|
LiteralMenuStrategy,
|
|
16
15
|
LiteralPopOverTrigger,
|
|
17
16
|
)
|
|
17
|
+
from reflex.components.component import Component
|
|
18
18
|
from reflex.vars import Var
|
|
19
19
|
|
|
20
20
|
class Popover(ChakraComponent):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/overlay/tooltip.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/overlay/tooltip.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,7 +8,7 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Any, Union
|
|
11
|
-
from reflex.components.
|
|
11
|
+
from reflex.components.chakra import ChakraComponent, LiteralChakraDirection
|
|
12
12
|
from reflex.vars import Var
|
|
13
13
|
|
|
14
14
|
class Tooltip(ChakraComponent):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/typography/heading.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/typography/heading.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
-
from reflex.components.
|
|
10
|
+
from reflex.components.chakra import ChakraComponent, LiteralHeadingSize
|
|
11
11
|
from reflex.vars import Var
|
|
12
12
|
|
|
13
13
|
class Heading(ChakraComponent):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/typography/highlight.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/typography/highlight.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -8,7 +8,7 @@ from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Dict, List
|
|
11
|
-
from reflex.components.
|
|
11
|
+
from reflex.components.chakra import ChakraComponent
|
|
12
12
|
from reflex.components.tags import Tag
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/typography/span.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/typography/span.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
-
from reflex.components.
|
|
10
|
+
from reflex.components.chakra import ChakraComponent
|
|
11
11
|
from reflex.vars import Var
|
|
12
12
|
|
|
13
13
|
class Span(ChakraComponent):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/typography/text.py"""
|
|
1
|
+
"""Stub file for reflex/components/chakra/typography/text.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
-
from reflex.components.
|
|
10
|
+
from reflex.components.chakra import ChakraComponent
|
|
11
11
|
from reflex.vars import Var
|
|
12
12
|
|
|
13
13
|
class Text(ChakraComponent):
|
reflex/components/component.py
CHANGED
|
@@ -446,7 +446,7 @@ class Component(BaseComponent, ABC):
|
|
|
446
446
|
|
|
447
447
|
return _compile_component(self)
|
|
448
448
|
|
|
449
|
-
def _apply_theme(self, theme: Component):
|
|
449
|
+
def _apply_theme(self, theme: Optional[Component]):
|
|
450
450
|
"""Apply the theme to this component.
|
|
451
451
|
|
|
452
452
|
Args:
|
|
@@ -454,7 +454,7 @@ class Component(BaseComponent, ABC):
|
|
|
454
454
|
"""
|
|
455
455
|
pass
|
|
456
456
|
|
|
457
|
-
def apply_theme(self, theme: Component):
|
|
457
|
+
def apply_theme(self, theme: Optional[Component]):
|
|
458
458
|
"""Apply a theme to the component and its children.
|
|
459
459
|
|
|
460
460
|
Args:
|
|
@@ -462,9 +462,8 @@ class Component(BaseComponent, ABC):
|
|
|
462
462
|
"""
|
|
463
463
|
self._apply_theme(theme)
|
|
464
464
|
for child in self.children:
|
|
465
|
-
if
|
|
466
|
-
|
|
467
|
-
child.apply_theme(theme)
|
|
465
|
+
if isinstance(child, Component):
|
|
466
|
+
child.apply_theme(theme)
|
|
468
467
|
|
|
469
468
|
def _render(self, props: dict[str, Any] | None = None) -> Tag:
|
|
470
469
|
"""Define how to render the component in React.
|
|
@@ -1388,7 +1387,7 @@ class StatefulComponent(BaseComponent):
|
|
|
1388
1387
|
Returns:
|
|
1389
1388
|
The stateful component or None if the component should not be memoized.
|
|
1390
1389
|
"""
|
|
1391
|
-
from reflex.components.
|
|
1390
|
+
from reflex.components.core.foreach import Foreach
|
|
1392
1391
|
|
|
1393
1392
|
if component._memoization_mode.disposition == MemoizationDisposition.NEVER:
|
|
1394
1393
|
# Never memoize this component.
|
|
@@ -1471,8 +1470,8 @@ class StatefulComponent(BaseComponent):
|
|
|
1471
1470
|
The Var from the child component or the child itself (for regular cases).
|
|
1472
1471
|
"""
|
|
1473
1472
|
from reflex.components.base.bare import Bare
|
|
1474
|
-
from reflex.components.
|
|
1475
|
-
from reflex.components.
|
|
1473
|
+
from reflex.components.core.cond import Cond
|
|
1474
|
+
from reflex.components.core.foreach import Foreach
|
|
1476
1475
|
|
|
1477
1476
|
if isinstance(child, Bare):
|
|
1478
1477
|
return child.contents
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Core Reflex components."""
|
|
2
|
+
|
|
3
|
+
from .banner import ConnectionBanner, ConnectionModal
|
|
4
|
+
from .cond import Cond, cond
|
|
5
|
+
from .debounce import DebounceInput
|
|
6
|
+
from .foreach import Foreach
|
|
7
|
+
from .match import Match
|
|
8
|
+
from .responsive import (
|
|
9
|
+
desktop_only,
|
|
10
|
+
mobile_and_tablet,
|
|
11
|
+
mobile_only,
|
|
12
|
+
tablet_and_desktop,
|
|
13
|
+
tablet_only,
|
|
14
|
+
)
|
|
15
|
+
from .upload import Upload, cancel_upload, clear_selected_files, selected_files
|
|
16
|
+
|
|
17
|
+
connection_banner = ConnectionBanner.create
|
|
18
|
+
connection_modal = ConnectionModal.create
|
|
19
|
+
debounce_input = DebounceInput.create
|
|
20
|
+
foreach = Foreach.create
|
|
21
|
+
match = Match.create
|
|
22
|
+
upload = Upload.create
|
|
@@ -4,10 +4,11 @@ from __future__ import annotations
|
|
|
4
4
|
from typing import Optional
|
|
5
5
|
|
|
6
6
|
from reflex.components.base.bare import Bare
|
|
7
|
+
from reflex.components.chakra.layout import Box
|
|
8
|
+
from reflex.components.chakra.overlay.modal import Modal
|
|
9
|
+
from reflex.components.chakra.typography import Text
|
|
7
10
|
from reflex.components.component import Component
|
|
8
|
-
from reflex.components.
|
|
9
|
-
from reflex.components.overlay.modal import Modal
|
|
10
|
-
from reflex.components.typography import Text
|
|
11
|
+
from reflex.components.core.cond import cond
|
|
11
12
|
from reflex.constants import Hooks, Imports
|
|
12
13
|
from reflex.utils import imports
|
|
13
14
|
from reflex.vars import Var, VarData
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/
|
|
1
|
+
"""Stub file for reflex/components/core/banner.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -9,10 +9,11 @@ from reflex.event import EventChain, EventHandler, EventSpec
|
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from typing import Optional
|
|
11
11
|
from reflex.components.base.bare import Bare
|
|
12
|
+
from reflex.components.chakra.layout import Box
|
|
13
|
+
from reflex.components.chakra.overlay.modal import Modal
|
|
14
|
+
from reflex.components.chakra.typography import Text
|
|
12
15
|
from reflex.components.component import Component
|
|
13
|
-
from reflex.components.
|
|
14
|
-
from reflex.components.overlay.modal import Modal
|
|
15
|
-
from reflex.components.typography import Text
|
|
16
|
+
from reflex.components.core.cond import cond
|
|
16
17
|
from reflex.constants import Hooks, Imports
|
|
17
18
|
from reflex.utils import imports
|
|
18
19
|
from reflex.vars import Var, VarData
|
|
@@ -11,7 +11,7 @@ from __future__ import annotations
|
|
|
11
11
|
|
|
12
12
|
from reflex import constants
|
|
13
13
|
from reflex.components.component import Component
|
|
14
|
-
from reflex.components.
|
|
14
|
+
from reflex.components.core.cond import cond
|
|
15
15
|
from reflex.vars import Var
|
|
16
16
|
|
|
17
17
|
route_not_found: Var = Var.create_safe(constants.ROUTE_NOT_FOUND)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/
|
|
1
|
+
"""Stub file for reflex/components/core/client_side_routing.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -9,7 +9,7 @@ from reflex.event import EventChain, EventHandler, EventSpec
|
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from reflex import constants
|
|
11
11
|
from reflex.components.component import Component
|
|
12
|
-
from reflex.components.
|
|
12
|
+
from reflex.components.core.cond import cond
|
|
13
13
|
from reflex.vars import Var
|
|
14
14
|
|
|
15
15
|
route_not_found: Var
|
|
@@ -3,8 +3,8 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
from typing import Any, Dict, Optional, overload
|
|
5
5
|
|
|
6
|
+
from reflex.components.base.fragment import Fragment
|
|
6
7
|
from reflex.components.component import BaseComponent, Component, MemoizationLeaf
|
|
7
|
-
from reflex.components.layout.fragment import Fragment
|
|
8
8
|
from reflex.components.tags import CondTag, Tag
|
|
9
9
|
from reflex.constants import Dirs
|
|
10
10
|
from reflex.utils import format, imports
|