reflex 0.7.0a1__py3-none-any.whl → 0.7.0a2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +1 -1
- reflex/app.py +6 -8
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.pyi +17 -21
- reflex/components/base/fragment.pyi +16 -16
- reflex/components/base/head.pyi +31 -31
- reflex/components/base/link.pyi +31 -31
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.pyi +16 -16
- reflex/components/core/banner.py +95 -19
- reflex/components/core/banner.pyi +91 -91
- reflex/components/core/client_side_routing.pyi +31 -31
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +5 -0
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/sticky.pyi +61 -61
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.pyi +222 -256
- reflex/components/el/elements/inline.pyi +421 -421
- reflex/components/el/elements/media.pyi +376 -376
- reflex/components/el/elements/metadata.pyi +91 -91
- reflex/components/el/elements/other.pyi +106 -106
- reflex/components/el/elements/scripts.pyi +46 -46
- reflex/components/el/elements/sectioning.pyi +226 -226
- reflex/components/el/elements/tables.pyi +151 -151
- reflex/components/el/elements/typography.pyi +226 -226
- reflex/components/gridjs/datatable.pyi +31 -31
- reflex/components/lucide/icon.pyi +46 -46
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.pyi +18 -18
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/plotly.pyi +34 -44
- reflex/components/radix/primitives/accordion.pyi +107 -107
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.pyi +175 -183
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.pyi +110 -112
- reflex/components/radix/themes/components/aspect_ratio.pyi +16 -16
- reflex/components/radix/themes/components/avatar.pyi +16 -16
- reflex/components/radix/themes/components/badge.pyi +16 -16
- reflex/components/radix/themes/components/button.pyi +16 -16
- reflex/components/radix/themes/components/callout.pyi +76 -76
- reflex/components/radix/themes/components/card.pyi +16 -16
- reflex/components/radix/themes/components/checkbox.pyi +49 -55
- reflex/components/radix/themes/components/checkbox_cards.pyi +31 -31
- reflex/components/radix/themes/components/checkbox_group.pyi +31 -31
- reflex/components/radix/themes/components/context_menu.pyi +149 -155
- reflex/components/radix/themes/components/data_list.pyi +61 -61
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.pyi +16 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.pyi +68 -70
- reflex/components/radix/themes/components/progress.pyi +16 -16
- reflex/components/radix/themes/components/radio.pyi +16 -16
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.pyi +62 -64
- reflex/components/radix/themes/components/scroll_area.pyi +16 -16
- reflex/components/radix/themes/components/segmented_control.pyi +32 -35
- reflex/components/radix/themes/components/select.py +1 -0
- reflex/components/radix/themes/components/select.pyi +145 -157
- reflex/components/radix/themes/components/separator.pyi +16 -16
- reflex/components/radix/themes/components/skeleton.py +3 -0
- reflex/components/radix/themes/components/skeleton.pyi +16 -16
- reflex/components/radix/themes/components/slider.pyi +22 -28
- reflex/components/radix/themes/components/spinner.pyi +16 -16
- reflex/components/radix/themes/components/switch.pyi +17 -19
- reflex/components/radix/themes/components/table.pyi +106 -106
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.pyi +19 -33
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +3 -0
- reflex/components/radix/themes/components/tooltip.pyi +19 -21
- reflex/components/radix/themes/layout/base.pyi +16 -16
- reflex/components/radix/themes/layout/box.pyi +16 -16
- reflex/components/radix/themes/layout/center.pyi +16 -16
- reflex/components/radix/themes/layout/container.pyi +16 -16
- reflex/components/radix/themes/layout/flex.pyi +16 -16
- reflex/components/radix/themes/layout/grid.pyi +16 -16
- reflex/components/radix/themes/layout/list.pyi +76 -76
- reflex/components/radix/themes/layout/section.pyi +16 -16
- reflex/components/radix/themes/layout/spacer.pyi +16 -16
- reflex/components/radix/themes/layout/stack.pyi +46 -46
- reflex/components/radix/themes/typography/blockquote.pyi +16 -16
- reflex/components/radix/themes/typography/code.pyi +16 -16
- reflex/components/radix/themes/typography/heading.pyi +16 -16
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.pyi +92 -92
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.pyi +16 -16
- reflex/components/suneditor/editor.pyi +24 -38
- reflex/event.py +89 -51
- reflex/experimental/layout.pyi +78 -82
- reflex/page.py +2 -2
- reflex/utils/exceptions.py +13 -0
- reflex/utils/format.py +1 -1
- reflex/utils/prerequisites.py +3 -3
- reflex/utils/pyi_generator.py +9 -8
- reflex/vars/base.py +6 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/METADATA +1 -1
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/RECORD +128 -128
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/entry_points.txt +0 -0
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, List, Literal, Optional, Tuple, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
9
9
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponentWithClassName
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
@@ -27,21 +27,21 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
|
|
|
27
27
|
class_name: Optional[Any] = None,
|
|
28
28
|
autofocus: Optional[bool] = None,
|
|
29
29
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
30
|
-
on_blur: Optional[EventType[
|
|
31
|
-
on_click: Optional[EventType[
|
|
32
|
-
on_context_menu: Optional[EventType[
|
|
33
|
-
on_double_click: Optional[EventType[
|
|
34
|
-
on_focus: Optional[EventType[
|
|
35
|
-
on_mount: Optional[EventType[
|
|
36
|
-
on_mouse_down: Optional[EventType[
|
|
37
|
-
on_mouse_enter: Optional[EventType[
|
|
38
|
-
on_mouse_leave: Optional[EventType[
|
|
39
|
-
on_mouse_move: Optional[EventType[
|
|
40
|
-
on_mouse_out: Optional[EventType[
|
|
41
|
-
on_mouse_over: Optional[EventType[
|
|
42
|
-
on_mouse_up: Optional[EventType[
|
|
43
|
-
on_scroll: Optional[EventType[
|
|
44
|
-
on_unmount: Optional[EventType[
|
|
30
|
+
on_blur: Optional[EventType[()]] = None,
|
|
31
|
+
on_click: Optional[EventType[()]] = None,
|
|
32
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
33
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
34
|
+
on_focus: Optional[EventType[()]] = None,
|
|
35
|
+
on_mount: Optional[EventType[()]] = None,
|
|
36
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
37
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
38
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
39
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
40
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
41
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
42
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
43
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
44
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
45
45
|
**props,
|
|
46
46
|
) -> "SliderComponent":
|
|
47
47
|
"""Create the component.
|
|
@@ -94,27 +94,23 @@ class SliderRoot(SliderComponent):
|
|
|
94
94
|
class_name: Optional[Any] = None,
|
|
95
95
|
autofocus: Optional[bool] = None,
|
|
96
96
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
97
|
-
on_blur: Optional[EventType[
|
|
98
|
-
on_click: Optional[EventType[
|
|
99
|
-
on_context_menu: Optional[EventType[
|
|
100
|
-
on_double_click: Optional[EventType[
|
|
101
|
-
on_focus: Optional[EventType[
|
|
102
|
-
on_mount: Optional[EventType[
|
|
103
|
-
on_mouse_down: Optional[EventType[
|
|
104
|
-
on_mouse_enter: Optional[EventType[
|
|
105
|
-
on_mouse_leave: Optional[EventType[
|
|
106
|
-
on_mouse_move: Optional[EventType[
|
|
107
|
-
on_mouse_out: Optional[EventType[
|
|
108
|
-
on_mouse_over: Optional[EventType[
|
|
109
|
-
on_mouse_up: Optional[EventType[
|
|
110
|
-
on_scroll: Optional[EventType[
|
|
111
|
-
on_unmount: Optional[EventType[
|
|
112
|
-
on_value_change: Optional[
|
|
113
|
-
|
|
114
|
-
] = None,
|
|
115
|
-
on_value_commit: Optional[
|
|
116
|
-
Union[EventType[[], BASE_STATE], EventType[[List[int]], BASE_STATE]]
|
|
117
|
-
] = None,
|
|
97
|
+
on_blur: Optional[EventType[()]] = None,
|
|
98
|
+
on_click: Optional[EventType[()]] = None,
|
|
99
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
100
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
101
|
+
on_focus: Optional[EventType[()]] = None,
|
|
102
|
+
on_mount: Optional[EventType[()]] = None,
|
|
103
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
104
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
105
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
106
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
107
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
108
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
109
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
110
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
111
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
112
|
+
on_value_change: Optional[Union[EventType[()], EventType[List[int]]]] = None,
|
|
113
|
+
on_value_commit: Optional[Union[EventType[()], EventType[List[int]]]] = None,
|
|
118
114
|
**props,
|
|
119
115
|
) -> "SliderRoot":
|
|
120
116
|
"""Create the component.
|
|
@@ -151,21 +147,21 @@ class SliderTrack(SliderComponent):
|
|
|
151
147
|
class_name: Optional[Any] = None,
|
|
152
148
|
autofocus: Optional[bool] = None,
|
|
153
149
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
154
|
-
on_blur: Optional[EventType[
|
|
155
|
-
on_click: Optional[EventType[
|
|
156
|
-
on_context_menu: Optional[EventType[
|
|
157
|
-
on_double_click: Optional[EventType[
|
|
158
|
-
on_focus: Optional[EventType[
|
|
159
|
-
on_mount: Optional[EventType[
|
|
160
|
-
on_mouse_down: Optional[EventType[
|
|
161
|
-
on_mouse_enter: Optional[EventType[
|
|
162
|
-
on_mouse_leave: Optional[EventType[
|
|
163
|
-
on_mouse_move: Optional[EventType[
|
|
164
|
-
on_mouse_out: Optional[EventType[
|
|
165
|
-
on_mouse_over: Optional[EventType[
|
|
166
|
-
on_mouse_up: Optional[EventType[
|
|
167
|
-
on_scroll: Optional[EventType[
|
|
168
|
-
on_unmount: Optional[EventType[
|
|
150
|
+
on_blur: Optional[EventType[()]] = None,
|
|
151
|
+
on_click: Optional[EventType[()]] = None,
|
|
152
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
153
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
154
|
+
on_focus: Optional[EventType[()]] = None,
|
|
155
|
+
on_mount: Optional[EventType[()]] = None,
|
|
156
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
157
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
158
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
159
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
160
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
161
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
162
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
163
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
164
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
169
165
|
**props,
|
|
170
166
|
) -> "SliderTrack":
|
|
171
167
|
"""Create the component.
|
|
@@ -200,21 +196,21 @@ class SliderRange(SliderComponent):
|
|
|
200
196
|
class_name: Optional[Any] = None,
|
|
201
197
|
autofocus: Optional[bool] = None,
|
|
202
198
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
203
|
-
on_blur: Optional[EventType[
|
|
204
|
-
on_click: Optional[EventType[
|
|
205
|
-
on_context_menu: Optional[EventType[
|
|
206
|
-
on_double_click: Optional[EventType[
|
|
207
|
-
on_focus: Optional[EventType[
|
|
208
|
-
on_mount: Optional[EventType[
|
|
209
|
-
on_mouse_down: Optional[EventType[
|
|
210
|
-
on_mouse_enter: Optional[EventType[
|
|
211
|
-
on_mouse_leave: Optional[EventType[
|
|
212
|
-
on_mouse_move: Optional[EventType[
|
|
213
|
-
on_mouse_out: Optional[EventType[
|
|
214
|
-
on_mouse_over: Optional[EventType[
|
|
215
|
-
on_mouse_up: Optional[EventType[
|
|
216
|
-
on_scroll: Optional[EventType[
|
|
217
|
-
on_unmount: Optional[EventType[
|
|
199
|
+
on_blur: Optional[EventType[()]] = None,
|
|
200
|
+
on_click: Optional[EventType[()]] = None,
|
|
201
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
202
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
203
|
+
on_focus: Optional[EventType[()]] = None,
|
|
204
|
+
on_mount: Optional[EventType[()]] = None,
|
|
205
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
206
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
207
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
208
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
209
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
210
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
211
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
212
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
213
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
218
214
|
**props,
|
|
219
215
|
) -> "SliderRange":
|
|
220
216
|
"""Create the component.
|
|
@@ -249,21 +245,21 @@ class SliderThumb(SliderComponent):
|
|
|
249
245
|
class_name: Optional[Any] = None,
|
|
250
246
|
autofocus: Optional[bool] = None,
|
|
251
247
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
252
|
-
on_blur: Optional[EventType[
|
|
253
|
-
on_click: Optional[EventType[
|
|
254
|
-
on_context_menu: Optional[EventType[
|
|
255
|
-
on_double_click: Optional[EventType[
|
|
256
|
-
on_focus: Optional[EventType[
|
|
257
|
-
on_mount: Optional[EventType[
|
|
258
|
-
on_mouse_down: Optional[EventType[
|
|
259
|
-
on_mouse_enter: Optional[EventType[
|
|
260
|
-
on_mouse_leave: Optional[EventType[
|
|
261
|
-
on_mouse_move: Optional[EventType[
|
|
262
|
-
on_mouse_out: Optional[EventType[
|
|
263
|
-
on_mouse_over: Optional[EventType[
|
|
264
|
-
on_mouse_up: Optional[EventType[
|
|
265
|
-
on_scroll: Optional[EventType[
|
|
266
|
-
on_unmount: Optional[EventType[
|
|
248
|
+
on_blur: Optional[EventType[()]] = None,
|
|
249
|
+
on_click: Optional[EventType[()]] = None,
|
|
250
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
251
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
252
|
+
on_focus: Optional[EventType[()]] = None,
|
|
253
|
+
on_mount: Optional[EventType[()]] = None,
|
|
254
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
255
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
256
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
257
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
258
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
259
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
260
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
261
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
262
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
267
263
|
**props,
|
|
268
264
|
) -> "SliderThumb":
|
|
269
265
|
"""Create the component.
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components import Component
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.utils.imports import ImportDict
|
|
13
13
|
from reflex.vars.base import Var
|
|
@@ -104,21 +104,21 @@ class CommonMarginProps(Component):
|
|
|
104
104
|
class_name: Optional[Any] = None,
|
|
105
105
|
autofocus: Optional[bool] = None,
|
|
106
106
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
107
|
-
on_blur: Optional[EventType[
|
|
108
|
-
on_click: Optional[EventType[
|
|
109
|
-
on_context_menu: Optional[EventType[
|
|
110
|
-
on_double_click: Optional[EventType[
|
|
111
|
-
on_focus: Optional[EventType[
|
|
112
|
-
on_mount: Optional[EventType[
|
|
113
|
-
on_mouse_down: Optional[EventType[
|
|
114
|
-
on_mouse_enter: Optional[EventType[
|
|
115
|
-
on_mouse_leave: Optional[EventType[
|
|
116
|
-
on_mouse_move: Optional[EventType[
|
|
117
|
-
on_mouse_out: Optional[EventType[
|
|
118
|
-
on_mouse_over: Optional[EventType[
|
|
119
|
-
on_mouse_up: Optional[EventType[
|
|
120
|
-
on_scroll: Optional[EventType[
|
|
121
|
-
on_unmount: Optional[EventType[
|
|
107
|
+
on_blur: Optional[EventType[()]] = None,
|
|
108
|
+
on_click: Optional[EventType[()]] = None,
|
|
109
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
110
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
111
|
+
on_focus: Optional[EventType[()]] = None,
|
|
112
|
+
on_mount: Optional[EventType[()]] = None,
|
|
113
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
114
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
115
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
116
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
117
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
118
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
119
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
120
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
121
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
122
122
|
**props,
|
|
123
123
|
) -> "CommonMarginProps":
|
|
124
124
|
"""Create the component.
|
|
@@ -276,21 +276,21 @@ class CommonPaddingProps(Component):
|
|
|
276
276
|
class_name: Optional[Any] = None,
|
|
277
277
|
autofocus: Optional[bool] = None,
|
|
278
278
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
279
|
-
on_blur: Optional[EventType[
|
|
280
|
-
on_click: Optional[EventType[
|
|
281
|
-
on_context_menu: Optional[EventType[
|
|
282
|
-
on_double_click: Optional[EventType[
|
|
283
|
-
on_focus: Optional[EventType[
|
|
284
|
-
on_mount: Optional[EventType[
|
|
285
|
-
on_mouse_down: Optional[EventType[
|
|
286
|
-
on_mouse_enter: Optional[EventType[
|
|
287
|
-
on_mouse_leave: Optional[EventType[
|
|
288
|
-
on_mouse_move: Optional[EventType[
|
|
289
|
-
on_mouse_out: Optional[EventType[
|
|
290
|
-
on_mouse_over: Optional[EventType[
|
|
291
|
-
on_mouse_up: Optional[EventType[
|
|
292
|
-
on_scroll: Optional[EventType[
|
|
293
|
-
on_unmount: Optional[EventType[
|
|
279
|
+
on_blur: Optional[EventType[()]] = None,
|
|
280
|
+
on_click: Optional[EventType[()]] = None,
|
|
281
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
282
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
283
|
+
on_focus: Optional[EventType[()]] = None,
|
|
284
|
+
on_mount: Optional[EventType[()]] = None,
|
|
285
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
286
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
287
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
288
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
289
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
290
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
291
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
292
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
293
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
294
294
|
**props,
|
|
295
295
|
) -> "CommonPaddingProps":
|
|
296
296
|
"""Create the component.
|
|
@@ -330,21 +330,21 @@ class RadixLoadingProp(Component):
|
|
|
330
330
|
class_name: Optional[Any] = None,
|
|
331
331
|
autofocus: Optional[bool] = None,
|
|
332
332
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
333
|
-
on_blur: Optional[EventType[
|
|
334
|
-
on_click: Optional[EventType[
|
|
335
|
-
on_context_menu: Optional[EventType[
|
|
336
|
-
on_double_click: Optional[EventType[
|
|
337
|
-
on_focus: Optional[EventType[
|
|
338
|
-
on_mount: Optional[EventType[
|
|
339
|
-
on_mouse_down: Optional[EventType[
|
|
340
|
-
on_mouse_enter: Optional[EventType[
|
|
341
|
-
on_mouse_leave: Optional[EventType[
|
|
342
|
-
on_mouse_move: Optional[EventType[
|
|
343
|
-
on_mouse_out: Optional[EventType[
|
|
344
|
-
on_mouse_over: Optional[EventType[
|
|
345
|
-
on_mouse_up: Optional[EventType[
|
|
346
|
-
on_scroll: Optional[EventType[
|
|
347
|
-
on_unmount: Optional[EventType[
|
|
333
|
+
on_blur: Optional[EventType[()]] = None,
|
|
334
|
+
on_click: Optional[EventType[()]] = None,
|
|
335
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
336
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
337
|
+
on_focus: Optional[EventType[()]] = None,
|
|
338
|
+
on_mount: Optional[EventType[()]] = None,
|
|
339
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
340
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
341
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
342
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
343
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
344
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
345
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
346
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
347
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
348
348
|
**props,
|
|
349
349
|
) -> "RadixLoadingProp":
|
|
350
350
|
"""Create the component.
|
|
@@ -377,21 +377,21 @@ class RadixThemesComponent(Component):
|
|
|
377
377
|
class_name: Optional[Any] = None,
|
|
378
378
|
autofocus: Optional[bool] = None,
|
|
379
379
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
380
|
-
on_blur: Optional[EventType[
|
|
381
|
-
on_click: Optional[EventType[
|
|
382
|
-
on_context_menu: Optional[EventType[
|
|
383
|
-
on_double_click: Optional[EventType[
|
|
384
|
-
on_focus: Optional[EventType[
|
|
385
|
-
on_mount: Optional[EventType[
|
|
386
|
-
on_mouse_down: Optional[EventType[
|
|
387
|
-
on_mouse_enter: Optional[EventType[
|
|
388
|
-
on_mouse_leave: Optional[EventType[
|
|
389
|
-
on_mouse_move: Optional[EventType[
|
|
390
|
-
on_mouse_out: Optional[EventType[
|
|
391
|
-
on_mouse_over: Optional[EventType[
|
|
392
|
-
on_mouse_up: Optional[EventType[
|
|
393
|
-
on_scroll: Optional[EventType[
|
|
394
|
-
on_unmount: Optional[EventType[
|
|
380
|
+
on_blur: Optional[EventType[()]] = None,
|
|
381
|
+
on_click: Optional[EventType[()]] = None,
|
|
382
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
383
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
384
|
+
on_focus: Optional[EventType[()]] = None,
|
|
385
|
+
on_mount: Optional[EventType[()]] = None,
|
|
386
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
387
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
388
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
389
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
390
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
391
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
392
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
393
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
394
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
395
395
|
**props,
|
|
396
396
|
) -> "RadixThemesComponent":
|
|
397
397
|
"""Create a new component instance.
|
|
@@ -426,21 +426,21 @@ class RadixThemesTriggerComponent(RadixThemesComponent):
|
|
|
426
426
|
class_name: Optional[Any] = None,
|
|
427
427
|
autofocus: Optional[bool] = None,
|
|
428
428
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
429
|
-
on_blur: Optional[EventType[
|
|
430
|
-
on_click: Optional[EventType[
|
|
431
|
-
on_context_menu: Optional[EventType[
|
|
432
|
-
on_double_click: Optional[EventType[
|
|
433
|
-
on_focus: Optional[EventType[
|
|
434
|
-
on_mount: Optional[EventType[
|
|
435
|
-
on_mouse_down: Optional[EventType[
|
|
436
|
-
on_mouse_enter: Optional[EventType[
|
|
437
|
-
on_mouse_leave: Optional[EventType[
|
|
438
|
-
on_mouse_move: Optional[EventType[
|
|
439
|
-
on_mouse_out: Optional[EventType[
|
|
440
|
-
on_mouse_over: Optional[EventType[
|
|
441
|
-
on_mouse_up: Optional[EventType[
|
|
442
|
-
on_scroll: Optional[EventType[
|
|
443
|
-
on_unmount: Optional[EventType[
|
|
429
|
+
on_blur: Optional[EventType[()]] = None,
|
|
430
|
+
on_click: Optional[EventType[()]] = None,
|
|
431
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
432
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
433
|
+
on_focus: Optional[EventType[()]] = None,
|
|
434
|
+
on_mount: Optional[EventType[()]] = None,
|
|
435
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
436
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
437
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
438
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
439
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
440
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
441
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
442
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
443
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
444
444
|
**props,
|
|
445
445
|
) -> "RadixThemesTriggerComponent":
|
|
446
446
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
@@ -558,21 +558,21 @@ class Theme(RadixThemesComponent):
|
|
|
558
558
|
class_name: Optional[Any] = None,
|
|
559
559
|
autofocus: Optional[bool] = None,
|
|
560
560
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
561
|
-
on_blur: Optional[EventType[
|
|
562
|
-
on_click: Optional[EventType[
|
|
563
|
-
on_context_menu: Optional[EventType[
|
|
564
|
-
on_double_click: Optional[EventType[
|
|
565
|
-
on_focus: Optional[EventType[
|
|
566
|
-
on_mount: Optional[EventType[
|
|
567
|
-
on_mouse_down: Optional[EventType[
|
|
568
|
-
on_mouse_enter: Optional[EventType[
|
|
569
|
-
on_mouse_leave: Optional[EventType[
|
|
570
|
-
on_mouse_move: Optional[EventType[
|
|
571
|
-
on_mouse_out: Optional[EventType[
|
|
572
|
-
on_mouse_over: Optional[EventType[
|
|
573
|
-
on_mouse_up: Optional[EventType[
|
|
574
|
-
on_scroll: Optional[EventType[
|
|
575
|
-
on_unmount: Optional[EventType[
|
|
561
|
+
on_blur: Optional[EventType[()]] = None,
|
|
562
|
+
on_click: Optional[EventType[()]] = None,
|
|
563
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
564
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
565
|
+
on_focus: Optional[EventType[()]] = None,
|
|
566
|
+
on_mount: Optional[EventType[()]] = None,
|
|
567
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
568
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
569
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
570
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
571
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
572
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
573
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
574
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
575
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
576
576
|
**props,
|
|
577
577
|
) -> "Theme":
|
|
578
578
|
"""Create a new Radix Theme specification.
|
|
@@ -617,21 +617,21 @@ class ThemePanel(RadixThemesComponent):
|
|
|
617
617
|
class_name: Optional[Any] = None,
|
|
618
618
|
autofocus: Optional[bool] = None,
|
|
619
619
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
620
|
-
on_blur: Optional[EventType[
|
|
621
|
-
on_click: Optional[EventType[
|
|
622
|
-
on_context_menu: Optional[EventType[
|
|
623
|
-
on_double_click: Optional[EventType[
|
|
624
|
-
on_focus: Optional[EventType[
|
|
625
|
-
on_mount: Optional[EventType[
|
|
626
|
-
on_mouse_down: Optional[EventType[
|
|
627
|
-
on_mouse_enter: Optional[EventType[
|
|
628
|
-
on_mouse_leave: Optional[EventType[
|
|
629
|
-
on_mouse_move: Optional[EventType[
|
|
630
|
-
on_mouse_out: Optional[EventType[
|
|
631
|
-
on_mouse_over: Optional[EventType[
|
|
632
|
-
on_mouse_up: Optional[EventType[
|
|
633
|
-
on_scroll: Optional[EventType[
|
|
634
|
-
on_unmount: Optional[EventType[
|
|
620
|
+
on_blur: Optional[EventType[()]] = None,
|
|
621
|
+
on_click: Optional[EventType[()]] = None,
|
|
622
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
623
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
624
|
+
on_focus: Optional[EventType[()]] = None,
|
|
625
|
+
on_mount: Optional[EventType[()]] = None,
|
|
626
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
627
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
628
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
629
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
630
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
631
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
632
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
633
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
634
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
635
635
|
**props,
|
|
636
636
|
) -> "ThemePanel":
|
|
637
637
|
"""Create a new component instance.
|
|
@@ -667,21 +667,21 @@ class RadixThemesColorModeProvider(Component):
|
|
|
667
667
|
class_name: Optional[Any] = None,
|
|
668
668
|
autofocus: Optional[bool] = None,
|
|
669
669
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
670
|
-
on_blur: Optional[EventType[
|
|
671
|
-
on_click: Optional[EventType[
|
|
672
|
-
on_context_menu: Optional[EventType[
|
|
673
|
-
on_double_click: Optional[EventType[
|
|
674
|
-
on_focus: Optional[EventType[
|
|
675
|
-
on_mount: Optional[EventType[
|
|
676
|
-
on_mouse_down: Optional[EventType[
|
|
677
|
-
on_mouse_enter: Optional[EventType[
|
|
678
|
-
on_mouse_leave: Optional[EventType[
|
|
679
|
-
on_mouse_move: Optional[EventType[
|
|
680
|
-
on_mouse_out: Optional[EventType[
|
|
681
|
-
on_mouse_over: Optional[EventType[
|
|
682
|
-
on_mouse_up: Optional[EventType[
|
|
683
|
-
on_scroll: Optional[EventType[
|
|
684
|
-
on_unmount: Optional[EventType[
|
|
670
|
+
on_blur: Optional[EventType[()]] = None,
|
|
671
|
+
on_click: Optional[EventType[()]] = None,
|
|
672
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
673
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
674
|
+
on_focus: Optional[EventType[()]] = None,
|
|
675
|
+
on_mount: Optional[EventType[()]] = None,
|
|
676
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
677
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
678
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
679
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
680
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
681
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
682
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
683
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
684
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
685
685
|
**props,
|
|
686
686
|
) -> "RadixThemesColorModeProvider":
|
|
687
687
|
"""Create the component.
|