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,12 +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, 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
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -30,7 +29,11 @@ class ContextMenuRoot(RadixThemesComponent):
|
|
|
30
29
|
*children,
|
|
31
30
|
modal: Var[bool] | bool | None = None,
|
|
32
31
|
dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
|
|
33
|
-
style:
|
|
32
|
+
style: Sequence[Mapping[str, Any]]
|
|
33
|
+
| Mapping[str, Any]
|
|
34
|
+
| Var[Mapping[str, Any]]
|
|
35
|
+
| Breakpoints
|
|
36
|
+
| None = None,
|
|
34
37
|
key: Any | None = None,
|
|
35
38
|
id: Any | None = None,
|
|
36
39
|
class_name: Any | None = None,
|
|
@@ -84,7 +87,11 @@ class ContextMenuTrigger(RadixThemesComponent):
|
|
|
84
87
|
cls,
|
|
85
88
|
*children,
|
|
86
89
|
disabled: Var[bool] | bool | None = None,
|
|
87
|
-
style:
|
|
90
|
+
style: Sequence[Mapping[str, Any]]
|
|
91
|
+
| Mapping[str, Any]
|
|
92
|
+
| Var[Mapping[str, Any]]
|
|
93
|
+
| Breakpoints
|
|
94
|
+
| None = None,
|
|
88
95
|
key: Any | None = None,
|
|
89
96
|
id: Any | None = None,
|
|
90
97
|
class_name: Any | None = None,
|
|
@@ -220,7 +227,11 @@ class ContextMenuContent(RadixThemesComponent):
|
|
|
220
227
|
| Var[Literal["always", "partial"]]
|
|
221
228
|
| None = None,
|
|
222
229
|
hide_when_detached: Var[bool] | bool | None = None,
|
|
223
|
-
style:
|
|
230
|
+
style: Sequence[Mapping[str, Any]]
|
|
231
|
+
| Mapping[str, Any]
|
|
232
|
+
| Var[Mapping[str, Any]]
|
|
233
|
+
| Breakpoints
|
|
234
|
+
| None = None,
|
|
224
235
|
key: Any | None = None,
|
|
225
236
|
id: Any | None = None,
|
|
226
237
|
class_name: Any | None = None,
|
|
@@ -296,7 +307,11 @@ class ContextMenuSub(RadixThemesComponent):
|
|
|
296
307
|
*children,
|
|
297
308
|
open: Var[bool] | bool | None = None,
|
|
298
309
|
default_open: Var[bool] | bool | None = None,
|
|
299
|
-
style:
|
|
310
|
+
style: Sequence[Mapping[str, Any]]
|
|
311
|
+
| Mapping[str, Any]
|
|
312
|
+
| Var[Mapping[str, Any]]
|
|
313
|
+
| Breakpoints
|
|
314
|
+
| None = None,
|
|
300
315
|
key: Any | None = None,
|
|
301
316
|
id: Any | None = None,
|
|
302
317
|
class_name: Any | None = None,
|
|
@@ -352,7 +367,11 @@ class ContextMenuSubTrigger(RadixThemesComponent):
|
|
|
352
367
|
as_child: Var[bool] | bool | None = None,
|
|
353
368
|
disabled: Var[bool] | bool | None = None,
|
|
354
369
|
text_value: Var[str] | str | None = None,
|
|
355
|
-
style:
|
|
370
|
+
style: Sequence[Mapping[str, Any]]
|
|
371
|
+
| Mapping[str, Any]
|
|
372
|
+
| Var[Mapping[str, Any]]
|
|
373
|
+
| Breakpoints
|
|
374
|
+
| None = None,
|
|
356
375
|
key: Any | None = None,
|
|
357
376
|
id: Any | None = None,
|
|
358
377
|
class_name: Any | None = None,
|
|
@@ -419,7 +438,11 @@ class ContextMenuSubContent(RadixThemesComponent):
|
|
|
419
438
|
| Var[Literal["always", "partial"]]
|
|
420
439
|
| None = None,
|
|
421
440
|
hide_when_detached: Var[bool] | bool | None = None,
|
|
422
|
-
style:
|
|
441
|
+
style: Sequence[Mapping[str, Any]]
|
|
442
|
+
| Mapping[str, Any]
|
|
443
|
+
| Var[Mapping[str, Any]]
|
|
444
|
+
| Breakpoints
|
|
445
|
+
| None = None,
|
|
423
446
|
key: Any | None = None,
|
|
424
447
|
id: Any | None = None,
|
|
425
448
|
class_name: Any | None = None,
|
|
@@ -548,7 +571,11 @@ class ContextMenuItem(RadixThemesComponent):
|
|
|
548
571
|
as_child: Var[bool] | bool | None = None,
|
|
549
572
|
disabled: Var[bool] | bool | None = None,
|
|
550
573
|
text_value: Var[str] | str | None = None,
|
|
551
|
-
style:
|
|
574
|
+
style: Sequence[Mapping[str, Any]]
|
|
575
|
+
| Mapping[str, Any]
|
|
576
|
+
| Var[Mapping[str, Any]]
|
|
577
|
+
| Breakpoints
|
|
578
|
+
| None = None,
|
|
552
579
|
key: Any | None = None,
|
|
553
580
|
id: Any | None = None,
|
|
554
581
|
class_name: Any | None = None,
|
|
@@ -604,7 +631,11 @@ class ContextMenuSeparator(RadixThemesComponent):
|
|
|
604
631
|
def create( # type: ignore
|
|
605
632
|
cls,
|
|
606
633
|
*children,
|
|
607
|
-
style:
|
|
634
|
+
style: Sequence[Mapping[str, Any]]
|
|
635
|
+
| Mapping[str, Any]
|
|
636
|
+
| Var[Mapping[str, Any]]
|
|
637
|
+
| Breakpoints
|
|
638
|
+
| None = None,
|
|
608
639
|
key: Any | None = None,
|
|
609
640
|
id: Any | None = None,
|
|
610
641
|
class_name: Any | None = None,
|
|
@@ -728,7 +759,11 @@ class ContextMenuCheckbox(Checkbox):
|
|
|
728
759
|
required: Var[bool] | bool | None = None,
|
|
729
760
|
name: Var[str] | str | None = None,
|
|
730
761
|
value: Var[str] | str | None = None,
|
|
731
|
-
style:
|
|
762
|
+
style: Sequence[Mapping[str, Any]]
|
|
763
|
+
| Mapping[str, Any]
|
|
764
|
+
| Var[Mapping[str, Any]]
|
|
765
|
+
| Breakpoints
|
|
766
|
+
| None = None,
|
|
732
767
|
key: Any | None = None,
|
|
733
768
|
id: Any | None = None,
|
|
734
769
|
class_name: Any | None = None,
|
|
@@ -792,7 +827,11 @@ class ContextMenuLabel(RadixThemesComponent):
|
|
|
792
827
|
cls,
|
|
793
828
|
*children,
|
|
794
829
|
as_child: Var[bool] | bool | None = None,
|
|
795
|
-
style:
|
|
830
|
+
style: Sequence[Mapping[str, Any]]
|
|
831
|
+
| Mapping[str, Any]
|
|
832
|
+
| Var[Mapping[str, Any]]
|
|
833
|
+
| Breakpoints
|
|
834
|
+
| None = None,
|
|
796
835
|
key: Any | None = None,
|
|
797
836
|
id: Any | None = None,
|
|
798
837
|
class_name: Any | None = None,
|
|
@@ -843,7 +882,11 @@ class ContextMenuGroup(RadixThemesComponent):
|
|
|
843
882
|
cls,
|
|
844
883
|
*children,
|
|
845
884
|
as_child: Var[bool] | bool | None = None,
|
|
846
|
-
style:
|
|
885
|
+
style: Sequence[Mapping[str, Any]]
|
|
886
|
+
| Mapping[str, Any]
|
|
887
|
+
| Var[Mapping[str, Any]]
|
|
888
|
+
| Breakpoints
|
|
889
|
+
| None = None,
|
|
847
890
|
key: Any | None = None,
|
|
848
891
|
id: Any | None = None,
|
|
849
892
|
class_name: Any | None = None,
|
|
@@ -895,7 +938,11 @@ class ContextMenuRadioGroup(RadixThemesComponent):
|
|
|
895
938
|
*children,
|
|
896
939
|
as_child: Var[bool] | bool | None = None,
|
|
897
940
|
value: Var[str] | str | None = None,
|
|
898
|
-
style:
|
|
941
|
+
style: Sequence[Mapping[str, Any]]
|
|
942
|
+
| Mapping[str, Any]
|
|
943
|
+
| Var[Mapping[str, Any]]
|
|
944
|
+
| Breakpoints
|
|
945
|
+
| None = None,
|
|
899
946
|
key: Any | None = None,
|
|
900
947
|
id: Any | None = None,
|
|
901
948
|
class_name: Any | None = None,
|
|
@@ -1026,7 +1073,11 @@ class ContextMenuRadioItem(HighLevelRadioGroup):
|
|
|
1026
1073
|
default_value: Var[str] | str | None = None,
|
|
1027
1074
|
name: Var[str] | str | None = None,
|
|
1028
1075
|
required: Var[bool] | bool | None = None,
|
|
1029
|
-
style:
|
|
1076
|
+
style: Sequence[Mapping[str, Any]]
|
|
1077
|
+
| Mapping[str, Any]
|
|
1078
|
+
| Var[Mapping[str, Any]]
|
|
1079
|
+
| Breakpoints
|
|
1080
|
+
| None = None,
|
|
1030
1081
|
key: Any | None = None,
|
|
1031
1082
|
id: Any | None = None,
|
|
1032
1083
|
class_name: Any | None = None,
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from types import SimpleNamespace
|
|
7
|
-
from typing import Any, Literal, Optional, overload
|
|
7
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -37,7 +36,11 @@ class DataListRoot(RadixThemesComponent):
|
|
|
37
36
|
| Literal["both", "end", "normal", "start"]
|
|
38
37
|
]
|
|
39
38
|
| None = None,
|
|
40
|
-
style:
|
|
39
|
+
style: Sequence[Mapping[str, Any]]
|
|
40
|
+
| Mapping[str, Any]
|
|
41
|
+
| Var[Mapping[str, Any]]
|
|
42
|
+
| Breakpoints
|
|
43
|
+
| None = None,
|
|
41
44
|
key: Any | None = None,
|
|
42
45
|
id: Any | None = None,
|
|
43
46
|
class_name: Any | None = None,
|
|
@@ -98,7 +101,11 @@ class DataListItem(RadixThemesComponent):
|
|
|
98
101
|
| Literal["baseline", "center", "end", "start", "stretch"]
|
|
99
102
|
]
|
|
100
103
|
| None = None,
|
|
101
|
-
style:
|
|
104
|
+
style: Sequence[Mapping[str, Any]]
|
|
105
|
+
| Mapping[str, Any]
|
|
106
|
+
| Var[Mapping[str, Any]]
|
|
107
|
+
| Breakpoints
|
|
108
|
+
| None = None,
|
|
102
109
|
key: Any | None = None,
|
|
103
110
|
id: Any | None = None,
|
|
104
111
|
class_name: Any | None = None,
|
|
@@ -219,7 +226,11 @@ class DataListLabel(RadixThemesComponent):
|
|
|
219
226
|
]
|
|
220
227
|
]
|
|
221
228
|
| None = None,
|
|
222
|
-
style:
|
|
229
|
+
style: Sequence[Mapping[str, Any]]
|
|
230
|
+
| Mapping[str, Any]
|
|
231
|
+
| Var[Mapping[str, Any]]
|
|
232
|
+
| Breakpoints
|
|
233
|
+
| None = None,
|
|
223
234
|
key: Any | None = None,
|
|
224
235
|
id: Any | None = None,
|
|
225
236
|
class_name: Any | None = None,
|
|
@@ -272,7 +283,11 @@ class DataListValue(RadixThemesComponent):
|
|
|
272
283
|
def create( # type: ignore
|
|
273
284
|
cls,
|
|
274
285
|
*children,
|
|
275
|
-
style:
|
|
286
|
+
style: Sequence[Mapping[str, Any]]
|
|
287
|
+
| Mapping[str, Any]
|
|
288
|
+
| Var[Mapping[str, Any]]
|
|
289
|
+
| Breakpoints
|
|
290
|
+
| None = None,
|
|
276
291
|
key: Any | None = None,
|
|
277
292
|
id: Any | None = None,
|
|
278
293
|
class_name: Any | None = None,
|
|
@@ -3,13 +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
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
@@ -22,7 +21,11 @@ class DialogRoot(RadixThemesComponent):
|
|
|
22
21
|
*children,
|
|
23
22
|
open: Var[bool] | bool | None = None,
|
|
24
23
|
default_open: Var[bool] | bool | None = None,
|
|
25
|
-
style:
|
|
24
|
+
style: Sequence[Mapping[str, Any]]
|
|
25
|
+
| Mapping[str, Any]
|
|
26
|
+
| Var[Mapping[str, Any]]
|
|
27
|
+
| Breakpoints
|
|
28
|
+
| None = None,
|
|
26
29
|
key: Any | None = None,
|
|
27
30
|
id: Any | None = None,
|
|
28
31
|
class_name: Any | None = None,
|
|
@@ -75,7 +78,11 @@ class DialogTrigger(RadixThemesTriggerComponent):
|
|
|
75
78
|
def create( # type: ignore
|
|
76
79
|
cls,
|
|
77
80
|
*children,
|
|
78
|
-
style:
|
|
81
|
+
style: Sequence[Mapping[str, Any]]
|
|
82
|
+
| Mapping[str, Any]
|
|
83
|
+
| Var[Mapping[str, Any]]
|
|
84
|
+
| Breakpoints
|
|
85
|
+
| None = None,
|
|
79
86
|
key: Any | None = None,
|
|
80
87
|
id: Any | None = None,
|
|
81
88
|
class_name: Any | None = None,
|
|
@@ -115,7 +122,11 @@ class DialogTitle(RadixThemesComponent):
|
|
|
115
122
|
def create( # type: ignore
|
|
116
123
|
cls,
|
|
117
124
|
*children,
|
|
118
|
-
style:
|
|
125
|
+
style: Sequence[Mapping[str, Any]]
|
|
126
|
+
| Mapping[str, Any]
|
|
127
|
+
| Var[Mapping[str, Any]]
|
|
128
|
+
| Breakpoints
|
|
129
|
+
| None = None,
|
|
119
130
|
key: Any | None = None,
|
|
120
131
|
id: Any | None = None,
|
|
121
132
|
class_name: Any | None = None,
|
|
@@ -348,7 +359,11 @@ class DialogContent(elements.Div, RadixThemesComponent):
|
|
|
348
359
|
spell_check: Var[bool] | bool | None = None,
|
|
349
360
|
tab_index: Var[int] | int | None = None,
|
|
350
361
|
title: Var[str] | str | None = None,
|
|
351
|
-
style:
|
|
362
|
+
style: Sequence[Mapping[str, Any]]
|
|
363
|
+
| Mapping[str, Any]
|
|
364
|
+
| Var[Mapping[str, Any]]
|
|
365
|
+
| Breakpoints
|
|
366
|
+
| None = None,
|
|
352
367
|
key: Any | None = None,
|
|
353
368
|
id: Any | None = None,
|
|
354
369
|
class_name: Any | None = None,
|
|
@@ -424,7 +439,11 @@ class DialogDescription(RadixThemesComponent):
|
|
|
424
439
|
def create( # type: ignore
|
|
425
440
|
cls,
|
|
426
441
|
*children,
|
|
427
|
-
style:
|
|
442
|
+
style: Sequence[Mapping[str, Any]]
|
|
443
|
+
| Mapping[str, Any]
|
|
444
|
+
| Var[Mapping[str, Any]]
|
|
445
|
+
| Breakpoints
|
|
446
|
+
| None = None,
|
|
428
447
|
key: Any | None = None,
|
|
429
448
|
id: Any | None = None,
|
|
430
449
|
class_name: Any | None = None,
|
|
@@ -473,7 +492,11 @@ class DialogClose(RadixThemesTriggerComponent):
|
|
|
473
492
|
def create( # type: ignore
|
|
474
493
|
cls,
|
|
475
494
|
*children,
|
|
476
|
-
style:
|
|
495
|
+
style: Sequence[Mapping[str, Any]]
|
|
496
|
+
| Mapping[str, Any]
|
|
497
|
+
| Var[Mapping[str, Any]]
|
|
498
|
+
| Breakpoints
|
|
499
|
+
| None = None,
|
|
477
500
|
key: Any | None = None,
|
|
478
501
|
id: Any | None = None,
|
|
479
502
|
class_name: Any | None = None,
|
|
@@ -520,7 +543,11 @@ class Dialog(ComponentNamespace):
|
|
|
520
543
|
*children,
|
|
521
544
|
open: Var[bool] | bool | None = None,
|
|
522
545
|
default_open: Var[bool] | bool | None = None,
|
|
523
|
-
style:
|
|
546
|
+
style: Sequence[Mapping[str, Any]]
|
|
547
|
+
| Mapping[str, Any]
|
|
548
|
+
| Var[Mapping[str, Any]]
|
|
549
|
+
| Breakpoints
|
|
550
|
+
| None = None,
|
|
524
551
|
key: Any | None = None,
|
|
525
552
|
id: Any | None = None,
|
|
526
553
|
class_name: Any | None = None,
|
|
@@ -3,12 +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, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
@@ -30,7 +29,11 @@ class DropdownMenuRoot(RadixThemesComponent):
|
|
|
30
29
|
open: Var[bool] | bool | None = None,
|
|
31
30
|
modal: Var[bool] | bool | None = None,
|
|
32
31
|
dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
|
|
33
|
-
style:
|
|
32
|
+
style: Sequence[Mapping[str, Any]]
|
|
33
|
+
| Mapping[str, Any]
|
|
34
|
+
| Var[Mapping[str, Any]]
|
|
35
|
+
| Breakpoints
|
|
36
|
+
| None = None,
|
|
34
37
|
key: Any | None = None,
|
|
35
38
|
id: Any | None = None,
|
|
36
39
|
class_name: Any | None = None,
|
|
@@ -86,7 +89,11 @@ class DropdownMenuTrigger(RadixThemesTriggerComponent):
|
|
|
86
89
|
cls,
|
|
87
90
|
*children,
|
|
88
91
|
as_child: Var[bool] | bool | None = None,
|
|
89
|
-
style:
|
|
92
|
+
style: Sequence[Mapping[str, Any]]
|
|
93
|
+
| Mapping[str, Any]
|
|
94
|
+
| Var[Mapping[str, Any]]
|
|
95
|
+
| Breakpoints
|
|
96
|
+
| None = None,
|
|
90
97
|
key: Any | None = None,
|
|
91
98
|
id: Any | None = None,
|
|
92
99
|
class_name: Any | None = None,
|
|
@@ -212,7 +219,11 @@ class DropdownMenuContent(RadixThemesComponent):
|
|
|
212
219
|
| Var[Literal["always", "partial"]]
|
|
213
220
|
| None = None,
|
|
214
221
|
hide_when_detached: Var[bool] | bool | None = None,
|
|
215
|
-
style:
|
|
222
|
+
style: Sequence[Mapping[str, Any]]
|
|
223
|
+
| Mapping[str, Any]
|
|
224
|
+
| Var[Mapping[str, Any]]
|
|
225
|
+
| Breakpoints
|
|
226
|
+
| None = None,
|
|
216
227
|
key: Any | None = None,
|
|
217
228
|
id: Any | None = None,
|
|
218
229
|
class_name: Any | None = None,
|
|
@@ -289,7 +300,11 @@ class DropdownMenuSubTrigger(RadixThemesTriggerComponent):
|
|
|
289
300
|
as_child: Var[bool] | bool | None = None,
|
|
290
301
|
disabled: Var[bool] | bool | None = None,
|
|
291
302
|
text_value: Var[str] | str | None = None,
|
|
292
|
-
style:
|
|
303
|
+
style: Sequence[Mapping[str, Any]]
|
|
304
|
+
| Mapping[str, Any]
|
|
305
|
+
| Var[Mapping[str, Any]]
|
|
306
|
+
| Breakpoints
|
|
307
|
+
| None = None,
|
|
293
308
|
key: Any | None = None,
|
|
294
309
|
id: Any | None = None,
|
|
295
310
|
class_name: Any | None = None,
|
|
@@ -331,7 +346,11 @@ class DropdownMenuSub(RadixThemesComponent):
|
|
|
331
346
|
*children,
|
|
332
347
|
open: Var[bool] | bool | None = None,
|
|
333
348
|
default_open: Var[bool] | bool | None = None,
|
|
334
|
-
style:
|
|
349
|
+
style: Sequence[Mapping[str, Any]]
|
|
350
|
+
| Mapping[str, Any]
|
|
351
|
+
| Var[Mapping[str, Any]]
|
|
352
|
+
| Breakpoints
|
|
353
|
+
| None = None,
|
|
335
354
|
key: Any | None = None,
|
|
336
355
|
id: Any | None = None,
|
|
337
356
|
class_name: Any | None = None,
|
|
@@ -399,7 +418,11 @@ class DropdownMenuSubContent(RadixThemesComponent):
|
|
|
399
418
|
| Var[Literal["always", "partial"]]
|
|
400
419
|
| None = None,
|
|
401
420
|
hide_when_detached: Var[bool] | bool | None = None,
|
|
402
|
-
style:
|
|
421
|
+
style: Sequence[Mapping[str, Any]]
|
|
422
|
+
| Mapping[str, Any]
|
|
423
|
+
| Var[Mapping[str, Any]]
|
|
424
|
+
| Breakpoints
|
|
425
|
+
| None = None,
|
|
403
426
|
key: Any | None = None,
|
|
404
427
|
id: Any | None = None,
|
|
405
428
|
class_name: Any | None = None,
|
|
@@ -528,7 +551,11 @@ class DropdownMenuItem(RadixThemesComponent):
|
|
|
528
551
|
as_child: Var[bool] | bool | None = None,
|
|
529
552
|
disabled: Var[bool] | bool | None = None,
|
|
530
553
|
text_value: Var[str] | str | None = None,
|
|
531
|
-
style:
|
|
554
|
+
style: Sequence[Mapping[str, Any]]
|
|
555
|
+
| Mapping[str, Any]
|
|
556
|
+
| Var[Mapping[str, Any]]
|
|
557
|
+
| Breakpoints
|
|
558
|
+
| None = None,
|
|
532
559
|
key: Any | None = None,
|
|
533
560
|
id: Any | None = None,
|
|
534
561
|
class_name: Any | None = None,
|
|
@@ -584,7 +611,11 @@ class DropdownMenuSeparator(RadixThemesComponent):
|
|
|
584
611
|
def create( # type: ignore
|
|
585
612
|
cls,
|
|
586
613
|
*children,
|
|
587
|
-
style:
|
|
614
|
+
style: Sequence[Mapping[str, Any]]
|
|
615
|
+
| Mapping[str, Any]
|
|
616
|
+
| Var[Mapping[str, Any]]
|
|
617
|
+
| Breakpoints
|
|
618
|
+
| None = None,
|
|
588
619
|
key: Any | None = None,
|
|
589
620
|
id: Any | None = None,
|
|
590
621
|
class_name: Any | None = None,
|
|
@@ -3,13 +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
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
@@ -24,7 +23,11 @@ class HoverCardRoot(RadixThemesComponent):
|
|
|
24
23
|
open: Var[bool] | bool | None = None,
|
|
25
24
|
open_delay: Var[int] | int | None = None,
|
|
26
25
|
close_delay: Var[int] | int | None = None,
|
|
27
|
-
style:
|
|
26
|
+
style: Sequence[Mapping[str, Any]]
|
|
27
|
+
| Mapping[str, Any]
|
|
28
|
+
| Var[Mapping[str, Any]]
|
|
29
|
+
| Breakpoints
|
|
30
|
+
| None = None,
|
|
28
31
|
key: Any | None = None,
|
|
29
32
|
id: Any | None = None,
|
|
30
33
|
class_name: Any | None = None,
|
|
@@ -79,7 +82,11 @@ class HoverCardTrigger(RadixThemesTriggerComponent):
|
|
|
79
82
|
def create( # type: ignore
|
|
80
83
|
cls,
|
|
81
84
|
*children,
|
|
82
|
-
style:
|
|
85
|
+
style: Sequence[Mapping[str, Any]]
|
|
86
|
+
| Mapping[str, Any]
|
|
87
|
+
| Var[Mapping[str, Any]]
|
|
88
|
+
| Breakpoints
|
|
89
|
+
| None = None,
|
|
83
90
|
key: Any | None = None,
|
|
84
91
|
id: Any | None = None,
|
|
85
92
|
class_name: Any | None = None,
|
|
@@ -323,7 +330,11 @@ class HoverCardContent(elements.Div, RadixThemesComponent):
|
|
|
323
330
|
spell_check: Var[bool] | bool | None = None,
|
|
324
331
|
tab_index: Var[int] | int | None = None,
|
|
325
332
|
title: Var[str] | str | None = None,
|
|
326
|
-
style:
|
|
333
|
+
style: Sequence[Mapping[str, Any]]
|
|
334
|
+
| Mapping[str, Any]
|
|
335
|
+
| Var[Mapping[str, Any]]
|
|
336
|
+
| Breakpoints
|
|
337
|
+
| None = None,
|
|
327
338
|
key: Any | None = None,
|
|
328
339
|
id: Any | None = None,
|
|
329
340
|
class_name: Any | None = None,
|
|
@@ -403,7 +414,11 @@ class HoverCard(ComponentNamespace):
|
|
|
403
414
|
open: Var[bool] | bool | None = None,
|
|
404
415
|
open_delay: Var[int] | int | None = None,
|
|
405
416
|
close_delay: Var[int] | int | None = None,
|
|
406
|
-
style:
|
|
417
|
+
style: Sequence[Mapping[str, Any]]
|
|
418
|
+
| Mapping[str, Any]
|
|
419
|
+
| Var[Mapping[str, Any]]
|
|
420
|
+
| Breakpoints
|
|
421
|
+
| None = None,
|
|
407
422
|
key: Any | None = None,
|
|
408
423
|
id: Any | None = None,
|
|
409
424
|
class_name: Any | None = None,
|
|
@@ -3,12 +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, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixLoadingProp, RadixThemesComponent
|
|
@@ -287,7 +286,11 @@ class IconButton(elements.Button, RadixLoadingProp, RadixThemesComponent):
|
|
|
287
286
|
tab_index: Var[int] | int | None = None,
|
|
288
287
|
title: Var[str] | str | None = None,
|
|
289
288
|
loading: Var[bool] | bool | None = None,
|
|
290
|
-
style:
|
|
289
|
+
style: Sequence[Mapping[str, Any]]
|
|
290
|
+
| Mapping[str, Any]
|
|
291
|
+
| Var[Mapping[str, Any]]
|
|
292
|
+
| Breakpoints
|
|
293
|
+
| None = None,
|
|
291
294
|
key: Any | None = None,
|
|
292
295
|
id: Any | None = None,
|
|
293
296
|
class_name: Any | None = None,
|
|
@@ -3,12 +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, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -248,7 +247,11 @@ class Inset(elements.Div, RadixThemesComponent):
|
|
|
248
247
|
spell_check: Var[bool] | bool | None = None,
|
|
249
248
|
tab_index: Var[int] | int | None = None,
|
|
250
249
|
title: Var[str] | str | None = None,
|
|
251
|
-
style:
|
|
250
|
+
style: Sequence[Mapping[str, Any]]
|
|
251
|
+
| Mapping[str, Any]
|
|
252
|
+
| Var[Mapping[str, Any]]
|
|
253
|
+
| Breakpoints
|
|
254
|
+
| None = None,
|
|
252
255
|
key: Any | None = None,
|
|
253
256
|
id: Any | None = None,
|
|
254
257
|
class_name: Any | None = None,
|
|
@@ -3,13 +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
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
@@ -23,7 +22,11 @@ class PopoverRoot(RadixThemesComponent):
|
|
|
23
22
|
open: Var[bool] | bool | None = None,
|
|
24
23
|
modal: Var[bool] | bool | None = None,
|
|
25
24
|
default_open: Var[bool] | bool | None = None,
|
|
26
|
-
style:
|
|
25
|
+
style: Sequence[Mapping[str, Any]]
|
|
26
|
+
| Mapping[str, Any]
|
|
27
|
+
| Var[Mapping[str, Any]]
|
|
28
|
+
| Breakpoints
|
|
29
|
+
| None = None,
|
|
27
30
|
key: Any | None = None,
|
|
28
31
|
id: Any | None = None,
|
|
29
32
|
class_name: Any | None = None,
|
|
@@ -77,7 +80,11 @@ class PopoverTrigger(RadixThemesTriggerComponent):
|
|
|
77
80
|
def create( # type: ignore
|
|
78
81
|
cls,
|
|
79
82
|
*children,
|
|
80
|
-
style:
|
|
83
|
+
style: Sequence[Mapping[str, Any]]
|
|
84
|
+
| Mapping[str, Any]
|
|
85
|
+
| Var[Mapping[str, Any]]
|
|
86
|
+
| Breakpoints
|
|
87
|
+
| None = None,
|
|
81
88
|
key: Any | None = None,
|
|
82
89
|
id: Any | None = None,
|
|
83
90
|
class_name: Any | None = None,
|
|
@@ -319,7 +326,11 @@ class PopoverContent(elements.Div, RadixThemesComponent):
|
|
|
319
326
|
spell_check: Var[bool] | bool | None = None,
|
|
320
327
|
tab_index: Var[int] | int | None = None,
|
|
321
328
|
title: Var[str] | str | None = None,
|
|
322
|
-
style:
|
|
329
|
+
style: Sequence[Mapping[str, Any]]
|
|
330
|
+
| Mapping[str, Any]
|
|
331
|
+
| Var[Mapping[str, Any]]
|
|
332
|
+
| Breakpoints
|
|
333
|
+
| None = None,
|
|
323
334
|
key: Any | None = None,
|
|
324
335
|
id: Any | None = None,
|
|
325
336
|
class_name: Any | None = None,
|
|
@@ -405,7 +416,11 @@ class PopoverClose(RadixThemesTriggerComponent):
|
|
|
405
416
|
def create( # type: ignore
|
|
406
417
|
cls,
|
|
407
418
|
*children,
|
|
408
|
-
style:
|
|
419
|
+
style: Sequence[Mapping[str, Any]]
|
|
420
|
+
| Mapping[str, Any]
|
|
421
|
+
| Var[Mapping[str, Any]]
|
|
422
|
+
| Breakpoints
|
|
423
|
+
| None = None,
|
|
409
424
|
key: Any | None = None,
|
|
410
425
|
id: Any | None = None,
|
|
411
426
|
class_name: Any | None = None,
|
|
@@ -3,11 +3,10 @@
|
|
|
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.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.event import EventType
|
|
10
|
-
from reflex.style import Style
|
|
11
10
|
from reflex.vars.base import Var
|
|
12
11
|
|
|
13
12
|
from ..base import RadixThemesComponent
|
|
@@ -92,7 +91,11 @@ class Progress(RadixThemesComponent):
|
|
|
92
91
|
| None = None,
|
|
93
92
|
duration: Var[str] | str | None = None,
|
|
94
93
|
fill_color: Var[str] | str | None = None,
|
|
95
|
-
style:
|
|
94
|
+
style: Sequence[Mapping[str, Any]]
|
|
95
|
+
| Mapping[str, Any]
|
|
96
|
+
| Var[Mapping[str, Any]]
|
|
97
|
+
| Breakpoints
|
|
98
|
+
| None = None,
|
|
96
99
|
key: Any | None = None,
|
|
97
100
|
id: Any | None = None,
|
|
98
101
|
class_name: Any | None = None,
|