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.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.vars.base import Var
|
|
13
13
|
|
|
@@ -112,24 +112,22 @@ class RadioGroupRoot(RadixThemesComponent):
|
|
|
112
112
|
class_name: Optional[Any] = None,
|
|
113
113
|
autofocus: Optional[bool] = None,
|
|
114
114
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
115
|
-
on_blur: Optional[EventType[
|
|
116
|
-
on_change: Optional[
|
|
117
|
-
|
|
118
|
-
] = None,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
132
|
-
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
115
|
+
on_blur: Optional[EventType[()]] = None,
|
|
116
|
+
on_change: Optional[Union[EventType[()], EventType[str]]] = None,
|
|
117
|
+
on_click: Optional[EventType[()]] = None,
|
|
118
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
119
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
120
|
+
on_focus: Optional[EventType[()]] = None,
|
|
121
|
+
on_mount: Optional[EventType[()]] = None,
|
|
122
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
123
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
124
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
125
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
126
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
127
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
128
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
129
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
130
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
133
131
|
**props,
|
|
134
132
|
) -> "RadioGroupRoot":
|
|
135
133
|
"""Create a new component instance.
|
|
@@ -177,21 +175,21 @@ class RadioGroupItem(RadixThemesComponent):
|
|
|
177
175
|
class_name: Optional[Any] = None,
|
|
178
176
|
autofocus: Optional[bool] = None,
|
|
179
177
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
180
|
-
on_blur: Optional[EventType[
|
|
181
|
-
on_click: Optional[EventType[
|
|
182
|
-
on_context_menu: Optional[EventType[
|
|
183
|
-
on_double_click: Optional[EventType[
|
|
184
|
-
on_focus: Optional[EventType[
|
|
185
|
-
on_mount: Optional[EventType[
|
|
186
|
-
on_mouse_down: Optional[EventType[
|
|
187
|
-
on_mouse_enter: Optional[EventType[
|
|
188
|
-
on_mouse_leave: Optional[EventType[
|
|
189
|
-
on_mouse_move: Optional[EventType[
|
|
190
|
-
on_mouse_out: Optional[EventType[
|
|
191
|
-
on_mouse_over: Optional[EventType[
|
|
192
|
-
on_mouse_up: Optional[EventType[
|
|
193
|
-
on_scroll: Optional[EventType[
|
|
194
|
-
on_unmount: Optional[EventType[
|
|
178
|
+
on_blur: Optional[EventType[()]] = None,
|
|
179
|
+
on_click: Optional[EventType[()]] = None,
|
|
180
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
181
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
182
|
+
on_focus: Optional[EventType[()]] = None,
|
|
183
|
+
on_mount: Optional[EventType[()]] = None,
|
|
184
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
185
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
186
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
187
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
188
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
189
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
190
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
191
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
192
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
195
193
|
**props,
|
|
196
194
|
) -> "RadioGroupItem":
|
|
197
195
|
"""Create a new component instance.
|
|
@@ -319,21 +317,21 @@ class HighLevelRadioGroup(RadixThemesComponent):
|
|
|
319
317
|
class_name: Optional[Any] = None,
|
|
320
318
|
autofocus: Optional[bool] = None,
|
|
321
319
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
322
|
-
on_blur: Optional[EventType[
|
|
323
|
-
on_click: Optional[EventType[
|
|
324
|
-
on_context_menu: Optional[EventType[
|
|
325
|
-
on_double_click: Optional[EventType[
|
|
326
|
-
on_focus: Optional[EventType[
|
|
327
|
-
on_mount: Optional[EventType[
|
|
328
|
-
on_mouse_down: Optional[EventType[
|
|
329
|
-
on_mouse_enter: Optional[EventType[
|
|
330
|
-
on_mouse_leave: Optional[EventType[
|
|
331
|
-
on_mouse_move: Optional[EventType[
|
|
332
|
-
on_mouse_out: Optional[EventType[
|
|
333
|
-
on_mouse_over: Optional[EventType[
|
|
334
|
-
on_mouse_up: Optional[EventType[
|
|
335
|
-
on_scroll: Optional[EventType[
|
|
336
|
-
on_unmount: Optional[EventType[
|
|
320
|
+
on_blur: Optional[EventType[()]] = None,
|
|
321
|
+
on_click: Optional[EventType[()]] = None,
|
|
322
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
323
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
324
|
+
on_focus: Optional[EventType[()]] = None,
|
|
325
|
+
on_mount: Optional[EventType[()]] = None,
|
|
326
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
327
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
328
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
329
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
330
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
331
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
332
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
333
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
334
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
337
335
|
**props,
|
|
338
336
|
) -> "HighLevelRadioGroup":
|
|
339
337
|
"""Create a radio group component.
|
|
@@ -471,21 +469,21 @@ class RadioGroup(ComponentNamespace):
|
|
|
471
469
|
class_name: Optional[Any] = None,
|
|
472
470
|
autofocus: Optional[bool] = None,
|
|
473
471
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
474
|
-
on_blur: Optional[EventType[
|
|
475
|
-
on_click: Optional[EventType[
|
|
476
|
-
on_context_menu: Optional[EventType[
|
|
477
|
-
on_double_click: Optional[EventType[
|
|
478
|
-
on_focus: Optional[EventType[
|
|
479
|
-
on_mount: Optional[EventType[
|
|
480
|
-
on_mouse_down: Optional[EventType[
|
|
481
|
-
on_mouse_enter: Optional[EventType[
|
|
482
|
-
on_mouse_leave: Optional[EventType[
|
|
483
|
-
on_mouse_move: Optional[EventType[
|
|
484
|
-
on_mouse_out: Optional[EventType[
|
|
485
|
-
on_mouse_over: Optional[EventType[
|
|
486
|
-
on_mouse_up: Optional[EventType[
|
|
487
|
-
on_scroll: Optional[EventType[
|
|
488
|
-
on_unmount: Optional[EventType[
|
|
472
|
+
on_blur: Optional[EventType[()]] = None,
|
|
473
|
+
on_click: Optional[EventType[()]] = None,
|
|
474
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
475
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
476
|
+
on_focus: Optional[EventType[()]] = None,
|
|
477
|
+
on_mount: Optional[EventType[()]] = None,
|
|
478
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
479
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
480
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
481
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
482
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
483
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
484
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
485
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
486
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
489
487
|
**props,
|
|
490
488
|
) -> "HighLevelRadioGroup":
|
|
491
489
|
"""Create a radio group component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
|
-
from reflex.event import
|
|
8
|
+
from reflex.event import EventType
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
@@ -36,21 +36,21 @@ class ScrollArea(RadixThemesComponent):
|
|
|
36
36
|
class_name: Optional[Any] = None,
|
|
37
37
|
autofocus: Optional[bool] = None,
|
|
38
38
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
39
|
-
on_blur: Optional[EventType[
|
|
40
|
-
on_click: Optional[EventType[
|
|
41
|
-
on_context_menu: Optional[EventType[
|
|
42
|
-
on_double_click: Optional[EventType[
|
|
43
|
-
on_focus: Optional[EventType[
|
|
44
|
-
on_mount: Optional[EventType[
|
|
45
|
-
on_mouse_down: Optional[EventType[
|
|
46
|
-
on_mouse_enter: Optional[EventType[
|
|
47
|
-
on_mouse_leave: Optional[EventType[
|
|
48
|
-
on_mouse_move: Optional[EventType[
|
|
49
|
-
on_mouse_out: Optional[EventType[
|
|
50
|
-
on_mouse_over: Optional[EventType[
|
|
51
|
-
on_mouse_up: Optional[EventType[
|
|
52
|
-
on_scroll: Optional[EventType[
|
|
53
|
-
on_unmount: Optional[EventType[
|
|
39
|
+
on_blur: Optional[EventType[()]] = None,
|
|
40
|
+
on_click: Optional[EventType[()]] = None,
|
|
41
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
42
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
43
|
+
on_focus: Optional[EventType[()]] = None,
|
|
44
|
+
on_mount: Optional[EventType[()]] = None,
|
|
45
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
46
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
47
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
48
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
49
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
50
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
51
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
52
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
53
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
54
54
|
**props,
|
|
55
55
|
) -> "ScrollArea":
|
|
56
56
|
"""Create a new component instance.
|
|
@@ -7,7 +7,7 @@ from types import SimpleNamespace
|
|
|
7
7
|
from typing import Any, Dict, List, Literal, Optional, Tuple, Union, overload
|
|
8
8
|
|
|
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.vars.base import Var
|
|
13
13
|
|
|
@@ -118,27 +118,24 @@ class SegmentedControlRoot(RadixThemesComponent):
|
|
|
118
118
|
class_name: Optional[Any] = None,
|
|
119
119
|
autofocus: Optional[bool] = None,
|
|
120
120
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
121
|
-
on_blur: Optional[EventType[
|
|
121
|
+
on_blur: Optional[EventType[()]] = None,
|
|
122
122
|
on_change: Optional[
|
|
123
|
-
Union[
|
|
124
|
-
EventType[[], BASE_STATE],
|
|
125
|
-
EventType[[Union[str, List[str]]], BASE_STATE],
|
|
126
|
-
]
|
|
123
|
+
Union[EventType[()], EventType[Union[str, List[str]]]]
|
|
127
124
|
] = None,
|
|
128
|
-
on_click: Optional[EventType[
|
|
129
|
-
on_context_menu: Optional[EventType[
|
|
130
|
-
on_double_click: Optional[EventType[
|
|
131
|
-
on_focus: Optional[EventType[
|
|
132
|
-
on_mount: Optional[EventType[
|
|
133
|
-
on_mouse_down: Optional[EventType[
|
|
134
|
-
on_mouse_enter: Optional[EventType[
|
|
135
|
-
on_mouse_leave: Optional[EventType[
|
|
136
|
-
on_mouse_move: Optional[EventType[
|
|
137
|
-
on_mouse_out: Optional[EventType[
|
|
138
|
-
on_mouse_over: Optional[EventType[
|
|
139
|
-
on_mouse_up: Optional[EventType[
|
|
140
|
-
on_scroll: Optional[EventType[
|
|
141
|
-
on_unmount: Optional[EventType[
|
|
125
|
+
on_click: Optional[EventType[()]] = None,
|
|
126
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
127
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
128
|
+
on_focus: Optional[EventType[()]] = None,
|
|
129
|
+
on_mount: Optional[EventType[()]] = None,
|
|
130
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
131
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
132
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
133
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
134
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
135
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
136
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
137
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
138
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
142
139
|
**props,
|
|
143
140
|
) -> "SegmentedControlRoot":
|
|
144
141
|
"""Create a new component instance.
|
|
@@ -182,21 +179,21 @@ class SegmentedControlItem(RadixThemesComponent):
|
|
|
182
179
|
class_name: Optional[Any] = None,
|
|
183
180
|
autofocus: Optional[bool] = None,
|
|
184
181
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
185
|
-
on_blur: Optional[EventType[
|
|
186
|
-
on_click: Optional[EventType[
|
|
187
|
-
on_context_menu: Optional[EventType[
|
|
188
|
-
on_double_click: Optional[EventType[
|
|
189
|
-
on_focus: Optional[EventType[
|
|
190
|
-
on_mount: Optional[EventType[
|
|
191
|
-
on_mouse_down: Optional[EventType[
|
|
192
|
-
on_mouse_enter: Optional[EventType[
|
|
193
|
-
on_mouse_leave: Optional[EventType[
|
|
194
|
-
on_mouse_move: Optional[EventType[
|
|
195
|
-
on_mouse_out: Optional[EventType[
|
|
196
|
-
on_mouse_over: Optional[EventType[
|
|
197
|
-
on_mouse_up: Optional[EventType[
|
|
198
|
-
on_scroll: Optional[EventType[
|
|
199
|
-
on_unmount: Optional[EventType[
|
|
182
|
+
on_blur: Optional[EventType[()]] = None,
|
|
183
|
+
on_click: Optional[EventType[()]] = None,
|
|
184
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
185
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
186
|
+
on_focus: Optional[EventType[()]] = None,
|
|
187
|
+
on_mount: Optional[EventType[()]] = None,
|
|
188
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
189
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
190
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
191
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
192
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
193
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
194
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
195
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
196
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
200
197
|
**props,
|
|
201
198
|
) -> "SegmentedControlItem":
|
|
202
199
|
"""Create a new component instance.
|