reflex 0.7.1a3__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.

Files changed (226) hide show
  1. reflex/.templates/jinja/web/utils/context.js.jinja2 +8 -8
  2. reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -3
  3. reflex/admin.py +1 -2
  4. reflex/app.py +53 -50
  5. reflex/app_mixins/lifespan.py +2 -2
  6. reflex/app_mixins/middleware.py +1 -2
  7. reflex/assets.py +1 -2
  8. reflex/base.py +2 -2
  9. reflex/compiler/compiler.py +51 -16
  10. reflex/compiler/utils.py +4 -13
  11. reflex/components/base/app_wrap.pyi +7 -7
  12. reflex/components/base/bare.py +3 -3
  13. reflex/components/base/body.pyi +7 -7
  14. reflex/components/base/document.py +1 -3
  15. reflex/components/base/document.pyi +32 -32
  16. reflex/components/base/error_boundary.py +2 -4
  17. reflex/components/base/error_boundary.pyi +11 -13
  18. reflex/components/base/fragment.pyi +7 -7
  19. reflex/components/base/head.pyi +13 -13
  20. reflex/components/base/link.pyi +22 -22
  21. reflex/components/base/meta.py +5 -7
  22. reflex/components/base/meta.pyi +40 -40
  23. reflex/components/base/script.pyi +11 -14
  24. reflex/components/base/strict_mode.pyi +7 -7
  25. reflex/components/component.py +188 -113
  26. reflex/components/core/auto_scroll.py +8 -1
  27. reflex/components/core/auto_scroll.pyi +183 -210
  28. reflex/components/core/banner.py +2 -4
  29. reflex/components/core/banner.pyi +390 -444
  30. reflex/components/core/breakpoints.py +5 -5
  31. reflex/components/core/client_side_routing.pyi +14 -14
  32. reflex/components/core/clipboard.py +4 -4
  33. reflex/components/core/clipboard.pyi +12 -14
  34. reflex/components/core/cond.py +17 -25
  35. reflex/components/core/debounce.py +3 -3
  36. reflex/components/core/debounce.pyi +14 -14
  37. reflex/components/core/foreach.py +7 -2
  38. reflex/components/core/html.py +1 -3
  39. reflex/components/core/html.pyi +184 -213
  40. reflex/components/core/match.py +15 -19
  41. reflex/components/core/sticky.pyi +930 -1078
  42. reflex/components/core/upload.py +4 -4
  43. reflex/components/core/upload.pyi +62 -62
  44. reflex/components/datadisplay/code.py +6 -6
  45. reflex/components/datadisplay/code.pyi +1159 -1165
  46. reflex/components/datadisplay/dataeditor.py +49 -49
  47. reflex/components/datadisplay/dataeditor.pyi +95 -123
  48. reflex/components/datadisplay/logo.py +1 -3
  49. reflex/components/datadisplay/shiki_code_block.py +8 -10
  50. reflex/components/datadisplay/shiki_code_block.pyi +1678 -1720
  51. reflex/components/el/element.pyi +7 -7
  52. reflex/components/el/elements/base.pyi +183 -210
  53. reflex/components/el/elements/forms.py +23 -23
  54. reflex/components/el/elements/forms.pyi +2571 -2933
  55. reflex/components/el/elements/inline.py +4 -4
  56. reflex/components/el/elements/inline.pyi +5191 -5953
  57. reflex/components/el/elements/media.py +47 -47
  58. reflex/components/el/elements/media.pyi +4802 -5500
  59. reflex/components/el/elements/metadata.py +1 -3
  60. reflex/components/el/elements/metadata.pyi +782 -896
  61. reflex/components/el/elements/other.pyi +1278 -1467
  62. reflex/components/el/elements/scripts.pyi +580 -667
  63. reflex/components/el/elements/sectioning.pyi +2761 -3166
  64. reflex/components/el/elements/tables.pyi +1840 -2119
  65. reflex/components/el/elements/typography.pyi +2772 -3179
  66. reflex/components/gridjs/datatable.py +7 -7
  67. reflex/components/gridjs/datatable.pyi +19 -19
  68. reflex/components/lucide/icon.pyi +21 -21
  69. reflex/components/markdown/markdown.py +2 -2
  70. reflex/components/markdown/markdown.pyi +9 -9
  71. reflex/components/moment/moment.py +11 -12
  72. reflex/components/moment/moment.pyi +44 -47
  73. reflex/components/next/base.pyi +7 -7
  74. reflex/components/next/image.py +3 -3
  75. reflex/components/next/image.pyi +19 -21
  76. reflex/components/next/link.pyi +9 -9
  77. reflex/components/next/video.py +1 -3
  78. reflex/components/next/video.pyi +9 -9
  79. reflex/components/plotly/plotly.py +22 -45
  80. reflex/components/plotly/plotly.pyi +164 -164
  81. reflex/components/radix/primitives/accordion.py +14 -14
  82. reflex/components/radix/primitives/accordion.pyi +439 -487
  83. reflex/components/radix/primitives/base.py +1 -3
  84. reflex/components/radix/primitives/base.pyi +15 -15
  85. reflex/components/radix/primitives/drawer.py +3 -3
  86. reflex/components/radix/primitives/drawer.pyi +110 -116
  87. reflex/components/radix/primitives/form.py +1 -1
  88. reflex/components/radix/primitives/form.pyi +668 -752
  89. reflex/components/radix/primitives/progress.py +6 -6
  90. reflex/components/radix/primitives/progress.pyi +225 -243
  91. reflex/components/radix/primitives/slider.py +6 -6
  92. reflex/components/radix/primitives/slider.pyi +52 -55
  93. reflex/components/radix/themes/base.py +3 -6
  94. reflex/components/radix/themes/base.pyi +197 -303
  95. reflex/components/radix/themes/color_mode.py +5 -5
  96. reflex/components/radix/themes/color_mode.pyi +366 -436
  97. reflex/components/radix/themes/components/alert_dialog.pyi +229 -262
  98. reflex/components/radix/themes/components/aspect_ratio.py +1 -3
  99. reflex/components/radix/themes/components/aspect_ratio.pyi +8 -8
  100. reflex/components/radix/themes/components/avatar.pyi +79 -94
  101. reflex/components/radix/themes/components/badge.pyi +252 -295
  102. reflex/components/radix/themes/components/button.pyi +269 -314
  103. reflex/components/radix/themes/components/callout.py +2 -2
  104. reflex/components/radix/themes/components/callout.pyi +1116 -1290
  105. reflex/components/radix/themes/components/card.pyi +194 -229
  106. reflex/components/radix/themes/components/checkbox.pyi +243 -278
  107. reflex/components/radix/themes/components/checkbox_cards.py +3 -7
  108. reflex/components/radix/themes/components/checkbox_cards.pyi +101 -135
  109. reflex/components/radix/themes/components/checkbox_group.py +2 -2
  110. reflex/components/radix/themes/components/checkbox_group.pyi +83 -96
  111. reflex/components/radix/themes/components/context_menu.py +18 -15
  112. reflex/components/radix/themes/components/context_menu.pyi +408 -458
  113. reflex/components/radix/themes/components/data_list.pyi +122 -147
  114. reflex/components/radix/themes/components/dialog.pyi +231 -264
  115. reflex/components/radix/themes/components/dropdown_menu.py +16 -13
  116. reflex/components/radix/themes/components/dropdown_menu.pyi +223 -246
  117. reflex/components/radix/themes/components/hover_card.py +2 -2
  118. reflex/components/radix/themes/components/hover_card.pyi +237 -282
  119. reflex/components/radix/themes/components/icon_button.pyi +269 -314
  120. reflex/components/radix/themes/components/inset.py +8 -8
  121. reflex/components/radix/themes/components/inset.pyi +232 -292
  122. reflex/components/radix/themes/components/popover.py +2 -2
  123. reflex/components/radix/themes/components/popover.pyi +229 -271
  124. reflex/components/radix/themes/components/progress.pyi +80 -96
  125. reflex/components/radix/themes/components/radio.pyi +73 -86
  126. reflex/components/radix/themes/components/radio_cards.py +4 -8
  127. reflex/components/radix/themes/components/radio_cards.pyi +117 -154
  128. reflex/components/radix/themes/components/radio_group.py +3 -3
  129. reflex/components/radix/themes/components/radio_group.pyi +250 -291
  130. reflex/components/radix/themes/components/scroll_area.pyi +14 -20
  131. reflex/components/radix/themes/components/segmented_control.py +6 -6
  132. reflex/components/radix/themes/components/segmented_control.pyi +89 -108
  133. reflex/components/radix/themes/components/select.py +7 -7
  134. reflex/components/radix/themes/components/select.pyi +376 -444
  135. reflex/components/radix/themes/components/separator.pyi +79 -93
  136. reflex/components/radix/themes/components/skeleton.pyi +32 -26
  137. reflex/components/radix/themes/components/slider.py +8 -8
  138. reflex/components/radix/themes/components/slider.pyi +99 -122
  139. reflex/components/radix/themes/components/spinner.pyi +12 -19
  140. reflex/components/radix/themes/components/switch.pyi +84 -99
  141. reflex/components/radix/themes/components/table.py +9 -9
  142. reflex/components/radix/themes/components/table.pyi +1440 -1794
  143. reflex/components/radix/themes/components/tabs.py +4 -4
  144. reflex/components/radix/themes/components/tabs.pyi +120 -132
  145. reflex/components/radix/themes/components/text_area.pyi +281 -331
  146. reflex/components/radix/themes/components/text_field.py +2 -2
  147. reflex/components/radix/themes/components/text_field.pyi +639 -734
  148. reflex/components/radix/themes/components/tooltip.py +6 -6
  149. reflex/components/radix/themes/components/tooltip.pyi +34 -43
  150. reflex/components/radix/themes/layout/base.pyi +85 -182
  151. reflex/components/radix/themes/layout/box.pyi +183 -210
  152. reflex/components/radix/themes/layout/center.pyi +225 -286
  153. reflex/components/radix/themes/layout/container.pyi +191 -224
  154. reflex/components/radix/themes/layout/flex.py +2 -2
  155. reflex/components/radix/themes/layout/flex.pyi +225 -286
  156. reflex/components/radix/themes/layout/grid.py +2 -2
  157. reflex/components/radix/themes/layout/grid.pyi +245 -315
  158. reflex/components/radix/themes/layout/list.py +2 -2
  159. reflex/components/radix/themes/layout/list.pyi +712 -815
  160. reflex/components/radix/themes/layout/section.pyi +187 -221
  161. reflex/components/radix/themes/layout/spacer.pyi +225 -286
  162. reflex/components/radix/themes/layout/stack.pyi +625 -768
  163. reflex/components/radix/themes/typography/blockquote.pyi +257 -299
  164. reflex/components/radix/themes/typography/code.pyi +259 -304
  165. reflex/components/radix/themes/typography/heading.pyi +272 -324
  166. reflex/components/radix/themes/typography/link.pyi +302 -358
  167. reflex/components/radix/themes/typography/text.pyi +1669 -1945
  168. reflex/components/react_player/audio.pyi +20 -22
  169. reflex/components/react_player/react_player.pyi +19 -19
  170. reflex/components/react_player/video.pyi +20 -22
  171. reflex/components/recharts/cartesian.py +100 -97
  172. reflex/components/recharts/cartesian.pyi +891 -1007
  173. reflex/components/recharts/charts.py +42 -42
  174. reflex/components/recharts/charts.pyi +212 -249
  175. reflex/components/recharts/general.py +22 -21
  176. reflex/components/recharts/general.pyi +198 -223
  177. reflex/components/recharts/polar.py +42 -45
  178. reflex/components/recharts/polar.pyi +254 -288
  179. reflex/components/recharts/recharts.pyi +13 -13
  180. reflex/components/sonner/toast.py +20 -20
  181. reflex/components/sonner/toast.pyi +58 -61
  182. reflex/components/suneditor/editor.py +9 -9
  183. reflex/components/suneditor/editor.pyi +78 -83
  184. reflex/components/tags/cond_tag.py +2 -2
  185. reflex/components/tags/iter_tag.py +10 -14
  186. reflex/components/tags/match_tag.py +2 -2
  187. reflex/components/tags/tag.py +10 -10
  188. reflex/config.py +36 -35
  189. reflex/constants/__init__.py +56 -53
  190. reflex/custom_components/custom_components.py +6 -7
  191. reflex/event.py +38 -42
  192. reflex/experimental/client_state.py +2 -4
  193. reflex/experimental/layout.py +2 -2
  194. reflex/experimental/layout.pyi +579 -663
  195. reflex/istate/data.py +4 -5
  196. reflex/middleware/hydrate_middleware.py +2 -2
  197. reflex/middleware/middleware.py +2 -2
  198. reflex/model.py +3 -5
  199. reflex/page.py +2 -2
  200. reflex/reflex.py +9 -10
  201. reflex/state.py +77 -49
  202. reflex/style.py +9 -3
  203. reflex/testing.py +21 -24
  204. reflex/utils/console.py +1 -1
  205. reflex/utils/decorator.py +26 -1
  206. reflex/utils/exec.py +6 -11
  207. reflex/utils/export.py +2 -3
  208. reflex/utils/format.py +4 -4
  209. reflex/utils/imports.py +12 -12
  210. reflex/utils/prerequisites.py +35 -84
  211. reflex/utils/processes.py +5 -5
  212. reflex/utils/pyi_generator.py +33 -22
  213. reflex/utils/serializers.py +60 -15
  214. reflex/utils/types.py +237 -56
  215. reflex/vars/base.py +122 -72
  216. reflex/vars/datetime.py +2 -2
  217. reflex/vars/function.py +52 -55
  218. reflex/vars/number.py +59 -5
  219. reflex/vars/object.py +57 -26
  220. reflex/vars/sequence.py +983 -958
  221. {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/METADATA +3 -6
  222. reflex-0.7.2a1.dist-info/RECORD +405 -0
  223. {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/WHEEL +1 -1
  224. reflex-0.7.1a3.dist-info/RECORD +0 -405
  225. {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/LICENSE +0 -0
  226. {reflex-0.7.1a3.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, Dict, Literal, Optional, Union, overload
6
+ from typing import Any, Literal, Optional, overload
7
7
 
8
8
  from reflex.components.component import ComponentNamespace
9
9
  from reflex.components.core.breakpoints import Breakpoints
@@ -22,298 +22,258 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
22
22
  def create( # type: ignore
23
23
  cls,
24
24
  *children,
25
- as_child: Optional[Union[Var[bool], bool]] = None,
26
- size: Optional[
27
- Union[
28
- Breakpoints[str, Literal["1", "2", "3"]],
29
- Literal["1", "2", "3"],
30
- Var[
31
- Union[
32
- Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
33
- ]
34
- ],
25
+ as_child: Var[bool] | bool | None = None,
26
+ size: Breakpoints[str, Literal["1", "2", "3"]]
27
+ | Literal["1", "2", "3"]
28
+ | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
29
+ | None = None,
30
+ variant: Literal["outline", "soft", "surface"]
31
+ | Var[Literal["outline", "soft", "surface"]]
32
+ | None = None,
33
+ color_scheme: Literal[
34
+ "amber",
35
+ "blue",
36
+ "bronze",
37
+ "brown",
38
+ "crimson",
39
+ "cyan",
40
+ "gold",
41
+ "grass",
42
+ "gray",
43
+ "green",
44
+ "indigo",
45
+ "iris",
46
+ "jade",
47
+ "lime",
48
+ "mint",
49
+ "orange",
50
+ "pink",
51
+ "plum",
52
+ "purple",
53
+ "red",
54
+ "ruby",
55
+ "sky",
56
+ "teal",
57
+ "tomato",
58
+ "violet",
59
+ "yellow",
60
+ ]
61
+ | Var[
62
+ Literal[
63
+ "amber",
64
+ "blue",
65
+ "bronze",
66
+ "brown",
67
+ "crimson",
68
+ "cyan",
69
+ "gold",
70
+ "grass",
71
+ "gray",
72
+ "green",
73
+ "indigo",
74
+ "iris",
75
+ "jade",
76
+ "lime",
77
+ "mint",
78
+ "orange",
79
+ "pink",
80
+ "plum",
81
+ "purple",
82
+ "red",
83
+ "ruby",
84
+ "sky",
85
+ "teal",
86
+ "tomato",
87
+ "violet",
88
+ "yellow",
35
89
  ]
36
- ] = None,
37
- variant: Optional[
38
- Union[
39
- Literal["outline", "soft", "surface"],
40
- Var[Literal["outline", "soft", "surface"]],
90
+ ]
91
+ | None = None,
92
+ high_contrast: Var[bool] | bool | None = None,
93
+ access_key: Var[str] | str | None = None,
94
+ auto_capitalize: Literal[
95
+ "characters", "none", "off", "on", "sentences", "words"
96
+ ]
97
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
98
+ | None = None,
99
+ content_editable: Literal["inherit", "plaintext-only", False, True]
100
+ | Var[Literal["inherit", "plaintext-only", False, True]]
101
+ | None = None,
102
+ context_menu: Var[str] | str | None = None,
103
+ dir: Var[str] | str | None = None,
104
+ draggable: Var[bool] | bool | None = None,
105
+ enter_key_hint: Literal[
106
+ "done", "enter", "go", "next", "previous", "search", "send"
107
+ ]
108
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
109
+ | None = None,
110
+ hidden: Var[bool] | bool | None = None,
111
+ input_mode: Literal[
112
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
113
+ ]
114
+ | Var[
115
+ Literal[
116
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
41
117
  ]
42
- ] = None,
43
- color_scheme: Optional[
44
- Union[
45
- Literal[
46
- "amber",
47
- "blue",
48
- "bronze",
49
- "brown",
50
- "crimson",
51
- "cyan",
52
- "gold",
53
- "grass",
54
- "gray",
55
- "green",
56
- "indigo",
57
- "iris",
58
- "jade",
59
- "lime",
60
- "mint",
61
- "orange",
62
- "pink",
63
- "plum",
64
- "purple",
65
- "red",
66
- "ruby",
67
- "sky",
68
- "teal",
69
- "tomato",
70
- "violet",
71
- "yellow",
72
- ],
73
- Var[
74
- Literal[
75
- "amber",
76
- "blue",
77
- "bronze",
78
- "brown",
79
- "crimson",
80
- "cyan",
81
- "gold",
82
- "grass",
83
- "gray",
84
- "green",
85
- "indigo",
86
- "iris",
87
- "jade",
88
- "lime",
89
- "mint",
90
- "orange",
91
- "pink",
92
- "plum",
93
- "purple",
94
- "red",
95
- "ruby",
96
- "sky",
97
- "teal",
98
- "tomato",
99
- "violet",
100
- "yellow",
101
- ]
102
- ],
118
+ ]
119
+ | None = None,
120
+ item_prop: Var[str] | str | None = None,
121
+ lang: Var[str] | str | None = None,
122
+ role: Literal[
123
+ "alert",
124
+ "alertdialog",
125
+ "application",
126
+ "article",
127
+ "banner",
128
+ "button",
129
+ "cell",
130
+ "checkbox",
131
+ "columnheader",
132
+ "combobox",
133
+ "complementary",
134
+ "contentinfo",
135
+ "definition",
136
+ "dialog",
137
+ "directory",
138
+ "document",
139
+ "feed",
140
+ "figure",
141
+ "form",
142
+ "grid",
143
+ "gridcell",
144
+ "group",
145
+ "heading",
146
+ "img",
147
+ "link",
148
+ "list",
149
+ "listbox",
150
+ "listitem",
151
+ "log",
152
+ "main",
153
+ "marquee",
154
+ "math",
155
+ "menu",
156
+ "menubar",
157
+ "menuitem",
158
+ "menuitemcheckbox",
159
+ "menuitemradio",
160
+ "navigation",
161
+ "none",
162
+ "note",
163
+ "option",
164
+ "presentation",
165
+ "progressbar",
166
+ "radio",
167
+ "radiogroup",
168
+ "region",
169
+ "row",
170
+ "rowgroup",
171
+ "rowheader",
172
+ "scrollbar",
173
+ "search",
174
+ "searchbox",
175
+ "separator",
176
+ "slider",
177
+ "spinbutton",
178
+ "status",
179
+ "switch",
180
+ "tab",
181
+ "table",
182
+ "tablist",
183
+ "tabpanel",
184
+ "term",
185
+ "textbox",
186
+ "timer",
187
+ "toolbar",
188
+ "tooltip",
189
+ "tree",
190
+ "treegrid",
191
+ "treeitem",
192
+ ]
193
+ | Var[
194
+ Literal[
195
+ "alert",
196
+ "alertdialog",
197
+ "application",
198
+ "article",
199
+ "banner",
200
+ "button",
201
+ "cell",
202
+ "checkbox",
203
+ "columnheader",
204
+ "combobox",
205
+ "complementary",
206
+ "contentinfo",
207
+ "definition",
208
+ "dialog",
209
+ "directory",
210
+ "document",
211
+ "feed",
212
+ "figure",
213
+ "form",
214
+ "grid",
215
+ "gridcell",
216
+ "group",
217
+ "heading",
218
+ "img",
219
+ "link",
220
+ "list",
221
+ "listbox",
222
+ "listitem",
223
+ "log",
224
+ "main",
225
+ "marquee",
226
+ "math",
227
+ "menu",
228
+ "menubar",
229
+ "menuitem",
230
+ "menuitemcheckbox",
231
+ "menuitemradio",
232
+ "navigation",
233
+ "none",
234
+ "note",
235
+ "option",
236
+ "presentation",
237
+ "progressbar",
238
+ "radio",
239
+ "radiogroup",
240
+ "region",
241
+ "row",
242
+ "rowgroup",
243
+ "rowheader",
244
+ "scrollbar",
245
+ "search",
246
+ "searchbox",
247
+ "separator",
248
+ "slider",
249
+ "spinbutton",
250
+ "status",
251
+ "switch",
252
+ "tab",
253
+ "table",
254
+ "tablist",
255
+ "tabpanel",
256
+ "term",
257
+ "textbox",
258
+ "timer",
259
+ "toolbar",
260
+ "tooltip",
261
+ "tree",
262
+ "treegrid",
263
+ "treeitem",
103
264
  ]
104
- ] = None,
105
- high_contrast: Optional[Union[Var[bool], bool]] = None,
106
- access_key: Optional[Union[Var[str], str]] = None,
107
- auto_capitalize: Optional[
108
- Union[
109
- Literal["characters", "none", "off", "on", "sentences", "words"],
110
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
111
- ]
112
- ] = None,
113
- content_editable: Optional[
114
- Union[
115
- Literal["inherit", "plaintext-only", False, True],
116
- Var[Literal["inherit", "plaintext-only", False, True]],
117
- ]
118
- ] = None,
119
- context_menu: Optional[Union[Var[str], str]] = None,
120
- dir: Optional[Union[Var[str], str]] = None,
121
- draggable: Optional[Union[Var[bool], bool]] = None,
122
- enter_key_hint: Optional[
123
- Union[
124
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
125
- Var[
126
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
127
- ],
128
- ]
129
- ] = None,
130
- hidden: Optional[Union[Var[bool], bool]] = None,
131
- input_mode: Optional[
132
- Union[
133
- Literal[
134
- "decimal",
135
- "email",
136
- "none",
137
- "numeric",
138
- "search",
139
- "tel",
140
- "text",
141
- "url",
142
- ],
143
- Var[
144
- Literal[
145
- "decimal",
146
- "email",
147
- "none",
148
- "numeric",
149
- "search",
150
- "tel",
151
- "text",
152
- "url",
153
- ]
154
- ],
155
- ]
156
- ] = None,
157
- item_prop: Optional[Union[Var[str], str]] = None,
158
- lang: Optional[Union[Var[str], str]] = None,
159
- role: Optional[
160
- Union[
161
- Literal[
162
- "alert",
163
- "alertdialog",
164
- "application",
165
- "article",
166
- "banner",
167
- "button",
168
- "cell",
169
- "checkbox",
170
- "columnheader",
171
- "combobox",
172
- "complementary",
173
- "contentinfo",
174
- "definition",
175
- "dialog",
176
- "directory",
177
- "document",
178
- "feed",
179
- "figure",
180
- "form",
181
- "grid",
182
- "gridcell",
183
- "group",
184
- "heading",
185
- "img",
186
- "link",
187
- "list",
188
- "listbox",
189
- "listitem",
190
- "log",
191
- "main",
192
- "marquee",
193
- "math",
194
- "menu",
195
- "menubar",
196
- "menuitem",
197
- "menuitemcheckbox",
198
- "menuitemradio",
199
- "navigation",
200
- "none",
201
- "note",
202
- "option",
203
- "presentation",
204
- "progressbar",
205
- "radio",
206
- "radiogroup",
207
- "region",
208
- "row",
209
- "rowgroup",
210
- "rowheader",
211
- "scrollbar",
212
- "search",
213
- "searchbox",
214
- "separator",
215
- "slider",
216
- "spinbutton",
217
- "status",
218
- "switch",
219
- "tab",
220
- "table",
221
- "tablist",
222
- "tabpanel",
223
- "term",
224
- "textbox",
225
- "timer",
226
- "toolbar",
227
- "tooltip",
228
- "tree",
229
- "treegrid",
230
- "treeitem",
231
- ],
232
- Var[
233
- Literal[
234
- "alert",
235
- "alertdialog",
236
- "application",
237
- "article",
238
- "banner",
239
- "button",
240
- "cell",
241
- "checkbox",
242
- "columnheader",
243
- "combobox",
244
- "complementary",
245
- "contentinfo",
246
- "definition",
247
- "dialog",
248
- "directory",
249
- "document",
250
- "feed",
251
- "figure",
252
- "form",
253
- "grid",
254
- "gridcell",
255
- "group",
256
- "heading",
257
- "img",
258
- "link",
259
- "list",
260
- "listbox",
261
- "listitem",
262
- "log",
263
- "main",
264
- "marquee",
265
- "math",
266
- "menu",
267
- "menubar",
268
- "menuitem",
269
- "menuitemcheckbox",
270
- "menuitemradio",
271
- "navigation",
272
- "none",
273
- "note",
274
- "option",
275
- "presentation",
276
- "progressbar",
277
- "radio",
278
- "radiogroup",
279
- "region",
280
- "row",
281
- "rowgroup",
282
- "rowheader",
283
- "scrollbar",
284
- "search",
285
- "searchbox",
286
- "separator",
287
- "slider",
288
- "spinbutton",
289
- "status",
290
- "switch",
291
- "tab",
292
- "table",
293
- "tablist",
294
- "tabpanel",
295
- "term",
296
- "textbox",
297
- "timer",
298
- "toolbar",
299
- "tooltip",
300
- "tree",
301
- "treegrid",
302
- "treeitem",
303
- ]
304
- ],
305
- ]
306
- ] = None,
307
- slot: Optional[Union[Var[str], str]] = None,
308
- spell_check: Optional[Union[Var[bool], bool]] = None,
309
- tab_index: Optional[Union[Var[int], int]] = None,
310
- title: Optional[Union[Var[str], str]] = None,
311
- style: Optional[Style] = None,
312
- key: Optional[Any] = None,
313
- id: Optional[Any] = None,
314
- class_name: Optional[Any] = None,
315
- autofocus: Optional[bool] = None,
316
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
265
+ ]
266
+ | None = None,
267
+ slot: Var[str] | str | None = None,
268
+ spell_check: Var[bool] | bool | None = None,
269
+ tab_index: Var[int] | int | None = None,
270
+ title: Var[str] | str | None = None,
271
+ style: Style | None = None,
272
+ key: Any | None = None,
273
+ id: Any | None = None,
274
+ class_name: Any | None = None,
275
+ autofocus: bool | None = None,
276
+ custom_attrs: dict[str, Var | Any] | None = None,
317
277
  on_blur: Optional[EventType[()]] = None,
318
278
  on_click: Optional[EventType[()]] = None,
319
279
  on_context_menu: Optional[EventType[()]] = None,
@@ -378,217 +338,190 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
378
338
  def create( # type: ignore
379
339
  cls,
380
340
  *children,
381
- access_key: Optional[Union[Var[str], str]] = None,
382
- auto_capitalize: Optional[
383
- Union[
384
- Literal["characters", "none", "off", "on", "sentences", "words"],
385
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
386
- ]
387
- ] = None,
388
- content_editable: Optional[
389
- Union[
390
- Literal["inherit", "plaintext-only", False, True],
391
- Var[Literal["inherit", "plaintext-only", False, True]],
341
+ access_key: Var[str] | str | None = None,
342
+ auto_capitalize: Literal[
343
+ "characters", "none", "off", "on", "sentences", "words"
344
+ ]
345
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
346
+ | None = None,
347
+ content_editable: Literal["inherit", "plaintext-only", False, True]
348
+ | Var[Literal["inherit", "plaintext-only", False, True]]
349
+ | None = None,
350
+ context_menu: Var[str] | str | None = None,
351
+ dir: Var[str] | str | None = None,
352
+ draggable: Var[bool] | bool | None = None,
353
+ enter_key_hint: Literal[
354
+ "done", "enter", "go", "next", "previous", "search", "send"
355
+ ]
356
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
357
+ | None = None,
358
+ hidden: Var[bool] | bool | None = None,
359
+ input_mode: Literal[
360
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
361
+ ]
362
+ | Var[
363
+ Literal[
364
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
392
365
  ]
393
- ] = None,
394
- context_menu: Optional[Union[Var[str], str]] = None,
395
- dir: Optional[Union[Var[str], str]] = None,
396
- draggable: Optional[Union[Var[bool], bool]] = None,
397
- enter_key_hint: Optional[
398
- Union[
399
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
400
- Var[
401
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
402
- ],
366
+ ]
367
+ | None = None,
368
+ item_prop: Var[str] | str | None = None,
369
+ lang: Var[str] | str | None = None,
370
+ role: Literal[
371
+ "alert",
372
+ "alertdialog",
373
+ "application",
374
+ "article",
375
+ "banner",
376
+ "button",
377
+ "cell",
378
+ "checkbox",
379
+ "columnheader",
380
+ "combobox",
381
+ "complementary",
382
+ "contentinfo",
383
+ "definition",
384
+ "dialog",
385
+ "directory",
386
+ "document",
387
+ "feed",
388
+ "figure",
389
+ "form",
390
+ "grid",
391
+ "gridcell",
392
+ "group",
393
+ "heading",
394
+ "img",
395
+ "link",
396
+ "list",
397
+ "listbox",
398
+ "listitem",
399
+ "log",
400
+ "main",
401
+ "marquee",
402
+ "math",
403
+ "menu",
404
+ "menubar",
405
+ "menuitem",
406
+ "menuitemcheckbox",
407
+ "menuitemradio",
408
+ "navigation",
409
+ "none",
410
+ "note",
411
+ "option",
412
+ "presentation",
413
+ "progressbar",
414
+ "radio",
415
+ "radiogroup",
416
+ "region",
417
+ "row",
418
+ "rowgroup",
419
+ "rowheader",
420
+ "scrollbar",
421
+ "search",
422
+ "searchbox",
423
+ "separator",
424
+ "slider",
425
+ "spinbutton",
426
+ "status",
427
+ "switch",
428
+ "tab",
429
+ "table",
430
+ "tablist",
431
+ "tabpanel",
432
+ "term",
433
+ "textbox",
434
+ "timer",
435
+ "toolbar",
436
+ "tooltip",
437
+ "tree",
438
+ "treegrid",
439
+ "treeitem",
440
+ ]
441
+ | Var[
442
+ Literal[
443
+ "alert",
444
+ "alertdialog",
445
+ "application",
446
+ "article",
447
+ "banner",
448
+ "button",
449
+ "cell",
450
+ "checkbox",
451
+ "columnheader",
452
+ "combobox",
453
+ "complementary",
454
+ "contentinfo",
455
+ "definition",
456
+ "dialog",
457
+ "directory",
458
+ "document",
459
+ "feed",
460
+ "figure",
461
+ "form",
462
+ "grid",
463
+ "gridcell",
464
+ "group",
465
+ "heading",
466
+ "img",
467
+ "link",
468
+ "list",
469
+ "listbox",
470
+ "listitem",
471
+ "log",
472
+ "main",
473
+ "marquee",
474
+ "math",
475
+ "menu",
476
+ "menubar",
477
+ "menuitem",
478
+ "menuitemcheckbox",
479
+ "menuitemradio",
480
+ "navigation",
481
+ "none",
482
+ "note",
483
+ "option",
484
+ "presentation",
485
+ "progressbar",
486
+ "radio",
487
+ "radiogroup",
488
+ "region",
489
+ "row",
490
+ "rowgroup",
491
+ "rowheader",
492
+ "scrollbar",
493
+ "search",
494
+ "searchbox",
495
+ "separator",
496
+ "slider",
497
+ "spinbutton",
498
+ "status",
499
+ "switch",
500
+ "tab",
501
+ "table",
502
+ "tablist",
503
+ "tabpanel",
504
+ "term",
505
+ "textbox",
506
+ "timer",
507
+ "toolbar",
508
+ "tooltip",
509
+ "tree",
510
+ "treegrid",
511
+ "treeitem",
403
512
  ]
404
- ] = None,
405
- hidden: Optional[Union[Var[bool], bool]] = None,
406
- input_mode: Optional[
407
- Union[
408
- Literal[
409
- "decimal",
410
- "email",
411
- "none",
412
- "numeric",
413
- "search",
414
- "tel",
415
- "text",
416
- "url",
417
- ],
418
- Var[
419
- Literal[
420
- "decimal",
421
- "email",
422
- "none",
423
- "numeric",
424
- "search",
425
- "tel",
426
- "text",
427
- "url",
428
- ]
429
- ],
430
- ]
431
- ] = None,
432
- item_prop: Optional[Union[Var[str], str]] = None,
433
- lang: Optional[Union[Var[str], str]] = None,
434
- role: Optional[
435
- Union[
436
- Literal[
437
- "alert",
438
- "alertdialog",
439
- "application",
440
- "article",
441
- "banner",
442
- "button",
443
- "cell",
444
- "checkbox",
445
- "columnheader",
446
- "combobox",
447
- "complementary",
448
- "contentinfo",
449
- "definition",
450
- "dialog",
451
- "directory",
452
- "document",
453
- "feed",
454
- "figure",
455
- "form",
456
- "grid",
457
- "gridcell",
458
- "group",
459
- "heading",
460
- "img",
461
- "link",
462
- "list",
463
- "listbox",
464
- "listitem",
465
- "log",
466
- "main",
467
- "marquee",
468
- "math",
469
- "menu",
470
- "menubar",
471
- "menuitem",
472
- "menuitemcheckbox",
473
- "menuitemradio",
474
- "navigation",
475
- "none",
476
- "note",
477
- "option",
478
- "presentation",
479
- "progressbar",
480
- "radio",
481
- "radiogroup",
482
- "region",
483
- "row",
484
- "rowgroup",
485
- "rowheader",
486
- "scrollbar",
487
- "search",
488
- "searchbox",
489
- "separator",
490
- "slider",
491
- "spinbutton",
492
- "status",
493
- "switch",
494
- "tab",
495
- "table",
496
- "tablist",
497
- "tabpanel",
498
- "term",
499
- "textbox",
500
- "timer",
501
- "toolbar",
502
- "tooltip",
503
- "tree",
504
- "treegrid",
505
- "treeitem",
506
- ],
507
- Var[
508
- Literal[
509
- "alert",
510
- "alertdialog",
511
- "application",
512
- "article",
513
- "banner",
514
- "button",
515
- "cell",
516
- "checkbox",
517
- "columnheader",
518
- "combobox",
519
- "complementary",
520
- "contentinfo",
521
- "definition",
522
- "dialog",
523
- "directory",
524
- "document",
525
- "feed",
526
- "figure",
527
- "form",
528
- "grid",
529
- "gridcell",
530
- "group",
531
- "heading",
532
- "img",
533
- "link",
534
- "list",
535
- "listbox",
536
- "listitem",
537
- "log",
538
- "main",
539
- "marquee",
540
- "math",
541
- "menu",
542
- "menubar",
543
- "menuitem",
544
- "menuitemcheckbox",
545
- "menuitemradio",
546
- "navigation",
547
- "none",
548
- "note",
549
- "option",
550
- "presentation",
551
- "progressbar",
552
- "radio",
553
- "radiogroup",
554
- "region",
555
- "row",
556
- "rowgroup",
557
- "rowheader",
558
- "scrollbar",
559
- "search",
560
- "searchbox",
561
- "separator",
562
- "slider",
563
- "spinbutton",
564
- "status",
565
- "switch",
566
- "tab",
567
- "table",
568
- "tablist",
569
- "tabpanel",
570
- "term",
571
- "textbox",
572
- "timer",
573
- "toolbar",
574
- "tooltip",
575
- "tree",
576
- "treegrid",
577
- "treeitem",
578
- ]
579
- ],
580
- ]
581
- ] = None,
582
- slot: Optional[Union[Var[str], str]] = None,
583
- spell_check: Optional[Union[Var[bool], bool]] = None,
584
- tab_index: Optional[Union[Var[int], int]] = None,
585
- title: Optional[Union[Var[str], str]] = None,
586
- style: Optional[Style] = None,
587
- key: Optional[Any] = None,
588
- id: Optional[Any] = None,
589
- class_name: Optional[Any] = None,
590
- autofocus: Optional[bool] = None,
591
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
513
+ ]
514
+ | None = None,
515
+ slot: Var[str] | str | None = None,
516
+ spell_check: Var[bool] | bool | None = None,
517
+ tab_index: Var[int] | int | None = None,
518
+ title: Var[str] | str | None = None,
519
+ style: Style | None = None,
520
+ key: Any | None = None,
521
+ id: Any | None = None,
522
+ class_name: Any | None = None,
523
+ autofocus: bool | None = None,
524
+ custom_attrs: dict[str, Var | Any] | None = None,
592
525
  on_blur: Optional[EventType[()]] = None,
593
526
  on_click: Optional[EventType[()]] = None,
594
527
  on_context_menu: Optional[EventType[()]] = None,
@@ -648,217 +581,190 @@ class CalloutText(elements.P, RadixThemesComponent):
648
581
  def create( # type: ignore
649
582
  cls,
650
583
  *children,
651
- access_key: Optional[Union[Var[str], str]] = None,
652
- auto_capitalize: Optional[
653
- Union[
654
- Literal["characters", "none", "off", "on", "sentences", "words"],
655
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
656
- ]
657
- ] = None,
658
- content_editable: Optional[
659
- Union[
660
- Literal["inherit", "plaintext-only", False, True],
661
- Var[Literal["inherit", "plaintext-only", False, True]],
662
- ]
663
- ] = None,
664
- context_menu: Optional[Union[Var[str], str]] = None,
665
- dir: Optional[Union[Var[str], str]] = None,
666
- draggable: Optional[Union[Var[bool], bool]] = None,
667
- enter_key_hint: Optional[
668
- Union[
669
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
670
- Var[
671
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
672
- ],
673
- ]
674
- ] = None,
675
- hidden: Optional[Union[Var[bool], bool]] = None,
676
- input_mode: Optional[
677
- Union[
678
- Literal[
679
- "decimal",
680
- "email",
681
- "none",
682
- "numeric",
683
- "search",
684
- "tel",
685
- "text",
686
- "url",
687
- ],
688
- Var[
689
- Literal[
690
- "decimal",
691
- "email",
692
- "none",
693
- "numeric",
694
- "search",
695
- "tel",
696
- "text",
697
- "url",
698
- ]
699
- ],
584
+ access_key: Var[str] | str | None = None,
585
+ auto_capitalize: Literal[
586
+ "characters", "none", "off", "on", "sentences", "words"
587
+ ]
588
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
589
+ | None = None,
590
+ content_editable: Literal["inherit", "plaintext-only", False, True]
591
+ | Var[Literal["inherit", "plaintext-only", False, True]]
592
+ | None = None,
593
+ context_menu: Var[str] | str | None = None,
594
+ dir: Var[str] | str | None = None,
595
+ draggable: Var[bool] | bool | None = None,
596
+ enter_key_hint: Literal[
597
+ "done", "enter", "go", "next", "previous", "search", "send"
598
+ ]
599
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
600
+ | None = None,
601
+ hidden: Var[bool] | bool | None = None,
602
+ input_mode: Literal[
603
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
604
+ ]
605
+ | Var[
606
+ Literal[
607
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
700
608
  ]
701
- ] = None,
702
- item_prop: Optional[Union[Var[str], str]] = None,
703
- lang: Optional[Union[Var[str], str]] = None,
704
- role: Optional[
705
- Union[
706
- Literal[
707
- "alert",
708
- "alertdialog",
709
- "application",
710
- "article",
711
- "banner",
712
- "button",
713
- "cell",
714
- "checkbox",
715
- "columnheader",
716
- "combobox",
717
- "complementary",
718
- "contentinfo",
719
- "definition",
720
- "dialog",
721
- "directory",
722
- "document",
723
- "feed",
724
- "figure",
725
- "form",
726
- "grid",
727
- "gridcell",
728
- "group",
729
- "heading",
730
- "img",
731
- "link",
732
- "list",
733
- "listbox",
734
- "listitem",
735
- "log",
736
- "main",
737
- "marquee",
738
- "math",
739
- "menu",
740
- "menubar",
741
- "menuitem",
742
- "menuitemcheckbox",
743
- "menuitemradio",
744
- "navigation",
745
- "none",
746
- "note",
747
- "option",
748
- "presentation",
749
- "progressbar",
750
- "radio",
751
- "radiogroup",
752
- "region",
753
- "row",
754
- "rowgroup",
755
- "rowheader",
756
- "scrollbar",
757
- "search",
758
- "searchbox",
759
- "separator",
760
- "slider",
761
- "spinbutton",
762
- "status",
763
- "switch",
764
- "tab",
765
- "table",
766
- "tablist",
767
- "tabpanel",
768
- "term",
769
- "textbox",
770
- "timer",
771
- "toolbar",
772
- "tooltip",
773
- "tree",
774
- "treegrid",
775
- "treeitem",
776
- ],
777
- Var[
778
- Literal[
779
- "alert",
780
- "alertdialog",
781
- "application",
782
- "article",
783
- "banner",
784
- "button",
785
- "cell",
786
- "checkbox",
787
- "columnheader",
788
- "combobox",
789
- "complementary",
790
- "contentinfo",
791
- "definition",
792
- "dialog",
793
- "directory",
794
- "document",
795
- "feed",
796
- "figure",
797
- "form",
798
- "grid",
799
- "gridcell",
800
- "group",
801
- "heading",
802
- "img",
803
- "link",
804
- "list",
805
- "listbox",
806
- "listitem",
807
- "log",
808
- "main",
809
- "marquee",
810
- "math",
811
- "menu",
812
- "menubar",
813
- "menuitem",
814
- "menuitemcheckbox",
815
- "menuitemradio",
816
- "navigation",
817
- "none",
818
- "note",
819
- "option",
820
- "presentation",
821
- "progressbar",
822
- "radio",
823
- "radiogroup",
824
- "region",
825
- "row",
826
- "rowgroup",
827
- "rowheader",
828
- "scrollbar",
829
- "search",
830
- "searchbox",
831
- "separator",
832
- "slider",
833
- "spinbutton",
834
- "status",
835
- "switch",
836
- "tab",
837
- "table",
838
- "tablist",
839
- "tabpanel",
840
- "term",
841
- "textbox",
842
- "timer",
843
- "toolbar",
844
- "tooltip",
845
- "tree",
846
- "treegrid",
847
- "treeitem",
848
- ]
849
- ],
609
+ ]
610
+ | None = None,
611
+ item_prop: Var[str] | str | None = None,
612
+ lang: Var[str] | str | None = None,
613
+ role: Literal[
614
+ "alert",
615
+ "alertdialog",
616
+ "application",
617
+ "article",
618
+ "banner",
619
+ "button",
620
+ "cell",
621
+ "checkbox",
622
+ "columnheader",
623
+ "combobox",
624
+ "complementary",
625
+ "contentinfo",
626
+ "definition",
627
+ "dialog",
628
+ "directory",
629
+ "document",
630
+ "feed",
631
+ "figure",
632
+ "form",
633
+ "grid",
634
+ "gridcell",
635
+ "group",
636
+ "heading",
637
+ "img",
638
+ "link",
639
+ "list",
640
+ "listbox",
641
+ "listitem",
642
+ "log",
643
+ "main",
644
+ "marquee",
645
+ "math",
646
+ "menu",
647
+ "menubar",
648
+ "menuitem",
649
+ "menuitemcheckbox",
650
+ "menuitemradio",
651
+ "navigation",
652
+ "none",
653
+ "note",
654
+ "option",
655
+ "presentation",
656
+ "progressbar",
657
+ "radio",
658
+ "radiogroup",
659
+ "region",
660
+ "row",
661
+ "rowgroup",
662
+ "rowheader",
663
+ "scrollbar",
664
+ "search",
665
+ "searchbox",
666
+ "separator",
667
+ "slider",
668
+ "spinbutton",
669
+ "status",
670
+ "switch",
671
+ "tab",
672
+ "table",
673
+ "tablist",
674
+ "tabpanel",
675
+ "term",
676
+ "textbox",
677
+ "timer",
678
+ "toolbar",
679
+ "tooltip",
680
+ "tree",
681
+ "treegrid",
682
+ "treeitem",
683
+ ]
684
+ | Var[
685
+ Literal[
686
+ "alert",
687
+ "alertdialog",
688
+ "application",
689
+ "article",
690
+ "banner",
691
+ "button",
692
+ "cell",
693
+ "checkbox",
694
+ "columnheader",
695
+ "combobox",
696
+ "complementary",
697
+ "contentinfo",
698
+ "definition",
699
+ "dialog",
700
+ "directory",
701
+ "document",
702
+ "feed",
703
+ "figure",
704
+ "form",
705
+ "grid",
706
+ "gridcell",
707
+ "group",
708
+ "heading",
709
+ "img",
710
+ "link",
711
+ "list",
712
+ "listbox",
713
+ "listitem",
714
+ "log",
715
+ "main",
716
+ "marquee",
717
+ "math",
718
+ "menu",
719
+ "menubar",
720
+ "menuitem",
721
+ "menuitemcheckbox",
722
+ "menuitemradio",
723
+ "navigation",
724
+ "none",
725
+ "note",
726
+ "option",
727
+ "presentation",
728
+ "progressbar",
729
+ "radio",
730
+ "radiogroup",
731
+ "region",
732
+ "row",
733
+ "rowgroup",
734
+ "rowheader",
735
+ "scrollbar",
736
+ "search",
737
+ "searchbox",
738
+ "separator",
739
+ "slider",
740
+ "spinbutton",
741
+ "status",
742
+ "switch",
743
+ "tab",
744
+ "table",
745
+ "tablist",
746
+ "tabpanel",
747
+ "term",
748
+ "textbox",
749
+ "timer",
750
+ "toolbar",
751
+ "tooltip",
752
+ "tree",
753
+ "treegrid",
754
+ "treeitem",
850
755
  ]
851
- ] = None,
852
- slot: Optional[Union[Var[str], str]] = None,
853
- spell_check: Optional[Union[Var[bool], bool]] = None,
854
- tab_index: Optional[Union[Var[int], int]] = None,
855
- title: Optional[Union[Var[str], str]] = None,
856
- style: Optional[Style] = None,
857
- key: Optional[Any] = None,
858
- id: Optional[Any] = None,
859
- class_name: Optional[Any] = None,
860
- autofocus: Optional[bool] = None,
861
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
756
+ ]
757
+ | None = None,
758
+ slot: Var[str] | str | None = None,
759
+ spell_check: Var[bool] | bool | None = None,
760
+ tab_index: Var[int] | int | None = None,
761
+ title: Var[str] | str | None = None,
762
+ style: Style | None = None,
763
+ key: Any | None = None,
764
+ id: Any | None = None,
765
+ class_name: Any | None = None,
766
+ autofocus: bool | None = None,
767
+ custom_attrs: dict[str, Var | Any] | None = None,
862
768
  on_blur: Optional[EventType[()]] = None,
863
769
  on_click: Optional[EventType[()]] = None,
864
770
  on_context_menu: Optional[EventType[()]] = None,
@@ -918,300 +824,260 @@ class Callout(CalloutRoot):
918
824
  def create( # type: ignore
919
825
  cls,
920
826
  *children,
921
- text: Optional[Union[Var[str], str]] = None,
922
- icon: Optional[Union[Var[str], str]] = None,
923
- as_child: Optional[Union[Var[bool], bool]] = None,
924
- size: Optional[
925
- Union[
926
- Breakpoints[str, Literal["1", "2", "3"]],
927
- Literal["1", "2", "3"],
928
- Var[
929
- Union[
930
- Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
931
- ]
932
- ],
827
+ text: Var[str] | str | None = None,
828
+ icon: Var[str] | str | None = None,
829
+ as_child: Var[bool] | bool | None = None,
830
+ size: Breakpoints[str, Literal["1", "2", "3"]]
831
+ | Literal["1", "2", "3"]
832
+ | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
833
+ | None = None,
834
+ variant: Literal["outline", "soft", "surface"]
835
+ | Var[Literal["outline", "soft", "surface"]]
836
+ | None = None,
837
+ color_scheme: Literal[
838
+ "amber",
839
+ "blue",
840
+ "bronze",
841
+ "brown",
842
+ "crimson",
843
+ "cyan",
844
+ "gold",
845
+ "grass",
846
+ "gray",
847
+ "green",
848
+ "indigo",
849
+ "iris",
850
+ "jade",
851
+ "lime",
852
+ "mint",
853
+ "orange",
854
+ "pink",
855
+ "plum",
856
+ "purple",
857
+ "red",
858
+ "ruby",
859
+ "sky",
860
+ "teal",
861
+ "tomato",
862
+ "violet",
863
+ "yellow",
864
+ ]
865
+ | Var[
866
+ Literal[
867
+ "amber",
868
+ "blue",
869
+ "bronze",
870
+ "brown",
871
+ "crimson",
872
+ "cyan",
873
+ "gold",
874
+ "grass",
875
+ "gray",
876
+ "green",
877
+ "indigo",
878
+ "iris",
879
+ "jade",
880
+ "lime",
881
+ "mint",
882
+ "orange",
883
+ "pink",
884
+ "plum",
885
+ "purple",
886
+ "red",
887
+ "ruby",
888
+ "sky",
889
+ "teal",
890
+ "tomato",
891
+ "violet",
892
+ "yellow",
933
893
  ]
934
- ] = None,
935
- variant: Optional[
936
- Union[
937
- Literal["outline", "soft", "surface"],
938
- Var[Literal["outline", "soft", "surface"]],
894
+ ]
895
+ | None = None,
896
+ high_contrast: Var[bool] | bool | None = None,
897
+ access_key: Var[str] | str | None = None,
898
+ auto_capitalize: Literal[
899
+ "characters", "none", "off", "on", "sentences", "words"
900
+ ]
901
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
902
+ | None = None,
903
+ content_editable: Literal["inherit", "plaintext-only", False, True]
904
+ | Var[Literal["inherit", "plaintext-only", False, True]]
905
+ | None = None,
906
+ context_menu: Var[str] | str | None = None,
907
+ dir: Var[str] | str | None = None,
908
+ draggable: Var[bool] | bool | None = None,
909
+ enter_key_hint: Literal[
910
+ "done", "enter", "go", "next", "previous", "search", "send"
911
+ ]
912
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
913
+ | None = None,
914
+ hidden: Var[bool] | bool | None = None,
915
+ input_mode: Literal[
916
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
917
+ ]
918
+ | Var[
919
+ Literal[
920
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
939
921
  ]
940
- ] = None,
941
- color_scheme: Optional[
942
- Union[
943
- Literal[
944
- "amber",
945
- "blue",
946
- "bronze",
947
- "brown",
948
- "crimson",
949
- "cyan",
950
- "gold",
951
- "grass",
952
- "gray",
953
- "green",
954
- "indigo",
955
- "iris",
956
- "jade",
957
- "lime",
958
- "mint",
959
- "orange",
960
- "pink",
961
- "plum",
962
- "purple",
963
- "red",
964
- "ruby",
965
- "sky",
966
- "teal",
967
- "tomato",
968
- "violet",
969
- "yellow",
970
- ],
971
- Var[
972
- Literal[
973
- "amber",
974
- "blue",
975
- "bronze",
976
- "brown",
977
- "crimson",
978
- "cyan",
979
- "gold",
980
- "grass",
981
- "gray",
982
- "green",
983
- "indigo",
984
- "iris",
985
- "jade",
986
- "lime",
987
- "mint",
988
- "orange",
989
- "pink",
990
- "plum",
991
- "purple",
992
- "red",
993
- "ruby",
994
- "sky",
995
- "teal",
996
- "tomato",
997
- "violet",
998
- "yellow",
999
- ]
1000
- ],
922
+ ]
923
+ | None = None,
924
+ item_prop: Var[str] | str | None = None,
925
+ lang: Var[str] | str | None = None,
926
+ role: Literal[
927
+ "alert",
928
+ "alertdialog",
929
+ "application",
930
+ "article",
931
+ "banner",
932
+ "button",
933
+ "cell",
934
+ "checkbox",
935
+ "columnheader",
936
+ "combobox",
937
+ "complementary",
938
+ "contentinfo",
939
+ "definition",
940
+ "dialog",
941
+ "directory",
942
+ "document",
943
+ "feed",
944
+ "figure",
945
+ "form",
946
+ "grid",
947
+ "gridcell",
948
+ "group",
949
+ "heading",
950
+ "img",
951
+ "link",
952
+ "list",
953
+ "listbox",
954
+ "listitem",
955
+ "log",
956
+ "main",
957
+ "marquee",
958
+ "math",
959
+ "menu",
960
+ "menubar",
961
+ "menuitem",
962
+ "menuitemcheckbox",
963
+ "menuitemradio",
964
+ "navigation",
965
+ "none",
966
+ "note",
967
+ "option",
968
+ "presentation",
969
+ "progressbar",
970
+ "radio",
971
+ "radiogroup",
972
+ "region",
973
+ "row",
974
+ "rowgroup",
975
+ "rowheader",
976
+ "scrollbar",
977
+ "search",
978
+ "searchbox",
979
+ "separator",
980
+ "slider",
981
+ "spinbutton",
982
+ "status",
983
+ "switch",
984
+ "tab",
985
+ "table",
986
+ "tablist",
987
+ "tabpanel",
988
+ "term",
989
+ "textbox",
990
+ "timer",
991
+ "toolbar",
992
+ "tooltip",
993
+ "tree",
994
+ "treegrid",
995
+ "treeitem",
996
+ ]
997
+ | Var[
998
+ Literal[
999
+ "alert",
1000
+ "alertdialog",
1001
+ "application",
1002
+ "article",
1003
+ "banner",
1004
+ "button",
1005
+ "cell",
1006
+ "checkbox",
1007
+ "columnheader",
1008
+ "combobox",
1009
+ "complementary",
1010
+ "contentinfo",
1011
+ "definition",
1012
+ "dialog",
1013
+ "directory",
1014
+ "document",
1015
+ "feed",
1016
+ "figure",
1017
+ "form",
1018
+ "grid",
1019
+ "gridcell",
1020
+ "group",
1021
+ "heading",
1022
+ "img",
1023
+ "link",
1024
+ "list",
1025
+ "listbox",
1026
+ "listitem",
1027
+ "log",
1028
+ "main",
1029
+ "marquee",
1030
+ "math",
1031
+ "menu",
1032
+ "menubar",
1033
+ "menuitem",
1034
+ "menuitemcheckbox",
1035
+ "menuitemradio",
1036
+ "navigation",
1037
+ "none",
1038
+ "note",
1039
+ "option",
1040
+ "presentation",
1041
+ "progressbar",
1042
+ "radio",
1043
+ "radiogroup",
1044
+ "region",
1045
+ "row",
1046
+ "rowgroup",
1047
+ "rowheader",
1048
+ "scrollbar",
1049
+ "search",
1050
+ "searchbox",
1051
+ "separator",
1052
+ "slider",
1053
+ "spinbutton",
1054
+ "status",
1055
+ "switch",
1056
+ "tab",
1057
+ "table",
1058
+ "tablist",
1059
+ "tabpanel",
1060
+ "term",
1061
+ "textbox",
1062
+ "timer",
1063
+ "toolbar",
1064
+ "tooltip",
1065
+ "tree",
1066
+ "treegrid",
1067
+ "treeitem",
1001
1068
  ]
1002
- ] = None,
1003
- high_contrast: Optional[Union[Var[bool], bool]] = None,
1004
- access_key: Optional[Union[Var[str], str]] = None,
1005
- auto_capitalize: Optional[
1006
- Union[
1007
- Literal["characters", "none", "off", "on", "sentences", "words"],
1008
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1009
- ]
1010
- ] = None,
1011
- content_editable: Optional[
1012
- Union[
1013
- Literal["inherit", "plaintext-only", False, True],
1014
- Var[Literal["inherit", "plaintext-only", False, True]],
1015
- ]
1016
- ] = None,
1017
- context_menu: Optional[Union[Var[str], str]] = None,
1018
- dir: Optional[Union[Var[str], str]] = None,
1019
- draggable: Optional[Union[Var[bool], bool]] = None,
1020
- enter_key_hint: Optional[
1021
- Union[
1022
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1023
- Var[
1024
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1025
- ],
1026
- ]
1027
- ] = None,
1028
- hidden: Optional[Union[Var[bool], bool]] = None,
1029
- input_mode: Optional[
1030
- Union[
1031
- Literal[
1032
- "decimal",
1033
- "email",
1034
- "none",
1035
- "numeric",
1036
- "search",
1037
- "tel",
1038
- "text",
1039
- "url",
1040
- ],
1041
- Var[
1042
- Literal[
1043
- "decimal",
1044
- "email",
1045
- "none",
1046
- "numeric",
1047
- "search",
1048
- "tel",
1049
- "text",
1050
- "url",
1051
- ]
1052
- ],
1053
- ]
1054
- ] = None,
1055
- item_prop: Optional[Union[Var[str], str]] = None,
1056
- lang: Optional[Union[Var[str], str]] = None,
1057
- role: Optional[
1058
- Union[
1059
- Literal[
1060
- "alert",
1061
- "alertdialog",
1062
- "application",
1063
- "article",
1064
- "banner",
1065
- "button",
1066
- "cell",
1067
- "checkbox",
1068
- "columnheader",
1069
- "combobox",
1070
- "complementary",
1071
- "contentinfo",
1072
- "definition",
1073
- "dialog",
1074
- "directory",
1075
- "document",
1076
- "feed",
1077
- "figure",
1078
- "form",
1079
- "grid",
1080
- "gridcell",
1081
- "group",
1082
- "heading",
1083
- "img",
1084
- "link",
1085
- "list",
1086
- "listbox",
1087
- "listitem",
1088
- "log",
1089
- "main",
1090
- "marquee",
1091
- "math",
1092
- "menu",
1093
- "menubar",
1094
- "menuitem",
1095
- "menuitemcheckbox",
1096
- "menuitemradio",
1097
- "navigation",
1098
- "none",
1099
- "note",
1100
- "option",
1101
- "presentation",
1102
- "progressbar",
1103
- "radio",
1104
- "radiogroup",
1105
- "region",
1106
- "row",
1107
- "rowgroup",
1108
- "rowheader",
1109
- "scrollbar",
1110
- "search",
1111
- "searchbox",
1112
- "separator",
1113
- "slider",
1114
- "spinbutton",
1115
- "status",
1116
- "switch",
1117
- "tab",
1118
- "table",
1119
- "tablist",
1120
- "tabpanel",
1121
- "term",
1122
- "textbox",
1123
- "timer",
1124
- "toolbar",
1125
- "tooltip",
1126
- "tree",
1127
- "treegrid",
1128
- "treeitem",
1129
- ],
1130
- Var[
1131
- Literal[
1132
- "alert",
1133
- "alertdialog",
1134
- "application",
1135
- "article",
1136
- "banner",
1137
- "button",
1138
- "cell",
1139
- "checkbox",
1140
- "columnheader",
1141
- "combobox",
1142
- "complementary",
1143
- "contentinfo",
1144
- "definition",
1145
- "dialog",
1146
- "directory",
1147
- "document",
1148
- "feed",
1149
- "figure",
1150
- "form",
1151
- "grid",
1152
- "gridcell",
1153
- "group",
1154
- "heading",
1155
- "img",
1156
- "link",
1157
- "list",
1158
- "listbox",
1159
- "listitem",
1160
- "log",
1161
- "main",
1162
- "marquee",
1163
- "math",
1164
- "menu",
1165
- "menubar",
1166
- "menuitem",
1167
- "menuitemcheckbox",
1168
- "menuitemradio",
1169
- "navigation",
1170
- "none",
1171
- "note",
1172
- "option",
1173
- "presentation",
1174
- "progressbar",
1175
- "radio",
1176
- "radiogroup",
1177
- "region",
1178
- "row",
1179
- "rowgroup",
1180
- "rowheader",
1181
- "scrollbar",
1182
- "search",
1183
- "searchbox",
1184
- "separator",
1185
- "slider",
1186
- "spinbutton",
1187
- "status",
1188
- "switch",
1189
- "tab",
1190
- "table",
1191
- "tablist",
1192
- "tabpanel",
1193
- "term",
1194
- "textbox",
1195
- "timer",
1196
- "toolbar",
1197
- "tooltip",
1198
- "tree",
1199
- "treegrid",
1200
- "treeitem",
1201
- ]
1202
- ],
1203
- ]
1204
- ] = None,
1205
- slot: Optional[Union[Var[str], str]] = None,
1206
- spell_check: Optional[Union[Var[bool], bool]] = None,
1207
- tab_index: Optional[Union[Var[int], int]] = None,
1208
- title: Optional[Union[Var[str], str]] = None,
1209
- style: Optional[Style] = None,
1210
- key: Optional[Any] = None,
1211
- id: Optional[Any] = None,
1212
- class_name: Optional[Any] = None,
1213
- autofocus: Optional[bool] = None,
1214
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1069
+ ]
1070
+ | None = None,
1071
+ slot: Var[str] | str | None = None,
1072
+ spell_check: Var[bool] | bool | None = None,
1073
+ tab_index: Var[int] | int | None = None,
1074
+ title: Var[str] | str | None = None,
1075
+ style: Style | None = None,
1076
+ key: Any | None = None,
1077
+ id: Any | None = None,
1078
+ class_name: Any | None = None,
1079
+ autofocus: bool | None = None,
1080
+ custom_attrs: dict[str, Var | Any] | None = None,
1215
1081
  on_blur: Optional[EventType[()]] = None,
1216
1082
  on_click: Optional[EventType[()]] = None,
1217
1083
  on_context_menu: Optional[EventType[()]] = None,
@@ -1277,300 +1143,260 @@ class CalloutNamespace(ComponentNamespace):
1277
1143
  @staticmethod
1278
1144
  def __call__(
1279
1145
  *children,
1280
- text: Optional[Union[Var[str], str]] = None,
1281
- icon: Optional[Union[Var[str], str]] = None,
1282
- as_child: Optional[Union[Var[bool], bool]] = None,
1283
- size: Optional[
1284
- Union[
1285
- Breakpoints[str, Literal["1", "2", "3"]],
1286
- Literal["1", "2", "3"],
1287
- Var[
1288
- Union[
1289
- Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
1290
- ]
1291
- ],
1292
- ]
1293
- ] = None,
1294
- variant: Optional[
1295
- Union[
1296
- Literal["outline", "soft", "surface"],
1297
- Var[Literal["outline", "soft", "surface"]],
1298
- ]
1299
- ] = None,
1300
- color_scheme: Optional[
1301
- Union[
1302
- Literal[
1303
- "amber",
1304
- "blue",
1305
- "bronze",
1306
- "brown",
1307
- "crimson",
1308
- "cyan",
1309
- "gold",
1310
- "grass",
1311
- "gray",
1312
- "green",
1313
- "indigo",
1314
- "iris",
1315
- "jade",
1316
- "lime",
1317
- "mint",
1318
- "orange",
1319
- "pink",
1320
- "plum",
1321
- "purple",
1322
- "red",
1323
- "ruby",
1324
- "sky",
1325
- "teal",
1326
- "tomato",
1327
- "violet",
1328
- "yellow",
1329
- ],
1330
- Var[
1331
- Literal[
1332
- "amber",
1333
- "blue",
1334
- "bronze",
1335
- "brown",
1336
- "crimson",
1337
- "cyan",
1338
- "gold",
1339
- "grass",
1340
- "gray",
1341
- "green",
1342
- "indigo",
1343
- "iris",
1344
- "jade",
1345
- "lime",
1346
- "mint",
1347
- "orange",
1348
- "pink",
1349
- "plum",
1350
- "purple",
1351
- "red",
1352
- "ruby",
1353
- "sky",
1354
- "teal",
1355
- "tomato",
1356
- "violet",
1357
- "yellow",
1358
- ]
1359
- ],
1360
- ]
1361
- ] = None,
1362
- high_contrast: Optional[Union[Var[bool], bool]] = None,
1363
- access_key: Optional[Union[Var[str], str]] = None,
1364
- auto_capitalize: Optional[
1365
- Union[
1366
- Literal["characters", "none", "off", "on", "sentences", "words"],
1367
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1368
- ]
1369
- ] = None,
1370
- content_editable: Optional[
1371
- Union[
1372
- Literal["inherit", "plaintext-only", False, True],
1373
- Var[Literal["inherit", "plaintext-only", False, True]],
1374
- ]
1375
- ] = None,
1376
- context_menu: Optional[Union[Var[str], str]] = None,
1377
- dir: Optional[Union[Var[str], str]] = None,
1378
- draggable: Optional[Union[Var[bool], bool]] = None,
1379
- enter_key_hint: Optional[
1380
- Union[
1381
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1382
- Var[
1383
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1384
- ],
1146
+ text: Var[str] | str | None = None,
1147
+ icon: Var[str] | str | None = None,
1148
+ as_child: Var[bool] | bool | None = None,
1149
+ size: Breakpoints[str, Literal["1", "2", "3"]]
1150
+ | Literal["1", "2", "3"]
1151
+ | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
1152
+ | None = None,
1153
+ variant: Literal["outline", "soft", "surface"]
1154
+ | Var[Literal["outline", "soft", "surface"]]
1155
+ | None = None,
1156
+ color_scheme: Literal[
1157
+ "amber",
1158
+ "blue",
1159
+ "bronze",
1160
+ "brown",
1161
+ "crimson",
1162
+ "cyan",
1163
+ "gold",
1164
+ "grass",
1165
+ "gray",
1166
+ "green",
1167
+ "indigo",
1168
+ "iris",
1169
+ "jade",
1170
+ "lime",
1171
+ "mint",
1172
+ "orange",
1173
+ "pink",
1174
+ "plum",
1175
+ "purple",
1176
+ "red",
1177
+ "ruby",
1178
+ "sky",
1179
+ "teal",
1180
+ "tomato",
1181
+ "violet",
1182
+ "yellow",
1183
+ ]
1184
+ | Var[
1185
+ Literal[
1186
+ "amber",
1187
+ "blue",
1188
+ "bronze",
1189
+ "brown",
1190
+ "crimson",
1191
+ "cyan",
1192
+ "gold",
1193
+ "grass",
1194
+ "gray",
1195
+ "green",
1196
+ "indigo",
1197
+ "iris",
1198
+ "jade",
1199
+ "lime",
1200
+ "mint",
1201
+ "orange",
1202
+ "pink",
1203
+ "plum",
1204
+ "purple",
1205
+ "red",
1206
+ "ruby",
1207
+ "sky",
1208
+ "teal",
1209
+ "tomato",
1210
+ "violet",
1211
+ "yellow",
1385
1212
  ]
1386
- ] = None,
1387
- hidden: Optional[Union[Var[bool], bool]] = None,
1388
- input_mode: Optional[
1389
- Union[
1390
- Literal[
1391
- "decimal",
1392
- "email",
1393
- "none",
1394
- "numeric",
1395
- "search",
1396
- "tel",
1397
- "text",
1398
- "url",
1399
- ],
1400
- Var[
1401
- Literal[
1402
- "decimal",
1403
- "email",
1404
- "none",
1405
- "numeric",
1406
- "search",
1407
- "tel",
1408
- "text",
1409
- "url",
1410
- ]
1411
- ],
1213
+ ]
1214
+ | None = None,
1215
+ high_contrast: Var[bool] | bool | None = None,
1216
+ access_key: Var[str] | str | None = None,
1217
+ auto_capitalize: Literal[
1218
+ "characters", "none", "off", "on", "sentences", "words"
1219
+ ]
1220
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1221
+ | None = None,
1222
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1223
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1224
+ | None = None,
1225
+ context_menu: Var[str] | str | None = None,
1226
+ dir: Var[str] | str | None = None,
1227
+ draggable: Var[bool] | bool | None = None,
1228
+ enter_key_hint: Literal[
1229
+ "done", "enter", "go", "next", "previous", "search", "send"
1230
+ ]
1231
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1232
+ | None = None,
1233
+ hidden: Var[bool] | bool | None = None,
1234
+ input_mode: Literal[
1235
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1236
+ ]
1237
+ | Var[
1238
+ Literal[
1239
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1412
1240
  ]
1413
- ] = None,
1414
- item_prop: Optional[Union[Var[str], str]] = None,
1415
- lang: Optional[Union[Var[str], str]] = None,
1416
- role: Optional[
1417
- Union[
1418
- Literal[
1419
- "alert",
1420
- "alertdialog",
1421
- "application",
1422
- "article",
1423
- "banner",
1424
- "button",
1425
- "cell",
1426
- "checkbox",
1427
- "columnheader",
1428
- "combobox",
1429
- "complementary",
1430
- "contentinfo",
1431
- "definition",
1432
- "dialog",
1433
- "directory",
1434
- "document",
1435
- "feed",
1436
- "figure",
1437
- "form",
1438
- "grid",
1439
- "gridcell",
1440
- "group",
1441
- "heading",
1442
- "img",
1443
- "link",
1444
- "list",
1445
- "listbox",
1446
- "listitem",
1447
- "log",
1448
- "main",
1449
- "marquee",
1450
- "math",
1451
- "menu",
1452
- "menubar",
1453
- "menuitem",
1454
- "menuitemcheckbox",
1455
- "menuitemradio",
1456
- "navigation",
1457
- "none",
1458
- "note",
1459
- "option",
1460
- "presentation",
1461
- "progressbar",
1462
- "radio",
1463
- "radiogroup",
1464
- "region",
1465
- "row",
1466
- "rowgroup",
1467
- "rowheader",
1468
- "scrollbar",
1469
- "search",
1470
- "searchbox",
1471
- "separator",
1472
- "slider",
1473
- "spinbutton",
1474
- "status",
1475
- "switch",
1476
- "tab",
1477
- "table",
1478
- "tablist",
1479
- "tabpanel",
1480
- "term",
1481
- "textbox",
1482
- "timer",
1483
- "toolbar",
1484
- "tooltip",
1485
- "tree",
1486
- "treegrid",
1487
- "treeitem",
1488
- ],
1489
- Var[
1490
- Literal[
1491
- "alert",
1492
- "alertdialog",
1493
- "application",
1494
- "article",
1495
- "banner",
1496
- "button",
1497
- "cell",
1498
- "checkbox",
1499
- "columnheader",
1500
- "combobox",
1501
- "complementary",
1502
- "contentinfo",
1503
- "definition",
1504
- "dialog",
1505
- "directory",
1506
- "document",
1507
- "feed",
1508
- "figure",
1509
- "form",
1510
- "grid",
1511
- "gridcell",
1512
- "group",
1513
- "heading",
1514
- "img",
1515
- "link",
1516
- "list",
1517
- "listbox",
1518
- "listitem",
1519
- "log",
1520
- "main",
1521
- "marquee",
1522
- "math",
1523
- "menu",
1524
- "menubar",
1525
- "menuitem",
1526
- "menuitemcheckbox",
1527
- "menuitemradio",
1528
- "navigation",
1529
- "none",
1530
- "note",
1531
- "option",
1532
- "presentation",
1533
- "progressbar",
1534
- "radio",
1535
- "radiogroup",
1536
- "region",
1537
- "row",
1538
- "rowgroup",
1539
- "rowheader",
1540
- "scrollbar",
1541
- "search",
1542
- "searchbox",
1543
- "separator",
1544
- "slider",
1545
- "spinbutton",
1546
- "status",
1547
- "switch",
1548
- "tab",
1549
- "table",
1550
- "tablist",
1551
- "tabpanel",
1552
- "term",
1553
- "textbox",
1554
- "timer",
1555
- "toolbar",
1556
- "tooltip",
1557
- "tree",
1558
- "treegrid",
1559
- "treeitem",
1560
- ]
1561
- ],
1241
+ ]
1242
+ | None = None,
1243
+ item_prop: Var[str] | str | None = None,
1244
+ lang: Var[str] | str | None = None,
1245
+ role: Literal[
1246
+ "alert",
1247
+ "alertdialog",
1248
+ "application",
1249
+ "article",
1250
+ "banner",
1251
+ "button",
1252
+ "cell",
1253
+ "checkbox",
1254
+ "columnheader",
1255
+ "combobox",
1256
+ "complementary",
1257
+ "contentinfo",
1258
+ "definition",
1259
+ "dialog",
1260
+ "directory",
1261
+ "document",
1262
+ "feed",
1263
+ "figure",
1264
+ "form",
1265
+ "grid",
1266
+ "gridcell",
1267
+ "group",
1268
+ "heading",
1269
+ "img",
1270
+ "link",
1271
+ "list",
1272
+ "listbox",
1273
+ "listitem",
1274
+ "log",
1275
+ "main",
1276
+ "marquee",
1277
+ "math",
1278
+ "menu",
1279
+ "menubar",
1280
+ "menuitem",
1281
+ "menuitemcheckbox",
1282
+ "menuitemradio",
1283
+ "navigation",
1284
+ "none",
1285
+ "note",
1286
+ "option",
1287
+ "presentation",
1288
+ "progressbar",
1289
+ "radio",
1290
+ "radiogroup",
1291
+ "region",
1292
+ "row",
1293
+ "rowgroup",
1294
+ "rowheader",
1295
+ "scrollbar",
1296
+ "search",
1297
+ "searchbox",
1298
+ "separator",
1299
+ "slider",
1300
+ "spinbutton",
1301
+ "status",
1302
+ "switch",
1303
+ "tab",
1304
+ "table",
1305
+ "tablist",
1306
+ "tabpanel",
1307
+ "term",
1308
+ "textbox",
1309
+ "timer",
1310
+ "toolbar",
1311
+ "tooltip",
1312
+ "tree",
1313
+ "treegrid",
1314
+ "treeitem",
1315
+ ]
1316
+ | Var[
1317
+ Literal[
1318
+ "alert",
1319
+ "alertdialog",
1320
+ "application",
1321
+ "article",
1322
+ "banner",
1323
+ "button",
1324
+ "cell",
1325
+ "checkbox",
1326
+ "columnheader",
1327
+ "combobox",
1328
+ "complementary",
1329
+ "contentinfo",
1330
+ "definition",
1331
+ "dialog",
1332
+ "directory",
1333
+ "document",
1334
+ "feed",
1335
+ "figure",
1336
+ "form",
1337
+ "grid",
1338
+ "gridcell",
1339
+ "group",
1340
+ "heading",
1341
+ "img",
1342
+ "link",
1343
+ "list",
1344
+ "listbox",
1345
+ "listitem",
1346
+ "log",
1347
+ "main",
1348
+ "marquee",
1349
+ "math",
1350
+ "menu",
1351
+ "menubar",
1352
+ "menuitem",
1353
+ "menuitemcheckbox",
1354
+ "menuitemradio",
1355
+ "navigation",
1356
+ "none",
1357
+ "note",
1358
+ "option",
1359
+ "presentation",
1360
+ "progressbar",
1361
+ "radio",
1362
+ "radiogroup",
1363
+ "region",
1364
+ "row",
1365
+ "rowgroup",
1366
+ "rowheader",
1367
+ "scrollbar",
1368
+ "search",
1369
+ "searchbox",
1370
+ "separator",
1371
+ "slider",
1372
+ "spinbutton",
1373
+ "status",
1374
+ "switch",
1375
+ "tab",
1376
+ "table",
1377
+ "tablist",
1378
+ "tabpanel",
1379
+ "term",
1380
+ "textbox",
1381
+ "timer",
1382
+ "toolbar",
1383
+ "tooltip",
1384
+ "tree",
1385
+ "treegrid",
1386
+ "treeitem",
1562
1387
  ]
1563
- ] = None,
1564
- slot: Optional[Union[Var[str], str]] = None,
1565
- spell_check: Optional[Union[Var[bool], bool]] = None,
1566
- tab_index: Optional[Union[Var[int], int]] = None,
1567
- title: Optional[Union[Var[str], str]] = None,
1568
- style: Optional[Style] = None,
1569
- key: Optional[Any] = None,
1570
- id: Optional[Any] = None,
1571
- class_name: Optional[Any] = None,
1572
- autofocus: Optional[bool] = None,
1573
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1388
+ ]
1389
+ | None = None,
1390
+ slot: Var[str] | str | None = None,
1391
+ spell_check: Var[bool] | bool | None = None,
1392
+ tab_index: Var[int] | int | None = None,
1393
+ title: Var[str] | str | None = None,
1394
+ style: Style | None = None,
1395
+ key: Any | None = None,
1396
+ id: Any | None = None,
1397
+ class_name: Any | None = None,
1398
+ autofocus: bool | None = None,
1399
+ custom_attrs: dict[str, Var | Any] | None = None,
1574
1400
  on_blur: Optional[EventType[()]] = None,
1575
1401
  on_click: Optional[EventType[()]] = None,
1576
1402
  on_context_menu: Optional[EventType[()]] = None,