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 Component, ComponentNamespace
|
|
9
9
|
from reflex.components.lucide.icon import Icon
|
|
@@ -26,81 +26,75 @@ class AccordionComponent(RadixPrimitiveComponent):
|
|
|
26
26
|
def create( # type: ignore
|
|
27
27
|
cls,
|
|
28
28
|
*children,
|
|
29
|
-
color_scheme:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"violet",
|
|
86
|
-
"yellow",
|
|
87
|
-
]
|
|
88
|
-
],
|
|
29
|
+
color_scheme: Literal[
|
|
30
|
+
"amber",
|
|
31
|
+
"blue",
|
|
32
|
+
"bronze",
|
|
33
|
+
"brown",
|
|
34
|
+
"crimson",
|
|
35
|
+
"cyan",
|
|
36
|
+
"gold",
|
|
37
|
+
"grass",
|
|
38
|
+
"gray",
|
|
39
|
+
"green",
|
|
40
|
+
"indigo",
|
|
41
|
+
"iris",
|
|
42
|
+
"jade",
|
|
43
|
+
"lime",
|
|
44
|
+
"mint",
|
|
45
|
+
"orange",
|
|
46
|
+
"pink",
|
|
47
|
+
"plum",
|
|
48
|
+
"purple",
|
|
49
|
+
"red",
|
|
50
|
+
"ruby",
|
|
51
|
+
"sky",
|
|
52
|
+
"teal",
|
|
53
|
+
"tomato",
|
|
54
|
+
"violet",
|
|
55
|
+
"yellow",
|
|
56
|
+
]
|
|
57
|
+
| Var[
|
|
58
|
+
Literal[
|
|
59
|
+
"amber",
|
|
60
|
+
"blue",
|
|
61
|
+
"bronze",
|
|
62
|
+
"brown",
|
|
63
|
+
"crimson",
|
|
64
|
+
"cyan",
|
|
65
|
+
"gold",
|
|
66
|
+
"grass",
|
|
67
|
+
"gray",
|
|
68
|
+
"green",
|
|
69
|
+
"indigo",
|
|
70
|
+
"iris",
|
|
71
|
+
"jade",
|
|
72
|
+
"lime",
|
|
73
|
+
"mint",
|
|
74
|
+
"orange",
|
|
75
|
+
"pink",
|
|
76
|
+
"plum",
|
|
77
|
+
"purple",
|
|
78
|
+
"red",
|
|
79
|
+
"ruby",
|
|
80
|
+
"sky",
|
|
81
|
+
"teal",
|
|
82
|
+
"tomato",
|
|
83
|
+
"violet",
|
|
84
|
+
"yellow",
|
|
89
85
|
]
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
autofocus: Optional[bool] = None,
|
|
103
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
86
|
+
]
|
|
87
|
+
| None = None,
|
|
88
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
89
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
90
|
+
| None = None,
|
|
91
|
+
as_child: Var[bool] | bool | None = None,
|
|
92
|
+
style: Style | None = None,
|
|
93
|
+
key: Any | None = None,
|
|
94
|
+
id: Any | None = None,
|
|
95
|
+
class_name: Any | None = None,
|
|
96
|
+
autofocus: bool | None = None,
|
|
97
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
104
98
|
on_blur: Optional[EventType[()]] = None,
|
|
105
99
|
on_click: Optional[EventType[()]] = None,
|
|
106
100
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -138,7 +132,7 @@ class AccordionComponent(RadixPrimitiveComponent):
|
|
|
138
132
|
"""
|
|
139
133
|
...
|
|
140
134
|
|
|
141
|
-
def on_value_change(value: Var[str |
|
|
135
|
+
def on_value_change(value: Var[str | list[str]]) -> tuple[Var[str | list[str]]]: ...
|
|
142
136
|
|
|
143
137
|
class AccordionRoot(AccordionComponent):
|
|
144
138
|
def add_style(self): ...
|
|
@@ -147,106 +141,92 @@ class AccordionRoot(AccordionComponent):
|
|
|
147
141
|
def create( # type: ignore
|
|
148
142
|
cls,
|
|
149
143
|
*children,
|
|
150
|
-
type:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
value:
|
|
154
|
-
default_value:
|
|
155
|
-
|
|
156
|
-
] = None,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
] = None,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
"pink",
|
|
224
|
-
"plum",
|
|
225
|
-
"purple",
|
|
226
|
-
"red",
|
|
227
|
-
"ruby",
|
|
228
|
-
"sky",
|
|
229
|
-
"teal",
|
|
230
|
-
"tomato",
|
|
231
|
-
"violet",
|
|
232
|
-
"yellow",
|
|
233
|
-
]
|
|
234
|
-
],
|
|
235
|
-
]
|
|
236
|
-
] = None,
|
|
237
|
-
variant: Optional[
|
|
238
|
-
Union[
|
|
239
|
-
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
240
|
-
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
144
|
+
type: Literal["multiple", "single"]
|
|
145
|
+
| Var[Literal["multiple", "single"]]
|
|
146
|
+
| None = None,
|
|
147
|
+
value: Sequence[str] | Var[Sequence[str] | str] | str | None = None,
|
|
148
|
+
default_value: Sequence[str] | Var[Sequence[str] | str] | str | None = None,
|
|
149
|
+
collapsible: Var[bool] | bool | None = None,
|
|
150
|
+
disabled: Var[bool] | bool | None = None,
|
|
151
|
+
dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
|
|
152
|
+
orientation: Literal["horizontal", "vertical"]
|
|
153
|
+
| Var[Literal["horizontal", "vertical"]]
|
|
154
|
+
| None = None,
|
|
155
|
+
radius: Literal["full", "large", "medium", "none", "small"]
|
|
156
|
+
| Var[Literal["full", "large", "medium", "none", "small"]]
|
|
157
|
+
| None = None,
|
|
158
|
+
duration: Var[int] | int | None = None,
|
|
159
|
+
easing: Var[str] | str | None = None,
|
|
160
|
+
show_dividers: Var[bool] | bool | None = None,
|
|
161
|
+
color_scheme: Literal[
|
|
162
|
+
"amber",
|
|
163
|
+
"blue",
|
|
164
|
+
"bronze",
|
|
165
|
+
"brown",
|
|
166
|
+
"crimson",
|
|
167
|
+
"cyan",
|
|
168
|
+
"gold",
|
|
169
|
+
"grass",
|
|
170
|
+
"gray",
|
|
171
|
+
"green",
|
|
172
|
+
"indigo",
|
|
173
|
+
"iris",
|
|
174
|
+
"jade",
|
|
175
|
+
"lime",
|
|
176
|
+
"mint",
|
|
177
|
+
"orange",
|
|
178
|
+
"pink",
|
|
179
|
+
"plum",
|
|
180
|
+
"purple",
|
|
181
|
+
"red",
|
|
182
|
+
"ruby",
|
|
183
|
+
"sky",
|
|
184
|
+
"teal",
|
|
185
|
+
"tomato",
|
|
186
|
+
"violet",
|
|
187
|
+
"yellow",
|
|
188
|
+
]
|
|
189
|
+
| Var[
|
|
190
|
+
Literal[
|
|
191
|
+
"amber",
|
|
192
|
+
"blue",
|
|
193
|
+
"bronze",
|
|
194
|
+
"brown",
|
|
195
|
+
"crimson",
|
|
196
|
+
"cyan",
|
|
197
|
+
"gold",
|
|
198
|
+
"grass",
|
|
199
|
+
"gray",
|
|
200
|
+
"green",
|
|
201
|
+
"indigo",
|
|
202
|
+
"iris",
|
|
203
|
+
"jade",
|
|
204
|
+
"lime",
|
|
205
|
+
"mint",
|
|
206
|
+
"orange",
|
|
207
|
+
"pink",
|
|
208
|
+
"plum",
|
|
209
|
+
"purple",
|
|
210
|
+
"red",
|
|
211
|
+
"ruby",
|
|
212
|
+
"sky",
|
|
213
|
+
"teal",
|
|
214
|
+
"tomato",
|
|
215
|
+
"violet",
|
|
216
|
+
"yellow",
|
|
241
217
|
]
|
|
242
|
-
]
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
218
|
+
]
|
|
219
|
+
| None = None,
|
|
220
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
221
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
222
|
+
| None = None,
|
|
223
|
+
as_child: Var[bool] | bool | None = None,
|
|
224
|
+
style: Style | None = None,
|
|
225
|
+
key: Any | None = None,
|
|
226
|
+
id: Any | None = None,
|
|
227
|
+
class_name: Any | None = None,
|
|
228
|
+
autofocus: bool | None = None,
|
|
229
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
250
230
|
on_blur: Optional[EventType[()]] = None,
|
|
251
231
|
on_click: Optional[EventType[()]] = None,
|
|
252
232
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -262,9 +242,7 @@ class AccordionRoot(AccordionComponent):
|
|
|
262
242
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
263
243
|
on_scroll: Optional[EventType[()]] = None,
|
|
264
244
|
on_unmount: Optional[EventType[()]] = None,
|
|
265
|
-
on_value_change: Optional[
|
|
266
|
-
Union[EventType[()], EventType[str | List[str]]]
|
|
267
|
-
] = None,
|
|
245
|
+
on_value_change: Optional[EventType[()] | EventType[str | list[str]]] = None,
|
|
268
246
|
**props,
|
|
269
247
|
) -> "AccordionRoot":
|
|
270
248
|
"""Create the component.
|
|
@@ -305,87 +283,79 @@ class AccordionItem(AccordionComponent):
|
|
|
305
283
|
def create( # type: ignore
|
|
306
284
|
cls,
|
|
307
285
|
*children,
|
|
308
|
-
value:
|
|
309
|
-
disabled:
|
|
310
|
-
header:
|
|
311
|
-
content:
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
"teal",
|
|
369
|
-
"tomato",
|
|
370
|
-
"violet",
|
|
371
|
-
"yellow",
|
|
372
|
-
]
|
|
373
|
-
],
|
|
286
|
+
value: Var[str] | str | None = None,
|
|
287
|
+
disabled: Var[bool] | bool | None = None,
|
|
288
|
+
header: Component | Var[Component | str] | str | None = None,
|
|
289
|
+
content: Component | Var[Component | str | None] | str | None = None,
|
|
290
|
+
color_scheme: Literal[
|
|
291
|
+
"amber",
|
|
292
|
+
"blue",
|
|
293
|
+
"bronze",
|
|
294
|
+
"brown",
|
|
295
|
+
"crimson",
|
|
296
|
+
"cyan",
|
|
297
|
+
"gold",
|
|
298
|
+
"grass",
|
|
299
|
+
"gray",
|
|
300
|
+
"green",
|
|
301
|
+
"indigo",
|
|
302
|
+
"iris",
|
|
303
|
+
"jade",
|
|
304
|
+
"lime",
|
|
305
|
+
"mint",
|
|
306
|
+
"orange",
|
|
307
|
+
"pink",
|
|
308
|
+
"plum",
|
|
309
|
+
"purple",
|
|
310
|
+
"red",
|
|
311
|
+
"ruby",
|
|
312
|
+
"sky",
|
|
313
|
+
"teal",
|
|
314
|
+
"tomato",
|
|
315
|
+
"violet",
|
|
316
|
+
"yellow",
|
|
317
|
+
]
|
|
318
|
+
| Var[
|
|
319
|
+
Literal[
|
|
320
|
+
"amber",
|
|
321
|
+
"blue",
|
|
322
|
+
"bronze",
|
|
323
|
+
"brown",
|
|
324
|
+
"crimson",
|
|
325
|
+
"cyan",
|
|
326
|
+
"gold",
|
|
327
|
+
"grass",
|
|
328
|
+
"gray",
|
|
329
|
+
"green",
|
|
330
|
+
"indigo",
|
|
331
|
+
"iris",
|
|
332
|
+
"jade",
|
|
333
|
+
"lime",
|
|
334
|
+
"mint",
|
|
335
|
+
"orange",
|
|
336
|
+
"pink",
|
|
337
|
+
"plum",
|
|
338
|
+
"purple",
|
|
339
|
+
"red",
|
|
340
|
+
"ruby",
|
|
341
|
+
"sky",
|
|
342
|
+
"teal",
|
|
343
|
+
"tomato",
|
|
344
|
+
"violet",
|
|
345
|
+
"yellow",
|
|
374
346
|
]
|
|
375
|
-
]
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
autofocus: Optional[bool] = None,
|
|
388
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
347
|
+
]
|
|
348
|
+
| None = None,
|
|
349
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
350
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
351
|
+
| None = None,
|
|
352
|
+
as_child: Var[bool] | bool | None = None,
|
|
353
|
+
style: Style | None = None,
|
|
354
|
+
key: Any | None = None,
|
|
355
|
+
id: Any | None = None,
|
|
356
|
+
class_name: Any | None = None,
|
|
357
|
+
autofocus: bool | None = None,
|
|
358
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
389
359
|
on_blur: Optional[EventType[()]] = None,
|
|
390
360
|
on_click: Optional[EventType[()]] = None,
|
|
391
361
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -435,81 +405,75 @@ class AccordionHeader(AccordionComponent):
|
|
|
435
405
|
def create( # type: ignore
|
|
436
406
|
cls,
|
|
437
407
|
*children,
|
|
438
|
-
color_scheme:
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
"violet",
|
|
495
|
-
"yellow",
|
|
496
|
-
]
|
|
497
|
-
],
|
|
498
|
-
]
|
|
499
|
-
] = None,
|
|
500
|
-
variant: Optional[
|
|
501
|
-
Union[
|
|
502
|
-
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
503
|
-
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
408
|
+
color_scheme: Literal[
|
|
409
|
+
"amber",
|
|
410
|
+
"blue",
|
|
411
|
+
"bronze",
|
|
412
|
+
"brown",
|
|
413
|
+
"crimson",
|
|
414
|
+
"cyan",
|
|
415
|
+
"gold",
|
|
416
|
+
"grass",
|
|
417
|
+
"gray",
|
|
418
|
+
"green",
|
|
419
|
+
"indigo",
|
|
420
|
+
"iris",
|
|
421
|
+
"jade",
|
|
422
|
+
"lime",
|
|
423
|
+
"mint",
|
|
424
|
+
"orange",
|
|
425
|
+
"pink",
|
|
426
|
+
"plum",
|
|
427
|
+
"purple",
|
|
428
|
+
"red",
|
|
429
|
+
"ruby",
|
|
430
|
+
"sky",
|
|
431
|
+
"teal",
|
|
432
|
+
"tomato",
|
|
433
|
+
"violet",
|
|
434
|
+
"yellow",
|
|
435
|
+
]
|
|
436
|
+
| Var[
|
|
437
|
+
Literal[
|
|
438
|
+
"amber",
|
|
439
|
+
"blue",
|
|
440
|
+
"bronze",
|
|
441
|
+
"brown",
|
|
442
|
+
"crimson",
|
|
443
|
+
"cyan",
|
|
444
|
+
"gold",
|
|
445
|
+
"grass",
|
|
446
|
+
"gray",
|
|
447
|
+
"green",
|
|
448
|
+
"indigo",
|
|
449
|
+
"iris",
|
|
450
|
+
"jade",
|
|
451
|
+
"lime",
|
|
452
|
+
"mint",
|
|
453
|
+
"orange",
|
|
454
|
+
"pink",
|
|
455
|
+
"plum",
|
|
456
|
+
"purple",
|
|
457
|
+
"red",
|
|
458
|
+
"ruby",
|
|
459
|
+
"sky",
|
|
460
|
+
"teal",
|
|
461
|
+
"tomato",
|
|
462
|
+
"violet",
|
|
463
|
+
"yellow",
|
|
504
464
|
]
|
|
505
|
-
]
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
465
|
+
]
|
|
466
|
+
| None = None,
|
|
467
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
468
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
469
|
+
| None = None,
|
|
470
|
+
as_child: Var[bool] | bool | None = None,
|
|
471
|
+
style: Style | None = None,
|
|
472
|
+
key: Any | None = None,
|
|
473
|
+
id: Any | None = None,
|
|
474
|
+
class_name: Any | None = None,
|
|
475
|
+
autofocus: bool | None = None,
|
|
476
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
513
477
|
on_blur: Optional[EventType[()]] = None,
|
|
514
478
|
on_click: Optional[EventType[()]] = None,
|
|
515
479
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -555,81 +519,75 @@ class AccordionTrigger(AccordionComponent):
|
|
|
555
519
|
def create( # type: ignore
|
|
556
520
|
cls,
|
|
557
521
|
*children,
|
|
558
|
-
color_scheme:
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
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
|
-
"violet",
|
|
615
|
-
"yellow",
|
|
616
|
-
]
|
|
617
|
-
],
|
|
522
|
+
color_scheme: Literal[
|
|
523
|
+
"amber",
|
|
524
|
+
"blue",
|
|
525
|
+
"bronze",
|
|
526
|
+
"brown",
|
|
527
|
+
"crimson",
|
|
528
|
+
"cyan",
|
|
529
|
+
"gold",
|
|
530
|
+
"grass",
|
|
531
|
+
"gray",
|
|
532
|
+
"green",
|
|
533
|
+
"indigo",
|
|
534
|
+
"iris",
|
|
535
|
+
"jade",
|
|
536
|
+
"lime",
|
|
537
|
+
"mint",
|
|
538
|
+
"orange",
|
|
539
|
+
"pink",
|
|
540
|
+
"plum",
|
|
541
|
+
"purple",
|
|
542
|
+
"red",
|
|
543
|
+
"ruby",
|
|
544
|
+
"sky",
|
|
545
|
+
"teal",
|
|
546
|
+
"tomato",
|
|
547
|
+
"violet",
|
|
548
|
+
"yellow",
|
|
549
|
+
]
|
|
550
|
+
| Var[
|
|
551
|
+
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",
|
|
618
578
|
]
|
|
619
|
-
]
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
autofocus: Optional[bool] = None,
|
|
632
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
579
|
+
]
|
|
580
|
+
| None = None,
|
|
581
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
582
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
583
|
+
| None = None,
|
|
584
|
+
as_child: Var[bool] | bool | None = None,
|
|
585
|
+
style: Style | None = None,
|
|
586
|
+
key: Any | None = None,
|
|
587
|
+
id: Any | None = None,
|
|
588
|
+
class_name: Any | None = None,
|
|
589
|
+
autofocus: bool | None = None,
|
|
590
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
633
591
|
on_blur: Optional[EventType[()]] = None,
|
|
634
592
|
on_click: Optional[EventType[()]] = None,
|
|
635
593
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -675,13 +633,13 @@ class AccordionIcon(Icon):
|
|
|
675
633
|
def create( # type: ignore
|
|
676
634
|
cls,
|
|
677
635
|
*children,
|
|
678
|
-
size:
|
|
679
|
-
style:
|
|
680
|
-
key:
|
|
681
|
-
id:
|
|
682
|
-
class_name:
|
|
683
|
-
autofocus:
|
|
684
|
-
custom_attrs:
|
|
636
|
+
size: Var[int] | int | None = None,
|
|
637
|
+
style: Style | None = None,
|
|
638
|
+
key: Any | None = None,
|
|
639
|
+
id: Any | None = None,
|
|
640
|
+
class_name: Any | None = None,
|
|
641
|
+
autofocus: bool | None = None,
|
|
642
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
685
643
|
on_blur: Optional[EventType[()]] = None,
|
|
686
644
|
on_click: Optional[EventType[()]] = None,
|
|
687
645
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -724,81 +682,75 @@ class AccordionContent(AccordionComponent):
|
|
|
724
682
|
def create( # type: ignore
|
|
725
683
|
cls,
|
|
726
684
|
*children,
|
|
727
|
-
color_scheme:
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
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
|
-
"violet",
|
|
784
|
-
"yellow",
|
|
785
|
-
]
|
|
786
|
-
],
|
|
787
|
-
]
|
|
788
|
-
] = None,
|
|
789
|
-
variant: Optional[
|
|
790
|
-
Union[
|
|
791
|
-
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
792
|
-
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
685
|
+
color_scheme: Literal[
|
|
686
|
+
"amber",
|
|
687
|
+
"blue",
|
|
688
|
+
"bronze",
|
|
689
|
+
"brown",
|
|
690
|
+
"crimson",
|
|
691
|
+
"cyan",
|
|
692
|
+
"gold",
|
|
693
|
+
"grass",
|
|
694
|
+
"gray",
|
|
695
|
+
"green",
|
|
696
|
+
"indigo",
|
|
697
|
+
"iris",
|
|
698
|
+
"jade",
|
|
699
|
+
"lime",
|
|
700
|
+
"mint",
|
|
701
|
+
"orange",
|
|
702
|
+
"pink",
|
|
703
|
+
"plum",
|
|
704
|
+
"purple",
|
|
705
|
+
"red",
|
|
706
|
+
"ruby",
|
|
707
|
+
"sky",
|
|
708
|
+
"teal",
|
|
709
|
+
"tomato",
|
|
710
|
+
"violet",
|
|
711
|
+
"yellow",
|
|
712
|
+
]
|
|
713
|
+
| Var[
|
|
714
|
+
Literal[
|
|
715
|
+
"amber",
|
|
716
|
+
"blue",
|
|
717
|
+
"bronze",
|
|
718
|
+
"brown",
|
|
719
|
+
"crimson",
|
|
720
|
+
"cyan",
|
|
721
|
+
"gold",
|
|
722
|
+
"grass",
|
|
723
|
+
"gray",
|
|
724
|
+
"green",
|
|
725
|
+
"indigo",
|
|
726
|
+
"iris",
|
|
727
|
+
"jade",
|
|
728
|
+
"lime",
|
|
729
|
+
"mint",
|
|
730
|
+
"orange",
|
|
731
|
+
"pink",
|
|
732
|
+
"plum",
|
|
733
|
+
"purple",
|
|
734
|
+
"red",
|
|
735
|
+
"ruby",
|
|
736
|
+
"sky",
|
|
737
|
+
"teal",
|
|
738
|
+
"tomato",
|
|
739
|
+
"violet",
|
|
740
|
+
"yellow",
|
|
793
741
|
]
|
|
794
|
-
]
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
742
|
+
]
|
|
743
|
+
| None = None,
|
|
744
|
+
variant: Literal["classic", "ghost", "outline", "soft", "surface"]
|
|
745
|
+
| Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
|
|
746
|
+
| None = None,
|
|
747
|
+
as_child: Var[bool] | bool | None = None,
|
|
748
|
+
style: Style | None = None,
|
|
749
|
+
key: Any | None = None,
|
|
750
|
+
id: Any | None = None,
|
|
751
|
+
class_name: Any | None = None,
|
|
752
|
+
autofocus: bool | None = None,
|
|
753
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
802
754
|
on_blur: Optional[EventType[()]] = None,
|
|
803
755
|
on_click: Optional[EventType[()]] = None,
|
|
804
756
|
on_context_menu: Optional[EventType[()]] = None,
|