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,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
|
|
@@ -85,7 +84,11 @@ class Radio(RadixThemesComponent):
|
|
|
85
84
|
]
|
|
86
85
|
| None = None,
|
|
87
86
|
high_contrast: Var[bool] | bool | None = None,
|
|
88
|
-
style:
|
|
87
|
+
style: Sequence[Mapping[str, Any]]
|
|
88
|
+
| Mapping[str, Any]
|
|
89
|
+
| Var[Mapping[str, Any]]
|
|
90
|
+
| Breakpoints
|
|
91
|
+
| None = None,
|
|
89
92
|
key: Any | None = None,
|
|
90
93
|
id: Any | None = None,
|
|
91
94
|
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
|
|
@@ -119,7 +118,11 @@ class RadioCardsRoot(RadixThemesComponent):
|
|
|
119
118
|
| None = None,
|
|
120
119
|
dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
|
|
121
120
|
loop: Var[bool] | bool | None = None,
|
|
122
|
-
style:
|
|
121
|
+
style: Sequence[Mapping[str, Any]]
|
|
122
|
+
| Mapping[str, Any]
|
|
123
|
+
| Var[Mapping[str, Any]]
|
|
124
|
+
| Breakpoints
|
|
125
|
+
| None = None,
|
|
123
126
|
key: Any | None = None,
|
|
124
127
|
id: Any | None = None,
|
|
125
128
|
class_name: Any | None = None,
|
|
@@ -188,7 +191,11 @@ class RadioCardsItem(RadixThemesComponent):
|
|
|
188
191
|
value: Var[str] | str | None = None,
|
|
189
192
|
disabled: Var[bool] | bool | None = None,
|
|
190
193
|
required: Var[bool] | bool | None = None,
|
|
191
|
-
style:
|
|
194
|
+
style: Sequence[Mapping[str, Any]]
|
|
195
|
+
| Mapping[str, Any]
|
|
196
|
+
| Var[Mapping[str, Any]]
|
|
197
|
+
| Breakpoints
|
|
198
|
+
| None = None,
|
|
192
199
|
key: Any | None = None,
|
|
193
200
|
id: Any | None = None,
|
|
194
201
|
class_name: Any | None = None,
|
|
@@ -179,7 +179,12 @@ class HighLevelRadioGroup(RadixThemesComponent):
|
|
|
179
179
|
as_="label",
|
|
180
180
|
)
|
|
181
181
|
|
|
182
|
-
children = [
|
|
182
|
+
children = [
|
|
183
|
+
rx.foreach(
|
|
184
|
+
items,
|
|
185
|
+
radio_group_item,
|
|
186
|
+
)
|
|
187
|
+
]
|
|
183
188
|
|
|
184
189
|
return RadioGroupRoot.create(
|
|
185
190
|
Flex.create(
|
|
@@ -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
|
|
@@ -93,7 +92,11 @@ class RadioGroupRoot(RadixThemesComponent):
|
|
|
93
92
|
disabled: Var[bool] | bool | None = None,
|
|
94
93
|
name: Var[str] | str | None = None,
|
|
95
94
|
required: Var[bool] | bool | None = None,
|
|
96
|
-
style:
|
|
95
|
+
style: Sequence[Mapping[str, Any]]
|
|
96
|
+
| Mapping[str, Any]
|
|
97
|
+
| Var[Mapping[str, Any]]
|
|
98
|
+
| Breakpoints
|
|
99
|
+
| None = None,
|
|
97
100
|
key: Any | None = None,
|
|
98
101
|
id: Any | None = None,
|
|
99
102
|
class_name: Any | None = None,
|
|
@@ -156,7 +159,11 @@ class RadioGroupItem(RadixThemesComponent):
|
|
|
156
159
|
value: Var[str] | str | None = None,
|
|
157
160
|
disabled: Var[bool] | bool | None = None,
|
|
158
161
|
required: Var[bool] | bool | None = None,
|
|
159
|
-
style:
|
|
162
|
+
style: Sequence[Mapping[str, Any]]
|
|
163
|
+
| Mapping[str, Any]
|
|
164
|
+
| Var[Mapping[str, Any]]
|
|
165
|
+
| Breakpoints
|
|
166
|
+
| None = None,
|
|
160
167
|
key: Any | None = None,
|
|
161
168
|
id: Any | None = None,
|
|
162
169
|
class_name: Any | None = None,
|
|
@@ -284,7 +291,11 @@ class HighLevelRadioGroup(RadixThemesComponent):
|
|
|
284
291
|
disabled: Var[bool] | bool | None = None,
|
|
285
292
|
name: Var[str] | str | None = None,
|
|
286
293
|
required: Var[bool] | bool | None = None,
|
|
287
|
-
style:
|
|
294
|
+
style: Sequence[Mapping[str, Any]]
|
|
295
|
+
| Mapping[str, Any]
|
|
296
|
+
| Var[Mapping[str, Any]]
|
|
297
|
+
| Breakpoints
|
|
298
|
+
| None = None,
|
|
288
299
|
key: Any | None = None,
|
|
289
300
|
id: Any | None = None,
|
|
290
301
|
class_name: Any | None = None,
|
|
@@ -422,7 +433,11 @@ class RadioGroup(ComponentNamespace):
|
|
|
422
433
|
disabled: Var[bool] | bool | None = None,
|
|
423
434
|
name: Var[str] | str | None = None,
|
|
424
435
|
required: Var[bool] | bool | None = None,
|
|
425
|
-
style:
|
|
436
|
+
style: Sequence[Mapping[str, Any]]
|
|
437
|
+
| Mapping[str, Any]
|
|
438
|
+
| Var[Mapping[str, Any]]
|
|
439
|
+
| Breakpoints
|
|
440
|
+
| None = None,
|
|
426
441
|
key: Any | None = None,
|
|
427
442
|
id: Any | None = None,
|
|
428
443
|
class_name: Any | None = None,
|
|
@@ -3,10 +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
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
8
9
|
from reflex.event import EventType
|
|
9
|
-
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
12
12
|
from ..base import RadixThemesComponent
|
|
@@ -24,7 +24,11 @@ class ScrollArea(RadixThemesComponent):
|
|
|
24
24
|
| Var[Literal["always", "auto", "hover", "scroll"]]
|
|
25
25
|
| None = None,
|
|
26
26
|
scroll_hide_delay: Var[int] | int | None = None,
|
|
27
|
-
style:
|
|
27
|
+
style: Sequence[Mapping[str, Any]]
|
|
28
|
+
| Mapping[str, Any]
|
|
29
|
+
| Var[Mapping[str, Any]]
|
|
30
|
+
| Breakpoints
|
|
31
|
+
| None = None,
|
|
28
32
|
key: Any | None = None,
|
|
29
33
|
id: Any | None = None,
|
|
30
34
|
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, Sequence, 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
|
|
@@ -95,7 +94,11 @@ class SegmentedControlRoot(RadixThemesComponent):
|
|
|
95
94
|
| None = None,
|
|
96
95
|
default_value: Sequence[str] | Var[Sequence[str] | str] | str | None = None,
|
|
97
96
|
value: Sequence[str] | Var[Sequence[str] | str] | str | None = None,
|
|
98
|
-
style:
|
|
97
|
+
style: Sequence[Mapping[str, Any]]
|
|
98
|
+
| Mapping[str, Any]
|
|
99
|
+
| Var[Mapping[str, Any]]
|
|
100
|
+
| Breakpoints
|
|
101
|
+
| None = None,
|
|
99
102
|
key: Any | None = None,
|
|
100
103
|
id: Any | None = None,
|
|
101
104
|
class_name: Any | None = None,
|
|
@@ -154,7 +157,11 @@ class SegmentedControlItem(RadixThemesComponent):
|
|
|
154
157
|
cls,
|
|
155
158
|
*children,
|
|
156
159
|
value: Var[str] | str | None = None,
|
|
157
|
-
style:
|
|
160
|
+
style: Sequence[Mapping[str, Any]]
|
|
161
|
+
| Mapping[str, Any]
|
|
162
|
+
| Var[Mapping[str, Any]]
|
|
163
|
+
| Breakpoints
|
|
164
|
+
| None = None,
|
|
158
165
|
key: Any | None = None,
|
|
159
166
|
id: Any | None = None,
|
|
160
167
|
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, 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 SelectRoot(RadixThemesComponent):
|
|
|
30
29
|
name: Var[str] | str | None = None,
|
|
31
30
|
disabled: Var[bool] | bool | None = None,
|
|
32
31
|
required: Var[bool] | bool | 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,
|
|
@@ -157,7 +160,11 @@ class SelectTrigger(RadixThemesComponent):
|
|
|
157
160
|
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
158
161
|
| None = None,
|
|
159
162
|
placeholder: Var[str] | str | None = None,
|
|
160
|
-
style:
|
|
163
|
+
style: Sequence[Mapping[str, Any]]
|
|
164
|
+
| Mapping[str, Any]
|
|
165
|
+
| Var[Mapping[str, Any]]
|
|
166
|
+
| Breakpoints
|
|
167
|
+
| None = None,
|
|
161
168
|
key: Any | None = None,
|
|
162
169
|
id: Any | None = None,
|
|
163
170
|
class_name: Any | None = None,
|
|
@@ -282,7 +289,11 @@ class SelectContent(RadixThemesComponent):
|
|
|
282
289
|
| Var[Literal["center", "end", "start"]]
|
|
283
290
|
| None = None,
|
|
284
291
|
align_offset: Var[int] | int | None = None,
|
|
285
|
-
style:
|
|
292
|
+
style: Sequence[Mapping[str, Any]]
|
|
293
|
+
| Mapping[str, Any]
|
|
294
|
+
| Var[Mapping[str, Any]]
|
|
295
|
+
| Breakpoints
|
|
296
|
+
| None = None,
|
|
286
297
|
key: Any | None = None,
|
|
287
298
|
id: Any | None = None,
|
|
288
299
|
class_name: Any | None = None,
|
|
@@ -345,7 +356,11 @@ class SelectGroup(RadixThemesComponent):
|
|
|
345
356
|
def create( # type: ignore
|
|
346
357
|
cls,
|
|
347
358
|
*children,
|
|
348
|
-
style:
|
|
359
|
+
style: Sequence[Mapping[str, Any]]
|
|
360
|
+
| Mapping[str, Any]
|
|
361
|
+
| Var[Mapping[str, Any]]
|
|
362
|
+
| Breakpoints
|
|
363
|
+
| None = None,
|
|
349
364
|
key: Any | None = None,
|
|
350
365
|
id: Any | None = None,
|
|
351
366
|
class_name: Any | None = None,
|
|
@@ -396,7 +411,11 @@ class SelectItem(RadixThemesComponent):
|
|
|
396
411
|
*children,
|
|
397
412
|
value: Var[str] | str | None = None,
|
|
398
413
|
disabled: Var[bool] | bool | None = None,
|
|
399
|
-
style:
|
|
414
|
+
style: Sequence[Mapping[str, Any]]
|
|
415
|
+
| Mapping[str, Any]
|
|
416
|
+
| Var[Mapping[str, Any]]
|
|
417
|
+
| Breakpoints
|
|
418
|
+
| None = None,
|
|
400
419
|
key: Any | None = None,
|
|
401
420
|
id: Any | None = None,
|
|
402
421
|
class_name: Any | None = None,
|
|
@@ -447,7 +466,11 @@ class SelectLabel(RadixThemesComponent):
|
|
|
447
466
|
def create( # type: ignore
|
|
448
467
|
cls,
|
|
449
468
|
*children,
|
|
450
|
-
style:
|
|
469
|
+
style: Sequence[Mapping[str, Any]]
|
|
470
|
+
| Mapping[str, Any]
|
|
471
|
+
| Var[Mapping[str, Any]]
|
|
472
|
+
| Breakpoints
|
|
473
|
+
| None = None,
|
|
451
474
|
key: Any | None = None,
|
|
452
475
|
id: Any | None = None,
|
|
453
476
|
class_name: Any | None = None,
|
|
@@ -496,7 +519,11 @@ class SelectSeparator(RadixThemesComponent):
|
|
|
496
519
|
def create( # type: ignore
|
|
497
520
|
cls,
|
|
498
521
|
*children,
|
|
499
|
-
style:
|
|
522
|
+
style: Sequence[Mapping[str, Any]]
|
|
523
|
+
| Mapping[str, Any]
|
|
524
|
+
| Var[Mapping[str, Any]]
|
|
525
|
+
| Breakpoints
|
|
526
|
+
| None = None,
|
|
500
527
|
key: Any | None = None,
|
|
501
528
|
id: Any | None = None,
|
|
502
529
|
class_name: Any | None = None,
|
|
@@ -629,7 +656,11 @@ class HighLevelSelect(SelectRoot):
|
|
|
629
656
|
name: Var[str] | str | None = None,
|
|
630
657
|
disabled: Var[bool] | bool | None = None,
|
|
631
658
|
required: Var[bool] | bool | None = None,
|
|
632
|
-
style:
|
|
659
|
+
style: Sequence[Mapping[str, Any]]
|
|
660
|
+
| Mapping[str, Any]
|
|
661
|
+
| Var[Mapping[str, Any]]
|
|
662
|
+
| Breakpoints
|
|
663
|
+
| None = None,
|
|
633
664
|
key: Any | None = None,
|
|
634
665
|
id: Any | None = None,
|
|
635
666
|
class_name: Any | None = None,
|
|
@@ -786,7 +817,11 @@ class Select(ComponentNamespace):
|
|
|
786
817
|
name: Var[str] | str | None = None,
|
|
787
818
|
disabled: Var[bool] | bool | None = None,
|
|
788
819
|
required: Var[bool] | bool | None = None,
|
|
789
|
-
style:
|
|
820
|
+
style: Sequence[Mapping[str, Any]]
|
|
821
|
+
| Mapping[str, Any]
|
|
822
|
+
| Var[Mapping[str, Any]]
|
|
823
|
+
| Breakpoints
|
|
824
|
+
| None = None,
|
|
790
825
|
key: Any | None = None,
|
|
791
826
|
id: Any | None = None,
|
|
792
827
|
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
|
|
@@ -93,7 +92,11 @@ class Separator(RadixThemesComponent):
|
|
|
93
92
|
]
|
|
94
93
|
| None = None,
|
|
95
94
|
decorative: Var[bool] | bool | None = None,
|
|
96
|
-
style:
|
|
95
|
+
style: Sequence[Mapping[str, Any]]
|
|
96
|
+
| Mapping[str, Any]
|
|
97
|
+
| Var[Mapping[str, Any]]
|
|
98
|
+
| Breakpoints
|
|
99
|
+
| None = None,
|
|
97
100
|
key: Any | None = None,
|
|
98
101
|
id: Any | None = None,
|
|
99
102
|
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, Optional, overload
|
|
6
|
+
from typing import Any, 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 RadixLoadingProp, RadixThemesComponent
|
|
@@ -43,7 +42,11 @@ class Skeleton(RadixLoadingProp, RadixThemesComponent):
|
|
|
43
42
|
| str
|
|
44
43
|
| None = None,
|
|
45
44
|
loading: Var[bool] | bool | None = None,
|
|
46
|
-
style:
|
|
45
|
+
style: Sequence[Mapping[str, Any]]
|
|
46
|
+
| Mapping[str, Any]
|
|
47
|
+
| Var[Mapping[str, Any]]
|
|
48
|
+
| Breakpoints
|
|
49
|
+
| None = None,
|
|
47
50
|
key: Any | None = None,
|
|
48
51
|
id: Any | None = None,
|
|
49
52
|
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, Sequence, Union, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.event import EventType, passthrough_event_spec
|
|
10
|
-
from reflex.style import Style
|
|
11
10
|
from reflex.vars.base import Var
|
|
12
11
|
|
|
13
12
|
from ..base import RadixThemesComponent
|
|
@@ -110,7 +109,11 @@ class Slider(RadixThemesComponent):
|
|
|
110
109
|
orientation: Literal["horizontal", "vertical"]
|
|
111
110
|
| Var[Literal["horizontal", "vertical"]]
|
|
112
111
|
| None = None,
|
|
113
|
-
style:
|
|
112
|
+
style: Sequence[Mapping[str, Any]]
|
|
113
|
+
| Mapping[str, Any]
|
|
114
|
+
| Var[Mapping[str, Any]]
|
|
115
|
+
| Breakpoints
|
|
116
|
+
| None = None,
|
|
114
117
|
key: Any | None = None,
|
|
115
118
|
id: Any | None = None,
|
|
116
119
|
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 RadixLoadingProp, RadixThemesComponent
|
|
@@ -25,7 +24,11 @@ class Spinner(RadixLoadingProp, RadixThemesComponent):
|
|
|
25
24
|
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
26
25
|
| None = None,
|
|
27
26
|
loading: Var[bool] | bool | None = None,
|
|
28
|
-
style:
|
|
27
|
+
style: Sequence[Mapping[str, Any]]
|
|
28
|
+
| Mapping[str, Any]
|
|
29
|
+
| Var[Mapping[str, Any]]
|
|
30
|
+
| Breakpoints
|
|
31
|
+
| None = None,
|
|
29
32
|
key: Any | None = None,
|
|
30
33
|
id: Any | None = None,
|
|
31
34
|
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
|
|
@@ -97,7 +96,11 @@ class Switch(RadixThemesComponent):
|
|
|
97
96
|
radius: Literal["full", "none", "small"]
|
|
98
97
|
| Var[Literal["full", "none", "small"]]
|
|
99
98
|
| None = None,
|
|
100
|
-
style:
|
|
99
|
+
style: Sequence[Mapping[str, Any]]
|
|
100
|
+
| Mapping[str, Any]
|
|
101
|
+
| Var[Mapping[str, Any]]
|
|
102
|
+
| Breakpoints
|
|
103
|
+
| None = None,
|
|
101
104
|
key: Any | None = None,
|
|
102
105
|
id: Any | None = None,
|
|
103
106
|
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 CommonPaddingProps, RadixThemesComponent
|
|
@@ -209,7 +208,11 @@ class TableRoot(elements.Table, RadixThemesComponent):
|
|
|
209
208
|
spell_check: Var[bool] | bool | None = None,
|
|
210
209
|
tab_index: Var[int] | int | None = None,
|
|
211
210
|
title: Var[str] | str | None = None,
|
|
212
|
-
style:
|
|
211
|
+
style: Sequence[Mapping[str, Any]]
|
|
212
|
+
| Mapping[str, Any]
|
|
213
|
+
| Var[Mapping[str, Any]]
|
|
214
|
+
| Breakpoints
|
|
215
|
+
| None = None,
|
|
213
216
|
key: Any | None = None,
|
|
214
217
|
id: Any | None = None,
|
|
215
218
|
class_name: Any | None = None,
|
|
@@ -456,7 +459,11 @@ class TableHeader(elements.Thead, RadixThemesComponent):
|
|
|
456
459
|
spell_check: Var[bool] | bool | None = None,
|
|
457
460
|
tab_index: Var[int] | int | None = None,
|
|
458
461
|
title: Var[str] | str | None = None,
|
|
459
|
-
style:
|
|
462
|
+
style: Sequence[Mapping[str, Any]]
|
|
463
|
+
| Mapping[str, Any]
|
|
464
|
+
| Var[Mapping[str, Any]]
|
|
465
|
+
| Breakpoints
|
|
466
|
+
| None = None,
|
|
460
467
|
key: Any | None = None,
|
|
461
468
|
id: Any | None = None,
|
|
462
469
|
class_name: Any | None = None,
|
|
@@ -702,7 +709,11 @@ class TableRow(elements.Tr, RadixThemesComponent):
|
|
|
702
709
|
spell_check: Var[bool] | bool | None = None,
|
|
703
710
|
tab_index: Var[int] | int | None = None,
|
|
704
711
|
title: Var[str] | str | None = None,
|
|
705
|
-
style:
|
|
712
|
+
style: Sequence[Mapping[str, Any]]
|
|
713
|
+
| Mapping[str, Any]
|
|
714
|
+
| Var[Mapping[str, Any]]
|
|
715
|
+
| Breakpoints
|
|
716
|
+
| None = None,
|
|
706
717
|
key: Any | None = None,
|
|
707
718
|
id: Any | None = None,
|
|
708
719
|
class_name: Any | None = None,
|
|
@@ -964,7 +975,11 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
964
975
|
spell_check: Var[bool] | bool | None = None,
|
|
965
976
|
tab_index: Var[int] | int | None = None,
|
|
966
977
|
title: Var[str] | str | None = None,
|
|
967
|
-
style:
|
|
978
|
+
style: Sequence[Mapping[str, Any]]
|
|
979
|
+
| Mapping[str, Any]
|
|
980
|
+
| Var[Mapping[str, Any]]
|
|
981
|
+
| Breakpoints
|
|
982
|
+
| None = None,
|
|
968
983
|
key: Any | None = None,
|
|
969
984
|
id: Any | None = None,
|
|
970
985
|
class_name: Any | None = None,
|
|
@@ -1215,7 +1230,11 @@ class TableBody(elements.Tbody, RadixThemesComponent):
|
|
|
1215
1230
|
spell_check: Var[bool] | bool | None = None,
|
|
1216
1231
|
tab_index: Var[int] | int | None = None,
|
|
1217
1232
|
title: Var[str] | str | None = None,
|
|
1218
|
-
style:
|
|
1233
|
+
style: Sequence[Mapping[str, Any]]
|
|
1234
|
+
| Mapping[str, Any]
|
|
1235
|
+
| Var[Mapping[str, Any]]
|
|
1236
|
+
| Breakpoints
|
|
1237
|
+
| None = None,
|
|
1219
1238
|
key: Any | None = None,
|
|
1220
1239
|
id: Any | None = None,
|
|
1221
1240
|
class_name: Any | None = None,
|
|
@@ -1524,7 +1543,11 @@ class TableCell(elements.Td, CommonPaddingProps, RadixThemesComponent):
|
|
|
1524
1543
|
| Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
1525
1544
|
]
|
|
1526
1545
|
| None = None,
|
|
1527
|
-
style:
|
|
1546
|
+
style: Sequence[Mapping[str, Any]]
|
|
1547
|
+
| Mapping[str, Any]
|
|
1548
|
+
| Var[Mapping[str, Any]]
|
|
1549
|
+
| Breakpoints
|
|
1550
|
+
| None = None,
|
|
1528
1551
|
key: Any | None = None,
|
|
1529
1552
|
id: Any | None = None,
|
|
1530
1553
|
class_name: Any | None = None,
|
|
@@ -1848,7 +1871,11 @@ class TableRowHeaderCell(elements.Th, CommonPaddingProps, RadixThemesComponent):
|
|
|
1848
1871
|
| Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
1849
1872
|
]
|
|
1850
1873
|
| None = None,
|
|
1851
|
-
style:
|
|
1874
|
+
style: Sequence[Mapping[str, Any]]
|
|
1875
|
+
| Mapping[str, Any]
|
|
1876
|
+
| Var[Mapping[str, Any]]
|
|
1877
|
+
| Breakpoints
|
|
1878
|
+
| None = None,
|
|
1852
1879
|
key: Any | None = None,
|
|
1853
1880
|
id: Any | None = None,
|
|
1854
1881
|
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
|
|
@@ -31,7 +30,11 @@ class TabsRoot(RadixThemesComponent):
|
|
|
31
30
|
activation_mode: Literal["automatic", "manual"]
|
|
32
31
|
| Var[Literal["automatic", "manual"]]
|
|
33
32
|
| None = None,
|
|
34
|
-
style:
|
|
33
|
+
style: Sequence[Mapping[str, Any]]
|
|
34
|
+
| Mapping[str, Any]
|
|
35
|
+
| Var[Mapping[str, Any]]
|
|
36
|
+
| Breakpoints
|
|
37
|
+
| None = None,
|
|
35
38
|
key: Any | None = None,
|
|
36
39
|
id: Any | None = None,
|
|
37
40
|
class_name: Any | None = None,
|
|
@@ -93,7 +96,11 @@ class TabsList(RadixThemesComponent):
|
|
|
93
96
|
| Var[Breakpoints[str, Literal["1", "2"]] | Literal["1", "2"]]
|
|
94
97
|
| None = None,
|
|
95
98
|
loop: Var[bool] | bool | None = None,
|
|
96
|
-
style:
|
|
99
|
+
style: Sequence[Mapping[str, Any]]
|
|
100
|
+
| Mapping[str, Any]
|
|
101
|
+
| Var[Mapping[str, Any]]
|
|
102
|
+
| Breakpoints
|
|
103
|
+
| None = None,
|
|
97
104
|
key: Any | None = None,
|
|
98
105
|
id: Any | None = None,
|
|
99
106
|
class_name: Any | None = None,
|
|
@@ -205,7 +212,11 @@ class TabsTrigger(RadixThemesComponent):
|
|
|
205
212
|
]
|
|
206
213
|
]
|
|
207
214
|
| None = None,
|
|
208
|
-
style:
|
|
215
|
+
style: Sequence[Mapping[str, Any]]
|
|
216
|
+
| Mapping[str, Any]
|
|
217
|
+
| Var[Mapping[str, Any]]
|
|
218
|
+
| Breakpoints
|
|
219
|
+
| None = None,
|
|
209
220
|
key: Any | None = None,
|
|
210
221
|
id: Any | None = None,
|
|
211
222
|
class_name: Any | None = None,
|
|
@@ -259,7 +270,11 @@ class TabsContent(RadixThemesComponent):
|
|
|
259
270
|
*children,
|
|
260
271
|
value: Var[str] | str | None = None,
|
|
261
272
|
force_mount: Var[bool] | bool | None = None,
|
|
262
|
-
style:
|
|
273
|
+
style: Sequence[Mapping[str, Any]]
|
|
274
|
+
| Mapping[str, Any]
|
|
275
|
+
| Var[Mapping[str, Any]]
|
|
276
|
+
| Breakpoints
|
|
277
|
+
| None = None,
|
|
263
278
|
key: Any | None = None,
|
|
264
279
|
id: Any | None = None,
|
|
265
280
|
class_name: Any | None = None,
|
|
@@ -322,7 +337,11 @@ class Tabs(ComponentNamespace):
|
|
|
322
337
|
activation_mode: Literal["automatic", "manual"]
|
|
323
338
|
| Var[Literal["automatic", "manual"]]
|
|
324
339
|
| None = None,
|
|
325
|
-
style:
|
|
340
|
+
style: Sequence[Mapping[str, Any]]
|
|
341
|
+
| Mapping[str, Any]
|
|
342
|
+
| Var[Mapping[str, Any]]
|
|
343
|
+
| Breakpoints
|
|
344
|
+
| None = None,
|
|
326
345
|
key: Any | None = None,
|
|
327
346
|
id: Any | None = None,
|
|
328
347
|
class_name: Any | None = None,
|