reflex 0.8.0a4__py3-none-any.whl → 0.8.0a6__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/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/styles/styles.css.jinja2 +1 -0
- reflex/.templates/web/app/routes.js +3 -3
- reflex/.templates/web/utils/client_side_routing.js +1 -1
- reflex/.templates/web/utils/state.js +110 -52
- reflex/__init__.pyi +327 -188
- reflex/app.py +50 -48
- reflex/compiler/compiler.py +6 -2
- reflex/compiler/utils.py +32 -14
- reflex/components/__init__.pyi +34 -15
- reflex/components/base/__init__.pyi +30 -19
- reflex/components/base/app_wrap.pyi +2 -3
- reflex/components/base/body.pyi +2 -3
- reflex/components/base/document.pyi +7 -13
- reflex/components/base/error_boundary.pyi +2 -3
- reflex/components/base/fragment.pyi +2 -3
- reflex/components/base/link.pyi +3 -5
- reflex/components/base/meta.py +4 -15
- reflex/components/base/meta.pyi +14 -18
- reflex/components/base/script.pyi +2 -3
- reflex/components/base/strict_mode.pyi +2 -3
- reflex/components/core/__init__.pyi +77 -38
- reflex/components/core/auto_scroll.pyi +2 -3
- reflex/components/core/banner.pyi +8 -14
- reflex/components/core/client_side_routing.pyi +2 -3
- reflex/components/core/clipboard.pyi +2 -3
- reflex/components/core/debounce.pyi +2 -3
- reflex/components/core/foreach.py +2 -2
- reflex/components/core/helmet.pyi +2 -3
- reflex/components/core/html.pyi +2 -3
- reflex/components/core/match.py +3 -3
- reflex/components/core/sticky.pyi +4 -7
- reflex/components/core/upload.py +2 -1
- reflex/components/core/upload.pyi +5 -9
- reflex/components/datadisplay/__init__.pyi +13 -7
- reflex/components/datadisplay/code.py +12 -7
- reflex/components/datadisplay/code.pyi +2 -3
- reflex/components/datadisplay/dataeditor.pyi +33 -11
- reflex/components/datadisplay/shiki_code_block.py +5 -3
- reflex/components/datadisplay/shiki_code_block.pyi +3 -5
- reflex/components/el/__init__.pyi +506 -246
- reflex/components/el/element.pyi +2 -3
- reflex/components/el/elements/__init__.pyi +504 -245
- reflex/components/el/elements/base.pyi +2 -3
- reflex/components/el/elements/forms.pyi +77 -49
- reflex/components/el/elements/inline.pyi +29 -57
- reflex/components/el/elements/media.pyi +26 -51
- reflex/components/el/elements/metadata.pyi +7 -13
- reflex/components/el/elements/other.pyi +8 -15
- reflex/components/el/elements/scripts.pyi +4 -7
- reflex/components/el/elements/sectioning.pyi +16 -31
- reflex/components/el/elements/tables.pyi +11 -21
- reflex/components/el/elements/typography.pyi +16 -31
- reflex/components/gridjs/datatable.pyi +3 -5
- reflex/components/lucide/icon.pyi +4 -7
- reflex/components/markdown/markdown.py +5 -3
- reflex/components/markdown/markdown.pyi +2 -3
- reflex/components/moment/moment.py +1 -1
- reflex/components/moment/moment.pyi +2 -3
- reflex/components/plotly/plotly.py +12 -6
- reflex/components/plotly/plotly.pyi +31 -39
- reflex/components/radix/__init__.pyi +123 -65
- reflex/components/radix/primitives/__init__.pyi +6 -4
- reflex/components/radix/primitives/accordion.pyi +8 -15
- reflex/components/radix/primitives/base.pyi +3 -5
- reflex/components/radix/primitives/drawer.pyi +11 -21
- reflex/components/radix/primitives/form.pyi +22 -22
- reflex/components/radix/primitives/progress.pyi +5 -9
- reflex/components/radix/primitives/slider.pyi +6 -11
- reflex/components/radix/themes/__init__.pyi +5 -6
- reflex/components/radix/themes/base.pyi +9 -17
- reflex/components/radix/themes/color_mode.py +5 -6
- reflex/components/radix/themes/color_mode.pyi +4 -7
- reflex/components/radix/themes/components/__init__.pyi +75 -38
- reflex/components/radix/themes/components/alert_dialog.pyi +8 -15
- reflex/components/radix/themes/components/aspect_ratio.pyi +2 -3
- reflex/components/radix/themes/components/avatar.pyi +2 -3
- reflex/components/radix/themes/components/badge.pyi +2 -3
- reflex/components/radix/themes/components/button.pyi +2 -3
- reflex/components/radix/themes/components/callout.pyi +5 -9
- reflex/components/radix/themes/components/card.pyi +2 -3
- reflex/components/radix/themes/components/checkbox.pyi +3 -5
- reflex/components/radix/themes/components/checkbox_cards.pyi +3 -5
- reflex/components/radix/themes/components/checkbox_group.pyi +3 -5
- reflex/components/radix/themes/components/context_menu.pyi +14 -27
- reflex/components/radix/themes/components/data_list.pyi +5 -9
- reflex/components/radix/themes/components/dialog.pyi +7 -13
- reflex/components/radix/themes/components/dropdown_menu.pyi +9 -17
- reflex/components/radix/themes/components/hover_card.pyi +4 -7
- reflex/components/radix/themes/components/icon_button.pyi +2 -3
- reflex/components/radix/themes/components/inset.pyi +2 -3
- reflex/components/radix/themes/components/popover.pyi +5 -9
- reflex/components/radix/themes/components/progress.pyi +2 -3
- reflex/components/radix/themes/components/radio.pyi +2 -3
- reflex/components/radix/themes/components/radio_cards.pyi +3 -5
- reflex/components/radix/themes/components/radio_group.pyi +4 -7
- reflex/components/radix/themes/components/scroll_area.pyi +2 -3
- reflex/components/radix/themes/components/segmented_control.pyi +3 -5
- reflex/components/radix/themes/components/select.pyi +9 -17
- reflex/components/radix/themes/components/separator.pyi +2 -3
- reflex/components/radix/themes/components/skeleton.pyi +2 -3
- reflex/components/radix/themes/components/slider.pyi +12 -5
- reflex/components/radix/themes/components/spinner.pyi +2 -3
- reflex/components/radix/themes/components/switch.pyi +2 -3
- reflex/components/radix/themes/components/table.pyi +8 -15
- reflex/components/radix/themes/components/tabs.pyi +5 -9
- reflex/components/radix/themes/components/text_area.pyi +10 -5
- reflex/components/radix/themes/components/text_field.pyi +19 -9
- reflex/components/radix/themes/components/tooltip.pyi +2 -3
- reflex/components/radix/themes/layout/__init__.pyi +27 -14
- reflex/components/radix/themes/layout/base.pyi +2 -3
- reflex/components/radix/themes/layout/box.pyi +2 -3
- reflex/components/radix/themes/layout/center.pyi +2 -3
- reflex/components/radix/themes/layout/container.pyi +2 -3
- reflex/components/radix/themes/layout/flex.pyi +2 -3
- reflex/components/radix/themes/layout/grid.pyi +2 -3
- reflex/components/radix/themes/layout/list.pyi +5 -9
- reflex/components/radix/themes/layout/section.pyi +2 -3
- reflex/components/radix/themes/layout/spacer.pyi +2 -3
- reflex/components/radix/themes/layout/stack.pyi +4 -7
- reflex/components/radix/themes/typography/__init__.pyi +7 -5
- reflex/components/radix/themes/typography/blockquote.pyi +2 -3
- reflex/components/radix/themes/typography/code.pyi +2 -3
- reflex/components/radix/themes/typography/heading.pyi +2 -3
- reflex/components/radix/themes/typography/link.pyi +3 -5
- reflex/components/radix/themes/typography/text.pyi +7 -13
- reflex/components/react_player/audio.pyi +5 -4
- reflex/components/react_player/react_player.pyi +2 -3
- reflex/components/react_player/video.pyi +5 -4
- reflex/components/recharts/__init__.pyi +208 -100
- reflex/components/recharts/cartesian.py +8 -7
- reflex/components/recharts/cartesian.pyi +25 -48
- reflex/components/recharts/charts.pyi +13 -25
- reflex/components/recharts/general.pyi +7 -13
- reflex/components/recharts/polar.pyi +7 -13
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/recharts/recharts.pyi +3 -5
- reflex/components/sonner/toast.py +1 -1
- reflex/components/sonner/toast.pyi +2 -3
- reflex/constants/installer.py +7 -8
- reflex/constants/route.py +13 -6
- reflex/istate/__init__.py +69 -0
- reflex/istate/manager.py +1 -0
- reflex/plugins/shared_tailwind.py +58 -1
- reflex/plugins/tailwind_v3.py +4 -4
- reflex/plugins/tailwind_v4.py +6 -5
- reflex/route.py +159 -71
- reflex/state.py +38 -16
- reflex/testing.py +2 -1
- reflex/utils/exec.py +18 -13
- reflex/utils/format.py +1 -5
- reflex/utils/imports.py +5 -12
- reflex/utils/misc.py +40 -0
- reflex/utils/prerequisites.py +7 -12
- reflex/utils/processes.py +8 -41
- reflex/utils/pyi_generator.py +23 -40
- reflex/utils/telemetry.py +0 -15
- reflex/utils/types.py +1 -1
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/METADATA +3 -3
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/RECORD +163 -163
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/WHEEL +0 -0
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,68 +3,126 @@
|
|
|
3
3
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
from . import primitives
|
|
7
|
-
from . import
|
|
8
|
-
from .primitives.
|
|
9
|
-
from .primitives.
|
|
10
|
-
from .
|
|
11
|
-
from .themes.
|
|
12
|
-
from .themes.
|
|
13
|
-
from .themes.
|
|
14
|
-
from .themes.components.
|
|
15
|
-
from .themes.components.
|
|
16
|
-
from .themes.components.
|
|
17
|
-
from .themes.components.
|
|
18
|
-
from .themes.components.
|
|
19
|
-
from .themes.components.
|
|
20
|
-
from .themes.components.
|
|
21
|
-
from .themes.components.
|
|
22
|
-
from .themes.components.
|
|
23
|
-
from .themes.components.
|
|
24
|
-
from .themes.components.
|
|
25
|
-
from .themes.components.
|
|
26
|
-
from .themes.components.
|
|
27
|
-
from .themes.components.
|
|
28
|
-
from .themes.components.
|
|
29
|
-
from .themes.components.
|
|
30
|
-
from .themes.components.
|
|
31
|
-
from .themes.components.
|
|
32
|
-
from .themes.components.
|
|
33
|
-
from .themes.components.
|
|
34
|
-
from .themes.components.
|
|
35
|
-
from .themes.components.
|
|
36
|
-
from .themes.components.
|
|
37
|
-
from .themes.components.
|
|
38
|
-
from .themes.components.
|
|
39
|
-
from .themes.components.
|
|
40
|
-
from .themes.components.
|
|
41
|
-
from .themes.components.
|
|
42
|
-
from .themes.components.
|
|
43
|
-
from .themes.components.
|
|
44
|
-
from .themes.components.
|
|
45
|
-
from .themes.components.
|
|
46
|
-
from .themes.
|
|
47
|
-
from .themes.
|
|
48
|
-
from .themes.
|
|
49
|
-
from .themes.
|
|
50
|
-
from .themes.
|
|
51
|
-
from .themes.
|
|
52
|
-
from .themes.layout.
|
|
53
|
-
from .themes.layout.
|
|
54
|
-
from .themes.layout.
|
|
55
|
-
from .themes.layout.
|
|
56
|
-
from .themes.
|
|
57
|
-
from .themes.
|
|
58
|
-
from .themes.
|
|
59
|
-
from .themes.
|
|
60
|
-
from .themes.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
6
|
+
from . import primitives, themes
|
|
7
|
+
from .primitives.accordion import accordion
|
|
8
|
+
from .primitives.drawer import drawer
|
|
9
|
+
from .primitives.form import form
|
|
10
|
+
from .themes.base import theme, theme_panel
|
|
11
|
+
from .themes.color_mode import color_mode
|
|
12
|
+
from .themes.components.alert_dialog import alert_dialog
|
|
13
|
+
from .themes.components.aspect_ratio import aspect_ratio
|
|
14
|
+
from .themes.components.avatar import avatar
|
|
15
|
+
from .themes.components.badge import badge
|
|
16
|
+
from .themes.components.button import button
|
|
17
|
+
from .themes.components.callout import callout
|
|
18
|
+
from .themes.components.card import card
|
|
19
|
+
from .themes.components.checkbox import checkbox
|
|
20
|
+
from .themes.components.checkbox_cards import checkbox_cards
|
|
21
|
+
from .themes.components.checkbox_group import checkbox_group
|
|
22
|
+
from .themes.components.context_menu import context_menu
|
|
23
|
+
from .themes.components.data_list import data_list
|
|
24
|
+
from .themes.components.dialog import dialog
|
|
25
|
+
from .themes.components.dropdown_menu import dropdown_menu, menu
|
|
26
|
+
from .themes.components.hover_card import hover_card
|
|
27
|
+
from .themes.components.icon_button import icon_button
|
|
28
|
+
from .themes.components.inset import inset
|
|
29
|
+
from .themes.components.popover import popover
|
|
30
|
+
from .themes.components.progress import progress
|
|
31
|
+
from .themes.components.radio_cards import radio_cards
|
|
32
|
+
from .themes.components.radio_group import radio, radio_group
|
|
33
|
+
from .themes.components.scroll_area import scroll_area
|
|
34
|
+
from .themes.components.segmented_control import segmented_control
|
|
35
|
+
from .themes.components.select import select
|
|
36
|
+
from .themes.components.separator import divider, separator
|
|
37
|
+
from .themes.components.skeleton import skeleton
|
|
38
|
+
from .themes.components.slider import slider
|
|
39
|
+
from .themes.components.spinner import spinner
|
|
40
|
+
from .themes.components.switch import switch
|
|
41
|
+
from .themes.components.table import table
|
|
42
|
+
from .themes.components.tabs import tabs
|
|
43
|
+
from .themes.components.text_area import text_area
|
|
44
|
+
from .themes.components.text_field import input, text_field
|
|
45
|
+
from .themes.components.tooltip import tooltip
|
|
46
|
+
from .themes.layout.box import box
|
|
47
|
+
from .themes.layout.center import center
|
|
48
|
+
from .themes.layout.container import container
|
|
49
|
+
from .themes.layout.flex import flex
|
|
50
|
+
from .themes.layout.grid import grid
|
|
51
|
+
from .themes.layout.list import list_item, ordered_list, unordered_list
|
|
52
|
+
from .themes.layout.list import list_ns as list
|
|
53
|
+
from .themes.layout.section import section
|
|
54
|
+
from .themes.layout.spacer import spacer
|
|
55
|
+
from .themes.layout.stack import hstack, stack, vstack
|
|
56
|
+
from .themes.typography.blockquote import blockquote
|
|
57
|
+
from .themes.typography.code import code
|
|
58
|
+
from .themes.typography.heading import heading
|
|
59
|
+
from .themes.typography.link import link
|
|
60
|
+
from .themes.typography.text import text
|
|
61
|
+
|
|
62
|
+
__all__ = [
|
|
63
|
+
"accordion",
|
|
64
|
+
"alert_dialog",
|
|
65
|
+
"aspect_ratio",
|
|
66
|
+
"avatar",
|
|
67
|
+
"badge",
|
|
68
|
+
"blockquote",
|
|
69
|
+
"box",
|
|
70
|
+
"button",
|
|
71
|
+
"callout",
|
|
72
|
+
"card",
|
|
73
|
+
"center",
|
|
74
|
+
"checkbox",
|
|
75
|
+
"checkbox_cards",
|
|
76
|
+
"checkbox_group",
|
|
77
|
+
"code",
|
|
78
|
+
"color_mode",
|
|
79
|
+
"container",
|
|
80
|
+
"context_menu",
|
|
81
|
+
"data_list",
|
|
82
|
+
"dialog",
|
|
83
|
+
"divider",
|
|
84
|
+
"drawer",
|
|
85
|
+
"dropdown_menu",
|
|
86
|
+
"flex",
|
|
87
|
+
"form",
|
|
88
|
+
"grid",
|
|
89
|
+
"heading",
|
|
90
|
+
"hover_card",
|
|
91
|
+
"hstack",
|
|
92
|
+
"icon_button",
|
|
93
|
+
"input",
|
|
94
|
+
"inset",
|
|
95
|
+
"link",
|
|
96
|
+
"list",
|
|
97
|
+
"list_item",
|
|
98
|
+
"menu",
|
|
99
|
+
"ordered_list",
|
|
100
|
+
"popover",
|
|
101
|
+
"primitives",
|
|
102
|
+
"progress",
|
|
103
|
+
"radio",
|
|
104
|
+
"radio_cards",
|
|
105
|
+
"radio_group",
|
|
106
|
+
"scroll_area",
|
|
107
|
+
"section",
|
|
108
|
+
"segmented_control",
|
|
109
|
+
"select",
|
|
110
|
+
"separator",
|
|
111
|
+
"skeleton",
|
|
112
|
+
"slider",
|
|
113
|
+
"spacer",
|
|
114
|
+
"spinner",
|
|
115
|
+
"stack",
|
|
116
|
+
"switch",
|
|
117
|
+
"table",
|
|
118
|
+
"tabs",
|
|
119
|
+
"text",
|
|
120
|
+
"text_area",
|
|
121
|
+
"text_field",
|
|
122
|
+
"theme",
|
|
123
|
+
"theme_panel",
|
|
124
|
+
"themes",
|
|
125
|
+
"tooltip",
|
|
126
|
+
"unordered_list",
|
|
127
|
+
"vstack",
|
|
128
|
+
]
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
from .accordion import accordion
|
|
7
|
-
from .drawer import drawer
|
|
8
|
-
from .form import form
|
|
9
|
-
from .progress import progress
|
|
6
|
+
from .accordion import accordion
|
|
7
|
+
from .drawer import drawer
|
|
8
|
+
from .form import form
|
|
9
|
+
from .progress import progress
|
|
10
|
+
|
|
11
|
+
__all__ = ["accordion", "drawer", "form", "progress"]
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.component import Component, ComponentNamespace
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -22,9 +22,8 @@ DEFAULT_ANIMATION_EASING = "cubic-bezier(0.87, 0, 0.13, 1)"
|
|
|
22
22
|
|
|
23
23
|
class AccordionComponent(RadixPrimitiveComponent):
|
|
24
24
|
def add_style(self): ...
|
|
25
|
-
@overload
|
|
26
25
|
@classmethod
|
|
27
|
-
def create(
|
|
26
|
+
def create(
|
|
28
27
|
cls,
|
|
29
28
|
*children,
|
|
30
29
|
color_scheme: Literal[
|
|
@@ -143,9 +142,8 @@ def on_value_change(value: Var[str | list[str]]) -> tuple[Var[str | list[str]]]:
|
|
|
143
142
|
|
|
144
143
|
class AccordionRoot(AccordionComponent):
|
|
145
144
|
def add_style(self): ...
|
|
146
|
-
@overload
|
|
147
145
|
@classmethod
|
|
148
|
-
def create(
|
|
146
|
+
def create(
|
|
149
147
|
cls,
|
|
150
148
|
*children,
|
|
151
149
|
type: Literal["multiple", "single"]
|
|
@@ -291,9 +289,8 @@ class AccordionRoot(AccordionComponent):
|
|
|
291
289
|
"""
|
|
292
290
|
|
|
293
291
|
class AccordionItem(AccordionComponent):
|
|
294
|
-
@overload
|
|
295
292
|
@classmethod
|
|
296
|
-
def create(
|
|
293
|
+
def create(
|
|
297
294
|
cls,
|
|
298
295
|
*children,
|
|
299
296
|
value: Var[str] | str | None = None,
|
|
@@ -419,9 +416,8 @@ class AccordionItem(AccordionComponent):
|
|
|
419
416
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
420
417
|
|
|
421
418
|
class AccordionHeader(AccordionComponent):
|
|
422
|
-
@overload
|
|
423
419
|
@classmethod
|
|
424
|
-
def create(
|
|
420
|
+
def create(
|
|
425
421
|
cls,
|
|
426
422
|
*children,
|
|
427
423
|
color_scheme: Literal[
|
|
@@ -539,9 +535,8 @@ class AccordionHeader(AccordionComponent):
|
|
|
539
535
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
540
536
|
|
|
541
537
|
class AccordionTrigger(AccordionComponent):
|
|
542
|
-
@overload
|
|
543
538
|
@classmethod
|
|
544
|
-
def create(
|
|
539
|
+
def create(
|
|
545
540
|
cls,
|
|
546
541
|
*children,
|
|
547
542
|
color_scheme: Literal[
|
|
@@ -659,9 +654,8 @@ class AccordionTrigger(AccordionComponent):
|
|
|
659
654
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
660
655
|
|
|
661
656
|
class AccordionIcon(Icon):
|
|
662
|
-
@overload
|
|
663
657
|
@classmethod
|
|
664
|
-
def create(
|
|
658
|
+
def create(
|
|
665
659
|
cls,
|
|
666
660
|
*children,
|
|
667
661
|
size: Var[int] | int | None = None,
|
|
@@ -714,9 +708,8 @@ class AccordionIcon(Icon):
|
|
|
714
708
|
|
|
715
709
|
class AccordionContent(AccordionComponent):
|
|
716
710
|
def add_imports(self) -> dict: ...
|
|
717
|
-
@overload
|
|
718
711
|
@classmethod
|
|
719
|
-
def create(
|
|
712
|
+
def create(
|
|
720
713
|
cls,
|
|
721
714
|
*children,
|
|
722
715
|
color_scheme: Literal[
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any
|
|
7
|
+
from typing import Any
|
|
8
8
|
|
|
9
9
|
from reflex.components.component import Component
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -12,9 +12,8 @@ from reflex.event import EventType, PointerEventInfo
|
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
14
|
class RadixPrimitiveComponent(Component):
|
|
15
|
-
@overload
|
|
16
15
|
@classmethod
|
|
17
|
-
def create(
|
|
16
|
+
def create(
|
|
18
17
|
cls,
|
|
19
18
|
*children,
|
|
20
19
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -66,9 +65,8 @@ class RadixPrimitiveComponent(Component):
|
|
|
66
65
|
"""
|
|
67
66
|
|
|
68
67
|
class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
|
|
69
|
-
@overload
|
|
70
68
|
@classmethod
|
|
71
|
-
def create(
|
|
69
|
+
def create(
|
|
72
70
|
cls,
|
|
73
71
|
*children,
|
|
74
72
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.component import ComponentNamespace
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -13,9 +13,8 @@ from reflex.event import EventType, PointerEventInfo
|
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
15
|
class DrawerComponent(RadixPrimitiveComponent):
|
|
16
|
-
@overload
|
|
17
16
|
@classmethod
|
|
18
|
-
def create(
|
|
17
|
+
def create(
|
|
19
18
|
cls,
|
|
20
19
|
*children,
|
|
21
20
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -69,9 +68,8 @@ class DrawerComponent(RadixPrimitiveComponent):
|
|
|
69
68
|
LiteralDirectionType = Literal["top", "bottom", "left", "right"]
|
|
70
69
|
|
|
71
70
|
class DrawerRoot(DrawerComponent):
|
|
72
|
-
@overload
|
|
73
71
|
@classmethod
|
|
74
|
-
def create(
|
|
72
|
+
def create(
|
|
75
73
|
cls,
|
|
76
74
|
*children,
|
|
77
75
|
default_open: Var[bool] | bool | None = None,
|
|
@@ -153,9 +151,8 @@ class DrawerRoot(DrawerComponent):
|
|
|
153
151
|
"""
|
|
154
152
|
|
|
155
153
|
class DrawerTrigger(DrawerComponent):
|
|
156
|
-
@overload
|
|
157
154
|
@classmethod
|
|
158
|
-
def create(
|
|
155
|
+
def create(
|
|
159
156
|
cls,
|
|
160
157
|
*children,
|
|
161
158
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -207,9 +204,8 @@ class DrawerTrigger(DrawerComponent):
|
|
|
207
204
|
"""
|
|
208
205
|
|
|
209
206
|
class DrawerPortal(DrawerComponent):
|
|
210
|
-
@overload
|
|
211
207
|
@classmethod
|
|
212
|
-
def create(
|
|
208
|
+
def create(
|
|
213
209
|
cls,
|
|
214
210
|
*children,
|
|
215
211
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -261,9 +257,8 @@ class DrawerPortal(DrawerComponent):
|
|
|
261
257
|
"""
|
|
262
258
|
|
|
263
259
|
class DrawerContent(DrawerComponent):
|
|
264
|
-
@overload
|
|
265
260
|
@classmethod
|
|
266
|
-
def create(
|
|
261
|
+
def create(
|
|
267
262
|
cls,
|
|
268
263
|
*children,
|
|
269
264
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -324,9 +319,8 @@ class DrawerContent(DrawerComponent):
|
|
|
324
319
|
"""
|
|
325
320
|
|
|
326
321
|
class DrawerOverlay(DrawerComponent):
|
|
327
|
-
@overload
|
|
328
322
|
@classmethod
|
|
329
|
-
def create(
|
|
323
|
+
def create(
|
|
330
324
|
cls,
|
|
331
325
|
*children,
|
|
332
326
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -378,9 +372,8 @@ class DrawerOverlay(DrawerComponent):
|
|
|
378
372
|
"""
|
|
379
373
|
|
|
380
374
|
class DrawerClose(DrawerTrigger):
|
|
381
|
-
@overload
|
|
382
375
|
@classmethod
|
|
383
|
-
def create(
|
|
376
|
+
def create(
|
|
384
377
|
cls,
|
|
385
378
|
*children,
|
|
386
379
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -432,9 +425,8 @@ class DrawerClose(DrawerTrigger):
|
|
|
432
425
|
"""
|
|
433
426
|
|
|
434
427
|
class DrawerTitle(DrawerComponent):
|
|
435
|
-
@overload
|
|
436
428
|
@classmethod
|
|
437
|
-
def create(
|
|
429
|
+
def create(
|
|
438
430
|
cls,
|
|
439
431
|
*children,
|
|
440
432
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -486,9 +478,8 @@ class DrawerTitle(DrawerComponent):
|
|
|
486
478
|
"""
|
|
487
479
|
|
|
488
480
|
class DrawerDescription(DrawerComponent):
|
|
489
|
-
@overload
|
|
490
481
|
@classmethod
|
|
491
|
-
def create(
|
|
482
|
+
def create(
|
|
492
483
|
cls,
|
|
493
484
|
*children,
|
|
494
485
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -540,9 +531,8 @@ class DrawerDescription(DrawerComponent):
|
|
|
540
531
|
"""
|
|
541
532
|
|
|
542
533
|
class DrawerHandle(DrawerComponent):
|
|
543
|
-
@overload
|
|
544
534
|
@classmethod
|
|
545
|
-
def create(
|
|
535
|
+
def create(
|
|
546
536
|
cls,
|
|
547
537
|
*children,
|
|
548
538
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.component import ComponentNamespace
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -15,9 +15,8 @@ from reflex.vars.base import Var
|
|
|
15
15
|
from .base import RadixPrimitiveComponentWithClassName
|
|
16
16
|
|
|
17
17
|
class FormComponent(RadixPrimitiveComponentWithClassName):
|
|
18
|
-
@overload
|
|
19
18
|
@classmethod
|
|
20
|
-
def create(
|
|
19
|
+
def create(
|
|
21
20
|
cls,
|
|
22
21
|
*children,
|
|
23
22
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -70,9 +69,8 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
|
|
|
70
69
|
|
|
71
70
|
class FormRoot(FormComponent, HTMLForm):
|
|
72
71
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
73
|
-
@overload
|
|
74
72
|
@classmethod
|
|
75
|
-
def create(
|
|
73
|
+
def create(
|
|
76
74
|
cls,
|
|
77
75
|
*children,
|
|
78
76
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -292,7 +290,10 @@ class FormRoot(FormComponent, HTMLForm):
|
|
|
292
290
|
on_mouse_up: EventType[()] | None = None,
|
|
293
291
|
on_scroll: EventType[()] | None = None,
|
|
294
292
|
on_scroll_end: EventType[()] | None = None,
|
|
295
|
-
on_submit: EventType[()]
|
|
293
|
+
on_submit: EventType[()]
|
|
294
|
+
| EventType[dict[str, Any]]
|
|
295
|
+
| (EventType[()] | EventType[dict[str, str]])
|
|
296
|
+
| None = None,
|
|
296
297
|
on_unmount: EventType[()] | None = None,
|
|
297
298
|
**props,
|
|
298
299
|
) -> FormRoot:
|
|
@@ -345,9 +346,8 @@ class FormRoot(FormComponent, HTMLForm):
|
|
|
345
346
|
|
|
346
347
|
class FormField(FormComponent):
|
|
347
348
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
348
|
-
@overload
|
|
349
349
|
@classmethod
|
|
350
|
-
def create(
|
|
350
|
+
def create(
|
|
351
351
|
cls,
|
|
352
352
|
*children,
|
|
353
353
|
name: Var[str] | str | None = None,
|
|
@@ -404,9 +404,8 @@ class FormField(FormComponent):
|
|
|
404
404
|
|
|
405
405
|
class FormLabel(FormComponent):
|
|
406
406
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
407
|
-
@overload
|
|
408
407
|
@classmethod
|
|
409
|
-
def create(
|
|
408
|
+
def create(
|
|
410
409
|
cls,
|
|
411
410
|
*children,
|
|
412
411
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -458,9 +457,8 @@ class FormLabel(FormComponent):
|
|
|
458
457
|
"""
|
|
459
458
|
|
|
460
459
|
class FormControl(FormComponent):
|
|
461
|
-
@overload
|
|
462
460
|
@classmethod
|
|
463
|
-
def create(
|
|
461
|
+
def create(
|
|
464
462
|
cls,
|
|
465
463
|
*children,
|
|
466
464
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -530,9 +528,8 @@ LiteralMatcher = Literal[
|
|
|
530
528
|
|
|
531
529
|
class FormMessage(FormComponent):
|
|
532
530
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
533
|
-
@overload
|
|
534
531
|
@classmethod
|
|
535
|
-
def create(
|
|
532
|
+
def create(
|
|
536
533
|
cls,
|
|
537
534
|
*children,
|
|
538
535
|
name: Var[str] | str | None = None,
|
|
@@ -616,9 +613,8 @@ class FormMessage(FormComponent):
|
|
|
616
613
|
"""
|
|
617
614
|
|
|
618
615
|
class FormValidityState(FormComponent):
|
|
619
|
-
@overload
|
|
620
616
|
@classmethod
|
|
621
|
-
def create(
|
|
617
|
+
def create(
|
|
622
618
|
cls,
|
|
623
619
|
*children,
|
|
624
620
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -670,9 +666,8 @@ class FormValidityState(FormComponent):
|
|
|
670
666
|
"""
|
|
671
667
|
|
|
672
668
|
class FormSubmit(FormComponent):
|
|
673
|
-
@overload
|
|
674
669
|
@classmethod
|
|
675
|
-
def create(
|
|
670
|
+
def create(
|
|
676
671
|
cls,
|
|
677
672
|
*children,
|
|
678
673
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -724,9 +719,8 @@ class FormSubmit(FormComponent):
|
|
|
724
719
|
"""
|
|
725
720
|
|
|
726
721
|
class Form(FormRoot):
|
|
727
|
-
@overload
|
|
728
722
|
@classmethod
|
|
729
|
-
def create(
|
|
723
|
+
def create(
|
|
730
724
|
cls,
|
|
731
725
|
*children,
|
|
732
726
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -946,7 +940,10 @@ class Form(FormRoot):
|
|
|
946
940
|
on_mouse_up: EventType[()] | None = None,
|
|
947
941
|
on_scroll: EventType[()] | None = None,
|
|
948
942
|
on_scroll_end: EventType[()] | None = None,
|
|
949
|
-
on_submit: EventType[()]
|
|
943
|
+
on_submit: EventType[()]
|
|
944
|
+
| EventType[dict[str, Any]]
|
|
945
|
+
| (EventType[()] | EventType[dict[str, str]])
|
|
946
|
+
| None = None,
|
|
950
947
|
on_unmount: EventType[()] | None = None,
|
|
951
948
|
**props,
|
|
952
949
|
) -> Form:
|
|
@@ -1226,7 +1223,10 @@ class FormNamespace(ComponentNamespace):
|
|
|
1226
1223
|
on_mouse_up: EventType[()] | None = None,
|
|
1227
1224
|
on_scroll: EventType[()] | None = None,
|
|
1228
1225
|
on_scroll_end: EventType[()] | None = None,
|
|
1229
|
-
on_submit: EventType[()]
|
|
1226
|
+
on_submit: EventType[()]
|
|
1227
|
+
| EventType[dict[str, Any]]
|
|
1228
|
+
| (EventType[()] | EventType[dict[str, str]])
|
|
1229
|
+
| None = None,
|
|
1230
1230
|
on_unmount: EventType[()] | None = None,
|
|
1231
1231
|
**props,
|
|
1232
1232
|
) -> Form:
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.component import ComponentNamespace
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -13,9 +13,8 @@ from reflex.event import EventType, PointerEventInfo
|
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
15
|
class ProgressComponent(RadixPrimitiveComponentWithClassName):
|
|
16
|
-
@overload
|
|
17
16
|
@classmethod
|
|
18
|
-
def create(
|
|
17
|
+
def create(
|
|
19
18
|
cls,
|
|
20
19
|
*children,
|
|
21
20
|
as_child: Var[bool] | bool | None = None,
|
|
@@ -68,9 +67,8 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
|
|
|
68
67
|
|
|
69
68
|
class ProgressRoot(ProgressComponent):
|
|
70
69
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
71
|
-
@overload
|
|
72
70
|
@classmethod
|
|
73
|
-
def create(
|
|
71
|
+
def create(
|
|
74
72
|
cls,
|
|
75
73
|
*children,
|
|
76
74
|
radius: Literal["full", "large", "medium", "none", "small"]
|
|
@@ -127,9 +125,8 @@ class ProgressRoot(ProgressComponent):
|
|
|
127
125
|
|
|
128
126
|
class ProgressIndicator(ProgressComponent):
|
|
129
127
|
def add_style(self) -> dict[str, Any] | None: ...
|
|
130
|
-
@overload
|
|
131
128
|
@classmethod
|
|
132
|
-
def create(
|
|
129
|
+
def create(
|
|
133
130
|
cls,
|
|
134
131
|
*children,
|
|
135
132
|
value: Var[int | None] | int | None = None,
|
|
@@ -245,9 +242,8 @@ class ProgressIndicator(ProgressComponent):
|
|
|
245
242
|
"""
|
|
246
243
|
|
|
247
244
|
class Progress(ProgressRoot):
|
|
248
|
-
@overload
|
|
249
245
|
@classmethod
|
|
250
|
-
def create(
|
|
246
|
+
def create(
|
|
251
247
|
cls,
|
|
252
248
|
*children,
|
|
253
249
|
color_scheme: Literal[
|