reflex 0.7.1a4__py3-none-any.whl → 0.7.2a1__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/utils/context.js.jinja2 +8 -8
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -3
- reflex/admin.py +1 -2
- reflex/app.py +46 -49
- reflex/app_mixins/lifespan.py +2 -2
- reflex/app_mixins/middleware.py +1 -2
- reflex/assets.py +1 -2
- reflex/base.py +2 -2
- reflex/compiler/compiler.py +51 -16
- reflex/compiler/utils.py +4 -13
- reflex/components/base/app_wrap.pyi +7 -7
- reflex/components/base/bare.py +3 -3
- reflex/components/base/body.pyi +7 -7
- reflex/components/base/document.py +1 -3
- reflex/components/base/document.pyi +32 -32
- reflex/components/base/error_boundary.py +2 -4
- reflex/components/base/error_boundary.pyi +11 -13
- reflex/components/base/fragment.pyi +7 -7
- reflex/components/base/head.pyi +13 -13
- reflex/components/base/link.pyi +22 -22
- reflex/components/base/meta.py +5 -7
- reflex/components/base/meta.pyi +40 -40
- reflex/components/base/script.pyi +11 -14
- reflex/components/base/strict_mode.pyi +7 -7
- reflex/components/component.py +188 -113
- reflex/components/core/auto_scroll.py +8 -1
- reflex/components/core/auto_scroll.pyi +183 -210
- reflex/components/core/banner.py +2 -4
- reflex/components/core/banner.pyi +390 -444
- reflex/components/core/breakpoints.py +5 -5
- reflex/components/core/client_side_routing.pyi +14 -14
- reflex/components/core/clipboard.py +4 -4
- reflex/components/core/clipboard.pyi +12 -14
- reflex/components/core/cond.py +17 -25
- reflex/components/core/debounce.py +3 -3
- reflex/components/core/debounce.pyi +14 -14
- reflex/components/core/foreach.py +7 -2
- reflex/components/core/html.py +1 -3
- reflex/components/core/html.pyi +184 -213
- reflex/components/core/match.py +15 -19
- reflex/components/core/sticky.pyi +930 -1078
- reflex/components/core/upload.py +4 -4
- reflex/components/core/upload.pyi +62 -62
- reflex/components/datadisplay/code.py +6 -6
- reflex/components/datadisplay/code.pyi +1159 -1165
- reflex/components/datadisplay/dataeditor.py +49 -49
- reflex/components/datadisplay/dataeditor.pyi +95 -123
- reflex/components/datadisplay/logo.py +1 -3
- reflex/components/datadisplay/shiki_code_block.py +8 -10
- reflex/components/datadisplay/shiki_code_block.pyi +1678 -1720
- reflex/components/el/element.pyi +7 -7
- reflex/components/el/elements/base.pyi +183 -210
- reflex/components/el/elements/forms.py +23 -23
- reflex/components/el/elements/forms.pyi +2571 -2933
- reflex/components/el/elements/inline.py +4 -4
- reflex/components/el/elements/inline.pyi +5191 -5953
- reflex/components/el/elements/media.py +47 -47
- reflex/components/el/elements/media.pyi +4802 -5500
- reflex/components/el/elements/metadata.py +1 -3
- reflex/components/el/elements/metadata.pyi +782 -896
- reflex/components/el/elements/other.pyi +1278 -1467
- reflex/components/el/elements/scripts.pyi +580 -667
- reflex/components/el/elements/sectioning.pyi +2761 -3166
- reflex/components/el/elements/tables.pyi +1840 -2119
- reflex/components/el/elements/typography.pyi +2772 -3179
- reflex/components/gridjs/datatable.py +7 -7
- reflex/components/gridjs/datatable.pyi +19 -19
- reflex/components/lucide/icon.pyi +21 -21
- reflex/components/markdown/markdown.py +2 -2
- reflex/components/markdown/markdown.pyi +9 -9
- reflex/components/moment/moment.py +11 -12
- reflex/components/moment/moment.pyi +44 -47
- reflex/components/next/base.pyi +7 -7
- reflex/components/next/image.py +3 -3
- reflex/components/next/image.pyi +19 -21
- reflex/components/next/link.pyi +9 -9
- reflex/components/next/video.py +1 -3
- reflex/components/next/video.pyi +9 -9
- reflex/components/plotly/plotly.py +22 -45
- reflex/components/plotly/plotly.pyi +164 -164
- reflex/components/radix/primitives/accordion.py +14 -14
- reflex/components/radix/primitives/accordion.pyi +439 -487
- reflex/components/radix/primitives/base.py +1 -3
- reflex/components/radix/primitives/base.pyi +15 -15
- reflex/components/radix/primitives/drawer.py +3 -3
- reflex/components/radix/primitives/drawer.pyi +110 -116
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +668 -752
- reflex/components/radix/primitives/progress.py +6 -6
- reflex/components/radix/primitives/progress.pyi +225 -243
- reflex/components/radix/primitives/slider.py +6 -6
- reflex/components/radix/primitives/slider.pyi +52 -55
- reflex/components/radix/themes/base.py +3 -6
- reflex/components/radix/themes/base.pyi +197 -303
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +366 -436
- reflex/components/radix/themes/components/alert_dialog.pyi +229 -262
- reflex/components/radix/themes/components/aspect_ratio.py +1 -3
- reflex/components/radix/themes/components/aspect_ratio.pyi +8 -8
- reflex/components/radix/themes/components/avatar.pyi +79 -94
- reflex/components/radix/themes/components/badge.pyi +252 -295
- reflex/components/radix/themes/components/button.pyi +269 -314
- reflex/components/radix/themes/components/callout.py +2 -2
- reflex/components/radix/themes/components/callout.pyi +1116 -1290
- reflex/components/radix/themes/components/card.pyi +194 -229
- reflex/components/radix/themes/components/checkbox.pyi +243 -278
- reflex/components/radix/themes/components/checkbox_cards.py +3 -7
- reflex/components/radix/themes/components/checkbox_cards.pyi +101 -135
- reflex/components/radix/themes/components/checkbox_group.py +2 -2
- reflex/components/radix/themes/components/checkbox_group.pyi +83 -96
- reflex/components/radix/themes/components/context_menu.py +18 -15
- reflex/components/radix/themes/components/context_menu.pyi +408 -458
- reflex/components/radix/themes/components/data_list.pyi +122 -147
- reflex/components/radix/themes/components/dialog.pyi +231 -264
- reflex/components/radix/themes/components/dropdown_menu.py +16 -13
- reflex/components/radix/themes/components/dropdown_menu.pyi +223 -246
- reflex/components/radix/themes/components/hover_card.py +2 -2
- reflex/components/radix/themes/components/hover_card.pyi +237 -282
- reflex/components/radix/themes/components/icon_button.pyi +269 -314
- reflex/components/radix/themes/components/inset.py +8 -8
- reflex/components/radix/themes/components/inset.pyi +232 -292
- reflex/components/radix/themes/components/popover.py +2 -2
- reflex/components/radix/themes/components/popover.pyi +229 -271
- reflex/components/radix/themes/components/progress.pyi +80 -96
- reflex/components/radix/themes/components/radio.pyi +73 -86
- reflex/components/radix/themes/components/radio_cards.py +4 -8
- reflex/components/radix/themes/components/radio_cards.pyi +117 -154
- reflex/components/radix/themes/components/radio_group.py +3 -3
- reflex/components/radix/themes/components/radio_group.pyi +250 -291
- reflex/components/radix/themes/components/scroll_area.pyi +14 -20
- reflex/components/radix/themes/components/segmented_control.py +6 -6
- reflex/components/radix/themes/components/segmented_control.pyi +89 -108
- reflex/components/radix/themes/components/select.py +7 -7
- reflex/components/radix/themes/components/select.pyi +376 -444
- reflex/components/radix/themes/components/separator.pyi +79 -93
- reflex/components/radix/themes/components/skeleton.pyi +32 -26
- reflex/components/radix/themes/components/slider.py +8 -8
- reflex/components/radix/themes/components/slider.pyi +99 -122
- reflex/components/radix/themes/components/spinner.pyi +12 -19
- reflex/components/radix/themes/components/switch.pyi +84 -99
- reflex/components/radix/themes/components/table.py +9 -9
- reflex/components/radix/themes/components/table.pyi +1440 -1794
- reflex/components/radix/themes/components/tabs.py +4 -4
- reflex/components/radix/themes/components/tabs.pyi +120 -132
- reflex/components/radix/themes/components/text_area.pyi +281 -331
- reflex/components/radix/themes/components/text_field.py +2 -2
- reflex/components/radix/themes/components/text_field.pyi +639 -734
- reflex/components/radix/themes/components/tooltip.py +6 -6
- reflex/components/radix/themes/components/tooltip.pyi +34 -43
- reflex/components/radix/themes/layout/base.pyi +85 -182
- reflex/components/radix/themes/layout/box.pyi +183 -210
- reflex/components/radix/themes/layout/center.pyi +225 -286
- reflex/components/radix/themes/layout/container.pyi +191 -224
- reflex/components/radix/themes/layout/flex.py +2 -2
- reflex/components/radix/themes/layout/flex.pyi +225 -286
- reflex/components/radix/themes/layout/grid.py +2 -2
- reflex/components/radix/themes/layout/grid.pyi +245 -315
- reflex/components/radix/themes/layout/list.py +2 -2
- reflex/components/radix/themes/layout/list.pyi +712 -815
- reflex/components/radix/themes/layout/section.pyi +187 -221
- reflex/components/radix/themes/layout/spacer.pyi +225 -286
- reflex/components/radix/themes/layout/stack.pyi +625 -768
- reflex/components/radix/themes/typography/blockquote.pyi +257 -299
- reflex/components/radix/themes/typography/code.pyi +259 -304
- reflex/components/radix/themes/typography/heading.pyi +272 -324
- reflex/components/radix/themes/typography/link.pyi +302 -358
- reflex/components/radix/themes/typography/text.pyi +1669 -1945
- reflex/components/react_player/audio.pyi +20 -22
- reflex/components/react_player/react_player.pyi +19 -19
- reflex/components/react_player/video.pyi +20 -22
- reflex/components/recharts/cartesian.py +100 -97
- reflex/components/recharts/cartesian.pyi +891 -1007
- reflex/components/recharts/charts.py +42 -42
- reflex/components/recharts/charts.pyi +212 -249
- reflex/components/recharts/general.py +22 -21
- reflex/components/recharts/general.pyi +198 -223
- reflex/components/recharts/polar.py +42 -45
- reflex/components/recharts/polar.pyi +254 -288
- reflex/components/recharts/recharts.pyi +13 -13
- reflex/components/sonner/toast.py +20 -20
- reflex/components/sonner/toast.pyi +58 -61
- reflex/components/suneditor/editor.py +9 -9
- reflex/components/suneditor/editor.pyi +78 -83
- reflex/components/tags/cond_tag.py +2 -2
- reflex/components/tags/iter_tag.py +10 -14
- reflex/components/tags/match_tag.py +2 -2
- reflex/components/tags/tag.py +10 -10
- reflex/config.py +36 -35
- reflex/constants/__init__.py +56 -53
- reflex/custom_components/custom_components.py +6 -7
- reflex/event.py +38 -42
- reflex/experimental/client_state.py +2 -4
- reflex/experimental/layout.py +2 -2
- reflex/experimental/layout.pyi +579 -663
- reflex/istate/data.py +4 -5
- reflex/middleware/hydrate_middleware.py +2 -2
- reflex/middleware/middleware.py +2 -2
- reflex/model.py +3 -5
- reflex/page.py +2 -2
- reflex/reflex.py +9 -10
- reflex/state.py +77 -49
- reflex/style.py +9 -3
- reflex/testing.py +21 -24
- reflex/utils/console.py +1 -1
- reflex/utils/decorator.py +26 -1
- reflex/utils/exec.py +6 -11
- reflex/utils/export.py +2 -3
- reflex/utils/format.py +4 -4
- reflex/utils/imports.py +12 -12
- reflex/utils/prerequisites.py +35 -84
- reflex/utils/processes.py +5 -5
- reflex/utils/pyi_generator.py +33 -22
- reflex/utils/serializers.py +60 -15
- reflex/utils/types.py +237 -56
- reflex/vars/base.py +122 -72
- reflex/vars/datetime.py +2 -2
- reflex/vars/function.py +52 -55
- reflex/vars/number.py +59 -5
- reflex/vars/object.py +57 -26
- reflex/vars/sequence.py +983 -958
- {reflex-0.7.1a4.dist-info → reflex-0.7.2a1.dist-info}/METADATA +3 -6
- reflex-0.7.2a1.dist-info/RECORD +405 -0
- {reflex-0.7.1a4.dist-info → reflex-0.7.2a1.dist-info}/WHEEL +1 -1
- reflex-0.7.1a4.dist-info/RECORD +0 -405
- {reflex-0.7.1a4.dist-info → reflex-0.7.2a1.dist-info}/LICENSE +0 -0
- {reflex-0.7.1a4.dist-info → reflex-0.7.2a1.dist-info}/entry_points.txt +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any,
|
|
6
|
+
from typing import Any, Literal, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -19,32 +19,25 @@ class SelectRoot(RadixThemesComponent):
|
|
|
19
19
|
def create( # type: ignore
|
|
20
20
|
cls,
|
|
21
21
|
*children,
|
|
22
|
-
size:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
] = None,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
required: Optional[Union[Var[bool], bool]] = None,
|
|
40
|
-
style: Optional[Style] = None,
|
|
41
|
-
key: Optional[Any] = None,
|
|
42
|
-
id: Optional[Any] = None,
|
|
43
|
-
class_name: Optional[Any] = None,
|
|
44
|
-
autofocus: Optional[bool] = None,
|
|
45
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
22
|
+
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
23
|
+
| Literal["1", "2", "3"]
|
|
24
|
+
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
25
|
+
| None = None,
|
|
26
|
+
default_value: Var[str] | str | None = None,
|
|
27
|
+
value: Var[str] | str | None = None,
|
|
28
|
+
default_open: Var[bool] | bool | None = None,
|
|
29
|
+
open: Var[bool] | bool | None = None,
|
|
30
|
+
name: Var[str] | str | None = None,
|
|
31
|
+
disabled: Var[bool] | bool | None = None,
|
|
32
|
+
required: Var[bool] | bool | None = None,
|
|
33
|
+
style: Style | None = None,
|
|
34
|
+
key: Any | None = None,
|
|
35
|
+
id: Any | None = None,
|
|
36
|
+
class_name: Any | None = None,
|
|
37
|
+
autofocus: bool | None = None,
|
|
38
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
46
39
|
on_blur: Optional[EventType[()]] = None,
|
|
47
|
-
on_change: Optional[
|
|
40
|
+
on_change: Optional[EventType[()] | EventType[str]] = None,
|
|
48
41
|
on_click: Optional[EventType[()]] = None,
|
|
49
42
|
on_context_menu: Optional[EventType[()]] = None,
|
|
50
43
|
on_double_click: Optional[EventType[()]] = None,
|
|
@@ -57,7 +50,7 @@ class SelectRoot(RadixThemesComponent):
|
|
|
57
50
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
58
51
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
59
52
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
60
|
-
on_open_change: Optional[
|
|
53
|
+
on_open_change: Optional[EventType[()] | EventType[bool]] = None,
|
|
61
54
|
on_scroll: Optional[EventType[()]] = None,
|
|
62
55
|
on_unmount: Optional[EventType[()]] = None,
|
|
63
56
|
**props,
|
|
@@ -98,87 +91,78 @@ class SelectTrigger(RadixThemesComponent):
|
|
|
98
91
|
def create( # type: ignore
|
|
99
92
|
cls,
|
|
100
93
|
*children,
|
|
101
|
-
variant:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"sky",
|
|
161
|
-
"teal",
|
|
162
|
-
"tomato",
|
|
163
|
-
"violet",
|
|
164
|
-
"yellow",
|
|
165
|
-
]
|
|
166
|
-
],
|
|
94
|
+
variant: Literal["classic", "ghost", "soft", "surface"]
|
|
95
|
+
| Var[Literal["classic", "ghost", "soft", "surface"]]
|
|
96
|
+
| None = None,
|
|
97
|
+
color_scheme: Literal[
|
|
98
|
+
"amber",
|
|
99
|
+
"blue",
|
|
100
|
+
"bronze",
|
|
101
|
+
"brown",
|
|
102
|
+
"crimson",
|
|
103
|
+
"cyan",
|
|
104
|
+
"gold",
|
|
105
|
+
"grass",
|
|
106
|
+
"gray",
|
|
107
|
+
"green",
|
|
108
|
+
"indigo",
|
|
109
|
+
"iris",
|
|
110
|
+
"jade",
|
|
111
|
+
"lime",
|
|
112
|
+
"mint",
|
|
113
|
+
"orange",
|
|
114
|
+
"pink",
|
|
115
|
+
"plum",
|
|
116
|
+
"purple",
|
|
117
|
+
"red",
|
|
118
|
+
"ruby",
|
|
119
|
+
"sky",
|
|
120
|
+
"teal",
|
|
121
|
+
"tomato",
|
|
122
|
+
"violet",
|
|
123
|
+
"yellow",
|
|
124
|
+
]
|
|
125
|
+
| Var[
|
|
126
|
+
Literal[
|
|
127
|
+
"amber",
|
|
128
|
+
"blue",
|
|
129
|
+
"bronze",
|
|
130
|
+
"brown",
|
|
131
|
+
"crimson",
|
|
132
|
+
"cyan",
|
|
133
|
+
"gold",
|
|
134
|
+
"grass",
|
|
135
|
+
"gray",
|
|
136
|
+
"green",
|
|
137
|
+
"indigo",
|
|
138
|
+
"iris",
|
|
139
|
+
"jade",
|
|
140
|
+
"lime",
|
|
141
|
+
"mint",
|
|
142
|
+
"orange",
|
|
143
|
+
"pink",
|
|
144
|
+
"plum",
|
|
145
|
+
"purple",
|
|
146
|
+
"red",
|
|
147
|
+
"ruby",
|
|
148
|
+
"sky",
|
|
149
|
+
"teal",
|
|
150
|
+
"tomato",
|
|
151
|
+
"violet",
|
|
152
|
+
"yellow",
|
|
167
153
|
]
|
|
168
|
-
]
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
autofocus: Optional[bool] = None,
|
|
181
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
154
|
+
]
|
|
155
|
+
| None = None,
|
|
156
|
+
radius: Literal["full", "large", "medium", "none", "small"]
|
|
157
|
+
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
158
|
+
| None = None,
|
|
159
|
+
placeholder: Var[str] | str | None = None,
|
|
160
|
+
style: Style | None = None,
|
|
161
|
+
key: Any | None = None,
|
|
162
|
+
id: Any | None = None,
|
|
163
|
+
class_name: Any | None = None,
|
|
164
|
+
autofocus: bool | None = None,
|
|
165
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
182
166
|
on_blur: Optional[EventType[()]] = None,
|
|
183
167
|
on_click: Optional[EventType[()]] = None,
|
|
184
168
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -226,98 +210,84 @@ class SelectContent(RadixThemesComponent):
|
|
|
226
210
|
def create( # type: ignore
|
|
227
211
|
cls,
|
|
228
212
|
*children,
|
|
229
|
-
variant:
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"teal",
|
|
287
|
-
"tomato",
|
|
288
|
-
"violet",
|
|
289
|
-
"yellow",
|
|
290
|
-
]
|
|
291
|
-
],
|
|
292
|
-
]
|
|
293
|
-
] = None,
|
|
294
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
295
|
-
position: Optional[
|
|
296
|
-
Union[
|
|
297
|
-
Literal["item-aligned", "popper"],
|
|
298
|
-
Var[Literal["item-aligned", "popper"]],
|
|
213
|
+
variant: Literal["soft", "solid"] | Var[Literal["soft", "solid"]] | None = None,
|
|
214
|
+
color_scheme: Literal[
|
|
215
|
+
"amber",
|
|
216
|
+
"blue",
|
|
217
|
+
"bronze",
|
|
218
|
+
"brown",
|
|
219
|
+
"crimson",
|
|
220
|
+
"cyan",
|
|
221
|
+
"gold",
|
|
222
|
+
"grass",
|
|
223
|
+
"gray",
|
|
224
|
+
"green",
|
|
225
|
+
"indigo",
|
|
226
|
+
"iris",
|
|
227
|
+
"jade",
|
|
228
|
+
"lime",
|
|
229
|
+
"mint",
|
|
230
|
+
"orange",
|
|
231
|
+
"pink",
|
|
232
|
+
"plum",
|
|
233
|
+
"purple",
|
|
234
|
+
"red",
|
|
235
|
+
"ruby",
|
|
236
|
+
"sky",
|
|
237
|
+
"teal",
|
|
238
|
+
"tomato",
|
|
239
|
+
"violet",
|
|
240
|
+
"yellow",
|
|
241
|
+
]
|
|
242
|
+
| Var[
|
|
243
|
+
Literal[
|
|
244
|
+
"amber",
|
|
245
|
+
"blue",
|
|
246
|
+
"bronze",
|
|
247
|
+
"brown",
|
|
248
|
+
"crimson",
|
|
249
|
+
"cyan",
|
|
250
|
+
"gold",
|
|
251
|
+
"grass",
|
|
252
|
+
"gray",
|
|
253
|
+
"green",
|
|
254
|
+
"indigo",
|
|
255
|
+
"iris",
|
|
256
|
+
"jade",
|
|
257
|
+
"lime",
|
|
258
|
+
"mint",
|
|
259
|
+
"orange",
|
|
260
|
+
"pink",
|
|
261
|
+
"plum",
|
|
262
|
+
"purple",
|
|
263
|
+
"red",
|
|
264
|
+
"ruby",
|
|
265
|
+
"sky",
|
|
266
|
+
"teal",
|
|
267
|
+
"tomato",
|
|
268
|
+
"violet",
|
|
269
|
+
"yellow",
|
|
299
270
|
]
|
|
300
|
-
]
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
] = None,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
271
|
+
]
|
|
272
|
+
| None = None,
|
|
273
|
+
high_contrast: Var[bool] | bool | None = None,
|
|
274
|
+
position: Literal["item-aligned", "popper"]
|
|
275
|
+
| Var[Literal["item-aligned", "popper"]]
|
|
276
|
+
| None = None,
|
|
277
|
+
side: Literal["bottom", "left", "right", "top"]
|
|
278
|
+
| Var[Literal["bottom", "left", "right", "top"]]
|
|
279
|
+
| None = None,
|
|
280
|
+
side_offset: Var[int] | int | None = None,
|
|
281
|
+
align: Literal["center", "end", "start"]
|
|
282
|
+
| Var[Literal["center", "end", "start"]]
|
|
283
|
+
| None = None,
|
|
284
|
+
align_offset: Var[int] | int | None = None,
|
|
285
|
+
style: Style | None = None,
|
|
286
|
+
key: Any | None = None,
|
|
287
|
+
id: Any | None = None,
|
|
288
|
+
class_name: Any | None = None,
|
|
289
|
+
autofocus: bool | None = None,
|
|
290
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
321
291
|
on_blur: Optional[EventType[()]] = None,
|
|
322
292
|
on_click: Optional[EventType[()]] = None,
|
|
323
293
|
on_close_auto_focus: Optional[EventType[()]] = None,
|
|
@@ -375,12 +345,12 @@ class SelectGroup(RadixThemesComponent):
|
|
|
375
345
|
def create( # type: ignore
|
|
376
346
|
cls,
|
|
377
347
|
*children,
|
|
378
|
-
style:
|
|
379
|
-
key:
|
|
380
|
-
id:
|
|
381
|
-
class_name:
|
|
382
|
-
autofocus:
|
|
383
|
-
custom_attrs:
|
|
348
|
+
style: Style | None = None,
|
|
349
|
+
key: Any | None = None,
|
|
350
|
+
id: Any | None = None,
|
|
351
|
+
class_name: Any | None = None,
|
|
352
|
+
autofocus: bool | None = None,
|
|
353
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
384
354
|
on_blur: Optional[EventType[()]] = None,
|
|
385
355
|
on_click: Optional[EventType[()]] = None,
|
|
386
356
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -424,14 +394,14 @@ class SelectItem(RadixThemesComponent):
|
|
|
424
394
|
def create( # type: ignore
|
|
425
395
|
cls,
|
|
426
396
|
*children,
|
|
427
|
-
value:
|
|
428
|
-
disabled:
|
|
429
|
-
style:
|
|
430
|
-
key:
|
|
431
|
-
id:
|
|
432
|
-
class_name:
|
|
433
|
-
autofocus:
|
|
434
|
-
custom_attrs:
|
|
397
|
+
value: Var[str] | str | None = None,
|
|
398
|
+
disabled: Var[bool] | bool | None = None,
|
|
399
|
+
style: Style | None = None,
|
|
400
|
+
key: Any | None = None,
|
|
401
|
+
id: Any | None = None,
|
|
402
|
+
class_name: Any | None = None,
|
|
403
|
+
autofocus: bool | None = None,
|
|
404
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
435
405
|
on_blur: Optional[EventType[()]] = None,
|
|
436
406
|
on_click: Optional[EventType[()]] = None,
|
|
437
407
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -477,12 +447,12 @@ class SelectLabel(RadixThemesComponent):
|
|
|
477
447
|
def create( # type: ignore
|
|
478
448
|
cls,
|
|
479
449
|
*children,
|
|
480
|
-
style:
|
|
481
|
-
key:
|
|
482
|
-
id:
|
|
483
|
-
class_name:
|
|
484
|
-
autofocus:
|
|
485
|
-
custom_attrs:
|
|
450
|
+
style: Style | None = None,
|
|
451
|
+
key: Any | None = None,
|
|
452
|
+
id: Any | None = None,
|
|
453
|
+
class_name: Any | None = None,
|
|
454
|
+
autofocus: bool | None = None,
|
|
455
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
486
456
|
on_blur: Optional[EventType[()]] = None,
|
|
487
457
|
on_click: Optional[EventType[()]] = None,
|
|
488
458
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -526,12 +496,12 @@ class SelectSeparator(RadixThemesComponent):
|
|
|
526
496
|
def create( # type: ignore
|
|
527
497
|
cls,
|
|
528
498
|
*children,
|
|
529
|
-
style:
|
|
530
|
-
key:
|
|
531
|
-
id:
|
|
532
|
-
class_name:
|
|
533
|
-
autofocus:
|
|
534
|
-
custom_attrs:
|
|
499
|
+
style: Style | None = None,
|
|
500
|
+
key: Any | None = None,
|
|
501
|
+
id: Any | None = None,
|
|
502
|
+
class_name: Any | None = None,
|
|
503
|
+
autofocus: bool | None = None,
|
|
504
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
535
505
|
on_blur: Optional[EventType[()]] = None,
|
|
536
506
|
on_click: Optional[EventType[()]] = None,
|
|
537
507
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -575,117 +545,98 @@ class HighLevelSelect(SelectRoot):
|
|
|
575
545
|
def create( # type: ignore
|
|
576
546
|
cls,
|
|
577
547
|
*children,
|
|
578
|
-
items:
|
|
579
|
-
placeholder:
|
|
580
|
-
label:
|
|
581
|
-
color_scheme:
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
"violet",
|
|
638
|
-
"yellow",
|
|
639
|
-
]
|
|
640
|
-
],
|
|
641
|
-
]
|
|
642
|
-
] = None,
|
|
643
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
644
|
-
variant: Optional[
|
|
645
|
-
Union[
|
|
646
|
-
Literal["classic", "ghost", "soft", "surface"],
|
|
647
|
-
Var[Literal["classic", "ghost", "soft", "surface"]],
|
|
548
|
+
items: Sequence[str] | Var[Sequence[str]] | None = None,
|
|
549
|
+
placeholder: Var[str] | str | None = None,
|
|
550
|
+
label: Var[str] | str | None = None,
|
|
551
|
+
color_scheme: Literal[
|
|
552
|
+
"amber",
|
|
553
|
+
"blue",
|
|
554
|
+
"bronze",
|
|
555
|
+
"brown",
|
|
556
|
+
"crimson",
|
|
557
|
+
"cyan",
|
|
558
|
+
"gold",
|
|
559
|
+
"grass",
|
|
560
|
+
"gray",
|
|
561
|
+
"green",
|
|
562
|
+
"indigo",
|
|
563
|
+
"iris",
|
|
564
|
+
"jade",
|
|
565
|
+
"lime",
|
|
566
|
+
"mint",
|
|
567
|
+
"orange",
|
|
568
|
+
"pink",
|
|
569
|
+
"plum",
|
|
570
|
+
"purple",
|
|
571
|
+
"red",
|
|
572
|
+
"ruby",
|
|
573
|
+
"sky",
|
|
574
|
+
"teal",
|
|
575
|
+
"tomato",
|
|
576
|
+
"violet",
|
|
577
|
+
"yellow",
|
|
578
|
+
]
|
|
579
|
+
| Var[
|
|
580
|
+
Literal[
|
|
581
|
+
"amber",
|
|
582
|
+
"blue",
|
|
583
|
+
"bronze",
|
|
584
|
+
"brown",
|
|
585
|
+
"crimson",
|
|
586
|
+
"cyan",
|
|
587
|
+
"gold",
|
|
588
|
+
"grass",
|
|
589
|
+
"gray",
|
|
590
|
+
"green",
|
|
591
|
+
"indigo",
|
|
592
|
+
"iris",
|
|
593
|
+
"jade",
|
|
594
|
+
"lime",
|
|
595
|
+
"mint",
|
|
596
|
+
"orange",
|
|
597
|
+
"pink",
|
|
598
|
+
"plum",
|
|
599
|
+
"purple",
|
|
600
|
+
"red",
|
|
601
|
+
"ruby",
|
|
602
|
+
"sky",
|
|
603
|
+
"teal",
|
|
604
|
+
"tomato",
|
|
605
|
+
"violet",
|
|
606
|
+
"yellow",
|
|
648
607
|
]
|
|
649
|
-
]
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
680
|
-
required: Optional[Union[Var[bool], bool]] = None,
|
|
681
|
-
style: Optional[Style] = None,
|
|
682
|
-
key: Optional[Any] = None,
|
|
683
|
-
id: Optional[Any] = None,
|
|
684
|
-
class_name: Optional[Any] = None,
|
|
685
|
-
autofocus: Optional[bool] = None,
|
|
686
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
608
|
+
]
|
|
609
|
+
| None = None,
|
|
610
|
+
high_contrast: Var[bool] | bool | None = None,
|
|
611
|
+
variant: Literal["classic", "ghost", "soft", "surface"]
|
|
612
|
+
| Var[Literal["classic", "ghost", "soft", "surface"]]
|
|
613
|
+
| None = None,
|
|
614
|
+
radius: Literal["full", "large", "medium", "none", "small"]
|
|
615
|
+
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
616
|
+
| None = None,
|
|
617
|
+
width: Var[str] | str | None = None,
|
|
618
|
+
position: Literal["item-aligned", "popper"]
|
|
619
|
+
| Var[Literal["item-aligned", "popper"]]
|
|
620
|
+
| None = None,
|
|
621
|
+
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
622
|
+
| Literal["1", "2", "3"]
|
|
623
|
+
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
624
|
+
| None = None,
|
|
625
|
+
default_value: Var[str] | str | None = None,
|
|
626
|
+
value: Var[str] | str | None = None,
|
|
627
|
+
default_open: Var[bool] | bool | None = None,
|
|
628
|
+
open: Var[bool] | bool | None = None,
|
|
629
|
+
name: Var[str] | str | None = None,
|
|
630
|
+
disabled: Var[bool] | bool | None = None,
|
|
631
|
+
required: Var[bool] | bool | None = None,
|
|
632
|
+
style: Style | None = None,
|
|
633
|
+
key: Any | None = None,
|
|
634
|
+
id: Any | None = None,
|
|
635
|
+
class_name: Any | None = None,
|
|
636
|
+
autofocus: bool | None = None,
|
|
637
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
687
638
|
on_blur: Optional[EventType[()]] = None,
|
|
688
|
-
on_change: Optional[
|
|
639
|
+
on_change: Optional[EventType[()] | EventType[str]] = None,
|
|
689
640
|
on_click: Optional[EventType[()]] = None,
|
|
690
641
|
on_context_menu: Optional[EventType[()]] = None,
|
|
691
642
|
on_double_click: Optional[EventType[()]] = None,
|
|
@@ -698,7 +649,7 @@ class HighLevelSelect(SelectRoot):
|
|
|
698
649
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
699
650
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
700
651
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
701
|
-
on_open_change: Optional[
|
|
652
|
+
on_open_change: Optional[EventType[()] | EventType[bool]] = None,
|
|
702
653
|
on_scroll: Optional[EventType[()]] = None,
|
|
703
654
|
on_unmount: Optional[EventType[()]] = None,
|
|
704
655
|
**props,
|
|
@@ -751,117 +702,98 @@ class Select(ComponentNamespace):
|
|
|
751
702
|
@staticmethod
|
|
752
703
|
def __call__(
|
|
753
704
|
*children,
|
|
754
|
-
items:
|
|
755
|
-
placeholder:
|
|
756
|
-
label:
|
|
757
|
-
color_scheme:
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
"violet",
|
|
814
|
-
"yellow",
|
|
815
|
-
]
|
|
816
|
-
],
|
|
817
|
-
]
|
|
818
|
-
] = None,
|
|
819
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
820
|
-
variant: Optional[
|
|
821
|
-
Union[
|
|
822
|
-
Literal["classic", "ghost", "soft", "surface"],
|
|
823
|
-
Var[Literal["classic", "ghost", "soft", "surface"]],
|
|
824
|
-
]
|
|
825
|
-
] = None,
|
|
826
|
-
radius: Optional[
|
|
827
|
-
Union[
|
|
828
|
-
Literal["full", "large", "medium", "none", "small"],
|
|
829
|
-
Var[Literal["full", "large", "medium", "none", "small"]],
|
|
830
|
-
]
|
|
831
|
-
] = None,
|
|
832
|
-
width: Optional[Union[Var[str], str]] = None,
|
|
833
|
-
position: Optional[
|
|
834
|
-
Union[
|
|
835
|
-
Literal["item-aligned", "popper"],
|
|
836
|
-
Var[Literal["item-aligned", "popper"]],
|
|
837
|
-
]
|
|
838
|
-
] = None,
|
|
839
|
-
size: Optional[
|
|
840
|
-
Union[
|
|
841
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
842
|
-
Literal["1", "2", "3"],
|
|
843
|
-
Var[
|
|
844
|
-
Union[
|
|
845
|
-
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
846
|
-
]
|
|
847
|
-
],
|
|
705
|
+
items: Sequence[str] | Var[Sequence[str]] | None = None,
|
|
706
|
+
placeholder: Var[str] | str | None = None,
|
|
707
|
+
label: Var[str] | str | None = None,
|
|
708
|
+
color_scheme: Literal[
|
|
709
|
+
"amber",
|
|
710
|
+
"blue",
|
|
711
|
+
"bronze",
|
|
712
|
+
"brown",
|
|
713
|
+
"crimson",
|
|
714
|
+
"cyan",
|
|
715
|
+
"gold",
|
|
716
|
+
"grass",
|
|
717
|
+
"gray",
|
|
718
|
+
"green",
|
|
719
|
+
"indigo",
|
|
720
|
+
"iris",
|
|
721
|
+
"jade",
|
|
722
|
+
"lime",
|
|
723
|
+
"mint",
|
|
724
|
+
"orange",
|
|
725
|
+
"pink",
|
|
726
|
+
"plum",
|
|
727
|
+
"purple",
|
|
728
|
+
"red",
|
|
729
|
+
"ruby",
|
|
730
|
+
"sky",
|
|
731
|
+
"teal",
|
|
732
|
+
"tomato",
|
|
733
|
+
"violet",
|
|
734
|
+
"yellow",
|
|
735
|
+
]
|
|
736
|
+
| Var[
|
|
737
|
+
Literal[
|
|
738
|
+
"amber",
|
|
739
|
+
"blue",
|
|
740
|
+
"bronze",
|
|
741
|
+
"brown",
|
|
742
|
+
"crimson",
|
|
743
|
+
"cyan",
|
|
744
|
+
"gold",
|
|
745
|
+
"grass",
|
|
746
|
+
"gray",
|
|
747
|
+
"green",
|
|
748
|
+
"indigo",
|
|
749
|
+
"iris",
|
|
750
|
+
"jade",
|
|
751
|
+
"lime",
|
|
752
|
+
"mint",
|
|
753
|
+
"orange",
|
|
754
|
+
"pink",
|
|
755
|
+
"plum",
|
|
756
|
+
"purple",
|
|
757
|
+
"red",
|
|
758
|
+
"ruby",
|
|
759
|
+
"sky",
|
|
760
|
+
"teal",
|
|
761
|
+
"tomato",
|
|
762
|
+
"violet",
|
|
763
|
+
"yellow",
|
|
848
764
|
]
|
|
849
|
-
]
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
765
|
+
]
|
|
766
|
+
| None = None,
|
|
767
|
+
high_contrast: Var[bool] | bool | None = None,
|
|
768
|
+
variant: Literal["classic", "ghost", "soft", "surface"]
|
|
769
|
+
| Var[Literal["classic", "ghost", "soft", "surface"]]
|
|
770
|
+
| None = None,
|
|
771
|
+
radius: Literal["full", "large", "medium", "none", "small"]
|
|
772
|
+
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
773
|
+
| None = None,
|
|
774
|
+
width: Var[str] | str | None = None,
|
|
775
|
+
position: Literal["item-aligned", "popper"]
|
|
776
|
+
| Var[Literal["item-aligned", "popper"]]
|
|
777
|
+
| None = None,
|
|
778
|
+
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
779
|
+
| Literal["1", "2", "3"]
|
|
780
|
+
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
781
|
+
| None = None,
|
|
782
|
+
default_value: Var[str] | str | None = None,
|
|
783
|
+
value: Var[str] | str | None = None,
|
|
784
|
+
default_open: Var[bool] | bool | None = None,
|
|
785
|
+
open: Var[bool] | bool | None = None,
|
|
786
|
+
name: Var[str] | str | None = None,
|
|
787
|
+
disabled: Var[bool] | bool | None = None,
|
|
788
|
+
required: Var[bool] | bool | None = None,
|
|
789
|
+
style: Style | None = None,
|
|
790
|
+
key: Any | None = None,
|
|
791
|
+
id: Any | None = None,
|
|
792
|
+
class_name: Any | None = None,
|
|
793
|
+
autofocus: bool | None = None,
|
|
794
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
863
795
|
on_blur: Optional[EventType[()]] = None,
|
|
864
|
-
on_change: Optional[
|
|
796
|
+
on_change: Optional[EventType[()] | EventType[str]] = None,
|
|
865
797
|
on_click: Optional[EventType[()]] = None,
|
|
866
798
|
on_context_menu: Optional[EventType[()]] = None,
|
|
867
799
|
on_double_click: Optional[EventType[()]] = None,
|
|
@@ -874,7 +806,7 @@ class Select(ComponentNamespace):
|
|
|
874
806
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
875
807
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
876
808
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
877
|
-
on_open_change: Optional[
|
|
809
|
+
on_open_change: Optional[EventType[()] | EventType[bool]] = None,
|
|
878
810
|
on_scroll: Optional[EventType[()]] = None,
|
|
879
811
|
on_unmount: Optional[EventType[()]] = None,
|
|
880
812
|
**props,
|