reflex 0.7.4a3__py3-none-any.whl → 0.7.5__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/__init__.py +1 -0
- reflex/__init__.pyi +1 -0
- reflex/app.py +10 -6
- reflex/app_mixins/middleware.py +13 -20
- reflex/compiler/compiler.py +10 -3
- reflex/compiler/utils.py +4 -4
- reflex/components/base/app_wrap.pyi +7 -3
- reflex/components/base/body.pyi +7 -3
- reflex/components/base/document.pyi +27 -7
- reflex/components/base/error_boundary.pyi +7 -3
- reflex/components/base/fragment.pyi +7 -3
- reflex/components/base/head.pyi +12 -4
- reflex/components/base/link.pyi +12 -4
- reflex/components/base/meta.pyi +22 -6
- reflex/components/base/script.pyi +7 -3
- reflex/components/base/strict_mode.pyi +7 -3
- reflex/components/component.py +64 -23
- reflex/components/core/auto_scroll.pyi +7 -3
- reflex/components/core/banner.py +6 -2
- reflex/components/core/banner.pyi +32 -8
- reflex/components/core/client_side_routing.pyi +12 -4
- reflex/components/core/clipboard.pyi +7 -3
- reflex/components/core/debounce.pyi +7 -3
- reflex/components/core/foreach.py +5 -1
- reflex/components/core/html.pyi +7 -3
- reflex/components/core/match.py +5 -5
- reflex/components/core/sticky.pyi +21 -6
- reflex/components/core/upload.pyi +27 -7
- reflex/components/datadisplay/code.pyi +12 -4
- reflex/components/datadisplay/dataeditor.py +2 -2
- reflex/components/datadisplay/dataeditor.pyi +17 -3
- reflex/components/datadisplay/shiki_code_block.pyi +17 -4
- reflex/components/el/__init__.pyi +1 -1
- reflex/components/el/element.pyi +7 -3
- reflex/components/el/elements/__init__.py +3 -1
- reflex/components/el/elements/__init__.pyi +3 -2
- reflex/components/el/elements/base.pyi +7 -3
- reflex/components/el/elements/forms.py +1 -1
- reflex/components/el/elements/forms.pyi +72 -16
- reflex/components/el/elements/inline.pyi +142 -30
- reflex/components/el/elements/media.pyi +127 -27
- reflex/components/el/elements/metadata.pyi +32 -8
- reflex/components/el/elements/other.pyi +37 -9
- reflex/components/el/elements/scripts.pyi +17 -5
- reflex/components/el/elements/sectioning.pyi +77 -17
- reflex/components/el/elements/tables.pyi +52 -12
- reflex/components/el/elements/typography.pyi +77 -17
- reflex/components/gridjs/datatable.py +2 -2
- reflex/components/gridjs/datatable.pyi +12 -4
- reflex/components/lucide/icon.py +7 -6
- reflex/components/lucide/icon.pyi +22 -7
- reflex/components/markdown/markdown.py +1 -1
- reflex/components/markdown/markdown.pyi +7 -3
- reflex/components/moment/moment.pyi +7 -3
- reflex/components/next/base.pyi +7 -3
- reflex/components/next/image.pyi +7 -3
- reflex/components/next/link.pyi +7 -3
- reflex/components/next/video.pyi +7 -3
- reflex/components/plotly/plotly.pyi +47 -11
- reflex/components/radix/primitives/accordion.pyi +37 -9
- reflex/components/radix/primitives/base.pyi +12 -4
- reflex/components/radix/primitives/drawer.pyi +57 -13
- reflex/components/radix/primitives/form.pyi +52 -12
- reflex/components/radix/primitives/progress.pyi +27 -7
- reflex/components/radix/primitives/slider.pyi +27 -7
- reflex/components/radix/themes/base.pyi +41 -10
- reflex/components/radix/themes/color_mode.py +2 -2
- reflex/components/radix/themes/color_mode.pyi +17 -5
- reflex/components/radix/themes/components/alert_dialog.pyi +36 -9
- reflex/components/radix/themes/components/aspect_ratio.pyi +7 -3
- reflex/components/radix/themes/components/avatar.pyi +6 -3
- reflex/components/radix/themes/components/badge.pyi +6 -3
- reflex/components/radix/themes/components/button.pyi +6 -3
- reflex/components/radix/themes/components/callout.pyi +26 -7
- reflex/components/radix/themes/components/card.pyi +6 -3
- reflex/components/radix/themes/components/checkbox.pyi +16 -5
- reflex/components/radix/themes/components/checkbox_cards.pyi +11 -4
- reflex/components/radix/themes/components/checkbox_group.pyi +11 -4
- reflex/components/radix/themes/components/context_menu.pyi +66 -15
- reflex/components/radix/themes/components/data_list.pyi +21 -6
- reflex/components/radix/themes/components/dialog.pyi +36 -9
- reflex/components/radix/themes/components/dropdown_menu.pyi +41 -10
- reflex/components/radix/themes/components/hover_card.pyi +21 -6
- reflex/components/radix/themes/components/icon_button.pyi +6 -3
- reflex/components/radix/themes/components/inset.pyi +6 -3
- reflex/components/radix/themes/components/popover.pyi +21 -6
- reflex/components/radix/themes/components/progress.pyi +6 -3
- reflex/components/radix/themes/components/radio.pyi +6 -3
- reflex/components/radix/themes/components/radio_cards.pyi +11 -4
- reflex/components/radix/themes/components/radio_group.py +6 -1
- reflex/components/radix/themes/components/radio_group.pyi +21 -6
- reflex/components/radix/themes/components/scroll_area.pyi +7 -3
- reflex/components/radix/themes/components/segmented_control.pyi +11 -4
- reflex/components/radix/themes/components/select.pyi +46 -11
- reflex/components/radix/themes/components/separator.pyi +6 -3
- reflex/components/radix/themes/components/skeleton.pyi +6 -3
- reflex/components/radix/themes/components/slider.pyi +6 -3
- reflex/components/radix/themes/components/spinner.pyi +6 -3
- reflex/components/radix/themes/components/switch.pyi +6 -3
- reflex/components/radix/themes/components/table.pyi +36 -9
- reflex/components/radix/themes/components/tabs.pyi +26 -7
- reflex/components/radix/themes/components/text_area.pyi +6 -3
- reflex/components/radix/themes/components/text_field.py +3 -2
- reflex/components/radix/themes/components/text_field.pyi +16 -5
- reflex/components/radix/themes/components/tooltip.pyi +7 -3
- reflex/components/radix/themes/layout/base.pyi +6 -3
- reflex/components/radix/themes/layout/box.pyi +7 -3
- reflex/components/radix/themes/layout/center.pyi +6 -3
- reflex/components/radix/themes/layout/container.pyi +6 -3
- reflex/components/radix/themes/layout/flex.pyi +6 -3
- reflex/components/radix/themes/layout/grid.pyi +6 -3
- reflex/components/radix/themes/layout/list.pyi +27 -7
- reflex/components/radix/themes/layout/section.pyi +6 -3
- reflex/components/radix/themes/layout/spacer.pyi +6 -3
- reflex/components/radix/themes/layout/stack.pyi +16 -5
- reflex/components/radix/themes/typography/blockquote.pyi +6 -3
- reflex/components/radix/themes/typography/code.pyi +6 -3
- reflex/components/radix/themes/typography/heading.pyi +6 -3
- reflex/components/radix/themes/typography/link.pyi +6 -3
- reflex/components/radix/themes/typography/text.pyi +36 -9
- reflex/components/react_player/audio.pyi +7 -3
- reflex/components/react_player/react_player.pyi +7 -3
- reflex/components/react_player/video.pyi +7 -3
- reflex/components/recharts/cartesian.pyi +97 -21
- reflex/components/recharts/charts.pyi +62 -14
- reflex/components/recharts/general.pyi +32 -8
- reflex/components/recharts/polar.py +1 -1
- reflex/components/recharts/polar.pyi +33 -9
- reflex/components/recharts/recharts.pyi +12 -4
- reflex/components/sonner/toast.pyi +7 -2
- reflex/components/suneditor/editor.pyi +7 -3
- reflex/config.py +15 -1
- reflex/constants/installer.py +22 -1
- reflex/custom_components/custom_components.py +12 -7
- reflex/event.py +26 -10
- reflex/experimental/__init__.py +17 -6
- reflex/experimental/layout.pyi +27 -7
- reflex/model.py +3 -3
- reflex/reflex.py +33 -18
- reflex/state.py +3 -3
- reflex/style.py +2 -2
- reflex/testing.py +17 -5
- reflex/utils/console.py +2 -3
- reflex/utils/exec.py +4 -0
- reflex/utils/imports.py +14 -7
- reflex/utils/prerequisites.py +72 -7
- reflex/utils/processes.py +52 -19
- reflex/utils/pyi_generator.py +66 -53
- reflex/utils/registry.py +5 -3
- reflex/utils/serializers.py +1 -2
- reflex/utils/types.py +4 -4
- reflex/vars/base.py +58 -22
- reflex/vars/number.py +23 -6
- reflex/vars/sequence.py +2 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/METADATA +2 -2
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/RECORD +160 -160
- /reflex/{experimental → utils}/misc.py +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/WHEEL +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, Sequence, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.lucide.icon import Icon
|
|
10
11
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponent
|
|
11
12
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
15
|
LiteralAccordionType = Literal["single", "multiple"]
|
|
@@ -89,7 +89,11 @@ class AccordionComponent(RadixPrimitiveComponent):
|
|
|
89
89
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
90
90
|
| None = None,
|
|
91
91
|
as_child: Var[bool] | bool | None = None,
|
|
92
|
-
style:
|
|
92
|
+
style: Sequence[Mapping[str, Any]]
|
|
93
|
+
| Mapping[str, Any]
|
|
94
|
+
| Var[Mapping[str, Any]]
|
|
95
|
+
| Breakpoints
|
|
96
|
+
| None = None,
|
|
93
97
|
key: Any | None = None,
|
|
94
98
|
id: Any | None = None,
|
|
95
99
|
class_name: Any | None = None,
|
|
@@ -221,7 +225,11 @@ class AccordionRoot(AccordionComponent):
|
|
|
221
225
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
222
226
|
| None = None,
|
|
223
227
|
as_child: Var[bool] | bool | None = None,
|
|
224
|
-
style:
|
|
228
|
+
style: Sequence[Mapping[str, Any]]
|
|
229
|
+
| Mapping[str, Any]
|
|
230
|
+
| Var[Mapping[str, Any]]
|
|
231
|
+
| Breakpoints
|
|
232
|
+
| None = None,
|
|
225
233
|
key: Any | None = None,
|
|
226
234
|
id: Any | None = None,
|
|
227
235
|
class_name: Any | None = None,
|
|
@@ -350,7 +358,11 @@ class AccordionItem(AccordionComponent):
|
|
|
350
358
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
351
359
|
| None = None,
|
|
352
360
|
as_child: Var[bool] | bool | None = None,
|
|
353
|
-
style:
|
|
361
|
+
style: Sequence[Mapping[str, Any]]
|
|
362
|
+
| Mapping[str, Any]
|
|
363
|
+
| Var[Mapping[str, Any]]
|
|
364
|
+
| Breakpoints
|
|
365
|
+
| None = None,
|
|
354
366
|
key: Any | None = None,
|
|
355
367
|
id: Any | None = None,
|
|
356
368
|
class_name: Any | None = None,
|
|
@@ -468,7 +480,11 @@ class AccordionHeader(AccordionComponent):
|
|
|
468
480
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
469
481
|
| None = None,
|
|
470
482
|
as_child: Var[bool] | bool | None = None,
|
|
471
|
-
style:
|
|
483
|
+
style: Sequence[Mapping[str, Any]]
|
|
484
|
+
| Mapping[str, Any]
|
|
485
|
+
| Var[Mapping[str, Any]]
|
|
486
|
+
| Breakpoints
|
|
487
|
+
| None = None,
|
|
472
488
|
key: Any | None = None,
|
|
473
489
|
id: Any | None = None,
|
|
474
490
|
class_name: Any | None = None,
|
|
@@ -582,7 +598,11 @@ class AccordionTrigger(AccordionComponent):
|
|
|
582
598
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
583
599
|
| None = None,
|
|
584
600
|
as_child: Var[bool] | bool | None = None,
|
|
585
|
-
style:
|
|
601
|
+
style: Sequence[Mapping[str, Any]]
|
|
602
|
+
| Mapping[str, Any]
|
|
603
|
+
| Var[Mapping[str, Any]]
|
|
604
|
+
| Breakpoints
|
|
605
|
+
| None = None,
|
|
586
606
|
key: Any | None = None,
|
|
587
607
|
id: Any | None = None,
|
|
588
608
|
class_name: Any | None = None,
|
|
@@ -634,7 +654,11 @@ class AccordionIcon(Icon):
|
|
|
634
654
|
cls,
|
|
635
655
|
*children,
|
|
636
656
|
size: Var[int] | int | None = None,
|
|
637
|
-
style:
|
|
657
|
+
style: Sequence[Mapping[str, Any]]
|
|
658
|
+
| Mapping[str, Any]
|
|
659
|
+
| Var[Mapping[str, Any]]
|
|
660
|
+
| Breakpoints
|
|
661
|
+
| None = None,
|
|
638
662
|
key: Any | None = None,
|
|
639
663
|
id: Any | None = None,
|
|
640
664
|
class_name: Any | None = None,
|
|
@@ -745,7 +769,11 @@ class AccordionContent(AccordionComponent):
|
|
|
745
769
|
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
746
770
|
| None = None,
|
|
747
771
|
as_child: Var[bool] | bool | None = None,
|
|
748
|
-
style:
|
|
772
|
+
style: Sequence[Mapping[str, Any]]
|
|
773
|
+
| Mapping[str, Any]
|
|
774
|
+
| Var[Mapping[str, Any]]
|
|
775
|
+
| Breakpoints
|
|
776
|
+
| None = None,
|
|
749
777
|
key: Any | None = None,
|
|
750
778
|
id: Any | None = None,
|
|
751
779
|
class_name: Any | None = None,
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Optional, overload
|
|
6
|
+
from typing import Any, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.event import EventType
|
|
10
|
-
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
13
13
|
class RadixPrimitiveComponent(Component):
|
|
@@ -17,7 +17,11 @@ class RadixPrimitiveComponent(Component):
|
|
|
17
17
|
cls,
|
|
18
18
|
*children,
|
|
19
19
|
as_child: Var[bool] | bool | None = None,
|
|
20
|
-
style:
|
|
20
|
+
style: Sequence[Mapping[str, Any]]
|
|
21
|
+
| Mapping[str, Any]
|
|
22
|
+
| Var[Mapping[str, Any]]
|
|
23
|
+
| Breakpoints
|
|
24
|
+
| None = None,
|
|
21
25
|
key: Any | None = None,
|
|
22
26
|
id: Any | None = None,
|
|
23
27
|
class_name: Any | None = None,
|
|
@@ -65,7 +69,11 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
|
|
|
65
69
|
cls,
|
|
66
70
|
*children,
|
|
67
71
|
as_child: Var[bool] | bool | None = None,
|
|
68
|
-
style:
|
|
72
|
+
style: Sequence[Mapping[str, Any]]
|
|
73
|
+
| Mapping[str, Any]
|
|
74
|
+
| Var[Mapping[str, Any]]
|
|
75
|
+
| Breakpoints
|
|
76
|
+
| None = None,
|
|
69
77
|
key: Any | None = None,
|
|
70
78
|
id: Any | None = None,
|
|
71
79
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, Sequence, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponent
|
|
10
11
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
14
|
class DrawerComponent(RadixPrimitiveComponent):
|
|
@@ -18,7 +18,11 @@ class DrawerComponent(RadixPrimitiveComponent):
|
|
|
18
18
|
cls,
|
|
19
19
|
*children,
|
|
20
20
|
as_child: Var[bool] | bool | None = None,
|
|
21
|
-
style:
|
|
21
|
+
style: Sequence[Mapping[str, Any]]
|
|
22
|
+
| Mapping[str, Any]
|
|
23
|
+
| Var[Mapping[str, Any]]
|
|
24
|
+
| Breakpoints
|
|
25
|
+
| None = None,
|
|
22
26
|
key: Any | None = None,
|
|
23
27
|
id: Any | None = None,
|
|
24
28
|
class_name: Any | None = None,
|
|
@@ -82,7 +86,11 @@ class DrawerRoot(DrawerComponent):
|
|
|
82
86
|
should_scale_background: Var[bool] | bool | None = None,
|
|
83
87
|
close_threshold: Var[float] | float | None = None,
|
|
84
88
|
as_child: Var[bool] | bool | None = None,
|
|
85
|
-
style:
|
|
89
|
+
style: Sequence[Mapping[str, Any]]
|
|
90
|
+
| Mapping[str, Any]
|
|
91
|
+
| Var[Mapping[str, Any]]
|
|
92
|
+
| Breakpoints
|
|
93
|
+
| None = None,
|
|
86
94
|
key: Any | None = None,
|
|
87
95
|
id: Any | None = None,
|
|
88
96
|
class_name: Any | None = None,
|
|
@@ -146,7 +154,11 @@ class DrawerTrigger(DrawerComponent):
|
|
|
146
154
|
cls,
|
|
147
155
|
*children,
|
|
148
156
|
as_child: Var[bool] | bool | None = None,
|
|
149
|
-
style:
|
|
157
|
+
style: Sequence[Mapping[str, Any]]
|
|
158
|
+
| Mapping[str, Any]
|
|
159
|
+
| Var[Mapping[str, Any]]
|
|
160
|
+
| Breakpoints
|
|
161
|
+
| None = None,
|
|
150
162
|
key: Any | None = None,
|
|
151
163
|
id: Any | None = None,
|
|
152
164
|
class_name: Any | None = None,
|
|
@@ -194,7 +206,11 @@ class DrawerPortal(DrawerComponent):
|
|
|
194
206
|
cls,
|
|
195
207
|
*children,
|
|
196
208
|
as_child: Var[bool] | bool | None = None,
|
|
197
|
-
style:
|
|
209
|
+
style: Sequence[Mapping[str, Any]]
|
|
210
|
+
| Mapping[str, Any]
|
|
211
|
+
| Var[Mapping[str, Any]]
|
|
212
|
+
| Breakpoints
|
|
213
|
+
| None = None,
|
|
198
214
|
key: Any | None = None,
|
|
199
215
|
id: Any | None = None,
|
|
200
216
|
class_name: Any | None = None,
|
|
@@ -242,7 +258,11 @@ class DrawerContent(DrawerComponent):
|
|
|
242
258
|
cls,
|
|
243
259
|
*children,
|
|
244
260
|
as_child: Var[bool] | bool | None = None,
|
|
245
|
-
style:
|
|
261
|
+
style: Sequence[Mapping[str, Any]]
|
|
262
|
+
| Mapping[str, Any]
|
|
263
|
+
| Var[Mapping[str, Any]]
|
|
264
|
+
| Breakpoints
|
|
265
|
+
| None = None,
|
|
246
266
|
key: Any | None = None,
|
|
247
267
|
id: Any | None = None,
|
|
248
268
|
class_name: Any | None = None,
|
|
@@ -299,7 +319,11 @@ class DrawerOverlay(DrawerComponent):
|
|
|
299
319
|
cls,
|
|
300
320
|
*children,
|
|
301
321
|
as_child: Var[bool] | bool | None = None,
|
|
302
|
-
style:
|
|
322
|
+
style: Sequence[Mapping[str, Any]]
|
|
323
|
+
| Mapping[str, Any]
|
|
324
|
+
| Var[Mapping[str, Any]]
|
|
325
|
+
| Breakpoints
|
|
326
|
+
| None = None,
|
|
303
327
|
key: Any | None = None,
|
|
304
328
|
id: Any | None = None,
|
|
305
329
|
class_name: Any | None = None,
|
|
@@ -347,7 +371,11 @@ class DrawerClose(DrawerTrigger):
|
|
|
347
371
|
cls,
|
|
348
372
|
*children,
|
|
349
373
|
as_child: Var[bool] | bool | None = None,
|
|
350
|
-
style:
|
|
374
|
+
style: Sequence[Mapping[str, Any]]
|
|
375
|
+
| Mapping[str, Any]
|
|
376
|
+
| Var[Mapping[str, Any]]
|
|
377
|
+
| Breakpoints
|
|
378
|
+
| None = None,
|
|
351
379
|
key: Any | None = None,
|
|
352
380
|
id: Any | None = None,
|
|
353
381
|
class_name: Any | None = None,
|
|
@@ -395,7 +423,11 @@ class DrawerTitle(DrawerComponent):
|
|
|
395
423
|
cls,
|
|
396
424
|
*children,
|
|
397
425
|
as_child: Var[bool] | bool | None = None,
|
|
398
|
-
style:
|
|
426
|
+
style: Sequence[Mapping[str, Any]]
|
|
427
|
+
| Mapping[str, Any]
|
|
428
|
+
| Var[Mapping[str, Any]]
|
|
429
|
+
| Breakpoints
|
|
430
|
+
| None = None,
|
|
399
431
|
key: Any | None = None,
|
|
400
432
|
id: Any | None = None,
|
|
401
433
|
class_name: Any | None = None,
|
|
@@ -443,7 +475,11 @@ class DrawerDescription(DrawerComponent):
|
|
|
443
475
|
cls,
|
|
444
476
|
*children,
|
|
445
477
|
as_child: Var[bool] | bool | None = None,
|
|
446
|
-
style:
|
|
478
|
+
style: Sequence[Mapping[str, Any]]
|
|
479
|
+
| Mapping[str, Any]
|
|
480
|
+
| Var[Mapping[str, Any]]
|
|
481
|
+
| Breakpoints
|
|
482
|
+
| None = None,
|
|
447
483
|
key: Any | None = None,
|
|
448
484
|
id: Any | None = None,
|
|
449
485
|
class_name: Any | None = None,
|
|
@@ -491,7 +527,11 @@ class DrawerHandle(DrawerComponent):
|
|
|
491
527
|
cls,
|
|
492
528
|
*children,
|
|
493
529
|
as_child: Var[bool] | bool | None = None,
|
|
494
|
-
style:
|
|
530
|
+
style: Sequence[Mapping[str, Any]]
|
|
531
|
+
| Mapping[str, Any]
|
|
532
|
+
| Var[Mapping[str, Any]]
|
|
533
|
+
| Breakpoints
|
|
534
|
+
| None = None,
|
|
495
535
|
key: Any | None = None,
|
|
496
536
|
id: Any | None = None,
|
|
497
537
|
class_name: Any | None = None,
|
|
@@ -561,7 +601,11 @@ class Drawer(ComponentNamespace):
|
|
|
561
601
|
should_scale_background: Var[bool] | bool | None = None,
|
|
562
602
|
close_threshold: Var[float] | float | None = None,
|
|
563
603
|
as_child: Var[bool] | bool | None = None,
|
|
564
|
-
style:
|
|
604
|
+
style: Sequence[Mapping[str, Any]]
|
|
605
|
+
| Mapping[str, Any]
|
|
606
|
+
| Var[Mapping[str, Any]]
|
|
607
|
+
| Breakpoints
|
|
608
|
+
| None = None,
|
|
565
609
|
key: Any | None = None,
|
|
566
610
|
id: Any | None = None,
|
|
567
611
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, Union, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.el.elements.forms import Form as HTMLForm
|
|
10
11
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
14
|
from .base import RadixPrimitiveComponentWithClassName
|
|
@@ -20,7 +20,11 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
|
|
|
20
20
|
cls,
|
|
21
21
|
*children,
|
|
22
22
|
as_child: Var[bool] | bool | None = None,
|
|
23
|
-
style:
|
|
23
|
+
style: Sequence[Mapping[str, Any]]
|
|
24
|
+
| Mapping[str, Any]
|
|
25
|
+
| Var[Mapping[str, Any]]
|
|
26
|
+
| Breakpoints
|
|
27
|
+
| None = None,
|
|
24
28
|
key: Any | None = None,
|
|
25
29
|
id: Any | None = None,
|
|
26
30
|
class_name: Any | None = None,
|
|
@@ -258,7 +262,11 @@ class FormRoot(FormComponent, HTMLForm):
|
|
|
258
262
|
spell_check: Var[bool] | bool | None = None,
|
|
259
263
|
tab_index: Var[int] | int | None = None,
|
|
260
264
|
title: Var[str] | str | None = None,
|
|
261
|
-
style:
|
|
265
|
+
style: Sequence[Mapping[str, Any]]
|
|
266
|
+
| Mapping[str, Any]
|
|
267
|
+
| Var[Mapping[str, Any]]
|
|
268
|
+
| Breakpoints
|
|
269
|
+
| None = None,
|
|
262
270
|
key: Any | None = None,
|
|
263
271
|
id: Any | None = None,
|
|
264
272
|
class_name: Any | None = None,
|
|
@@ -345,7 +353,11 @@ class FormField(FormComponent):
|
|
|
345
353
|
name: Var[str] | str | None = None,
|
|
346
354
|
server_invalid: Var[bool] | bool | None = None,
|
|
347
355
|
as_child: Var[bool] | bool | None = None,
|
|
348
|
-
style:
|
|
356
|
+
style: Sequence[Mapping[str, Any]]
|
|
357
|
+
| Mapping[str, Any]
|
|
358
|
+
| Var[Mapping[str, Any]]
|
|
359
|
+
| Breakpoints
|
|
360
|
+
| None = None,
|
|
349
361
|
key: Any | None = None,
|
|
350
362
|
id: Any | None = None,
|
|
351
363
|
class_name: Any | None = None,
|
|
@@ -396,7 +408,11 @@ class FormLabel(FormComponent):
|
|
|
396
408
|
cls,
|
|
397
409
|
*children,
|
|
398
410
|
as_child: Var[bool] | bool | None = None,
|
|
399
|
-
style:
|
|
411
|
+
style: Sequence[Mapping[str, Any]]
|
|
412
|
+
| Mapping[str, Any]
|
|
413
|
+
| Var[Mapping[str, Any]]
|
|
414
|
+
| Breakpoints
|
|
415
|
+
| None = None,
|
|
400
416
|
key: Any | None = None,
|
|
401
417
|
id: Any | None = None,
|
|
402
418
|
class_name: Any | None = None,
|
|
@@ -444,7 +460,11 @@ class FormControl(FormComponent):
|
|
|
444
460
|
cls,
|
|
445
461
|
*children,
|
|
446
462
|
as_child: Var[bool] | bool | None = None,
|
|
447
|
-
style:
|
|
463
|
+
style: Sequence[Mapping[str, Any]]
|
|
464
|
+
| Mapping[str, Any]
|
|
465
|
+
| Var[Mapping[str, Any]]
|
|
466
|
+
| Breakpoints
|
|
467
|
+
| None = None,
|
|
448
468
|
key: Any | None = None,
|
|
449
469
|
id: Any | None = None,
|
|
450
470
|
class_name: Any | None = None,
|
|
@@ -539,7 +559,11 @@ class FormMessage(FormComponent):
|
|
|
539
559
|
| None = None,
|
|
540
560
|
force_match: Var[bool] | bool | None = None,
|
|
541
561
|
as_child: Var[bool] | bool | None = None,
|
|
542
|
-
style:
|
|
562
|
+
style: Sequence[Mapping[str, Any]]
|
|
563
|
+
| Mapping[str, Any]
|
|
564
|
+
| Var[Mapping[str, Any]]
|
|
565
|
+
| Breakpoints
|
|
566
|
+
| None = None,
|
|
543
567
|
key: Any | None = None,
|
|
544
568
|
id: Any | None = None,
|
|
545
569
|
class_name: Any | None = None,
|
|
@@ -590,7 +614,11 @@ class FormValidityState(FormComponent):
|
|
|
590
614
|
cls,
|
|
591
615
|
*children,
|
|
592
616
|
as_child: Var[bool] | bool | None = None,
|
|
593
|
-
style:
|
|
617
|
+
style: Sequence[Mapping[str, Any]]
|
|
618
|
+
| Mapping[str, Any]
|
|
619
|
+
| Var[Mapping[str, Any]]
|
|
620
|
+
| Breakpoints
|
|
621
|
+
| None = None,
|
|
594
622
|
key: Any | None = None,
|
|
595
623
|
id: Any | None = None,
|
|
596
624
|
class_name: Any | None = None,
|
|
@@ -638,7 +666,11 @@ class FormSubmit(FormComponent):
|
|
|
638
666
|
cls,
|
|
639
667
|
*children,
|
|
640
668
|
as_child: Var[bool] | bool | None = None,
|
|
641
|
-
style:
|
|
669
|
+
style: Sequence[Mapping[str, Any]]
|
|
670
|
+
| Mapping[str, Any]
|
|
671
|
+
| Var[Mapping[str, Any]]
|
|
672
|
+
| Breakpoints
|
|
673
|
+
| None = None,
|
|
642
674
|
key: Any | None = None,
|
|
643
675
|
id: Any | None = None,
|
|
644
676
|
class_name: Any | None = None,
|
|
@@ -877,7 +909,11 @@ class Form(FormRoot):
|
|
|
877
909
|
spell_check: Var[bool] | bool | None = None,
|
|
878
910
|
tab_index: Var[int] | int | None = None,
|
|
879
911
|
title: Var[str] | str | None = None,
|
|
880
|
-
style:
|
|
912
|
+
style: Sequence[Mapping[str, Any]]
|
|
913
|
+
| Mapping[str, Any]
|
|
914
|
+
| Var[Mapping[str, Any]]
|
|
915
|
+
| Breakpoints
|
|
916
|
+
| None = None,
|
|
881
917
|
key: Any | None = None,
|
|
882
918
|
id: Any | None = None,
|
|
883
919
|
class_name: Any | None = None,
|
|
@@ -1156,7 +1192,11 @@ class FormNamespace(ComponentNamespace):
|
|
|
1156
1192
|
spell_check: Var[bool] | bool | None = None,
|
|
1157
1193
|
tab_index: Var[int] | int | None = None,
|
|
1158
1194
|
title: Var[str] | str | None = None,
|
|
1159
|
-
style:
|
|
1195
|
+
style: Sequence[Mapping[str, Any]]
|
|
1196
|
+
| Mapping[str, Any]
|
|
1197
|
+
| Var[Mapping[str, Any]]
|
|
1198
|
+
| Breakpoints
|
|
1199
|
+
| None = None,
|
|
1160
1200
|
key: Any | None = None,
|
|
1161
1201
|
id: Any | None = None,
|
|
1162
1202
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponentWithClassName
|
|
10
11
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
14
|
class ProgressComponent(RadixPrimitiveComponentWithClassName):
|
|
@@ -18,7 +18,11 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
|
|
|
18
18
|
cls,
|
|
19
19
|
*children,
|
|
20
20
|
as_child: Var[bool] | bool | None = None,
|
|
21
|
-
style:
|
|
21
|
+
style: Sequence[Mapping[str, Any]]
|
|
22
|
+
| Mapping[str, Any]
|
|
23
|
+
| Var[Mapping[str, Any]]
|
|
24
|
+
| Breakpoints
|
|
25
|
+
| None = None,
|
|
22
26
|
key: Any | None = None,
|
|
23
27
|
id: Any | None = None,
|
|
24
28
|
class_name: Any | None = None,
|
|
@@ -70,7 +74,11 @@ class ProgressRoot(ProgressComponent):
|
|
|
70
74
|
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
71
75
|
| None = None,
|
|
72
76
|
as_child: Var[bool] | bool | None = None,
|
|
73
|
-
style:
|
|
77
|
+
style: Sequence[Mapping[str, Any]]
|
|
78
|
+
| Mapping[str, Any]
|
|
79
|
+
| Var[Mapping[str, Any]]
|
|
80
|
+
| Breakpoints
|
|
81
|
+
| None = None,
|
|
74
82
|
key: Any | None = None,
|
|
75
83
|
id: Any | None = None,
|
|
76
84
|
class_name: Any | None = None,
|
|
@@ -181,7 +189,11 @@ class ProgressIndicator(ProgressComponent):
|
|
|
181
189
|
]
|
|
182
190
|
| None = None,
|
|
183
191
|
as_child: Var[bool] | bool | None = None,
|
|
184
|
-
style:
|
|
192
|
+
style: Sequence[Mapping[str, Any]]
|
|
193
|
+
| Mapping[str, Any]
|
|
194
|
+
| Var[Mapping[str, Any]]
|
|
195
|
+
| Breakpoints
|
|
196
|
+
| None = None,
|
|
185
197
|
key: Any | None = None,
|
|
186
198
|
id: Any | None = None,
|
|
187
199
|
class_name: Any | None = None,
|
|
@@ -296,7 +308,11 @@ class Progress(ProgressRoot):
|
|
|
296
308
|
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
297
309
|
| None = None,
|
|
298
310
|
as_child: Var[bool] | bool | None = None,
|
|
299
|
-
style:
|
|
311
|
+
style: Sequence[Mapping[str, Any]]
|
|
312
|
+
| Mapping[str, Any]
|
|
313
|
+
| Var[Mapping[str, Any]]
|
|
314
|
+
| Breakpoints
|
|
315
|
+
| None = None,
|
|
300
316
|
key: Any | None = None,
|
|
301
317
|
id: Any | None = None,
|
|
302
318
|
class_name: Any | None = None,
|
|
@@ -412,7 +428,11 @@ class ProgressNamespace(ComponentNamespace):
|
|
|
412
428
|
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
413
429
|
| None = None,
|
|
414
430
|
as_child: Var[bool] | bool | None = None,
|
|
415
|
-
style:
|
|
431
|
+
style: Sequence[Mapping[str, Any]]
|
|
432
|
+
| Mapping[str, Any]
|
|
433
|
+
| Var[Mapping[str, Any]]
|
|
434
|
+
| Breakpoints
|
|
435
|
+
| None = None,
|
|
416
436
|
key: Any | None = None,
|
|
417
437
|
id: Any | None = None,
|
|
418
438
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, Sequence, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponentWithClassName
|
|
10
11
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
14
14
|
LiteralSliderOrientation = Literal["horizontal", "vertical"]
|
|
@@ -21,7 +21,11 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
|
|
|
21
21
|
cls,
|
|
22
22
|
*children,
|
|
23
23
|
as_child: Var[bool] | bool | None = None,
|
|
24
|
-
style:
|
|
24
|
+
style: Sequence[Mapping[str, Any]]
|
|
25
|
+
| Mapping[str, Any]
|
|
26
|
+
| Var[Mapping[str, Any]]
|
|
27
|
+
| Breakpoints
|
|
28
|
+
| None = None,
|
|
25
29
|
key: Any | None = None,
|
|
26
30
|
id: Any | None = None,
|
|
27
31
|
class_name: Any | None = None,
|
|
@@ -85,7 +89,11 @@ class SliderRoot(SliderComponent):
|
|
|
85
89
|
step: Var[int] | int | None = None,
|
|
86
90
|
min_steps_between_thumbs: Var[int] | int | None = None,
|
|
87
91
|
as_child: Var[bool] | bool | None = None,
|
|
88
|
-
style:
|
|
92
|
+
style: Sequence[Mapping[str, Any]]
|
|
93
|
+
| Mapping[str, Any]
|
|
94
|
+
| Var[Mapping[str, Any]]
|
|
95
|
+
| Breakpoints
|
|
96
|
+
| None = None,
|
|
89
97
|
key: Any | None = None,
|
|
90
98
|
id: Any | None = None,
|
|
91
99
|
class_name: Any | None = None,
|
|
@@ -138,7 +146,11 @@ class SliderTrack(SliderComponent):
|
|
|
138
146
|
cls,
|
|
139
147
|
*children,
|
|
140
148
|
as_child: Var[bool] | bool | None = None,
|
|
141
|
-
style:
|
|
149
|
+
style: Sequence[Mapping[str, Any]]
|
|
150
|
+
| Mapping[str, Any]
|
|
151
|
+
| Var[Mapping[str, Any]]
|
|
152
|
+
| Breakpoints
|
|
153
|
+
| None = None,
|
|
142
154
|
key: Any | None = None,
|
|
143
155
|
id: Any | None = None,
|
|
144
156
|
class_name: Any | None = None,
|
|
@@ -187,7 +199,11 @@ class SliderRange(SliderComponent):
|
|
|
187
199
|
cls,
|
|
188
200
|
*children,
|
|
189
201
|
as_child: Var[bool] | bool | None = None,
|
|
190
|
-
style:
|
|
202
|
+
style: Sequence[Mapping[str, Any]]
|
|
203
|
+
| Mapping[str, Any]
|
|
204
|
+
| Var[Mapping[str, Any]]
|
|
205
|
+
| Breakpoints
|
|
206
|
+
| None = None,
|
|
191
207
|
key: Any | None = None,
|
|
192
208
|
id: Any | None = None,
|
|
193
209
|
class_name: Any | None = None,
|
|
@@ -236,7 +252,11 @@ class SliderThumb(SliderComponent):
|
|
|
236
252
|
cls,
|
|
237
253
|
*children,
|
|
238
254
|
as_child: Var[bool] | bool | None = None,
|
|
239
|
-
style:
|
|
255
|
+
style: Sequence[Mapping[str, Any]]
|
|
256
|
+
| Mapping[str, Any]
|
|
257
|
+
| Var[Mapping[str, Any]]
|
|
258
|
+
| Breakpoints
|
|
259
|
+
| None = None,
|
|
240
260
|
key: Any | None = None,
|
|
241
261
|
id: Any | None = None,
|
|
242
262
|
class_name: Any | None = None,
|