reflex 0.7.0a1__py3-none-any.whl → 0.7.0a3__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/custom_components/custom_components.py +10 -4
- 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 +10 -4
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/METADATA +1 -1
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/RECORD +129 -129
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/entry_points.txt +0 -0
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, List, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponent
|
|
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
|
|
|
@@ -24,21 +24,21 @@ class DrawerComponent(RadixPrimitiveComponent):
|
|
|
24
24
|
class_name: Optional[Any] = None,
|
|
25
25
|
autofocus: Optional[bool] = None,
|
|
26
26
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
27
|
-
on_blur: Optional[EventType[
|
|
28
|
-
on_click: Optional[EventType[
|
|
29
|
-
on_context_menu: Optional[EventType[
|
|
30
|
-
on_double_click: Optional[EventType[
|
|
31
|
-
on_focus: Optional[EventType[
|
|
32
|
-
on_mount: Optional[EventType[
|
|
33
|
-
on_mouse_down: Optional[EventType[
|
|
34
|
-
on_mouse_enter: Optional[EventType[
|
|
35
|
-
on_mouse_leave: Optional[EventType[
|
|
36
|
-
on_mouse_move: Optional[EventType[
|
|
37
|
-
on_mouse_out: Optional[EventType[
|
|
38
|
-
on_mouse_over: Optional[EventType[
|
|
39
|
-
on_mouse_up: Optional[EventType[
|
|
40
|
-
on_scroll: Optional[EventType[
|
|
41
|
-
on_unmount: Optional[EventType[
|
|
27
|
+
on_blur: Optional[EventType[()]] = None,
|
|
28
|
+
on_click: Optional[EventType[()]] = None,
|
|
29
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
30
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
31
|
+
on_focus: Optional[EventType[()]] = None,
|
|
32
|
+
on_mount: Optional[EventType[()]] = None,
|
|
33
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
34
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
35
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
36
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
37
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
38
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
39
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
40
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
41
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
42
42
|
**props,
|
|
43
43
|
) -> "DrawerComponent":
|
|
44
44
|
"""Create the component.
|
|
@@ -91,27 +91,23 @@ class DrawerRoot(DrawerComponent):
|
|
|
91
91
|
class_name: Optional[Any] = None,
|
|
92
92
|
autofocus: Optional[bool] = None,
|
|
93
93
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
94
|
-
on_animation_end: Optional[
|
|
95
|
-
|
|
96
|
-
] = None,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
Union[EventType[[], BASE_STATE], EventType[[bool], BASE_STATE]]
|
|
112
|
-
] = None,
|
|
113
|
-
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
114
|
-
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
94
|
+
on_animation_end: Optional[Union[EventType[()], EventType[bool]]] = None,
|
|
95
|
+
on_blur: Optional[EventType[()]] = None,
|
|
96
|
+
on_click: Optional[EventType[()]] = None,
|
|
97
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
98
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
99
|
+
on_focus: Optional[EventType[()]] = None,
|
|
100
|
+
on_mount: Optional[EventType[()]] = None,
|
|
101
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
102
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
103
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
104
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
105
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
106
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
107
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
108
|
+
on_open_change: Optional[Union[EventType[()], EventType[bool]]] = None,
|
|
109
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
110
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
115
111
|
**props,
|
|
116
112
|
) -> "DrawerRoot":
|
|
117
113
|
"""Create the component.
|
|
@@ -159,21 +155,21 @@ class DrawerTrigger(DrawerComponent):
|
|
|
159
155
|
class_name: Optional[Any] = None,
|
|
160
156
|
autofocus: Optional[bool] = None,
|
|
161
157
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
162
|
-
on_blur: Optional[EventType[
|
|
163
|
-
on_click: Optional[EventType[
|
|
164
|
-
on_context_menu: Optional[EventType[
|
|
165
|
-
on_double_click: Optional[EventType[
|
|
166
|
-
on_focus: Optional[EventType[
|
|
167
|
-
on_mount: Optional[EventType[
|
|
168
|
-
on_mouse_down: Optional[EventType[
|
|
169
|
-
on_mouse_enter: Optional[EventType[
|
|
170
|
-
on_mouse_leave: Optional[EventType[
|
|
171
|
-
on_mouse_move: Optional[EventType[
|
|
172
|
-
on_mouse_out: Optional[EventType[
|
|
173
|
-
on_mouse_over: Optional[EventType[
|
|
174
|
-
on_mouse_up: Optional[EventType[
|
|
175
|
-
on_scroll: Optional[EventType[
|
|
176
|
-
on_unmount: Optional[EventType[
|
|
158
|
+
on_blur: Optional[EventType[()]] = None,
|
|
159
|
+
on_click: Optional[EventType[()]] = None,
|
|
160
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
161
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
162
|
+
on_focus: Optional[EventType[()]] = None,
|
|
163
|
+
on_mount: Optional[EventType[()]] = None,
|
|
164
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
165
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
166
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
167
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
168
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
169
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
170
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
171
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
172
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
177
173
|
**props,
|
|
178
174
|
) -> "DrawerTrigger":
|
|
179
175
|
"""Create a new DrawerTrigger instance.
|
|
@@ -207,21 +203,21 @@ class DrawerPortal(DrawerComponent):
|
|
|
207
203
|
class_name: Optional[Any] = None,
|
|
208
204
|
autofocus: Optional[bool] = None,
|
|
209
205
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
210
|
-
on_blur: Optional[EventType[
|
|
211
|
-
on_click: Optional[EventType[
|
|
212
|
-
on_context_menu: Optional[EventType[
|
|
213
|
-
on_double_click: Optional[EventType[
|
|
214
|
-
on_focus: Optional[EventType[
|
|
215
|
-
on_mount: Optional[EventType[
|
|
216
|
-
on_mouse_down: Optional[EventType[
|
|
217
|
-
on_mouse_enter: Optional[EventType[
|
|
218
|
-
on_mouse_leave: Optional[EventType[
|
|
219
|
-
on_mouse_move: Optional[EventType[
|
|
220
|
-
on_mouse_out: Optional[EventType[
|
|
221
|
-
on_mouse_over: Optional[EventType[
|
|
222
|
-
on_mouse_up: Optional[EventType[
|
|
223
|
-
on_scroll: Optional[EventType[
|
|
224
|
-
on_unmount: Optional[EventType[
|
|
206
|
+
on_blur: Optional[EventType[()]] = None,
|
|
207
|
+
on_click: Optional[EventType[()]] = None,
|
|
208
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
209
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
210
|
+
on_focus: Optional[EventType[()]] = None,
|
|
211
|
+
on_mount: Optional[EventType[()]] = None,
|
|
212
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
213
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
214
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
215
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
216
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
217
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
218
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
219
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
220
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
225
221
|
**props,
|
|
226
222
|
) -> "DrawerPortal":
|
|
227
223
|
"""Create the component.
|
|
@@ -255,26 +251,26 @@ class DrawerContent(DrawerComponent):
|
|
|
255
251
|
class_name: Optional[Any] = None,
|
|
256
252
|
autofocus: Optional[bool] = None,
|
|
257
253
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
258
|
-
on_blur: Optional[EventType[
|
|
259
|
-
on_click: Optional[EventType[
|
|
260
|
-
on_close_auto_focus: Optional[EventType[
|
|
261
|
-
on_context_menu: Optional[EventType[
|
|
262
|
-
on_double_click: Optional[EventType[
|
|
263
|
-
on_escape_key_down: Optional[EventType[
|
|
264
|
-
on_focus: Optional[EventType[
|
|
265
|
-
on_interact_outside: Optional[EventType[
|
|
266
|
-
on_mount: Optional[EventType[
|
|
267
|
-
on_mouse_down: Optional[EventType[
|
|
268
|
-
on_mouse_enter: Optional[EventType[
|
|
269
|
-
on_mouse_leave: Optional[EventType[
|
|
270
|
-
on_mouse_move: Optional[EventType[
|
|
271
|
-
on_mouse_out: Optional[EventType[
|
|
272
|
-
on_mouse_over: Optional[EventType[
|
|
273
|
-
on_mouse_up: Optional[EventType[
|
|
274
|
-
on_open_auto_focus: Optional[EventType[
|
|
275
|
-
on_pointer_down_outside: Optional[EventType[
|
|
276
|
-
on_scroll: Optional[EventType[
|
|
277
|
-
on_unmount: Optional[EventType[
|
|
254
|
+
on_blur: Optional[EventType[()]] = None,
|
|
255
|
+
on_click: Optional[EventType[()]] = None,
|
|
256
|
+
on_close_auto_focus: Optional[EventType[()]] = None,
|
|
257
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
258
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
259
|
+
on_escape_key_down: Optional[EventType[()]] = None,
|
|
260
|
+
on_focus: Optional[EventType[()]] = None,
|
|
261
|
+
on_interact_outside: Optional[EventType[()]] = None,
|
|
262
|
+
on_mount: Optional[EventType[()]] = None,
|
|
263
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
264
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
265
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
266
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
267
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
268
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
269
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
270
|
+
on_open_auto_focus: Optional[EventType[()]] = None,
|
|
271
|
+
on_pointer_down_outside: Optional[EventType[()]] = None,
|
|
272
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
273
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
278
274
|
**props,
|
|
279
275
|
) -> "DrawerContent":
|
|
280
276
|
"""Create a Drawer Content.
|
|
@@ -312,21 +308,21 @@ class DrawerOverlay(DrawerComponent):
|
|
|
312
308
|
class_name: Optional[Any] = None,
|
|
313
309
|
autofocus: Optional[bool] = None,
|
|
314
310
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
315
|
-
on_blur: Optional[EventType[
|
|
316
|
-
on_click: Optional[EventType[
|
|
317
|
-
on_context_menu: Optional[EventType[
|
|
318
|
-
on_double_click: Optional[EventType[
|
|
319
|
-
on_focus: Optional[EventType[
|
|
320
|
-
on_mount: Optional[EventType[
|
|
321
|
-
on_mouse_down: Optional[EventType[
|
|
322
|
-
on_mouse_enter: Optional[EventType[
|
|
323
|
-
on_mouse_leave: Optional[EventType[
|
|
324
|
-
on_mouse_move: Optional[EventType[
|
|
325
|
-
on_mouse_out: Optional[EventType[
|
|
326
|
-
on_mouse_over: Optional[EventType[
|
|
327
|
-
on_mouse_up: Optional[EventType[
|
|
328
|
-
on_scroll: Optional[EventType[
|
|
329
|
-
on_unmount: Optional[EventType[
|
|
311
|
+
on_blur: Optional[EventType[()]] = None,
|
|
312
|
+
on_click: Optional[EventType[()]] = None,
|
|
313
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
314
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
315
|
+
on_focus: Optional[EventType[()]] = None,
|
|
316
|
+
on_mount: Optional[EventType[()]] = None,
|
|
317
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
318
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
319
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
320
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
321
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
322
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
323
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
324
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
325
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
330
326
|
**props,
|
|
331
327
|
) -> "DrawerOverlay":
|
|
332
328
|
"""Create the component.
|
|
@@ -360,21 +356,21 @@ class DrawerClose(DrawerTrigger):
|
|
|
360
356
|
class_name: Optional[Any] = None,
|
|
361
357
|
autofocus: Optional[bool] = None,
|
|
362
358
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
363
|
-
on_blur: Optional[EventType[
|
|
364
|
-
on_click: Optional[EventType[
|
|
365
|
-
on_context_menu: Optional[EventType[
|
|
366
|
-
on_double_click: Optional[EventType[
|
|
367
|
-
on_focus: Optional[EventType[
|
|
368
|
-
on_mount: Optional[EventType[
|
|
369
|
-
on_mouse_down: Optional[EventType[
|
|
370
|
-
on_mouse_enter: Optional[EventType[
|
|
371
|
-
on_mouse_leave: Optional[EventType[
|
|
372
|
-
on_mouse_move: Optional[EventType[
|
|
373
|
-
on_mouse_out: Optional[EventType[
|
|
374
|
-
on_mouse_over: Optional[EventType[
|
|
375
|
-
on_mouse_up: Optional[EventType[
|
|
376
|
-
on_scroll: Optional[EventType[
|
|
377
|
-
on_unmount: Optional[EventType[
|
|
359
|
+
on_blur: Optional[EventType[()]] = None,
|
|
360
|
+
on_click: Optional[EventType[()]] = None,
|
|
361
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
362
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
363
|
+
on_focus: Optional[EventType[()]] = None,
|
|
364
|
+
on_mount: Optional[EventType[()]] = None,
|
|
365
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
366
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
367
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
368
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
369
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
370
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
371
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
372
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
373
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
378
374
|
**props,
|
|
379
375
|
) -> "DrawerClose":
|
|
380
376
|
"""Create a new DrawerTrigger instance.
|
|
@@ -408,21 +404,21 @@ class DrawerTitle(DrawerComponent):
|
|
|
408
404
|
class_name: Optional[Any] = None,
|
|
409
405
|
autofocus: Optional[bool] = None,
|
|
410
406
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
411
|
-
on_blur: Optional[EventType[
|
|
412
|
-
on_click: Optional[EventType[
|
|
413
|
-
on_context_menu: Optional[EventType[
|
|
414
|
-
on_double_click: Optional[EventType[
|
|
415
|
-
on_focus: Optional[EventType[
|
|
416
|
-
on_mount: Optional[EventType[
|
|
417
|
-
on_mouse_down: Optional[EventType[
|
|
418
|
-
on_mouse_enter: Optional[EventType[
|
|
419
|
-
on_mouse_leave: Optional[EventType[
|
|
420
|
-
on_mouse_move: Optional[EventType[
|
|
421
|
-
on_mouse_out: Optional[EventType[
|
|
422
|
-
on_mouse_over: Optional[EventType[
|
|
423
|
-
on_mouse_up: Optional[EventType[
|
|
424
|
-
on_scroll: Optional[EventType[
|
|
425
|
-
on_unmount: Optional[EventType[
|
|
407
|
+
on_blur: Optional[EventType[()]] = None,
|
|
408
|
+
on_click: Optional[EventType[()]] = None,
|
|
409
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
410
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
411
|
+
on_focus: Optional[EventType[()]] = None,
|
|
412
|
+
on_mount: Optional[EventType[()]] = None,
|
|
413
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
414
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
415
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
416
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
417
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
418
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
419
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
420
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
421
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
426
422
|
**props,
|
|
427
423
|
) -> "DrawerTitle":
|
|
428
424
|
"""Create the component.
|
|
@@ -456,21 +452,21 @@ class DrawerDescription(DrawerComponent):
|
|
|
456
452
|
class_name: Optional[Any] = None,
|
|
457
453
|
autofocus: Optional[bool] = None,
|
|
458
454
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
459
|
-
on_blur: Optional[EventType[
|
|
460
|
-
on_click: Optional[EventType[
|
|
461
|
-
on_context_menu: Optional[EventType[
|
|
462
|
-
on_double_click: Optional[EventType[
|
|
463
|
-
on_focus: Optional[EventType[
|
|
464
|
-
on_mount: Optional[EventType[
|
|
465
|
-
on_mouse_down: Optional[EventType[
|
|
466
|
-
on_mouse_enter: Optional[EventType[
|
|
467
|
-
on_mouse_leave: Optional[EventType[
|
|
468
|
-
on_mouse_move: Optional[EventType[
|
|
469
|
-
on_mouse_out: Optional[EventType[
|
|
470
|
-
on_mouse_over: Optional[EventType[
|
|
471
|
-
on_mouse_up: Optional[EventType[
|
|
472
|
-
on_scroll: Optional[EventType[
|
|
473
|
-
on_unmount: Optional[EventType[
|
|
455
|
+
on_blur: Optional[EventType[()]] = None,
|
|
456
|
+
on_click: Optional[EventType[()]] = None,
|
|
457
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
458
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
459
|
+
on_focus: Optional[EventType[()]] = None,
|
|
460
|
+
on_mount: Optional[EventType[()]] = None,
|
|
461
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
462
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
463
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
464
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
465
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
466
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
467
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
468
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
469
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
474
470
|
**props,
|
|
475
471
|
) -> "DrawerDescription":
|
|
476
472
|
"""Create the component.
|
|
@@ -504,21 +500,21 @@ class DrawerHandle(DrawerComponent):
|
|
|
504
500
|
class_name: Optional[Any] = None,
|
|
505
501
|
autofocus: Optional[bool] = None,
|
|
506
502
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
507
|
-
on_blur: Optional[EventType[
|
|
508
|
-
on_click: Optional[EventType[
|
|
509
|
-
on_context_menu: Optional[EventType[
|
|
510
|
-
on_double_click: Optional[EventType[
|
|
511
|
-
on_focus: Optional[EventType[
|
|
512
|
-
on_mount: Optional[EventType[
|
|
513
|
-
on_mouse_down: Optional[EventType[
|
|
514
|
-
on_mouse_enter: Optional[EventType[
|
|
515
|
-
on_mouse_leave: Optional[EventType[
|
|
516
|
-
on_mouse_move: Optional[EventType[
|
|
517
|
-
on_mouse_out: Optional[EventType[
|
|
518
|
-
on_mouse_over: Optional[EventType[
|
|
519
|
-
on_mouse_up: Optional[EventType[
|
|
520
|
-
on_scroll: Optional[EventType[
|
|
521
|
-
on_unmount: Optional[EventType[
|
|
503
|
+
on_blur: Optional[EventType[()]] = None,
|
|
504
|
+
on_click: Optional[EventType[()]] = None,
|
|
505
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
506
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
507
|
+
on_focus: Optional[EventType[()]] = None,
|
|
508
|
+
on_mount: Optional[EventType[()]] = None,
|
|
509
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
510
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
511
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
512
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
513
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
514
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
515
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
516
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
517
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
522
518
|
**props,
|
|
523
519
|
) -> "DrawerHandle":
|
|
524
520
|
"""Create the component.
|
|
@@ -577,27 +573,23 @@ class Drawer(ComponentNamespace):
|
|
|
577
573
|
class_name: Optional[Any] = None,
|
|
578
574
|
autofocus: Optional[bool] = None,
|
|
579
575
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
580
|
-
on_animation_end: Optional[
|
|
581
|
-
|
|
582
|
-
] = None,
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
Union[EventType[[], BASE_STATE], EventType[[bool], BASE_STATE]]
|
|
598
|
-
] = None,
|
|
599
|
-
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
600
|
-
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
576
|
+
on_animation_end: Optional[Union[EventType[()], EventType[bool]]] = None,
|
|
577
|
+
on_blur: Optional[EventType[()]] = None,
|
|
578
|
+
on_click: Optional[EventType[()]] = None,
|
|
579
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
580
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
581
|
+
on_focus: Optional[EventType[()]] = None,
|
|
582
|
+
on_mount: Optional[EventType[()]] = None,
|
|
583
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
584
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
585
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
586
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
587
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
588
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
589
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
590
|
+
on_open_change: Optional[Union[EventType[()], EventType[bool]]] = None,
|
|
591
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
592
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
601
593
|
**props,
|
|
602
594
|
) -> "DrawerRoot":
|
|
603
595
|
"""Create the component.
|