reflex 0.7.1a4__py3-none-any.whl → 0.7.2a2__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 (227) 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/.templates/web/utils/state.js +18 -18
  4. reflex/admin.py +1 -2
  5. reflex/app.py +46 -49
  6. reflex/app_mixins/lifespan.py +2 -2
  7. reflex/app_mixins/middleware.py +1 -2
  8. reflex/assets.py +1 -2
  9. reflex/base.py +2 -2
  10. reflex/compiler/compiler.py +51 -16
  11. reflex/compiler/utils.py +4 -13
  12. reflex/components/base/app_wrap.pyi +7 -7
  13. reflex/components/base/bare.py +3 -3
  14. reflex/components/base/body.pyi +7 -7
  15. reflex/components/base/document.py +1 -3
  16. reflex/components/base/document.pyi +32 -32
  17. reflex/components/base/error_boundary.py +2 -4
  18. reflex/components/base/error_boundary.pyi +11 -13
  19. reflex/components/base/fragment.pyi +7 -7
  20. reflex/components/base/head.pyi +13 -13
  21. reflex/components/base/link.pyi +22 -22
  22. reflex/components/base/meta.py +5 -7
  23. reflex/components/base/meta.pyi +40 -40
  24. reflex/components/base/script.pyi +11 -14
  25. reflex/components/base/strict_mode.pyi +7 -7
  26. reflex/components/component.py +188 -113
  27. reflex/components/core/auto_scroll.py +8 -1
  28. reflex/components/core/auto_scroll.pyi +183 -210
  29. reflex/components/core/banner.py +2 -4
  30. reflex/components/core/banner.pyi +390 -444
  31. reflex/components/core/breakpoints.py +5 -5
  32. reflex/components/core/client_side_routing.pyi +14 -14
  33. reflex/components/core/clipboard.py +4 -4
  34. reflex/components/core/clipboard.pyi +12 -14
  35. reflex/components/core/cond.py +17 -25
  36. reflex/components/core/debounce.py +3 -3
  37. reflex/components/core/debounce.pyi +14 -14
  38. reflex/components/core/foreach.py +7 -2
  39. reflex/components/core/html.py +1 -3
  40. reflex/components/core/html.pyi +184 -213
  41. reflex/components/core/match.py +15 -19
  42. reflex/components/core/sticky.pyi +930 -1078
  43. reflex/components/core/upload.py +4 -4
  44. reflex/components/core/upload.pyi +62 -62
  45. reflex/components/datadisplay/code.py +6 -6
  46. reflex/components/datadisplay/code.pyi +1159 -1165
  47. reflex/components/datadisplay/dataeditor.py +49 -49
  48. reflex/components/datadisplay/dataeditor.pyi +95 -123
  49. reflex/components/datadisplay/logo.py +1 -3
  50. reflex/components/datadisplay/shiki_code_block.py +8 -10
  51. reflex/components/datadisplay/shiki_code_block.pyi +1678 -1720
  52. reflex/components/el/element.pyi +7 -7
  53. reflex/components/el/elements/base.pyi +183 -210
  54. reflex/components/el/elements/forms.py +24 -24
  55. reflex/components/el/elements/forms.pyi +2572 -2934
  56. reflex/components/el/elements/inline.py +4 -4
  57. reflex/components/el/elements/inline.pyi +5191 -5953
  58. reflex/components/el/elements/media.py +47 -47
  59. reflex/components/el/elements/media.pyi +4802 -5500
  60. reflex/components/el/elements/metadata.py +1 -3
  61. reflex/components/el/elements/metadata.pyi +782 -896
  62. reflex/components/el/elements/other.pyi +1278 -1467
  63. reflex/components/el/elements/scripts.pyi +580 -667
  64. reflex/components/el/elements/sectioning.pyi +2761 -3166
  65. reflex/components/el/elements/tables.pyi +1840 -2119
  66. reflex/components/el/elements/typography.pyi +2772 -3179
  67. reflex/components/gridjs/datatable.py +7 -7
  68. reflex/components/gridjs/datatable.pyi +19 -19
  69. reflex/components/lucide/icon.pyi +21 -21
  70. reflex/components/markdown/markdown.py +2 -2
  71. reflex/components/markdown/markdown.pyi +9 -9
  72. reflex/components/moment/moment.py +11 -12
  73. reflex/components/moment/moment.pyi +44 -47
  74. reflex/components/next/base.pyi +7 -7
  75. reflex/components/next/image.py +3 -3
  76. reflex/components/next/image.pyi +19 -21
  77. reflex/components/next/link.pyi +9 -9
  78. reflex/components/next/video.py +1 -3
  79. reflex/components/next/video.pyi +9 -9
  80. reflex/components/plotly/plotly.py +22 -45
  81. reflex/components/plotly/plotly.pyi +164 -164
  82. reflex/components/radix/primitives/accordion.py +14 -14
  83. reflex/components/radix/primitives/accordion.pyi +439 -487
  84. reflex/components/radix/primitives/base.py +1 -3
  85. reflex/components/radix/primitives/base.pyi +15 -15
  86. reflex/components/radix/primitives/drawer.py +3 -3
  87. reflex/components/radix/primitives/drawer.pyi +110 -116
  88. reflex/components/radix/primitives/form.py +1 -1
  89. reflex/components/radix/primitives/form.pyi +668 -752
  90. reflex/components/radix/primitives/progress.py +6 -6
  91. reflex/components/radix/primitives/progress.pyi +225 -243
  92. reflex/components/radix/primitives/slider.py +6 -6
  93. reflex/components/radix/primitives/slider.pyi +52 -55
  94. reflex/components/radix/themes/base.py +3 -6
  95. reflex/components/radix/themes/base.pyi +197 -303
  96. reflex/components/radix/themes/color_mode.py +5 -5
  97. reflex/components/radix/themes/color_mode.pyi +366 -436
  98. reflex/components/radix/themes/components/alert_dialog.pyi +229 -262
  99. reflex/components/radix/themes/components/aspect_ratio.py +1 -3
  100. reflex/components/radix/themes/components/aspect_ratio.pyi +8 -8
  101. reflex/components/radix/themes/components/avatar.pyi +79 -94
  102. reflex/components/radix/themes/components/badge.pyi +252 -295
  103. reflex/components/radix/themes/components/button.pyi +269 -314
  104. reflex/components/radix/themes/components/callout.py +2 -2
  105. reflex/components/radix/themes/components/callout.pyi +1116 -1290
  106. reflex/components/radix/themes/components/card.pyi +194 -229
  107. reflex/components/radix/themes/components/checkbox.pyi +243 -278
  108. reflex/components/radix/themes/components/checkbox_cards.py +3 -7
  109. reflex/components/radix/themes/components/checkbox_cards.pyi +101 -135
  110. reflex/components/radix/themes/components/checkbox_group.py +2 -2
  111. reflex/components/radix/themes/components/checkbox_group.pyi +83 -96
  112. reflex/components/radix/themes/components/context_menu.py +18 -15
  113. reflex/components/radix/themes/components/context_menu.pyi +408 -458
  114. reflex/components/radix/themes/components/data_list.pyi +122 -147
  115. reflex/components/radix/themes/components/dialog.pyi +231 -264
  116. reflex/components/radix/themes/components/dropdown_menu.py +16 -13
  117. reflex/components/radix/themes/components/dropdown_menu.pyi +223 -246
  118. reflex/components/radix/themes/components/hover_card.py +2 -2
  119. reflex/components/radix/themes/components/hover_card.pyi +237 -282
  120. reflex/components/radix/themes/components/icon_button.pyi +269 -314
  121. reflex/components/radix/themes/components/inset.py +8 -8
  122. reflex/components/radix/themes/components/inset.pyi +232 -292
  123. reflex/components/radix/themes/components/popover.py +2 -2
  124. reflex/components/radix/themes/components/popover.pyi +229 -271
  125. reflex/components/radix/themes/components/progress.pyi +80 -96
  126. reflex/components/radix/themes/components/radio.pyi +73 -86
  127. reflex/components/radix/themes/components/radio_cards.py +4 -8
  128. reflex/components/radix/themes/components/radio_cards.pyi +117 -154
  129. reflex/components/radix/themes/components/radio_group.py +3 -3
  130. reflex/components/radix/themes/components/radio_group.pyi +250 -291
  131. reflex/components/radix/themes/components/scroll_area.pyi +14 -20
  132. reflex/components/radix/themes/components/segmented_control.py +6 -6
  133. reflex/components/radix/themes/components/segmented_control.pyi +89 -108
  134. reflex/components/radix/themes/components/select.py +7 -7
  135. reflex/components/radix/themes/components/select.pyi +376 -444
  136. reflex/components/radix/themes/components/separator.pyi +79 -93
  137. reflex/components/radix/themes/components/skeleton.pyi +32 -26
  138. reflex/components/radix/themes/components/slider.py +8 -8
  139. reflex/components/radix/themes/components/slider.pyi +99 -122
  140. reflex/components/radix/themes/components/spinner.pyi +12 -19
  141. reflex/components/radix/themes/components/switch.pyi +84 -99
  142. reflex/components/radix/themes/components/table.py +9 -9
  143. reflex/components/radix/themes/components/table.pyi +1440 -1794
  144. reflex/components/radix/themes/components/tabs.py +4 -4
  145. reflex/components/radix/themes/components/tabs.pyi +120 -132
  146. reflex/components/radix/themes/components/text_area.pyi +281 -331
  147. reflex/components/radix/themes/components/text_field.py +2 -2
  148. reflex/components/radix/themes/components/text_field.pyi +639 -734
  149. reflex/components/radix/themes/components/tooltip.py +6 -6
  150. reflex/components/radix/themes/components/tooltip.pyi +34 -43
  151. reflex/components/radix/themes/layout/base.pyi +85 -182
  152. reflex/components/radix/themes/layout/box.pyi +183 -210
  153. reflex/components/radix/themes/layout/center.pyi +225 -286
  154. reflex/components/radix/themes/layout/container.pyi +191 -224
  155. reflex/components/radix/themes/layout/flex.py +2 -2
  156. reflex/components/radix/themes/layout/flex.pyi +225 -286
  157. reflex/components/radix/themes/layout/grid.py +2 -2
  158. reflex/components/radix/themes/layout/grid.pyi +245 -315
  159. reflex/components/radix/themes/layout/list.py +2 -2
  160. reflex/components/radix/themes/layout/list.pyi +712 -815
  161. reflex/components/radix/themes/layout/section.pyi +187 -221
  162. reflex/components/radix/themes/layout/spacer.pyi +225 -286
  163. reflex/components/radix/themes/layout/stack.pyi +625 -768
  164. reflex/components/radix/themes/typography/blockquote.pyi +257 -299
  165. reflex/components/radix/themes/typography/code.pyi +259 -304
  166. reflex/components/radix/themes/typography/heading.pyi +272 -324
  167. reflex/components/radix/themes/typography/link.pyi +302 -358
  168. reflex/components/radix/themes/typography/text.pyi +1669 -1945
  169. reflex/components/react_player/audio.pyi +20 -22
  170. reflex/components/react_player/react_player.pyi +19 -19
  171. reflex/components/react_player/video.pyi +20 -22
  172. reflex/components/recharts/cartesian.py +100 -97
  173. reflex/components/recharts/cartesian.pyi +891 -1007
  174. reflex/components/recharts/charts.py +42 -42
  175. reflex/components/recharts/charts.pyi +212 -249
  176. reflex/components/recharts/general.py +22 -21
  177. reflex/components/recharts/general.pyi +198 -223
  178. reflex/components/recharts/polar.py +42 -45
  179. reflex/components/recharts/polar.pyi +254 -288
  180. reflex/components/recharts/recharts.pyi +13 -13
  181. reflex/components/sonner/toast.py +20 -20
  182. reflex/components/sonner/toast.pyi +58 -61
  183. reflex/components/suneditor/editor.py +9 -9
  184. reflex/components/suneditor/editor.pyi +78 -83
  185. reflex/components/tags/cond_tag.py +2 -2
  186. reflex/components/tags/iter_tag.py +10 -14
  187. reflex/components/tags/match_tag.py +2 -2
  188. reflex/components/tags/tag.py +10 -10
  189. reflex/config.py +36 -35
  190. reflex/constants/__init__.py +56 -53
  191. reflex/custom_components/custom_components.py +6 -7
  192. reflex/event.py +38 -42
  193. reflex/experimental/client_state.py +2 -4
  194. reflex/experimental/layout.py +2 -2
  195. reflex/experimental/layout.pyi +579 -663
  196. reflex/istate/data.py +4 -5
  197. reflex/middleware/hydrate_middleware.py +2 -2
  198. reflex/middleware/middleware.py +2 -2
  199. reflex/model.py +3 -5
  200. reflex/page.py +2 -2
  201. reflex/reflex.py +9 -10
  202. reflex/state.py +77 -49
  203. reflex/style.py +9 -3
  204. reflex/testing.py +21 -24
  205. reflex/utils/console.py +1 -1
  206. reflex/utils/decorator.py +26 -1
  207. reflex/utils/exec.py +6 -11
  208. reflex/utils/export.py +2 -3
  209. reflex/utils/format.py +4 -4
  210. reflex/utils/imports.py +12 -12
  211. reflex/utils/prerequisites.py +35 -84
  212. reflex/utils/processes.py +5 -5
  213. reflex/utils/pyi_generator.py +33 -22
  214. reflex/utils/serializers.py +60 -15
  215. reflex/utils/types.py +237 -56
  216. reflex/vars/base.py +122 -72
  217. reflex/vars/datetime.py +2 -2
  218. reflex/vars/function.py +52 -55
  219. reflex/vars/number.py +59 -5
  220. reflex/vars/object.py +57 -26
  221. reflex/vars/sequence.py +983 -958
  222. {reflex-0.7.1a4.dist-info → reflex-0.7.2a2.dist-info}/METADATA +3 -6
  223. reflex-0.7.2a2.dist-info/RECORD +405 -0
  224. {reflex-0.7.1a4.dist-info → reflex-0.7.2a2.dist-info}/WHEEL +1 -1
  225. reflex-0.7.1a4.dist-info/RECORD +0 -405
  226. {reflex-0.7.1a4.dist-info → reflex-0.7.2a2.dist-info}/LICENSE +0 -0
  227. {reflex-0.7.1a4.dist-info → reflex-0.7.2a2.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
@@ -20,238 +20,201 @@ class TableRoot(elements.Table, RadixThemesComponent):
20
20
  def create( # type: ignore
21
21
  cls,
22
22
  *children,
23
- size: Optional[
24
- Union[
25
- Breakpoints[str, Literal["1", "2", "3"]],
26
- Literal["1", "2", "3"],
27
- Var[
28
- Union[
29
- Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
30
- ]
31
- ],
23
+ size: Breakpoints[str, Literal["1", "2", "3"]]
24
+ | Literal["1", "2", "3"]
25
+ | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
26
+ | None = None,
27
+ variant: Literal["ghost", "surface"]
28
+ | Var[Literal["ghost", "surface"]]
29
+ | None = None,
30
+ align: Literal["center", "left", "right"]
31
+ | Var[Literal["center", "left", "right"]]
32
+ | None = None,
33
+ summary: Var[str] | str | None = None,
34
+ access_key: Var[str] | str | None = None,
35
+ auto_capitalize: Literal[
36
+ "characters", "none", "off", "on", "sentences", "words"
37
+ ]
38
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
39
+ | None = None,
40
+ content_editable: Literal["inherit", "plaintext-only", False, True]
41
+ | Var[Literal["inherit", "plaintext-only", False, True]]
42
+ | None = None,
43
+ context_menu: Var[str] | str | None = None,
44
+ dir: Var[str] | str | None = None,
45
+ draggable: Var[bool] | bool | None = None,
46
+ enter_key_hint: Literal[
47
+ "done", "enter", "go", "next", "previous", "search", "send"
48
+ ]
49
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
50
+ | None = None,
51
+ hidden: Var[bool] | bool | None = None,
52
+ input_mode: Literal[
53
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
54
+ ]
55
+ | Var[
56
+ Literal[
57
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
32
58
  ]
33
- ] = None,
34
- variant: Optional[
35
- Union[Literal["ghost", "surface"], Var[Literal["ghost", "surface"]]]
36
- ] = None,
37
- align: Optional[
38
- Union[
39
- Literal["center", "left", "right"],
40
- Var[Literal["center", "left", "right"]],
59
+ ]
60
+ | None = None,
61
+ item_prop: Var[str] | str | None = None,
62
+ lang: Var[str] | str | None = None,
63
+ role: Literal[
64
+ "alert",
65
+ "alertdialog",
66
+ "application",
67
+ "article",
68
+ "banner",
69
+ "button",
70
+ "cell",
71
+ "checkbox",
72
+ "columnheader",
73
+ "combobox",
74
+ "complementary",
75
+ "contentinfo",
76
+ "definition",
77
+ "dialog",
78
+ "directory",
79
+ "document",
80
+ "feed",
81
+ "figure",
82
+ "form",
83
+ "grid",
84
+ "gridcell",
85
+ "group",
86
+ "heading",
87
+ "img",
88
+ "link",
89
+ "list",
90
+ "listbox",
91
+ "listitem",
92
+ "log",
93
+ "main",
94
+ "marquee",
95
+ "math",
96
+ "menu",
97
+ "menubar",
98
+ "menuitem",
99
+ "menuitemcheckbox",
100
+ "menuitemradio",
101
+ "navigation",
102
+ "none",
103
+ "note",
104
+ "option",
105
+ "presentation",
106
+ "progressbar",
107
+ "radio",
108
+ "radiogroup",
109
+ "region",
110
+ "row",
111
+ "rowgroup",
112
+ "rowheader",
113
+ "scrollbar",
114
+ "search",
115
+ "searchbox",
116
+ "separator",
117
+ "slider",
118
+ "spinbutton",
119
+ "status",
120
+ "switch",
121
+ "tab",
122
+ "table",
123
+ "tablist",
124
+ "tabpanel",
125
+ "term",
126
+ "textbox",
127
+ "timer",
128
+ "toolbar",
129
+ "tooltip",
130
+ "tree",
131
+ "treegrid",
132
+ "treeitem",
133
+ ]
134
+ | Var[
135
+ Literal[
136
+ "alert",
137
+ "alertdialog",
138
+ "application",
139
+ "article",
140
+ "banner",
141
+ "button",
142
+ "cell",
143
+ "checkbox",
144
+ "columnheader",
145
+ "combobox",
146
+ "complementary",
147
+ "contentinfo",
148
+ "definition",
149
+ "dialog",
150
+ "directory",
151
+ "document",
152
+ "feed",
153
+ "figure",
154
+ "form",
155
+ "grid",
156
+ "gridcell",
157
+ "group",
158
+ "heading",
159
+ "img",
160
+ "link",
161
+ "list",
162
+ "listbox",
163
+ "listitem",
164
+ "log",
165
+ "main",
166
+ "marquee",
167
+ "math",
168
+ "menu",
169
+ "menubar",
170
+ "menuitem",
171
+ "menuitemcheckbox",
172
+ "menuitemradio",
173
+ "navigation",
174
+ "none",
175
+ "note",
176
+ "option",
177
+ "presentation",
178
+ "progressbar",
179
+ "radio",
180
+ "radiogroup",
181
+ "region",
182
+ "row",
183
+ "rowgroup",
184
+ "rowheader",
185
+ "scrollbar",
186
+ "search",
187
+ "searchbox",
188
+ "separator",
189
+ "slider",
190
+ "spinbutton",
191
+ "status",
192
+ "switch",
193
+ "tab",
194
+ "table",
195
+ "tablist",
196
+ "tabpanel",
197
+ "term",
198
+ "textbox",
199
+ "timer",
200
+ "toolbar",
201
+ "tooltip",
202
+ "tree",
203
+ "treegrid",
204
+ "treeitem",
41
205
  ]
42
- ] = None,
43
- summary: Optional[Union[Var[str], str]] = None,
44
- access_key: Optional[Union[Var[str], str]] = None,
45
- auto_capitalize: Optional[
46
- Union[
47
- Literal["characters", "none", "off", "on", "sentences", "words"],
48
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
49
- ]
50
- ] = None,
51
- content_editable: Optional[
52
- Union[
53
- Literal["inherit", "plaintext-only", False, True],
54
- Var[Literal["inherit", "plaintext-only", False, True]],
55
- ]
56
- ] = None,
57
- context_menu: Optional[Union[Var[str], str]] = None,
58
- dir: Optional[Union[Var[str], str]] = None,
59
- draggable: Optional[Union[Var[bool], bool]] = None,
60
- enter_key_hint: Optional[
61
- Union[
62
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
63
- Var[
64
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
65
- ],
66
- ]
67
- ] = None,
68
- hidden: Optional[Union[Var[bool], bool]] = None,
69
- input_mode: Optional[
70
- Union[
71
- Literal[
72
- "decimal",
73
- "email",
74
- "none",
75
- "numeric",
76
- "search",
77
- "tel",
78
- "text",
79
- "url",
80
- ],
81
- Var[
82
- Literal[
83
- "decimal",
84
- "email",
85
- "none",
86
- "numeric",
87
- "search",
88
- "tel",
89
- "text",
90
- "url",
91
- ]
92
- ],
93
- ]
94
- ] = None,
95
- item_prop: Optional[Union[Var[str], str]] = None,
96
- lang: Optional[Union[Var[str], str]] = None,
97
- role: Optional[
98
- Union[
99
- Literal[
100
- "alert",
101
- "alertdialog",
102
- "application",
103
- "article",
104
- "banner",
105
- "button",
106
- "cell",
107
- "checkbox",
108
- "columnheader",
109
- "combobox",
110
- "complementary",
111
- "contentinfo",
112
- "definition",
113
- "dialog",
114
- "directory",
115
- "document",
116
- "feed",
117
- "figure",
118
- "form",
119
- "grid",
120
- "gridcell",
121
- "group",
122
- "heading",
123
- "img",
124
- "link",
125
- "list",
126
- "listbox",
127
- "listitem",
128
- "log",
129
- "main",
130
- "marquee",
131
- "math",
132
- "menu",
133
- "menubar",
134
- "menuitem",
135
- "menuitemcheckbox",
136
- "menuitemradio",
137
- "navigation",
138
- "none",
139
- "note",
140
- "option",
141
- "presentation",
142
- "progressbar",
143
- "radio",
144
- "radiogroup",
145
- "region",
146
- "row",
147
- "rowgroup",
148
- "rowheader",
149
- "scrollbar",
150
- "search",
151
- "searchbox",
152
- "separator",
153
- "slider",
154
- "spinbutton",
155
- "status",
156
- "switch",
157
- "tab",
158
- "table",
159
- "tablist",
160
- "tabpanel",
161
- "term",
162
- "textbox",
163
- "timer",
164
- "toolbar",
165
- "tooltip",
166
- "tree",
167
- "treegrid",
168
- "treeitem",
169
- ],
170
- Var[
171
- Literal[
172
- "alert",
173
- "alertdialog",
174
- "application",
175
- "article",
176
- "banner",
177
- "button",
178
- "cell",
179
- "checkbox",
180
- "columnheader",
181
- "combobox",
182
- "complementary",
183
- "contentinfo",
184
- "definition",
185
- "dialog",
186
- "directory",
187
- "document",
188
- "feed",
189
- "figure",
190
- "form",
191
- "grid",
192
- "gridcell",
193
- "group",
194
- "heading",
195
- "img",
196
- "link",
197
- "list",
198
- "listbox",
199
- "listitem",
200
- "log",
201
- "main",
202
- "marquee",
203
- "math",
204
- "menu",
205
- "menubar",
206
- "menuitem",
207
- "menuitemcheckbox",
208
- "menuitemradio",
209
- "navigation",
210
- "none",
211
- "note",
212
- "option",
213
- "presentation",
214
- "progressbar",
215
- "radio",
216
- "radiogroup",
217
- "region",
218
- "row",
219
- "rowgroup",
220
- "rowheader",
221
- "scrollbar",
222
- "search",
223
- "searchbox",
224
- "separator",
225
- "slider",
226
- "spinbutton",
227
- "status",
228
- "switch",
229
- "tab",
230
- "table",
231
- "tablist",
232
- "tabpanel",
233
- "term",
234
- "textbox",
235
- "timer",
236
- "toolbar",
237
- "tooltip",
238
- "tree",
239
- "treegrid",
240
- "treeitem",
241
- ]
242
- ],
243
- ]
244
- ] = None,
245
- slot: Optional[Union[Var[str], str]] = None,
246
- spell_check: Optional[Union[Var[bool], bool]] = None,
247
- tab_index: Optional[Union[Var[int], int]] = None,
248
- title: Optional[Union[Var[str], str]] = None,
249
- style: Optional[Style] = None,
250
- key: Optional[Any] = None,
251
- id: Optional[Any] = None,
252
- class_name: Optional[Any] = None,
253
- autofocus: Optional[bool] = None,
254
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
206
+ ]
207
+ | None = None,
208
+ slot: Var[str] | str | None = None,
209
+ spell_check: Var[bool] | bool | None = None,
210
+ tab_index: Var[int] | int | None = None,
211
+ title: Var[str] | str | None = None,
212
+ style: Style | None = None,
213
+ key: Any | None = None,
214
+ id: Any | None = None,
215
+ class_name: Any | None = None,
216
+ autofocus: bool | None = None,
217
+ custom_attrs: dict[str, Var | Any] | None = None,
255
218
  on_blur: Optional[EventType[()]] = None,
256
219
  on_click: Optional[EventType[()]] = None,
257
220
  on_context_menu: Optional[EventType[()]] = None,
@@ -315,217 +278,190 @@ class TableHeader(elements.Thead, RadixThemesComponent):
315
278
  def create( # type: ignore
316
279
  cls,
317
280
  *children,
318
- access_key: Optional[Union[Var[str], str]] = None,
319
- auto_capitalize: Optional[
320
- Union[
321
- Literal["characters", "none", "off", "on", "sentences", "words"],
322
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
323
- ]
324
- ] = None,
325
- content_editable: Optional[
326
- Union[
327
- Literal["inherit", "plaintext-only", False, True],
328
- Var[Literal["inherit", "plaintext-only", False, True]],
281
+ access_key: Var[str] | str | None = None,
282
+ auto_capitalize: Literal[
283
+ "characters", "none", "off", "on", "sentences", "words"
284
+ ]
285
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
286
+ | None = None,
287
+ content_editable: Literal["inherit", "plaintext-only", False, True]
288
+ | Var[Literal["inherit", "plaintext-only", False, True]]
289
+ | None = None,
290
+ context_menu: Var[str] | str | None = None,
291
+ dir: Var[str] | str | None = None,
292
+ draggable: Var[bool] | bool | None = None,
293
+ enter_key_hint: Literal[
294
+ "done", "enter", "go", "next", "previous", "search", "send"
295
+ ]
296
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
297
+ | None = None,
298
+ hidden: Var[bool] | bool | None = None,
299
+ input_mode: Literal[
300
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
301
+ ]
302
+ | Var[
303
+ Literal[
304
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
329
305
  ]
330
- ] = None,
331
- context_menu: Optional[Union[Var[str], str]] = None,
332
- dir: Optional[Union[Var[str], str]] = None,
333
- draggable: Optional[Union[Var[bool], bool]] = None,
334
- enter_key_hint: Optional[
335
- Union[
336
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
337
- Var[
338
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
339
- ],
306
+ ]
307
+ | None = None,
308
+ item_prop: Var[str] | str | None = None,
309
+ lang: Var[str] | str | None = None,
310
+ role: Literal[
311
+ "alert",
312
+ "alertdialog",
313
+ "application",
314
+ "article",
315
+ "banner",
316
+ "button",
317
+ "cell",
318
+ "checkbox",
319
+ "columnheader",
320
+ "combobox",
321
+ "complementary",
322
+ "contentinfo",
323
+ "definition",
324
+ "dialog",
325
+ "directory",
326
+ "document",
327
+ "feed",
328
+ "figure",
329
+ "form",
330
+ "grid",
331
+ "gridcell",
332
+ "group",
333
+ "heading",
334
+ "img",
335
+ "link",
336
+ "list",
337
+ "listbox",
338
+ "listitem",
339
+ "log",
340
+ "main",
341
+ "marquee",
342
+ "math",
343
+ "menu",
344
+ "menubar",
345
+ "menuitem",
346
+ "menuitemcheckbox",
347
+ "menuitemradio",
348
+ "navigation",
349
+ "none",
350
+ "note",
351
+ "option",
352
+ "presentation",
353
+ "progressbar",
354
+ "radio",
355
+ "radiogroup",
356
+ "region",
357
+ "row",
358
+ "rowgroup",
359
+ "rowheader",
360
+ "scrollbar",
361
+ "search",
362
+ "searchbox",
363
+ "separator",
364
+ "slider",
365
+ "spinbutton",
366
+ "status",
367
+ "switch",
368
+ "tab",
369
+ "table",
370
+ "tablist",
371
+ "tabpanel",
372
+ "term",
373
+ "textbox",
374
+ "timer",
375
+ "toolbar",
376
+ "tooltip",
377
+ "tree",
378
+ "treegrid",
379
+ "treeitem",
380
+ ]
381
+ | Var[
382
+ Literal[
383
+ "alert",
384
+ "alertdialog",
385
+ "application",
386
+ "article",
387
+ "banner",
388
+ "button",
389
+ "cell",
390
+ "checkbox",
391
+ "columnheader",
392
+ "combobox",
393
+ "complementary",
394
+ "contentinfo",
395
+ "definition",
396
+ "dialog",
397
+ "directory",
398
+ "document",
399
+ "feed",
400
+ "figure",
401
+ "form",
402
+ "grid",
403
+ "gridcell",
404
+ "group",
405
+ "heading",
406
+ "img",
407
+ "link",
408
+ "list",
409
+ "listbox",
410
+ "listitem",
411
+ "log",
412
+ "main",
413
+ "marquee",
414
+ "math",
415
+ "menu",
416
+ "menubar",
417
+ "menuitem",
418
+ "menuitemcheckbox",
419
+ "menuitemradio",
420
+ "navigation",
421
+ "none",
422
+ "note",
423
+ "option",
424
+ "presentation",
425
+ "progressbar",
426
+ "radio",
427
+ "radiogroup",
428
+ "region",
429
+ "row",
430
+ "rowgroup",
431
+ "rowheader",
432
+ "scrollbar",
433
+ "search",
434
+ "searchbox",
435
+ "separator",
436
+ "slider",
437
+ "spinbutton",
438
+ "status",
439
+ "switch",
440
+ "tab",
441
+ "table",
442
+ "tablist",
443
+ "tabpanel",
444
+ "term",
445
+ "textbox",
446
+ "timer",
447
+ "toolbar",
448
+ "tooltip",
449
+ "tree",
450
+ "treegrid",
451
+ "treeitem",
340
452
  ]
341
- ] = None,
342
- hidden: Optional[Union[Var[bool], bool]] = None,
343
- input_mode: Optional[
344
- Union[
345
- Literal[
346
- "decimal",
347
- "email",
348
- "none",
349
- "numeric",
350
- "search",
351
- "tel",
352
- "text",
353
- "url",
354
- ],
355
- Var[
356
- Literal[
357
- "decimal",
358
- "email",
359
- "none",
360
- "numeric",
361
- "search",
362
- "tel",
363
- "text",
364
- "url",
365
- ]
366
- ],
367
- ]
368
- ] = None,
369
- item_prop: Optional[Union[Var[str], str]] = None,
370
- lang: Optional[Union[Var[str], str]] = None,
371
- role: Optional[
372
- Union[
373
- Literal[
374
- "alert",
375
- "alertdialog",
376
- "application",
377
- "article",
378
- "banner",
379
- "button",
380
- "cell",
381
- "checkbox",
382
- "columnheader",
383
- "combobox",
384
- "complementary",
385
- "contentinfo",
386
- "definition",
387
- "dialog",
388
- "directory",
389
- "document",
390
- "feed",
391
- "figure",
392
- "form",
393
- "grid",
394
- "gridcell",
395
- "group",
396
- "heading",
397
- "img",
398
- "link",
399
- "list",
400
- "listbox",
401
- "listitem",
402
- "log",
403
- "main",
404
- "marquee",
405
- "math",
406
- "menu",
407
- "menubar",
408
- "menuitem",
409
- "menuitemcheckbox",
410
- "menuitemradio",
411
- "navigation",
412
- "none",
413
- "note",
414
- "option",
415
- "presentation",
416
- "progressbar",
417
- "radio",
418
- "radiogroup",
419
- "region",
420
- "row",
421
- "rowgroup",
422
- "rowheader",
423
- "scrollbar",
424
- "search",
425
- "searchbox",
426
- "separator",
427
- "slider",
428
- "spinbutton",
429
- "status",
430
- "switch",
431
- "tab",
432
- "table",
433
- "tablist",
434
- "tabpanel",
435
- "term",
436
- "textbox",
437
- "timer",
438
- "toolbar",
439
- "tooltip",
440
- "tree",
441
- "treegrid",
442
- "treeitem",
443
- ],
444
- Var[
445
- Literal[
446
- "alert",
447
- "alertdialog",
448
- "application",
449
- "article",
450
- "banner",
451
- "button",
452
- "cell",
453
- "checkbox",
454
- "columnheader",
455
- "combobox",
456
- "complementary",
457
- "contentinfo",
458
- "definition",
459
- "dialog",
460
- "directory",
461
- "document",
462
- "feed",
463
- "figure",
464
- "form",
465
- "grid",
466
- "gridcell",
467
- "group",
468
- "heading",
469
- "img",
470
- "link",
471
- "list",
472
- "listbox",
473
- "listitem",
474
- "log",
475
- "main",
476
- "marquee",
477
- "math",
478
- "menu",
479
- "menubar",
480
- "menuitem",
481
- "menuitemcheckbox",
482
- "menuitemradio",
483
- "navigation",
484
- "none",
485
- "note",
486
- "option",
487
- "presentation",
488
- "progressbar",
489
- "radio",
490
- "radiogroup",
491
- "region",
492
- "row",
493
- "rowgroup",
494
- "rowheader",
495
- "scrollbar",
496
- "search",
497
- "searchbox",
498
- "separator",
499
- "slider",
500
- "spinbutton",
501
- "status",
502
- "switch",
503
- "tab",
504
- "table",
505
- "tablist",
506
- "tabpanel",
507
- "term",
508
- "textbox",
509
- "timer",
510
- "toolbar",
511
- "tooltip",
512
- "tree",
513
- "treegrid",
514
- "treeitem",
515
- ]
516
- ],
517
- ]
518
- ] = None,
519
- slot: Optional[Union[Var[str], str]] = None,
520
- spell_check: Optional[Union[Var[bool], bool]] = None,
521
- tab_index: Optional[Union[Var[int], int]] = None,
522
- title: Optional[Union[Var[str], str]] = None,
523
- style: Optional[Style] = None,
524
- key: Optional[Any] = None,
525
- id: Optional[Any] = None,
526
- class_name: Optional[Any] = None,
527
- autofocus: Optional[bool] = None,
528
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
453
+ ]
454
+ | None = None,
455
+ slot: Var[str] | str | None = None,
456
+ spell_check: Var[bool] | bool | None = None,
457
+ tab_index: Var[int] | int | None = None,
458
+ title: Var[str] | str | None = None,
459
+ style: Style | None = None,
460
+ key: Any | None = None,
461
+ id: Any | None = None,
462
+ class_name: Any | None = None,
463
+ autofocus: bool | None = None,
464
+ custom_attrs: dict[str, Var | Any] | None = None,
529
465
  on_blur: Optional[EventType[()]] = None,
530
466
  on_click: Optional[EventType[()]] = None,
531
467
  on_context_menu: Optional[EventType[()]] = None,
@@ -585,223 +521,193 @@ class TableRow(elements.Tr, RadixThemesComponent):
585
521
  def create( # type: ignore
586
522
  cls,
587
523
  *children,
588
- align: Optional[
589
- Union[
590
- Literal["baseline", "center", "end", "start"],
591
- Var[Literal["baseline", "center", "end", "start"]],
592
- ]
593
- ] = None,
594
- access_key: Optional[Union[Var[str], str]] = None,
595
- auto_capitalize: Optional[
596
- Union[
597
- Literal["characters", "none", "off", "on", "sentences", "words"],
598
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
599
- ]
600
- ] = None,
601
- content_editable: Optional[
602
- Union[
603
- Literal["inherit", "plaintext-only", False, True],
604
- Var[Literal["inherit", "plaintext-only", False, True]],
605
- ]
606
- ] = None,
607
- context_menu: Optional[Union[Var[str], str]] = None,
608
- dir: Optional[Union[Var[str], str]] = None,
609
- draggable: Optional[Union[Var[bool], bool]] = None,
610
- enter_key_hint: Optional[
611
- Union[
612
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
613
- Var[
614
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
615
- ],
524
+ align: Literal["baseline", "center", "end", "start"]
525
+ | Var[Literal["baseline", "center", "end", "start"]]
526
+ | None = None,
527
+ access_key: Var[str] | str | None = None,
528
+ auto_capitalize: Literal[
529
+ "characters", "none", "off", "on", "sentences", "words"
530
+ ]
531
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
532
+ | None = None,
533
+ content_editable: Literal["inherit", "plaintext-only", False, True]
534
+ | Var[Literal["inherit", "plaintext-only", False, True]]
535
+ | None = None,
536
+ context_menu: Var[str] | str | None = None,
537
+ dir: Var[str] | str | None = None,
538
+ draggable: Var[bool] | bool | None = None,
539
+ enter_key_hint: Literal[
540
+ "done", "enter", "go", "next", "previous", "search", "send"
541
+ ]
542
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
543
+ | None = None,
544
+ hidden: Var[bool] | bool | None = None,
545
+ input_mode: Literal[
546
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
547
+ ]
548
+ | Var[
549
+ Literal[
550
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
616
551
  ]
617
- ] = None,
618
- hidden: Optional[Union[Var[bool], bool]] = None,
619
- input_mode: Optional[
620
- Union[
621
- Literal[
622
- "decimal",
623
- "email",
624
- "none",
625
- "numeric",
626
- "search",
627
- "tel",
628
- "text",
629
- "url",
630
- ],
631
- Var[
632
- Literal[
633
- "decimal",
634
- "email",
635
- "none",
636
- "numeric",
637
- "search",
638
- "tel",
639
- "text",
640
- "url",
641
- ]
642
- ],
552
+ ]
553
+ | None = None,
554
+ item_prop: Var[str] | str | None = None,
555
+ lang: Var[str] | str | None = None,
556
+ role: Literal[
557
+ "alert",
558
+ "alertdialog",
559
+ "application",
560
+ "article",
561
+ "banner",
562
+ "button",
563
+ "cell",
564
+ "checkbox",
565
+ "columnheader",
566
+ "combobox",
567
+ "complementary",
568
+ "contentinfo",
569
+ "definition",
570
+ "dialog",
571
+ "directory",
572
+ "document",
573
+ "feed",
574
+ "figure",
575
+ "form",
576
+ "grid",
577
+ "gridcell",
578
+ "group",
579
+ "heading",
580
+ "img",
581
+ "link",
582
+ "list",
583
+ "listbox",
584
+ "listitem",
585
+ "log",
586
+ "main",
587
+ "marquee",
588
+ "math",
589
+ "menu",
590
+ "menubar",
591
+ "menuitem",
592
+ "menuitemcheckbox",
593
+ "menuitemradio",
594
+ "navigation",
595
+ "none",
596
+ "note",
597
+ "option",
598
+ "presentation",
599
+ "progressbar",
600
+ "radio",
601
+ "radiogroup",
602
+ "region",
603
+ "row",
604
+ "rowgroup",
605
+ "rowheader",
606
+ "scrollbar",
607
+ "search",
608
+ "searchbox",
609
+ "separator",
610
+ "slider",
611
+ "spinbutton",
612
+ "status",
613
+ "switch",
614
+ "tab",
615
+ "table",
616
+ "tablist",
617
+ "tabpanel",
618
+ "term",
619
+ "textbox",
620
+ "timer",
621
+ "toolbar",
622
+ "tooltip",
623
+ "tree",
624
+ "treegrid",
625
+ "treeitem",
626
+ ]
627
+ | Var[
628
+ Literal[
629
+ "alert",
630
+ "alertdialog",
631
+ "application",
632
+ "article",
633
+ "banner",
634
+ "button",
635
+ "cell",
636
+ "checkbox",
637
+ "columnheader",
638
+ "combobox",
639
+ "complementary",
640
+ "contentinfo",
641
+ "definition",
642
+ "dialog",
643
+ "directory",
644
+ "document",
645
+ "feed",
646
+ "figure",
647
+ "form",
648
+ "grid",
649
+ "gridcell",
650
+ "group",
651
+ "heading",
652
+ "img",
653
+ "link",
654
+ "list",
655
+ "listbox",
656
+ "listitem",
657
+ "log",
658
+ "main",
659
+ "marquee",
660
+ "math",
661
+ "menu",
662
+ "menubar",
663
+ "menuitem",
664
+ "menuitemcheckbox",
665
+ "menuitemradio",
666
+ "navigation",
667
+ "none",
668
+ "note",
669
+ "option",
670
+ "presentation",
671
+ "progressbar",
672
+ "radio",
673
+ "radiogroup",
674
+ "region",
675
+ "row",
676
+ "rowgroup",
677
+ "rowheader",
678
+ "scrollbar",
679
+ "search",
680
+ "searchbox",
681
+ "separator",
682
+ "slider",
683
+ "spinbutton",
684
+ "status",
685
+ "switch",
686
+ "tab",
687
+ "table",
688
+ "tablist",
689
+ "tabpanel",
690
+ "term",
691
+ "textbox",
692
+ "timer",
693
+ "toolbar",
694
+ "tooltip",
695
+ "tree",
696
+ "treegrid",
697
+ "treeitem",
643
698
  ]
644
- ] = None,
645
- item_prop: Optional[Union[Var[str], str]] = None,
646
- lang: Optional[Union[Var[str], str]] = None,
647
- role: Optional[
648
- Union[
649
- Literal[
650
- "alert",
651
- "alertdialog",
652
- "application",
653
- "article",
654
- "banner",
655
- "button",
656
- "cell",
657
- "checkbox",
658
- "columnheader",
659
- "combobox",
660
- "complementary",
661
- "contentinfo",
662
- "definition",
663
- "dialog",
664
- "directory",
665
- "document",
666
- "feed",
667
- "figure",
668
- "form",
669
- "grid",
670
- "gridcell",
671
- "group",
672
- "heading",
673
- "img",
674
- "link",
675
- "list",
676
- "listbox",
677
- "listitem",
678
- "log",
679
- "main",
680
- "marquee",
681
- "math",
682
- "menu",
683
- "menubar",
684
- "menuitem",
685
- "menuitemcheckbox",
686
- "menuitemradio",
687
- "navigation",
688
- "none",
689
- "note",
690
- "option",
691
- "presentation",
692
- "progressbar",
693
- "radio",
694
- "radiogroup",
695
- "region",
696
- "row",
697
- "rowgroup",
698
- "rowheader",
699
- "scrollbar",
700
- "search",
701
- "searchbox",
702
- "separator",
703
- "slider",
704
- "spinbutton",
705
- "status",
706
- "switch",
707
- "tab",
708
- "table",
709
- "tablist",
710
- "tabpanel",
711
- "term",
712
- "textbox",
713
- "timer",
714
- "toolbar",
715
- "tooltip",
716
- "tree",
717
- "treegrid",
718
- "treeitem",
719
- ],
720
- Var[
721
- Literal[
722
- "alert",
723
- "alertdialog",
724
- "application",
725
- "article",
726
- "banner",
727
- "button",
728
- "cell",
729
- "checkbox",
730
- "columnheader",
731
- "combobox",
732
- "complementary",
733
- "contentinfo",
734
- "definition",
735
- "dialog",
736
- "directory",
737
- "document",
738
- "feed",
739
- "figure",
740
- "form",
741
- "grid",
742
- "gridcell",
743
- "group",
744
- "heading",
745
- "img",
746
- "link",
747
- "list",
748
- "listbox",
749
- "listitem",
750
- "log",
751
- "main",
752
- "marquee",
753
- "math",
754
- "menu",
755
- "menubar",
756
- "menuitem",
757
- "menuitemcheckbox",
758
- "menuitemradio",
759
- "navigation",
760
- "none",
761
- "note",
762
- "option",
763
- "presentation",
764
- "progressbar",
765
- "radio",
766
- "radiogroup",
767
- "region",
768
- "row",
769
- "rowgroup",
770
- "rowheader",
771
- "scrollbar",
772
- "search",
773
- "searchbox",
774
- "separator",
775
- "slider",
776
- "spinbutton",
777
- "status",
778
- "switch",
779
- "tab",
780
- "table",
781
- "tablist",
782
- "tabpanel",
783
- "term",
784
- "textbox",
785
- "timer",
786
- "toolbar",
787
- "tooltip",
788
- "tree",
789
- "treegrid",
790
- "treeitem",
791
- ]
792
- ],
793
- ]
794
- ] = None,
795
- slot: Optional[Union[Var[str], str]] = None,
796
- spell_check: Optional[Union[Var[bool], bool]] = None,
797
- tab_index: Optional[Union[Var[int], int]] = None,
798
- title: Optional[Union[Var[str], str]] = None,
799
- style: Optional[Style] = None,
800
- key: Optional[Any] = None,
801
- id: Optional[Any] = None,
802
- class_name: Optional[Any] = None,
803
- autofocus: Optional[bool] = None,
804
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
699
+ ]
700
+ | None = None,
701
+ slot: Var[str] | str | None = None,
702
+ spell_check: Var[bool] | bool | None = None,
703
+ tab_index: Var[int] | int | None = None,
704
+ title: Var[str] | str | None = None,
705
+ style: Style | None = None,
706
+ key: Any | None = None,
707
+ id: Any | None = None,
708
+ class_name: Any | None = None,
709
+ autofocus: bool | None = None,
710
+ custom_attrs: dict[str, Var | Any] | None = None,
805
711
  on_blur: Optional[EventType[()]] = None,
806
712
  on_click: Optional[EventType[()]] = None,
807
713
  on_context_menu: Optional[EventType[()]] = None,
@@ -862,239 +768,208 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
862
768
  def create( # type: ignore
863
769
  cls,
864
770
  *children,
865
- justify: Optional[
866
- Union[
867
- Literal["center", "end", "start"],
868
- Var[Literal["center", "end", "start"]],
869
- ]
870
- ] = None,
871
- min_width: Optional[
872
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
873
- ] = None,
874
- max_width: Optional[
875
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
876
- ] = None,
877
- align: Optional[
878
- Union[
879
- Literal["center", "char", "justify", "left", "right"],
880
- Var[Literal["center", "char", "justify", "left", "right"]],
881
- ]
882
- ] = None,
883
- col_span: Optional[Union[Var[int], int]] = None,
884
- headers: Optional[Union[Var[str], str]] = None,
885
- row_span: Optional[Union[Var[int], int]] = None,
886
- scope: Optional[Union[Var[str], str]] = None,
887
- access_key: Optional[Union[Var[str], str]] = None,
888
- auto_capitalize: Optional[
889
- Union[
890
- Literal["characters", "none", "off", "on", "sentences", "words"],
891
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
892
- ]
893
- ] = None,
894
- content_editable: Optional[
895
- Union[
896
- Literal["inherit", "plaintext-only", False, True],
897
- Var[Literal["inherit", "plaintext-only", False, True]],
898
- ]
899
- ] = None,
900
- context_menu: Optional[Union[Var[str], str]] = None,
901
- dir: Optional[Union[Var[str], str]] = None,
902
- draggable: Optional[Union[Var[bool], bool]] = None,
903
- enter_key_hint: Optional[
904
- Union[
905
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
906
- Var[
907
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
908
- ],
909
- ]
910
- ] = None,
911
- hidden: Optional[Union[Var[bool], bool]] = None,
912
- input_mode: Optional[
913
- Union[
914
- Literal[
915
- "decimal",
916
- "email",
917
- "none",
918
- "numeric",
919
- "search",
920
- "tel",
921
- "text",
922
- "url",
923
- ],
924
- Var[
925
- Literal[
926
- "decimal",
927
- "email",
928
- "none",
929
- "numeric",
930
- "search",
931
- "tel",
932
- "text",
933
- "url",
934
- ]
935
- ],
771
+ justify: Literal["center", "end", "start"]
772
+ | Var[Literal["center", "end", "start"]]
773
+ | None = None,
774
+ min_width: Breakpoints[str, str]
775
+ | Var[Breakpoints[str, str] | str]
776
+ | str
777
+ | None = None,
778
+ max_width: Breakpoints[str, str]
779
+ | Var[Breakpoints[str, str] | str]
780
+ | str
781
+ | None = None,
782
+ align: Literal["center", "char", "justify", "left", "right"]
783
+ | Var[Literal["center", "char", "justify", "left", "right"]]
784
+ | None = None,
785
+ col_span: Var[int] | int | None = None,
786
+ headers: Var[str] | str | None = None,
787
+ row_span: Var[int] | int | None = None,
788
+ scope: Var[str] | str | None = None,
789
+ access_key: Var[str] | str | None = None,
790
+ auto_capitalize: Literal[
791
+ "characters", "none", "off", "on", "sentences", "words"
792
+ ]
793
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
794
+ | None = None,
795
+ content_editable: Literal["inherit", "plaintext-only", False, True]
796
+ | Var[Literal["inherit", "plaintext-only", False, True]]
797
+ | None = None,
798
+ context_menu: Var[str] | str | None = None,
799
+ dir: Var[str] | str | None = None,
800
+ draggable: Var[bool] | bool | None = None,
801
+ enter_key_hint: Literal[
802
+ "done", "enter", "go", "next", "previous", "search", "send"
803
+ ]
804
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
805
+ | None = None,
806
+ hidden: Var[bool] | bool | None = None,
807
+ input_mode: Literal[
808
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
809
+ ]
810
+ | Var[
811
+ Literal[
812
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
936
813
  ]
937
- ] = None,
938
- item_prop: Optional[Union[Var[str], str]] = None,
939
- lang: Optional[Union[Var[str], str]] = None,
940
- role: Optional[
941
- Union[
942
- Literal[
943
- "alert",
944
- "alertdialog",
945
- "application",
946
- "article",
947
- "banner",
948
- "button",
949
- "cell",
950
- "checkbox",
951
- "columnheader",
952
- "combobox",
953
- "complementary",
954
- "contentinfo",
955
- "definition",
956
- "dialog",
957
- "directory",
958
- "document",
959
- "feed",
960
- "figure",
961
- "form",
962
- "grid",
963
- "gridcell",
964
- "group",
965
- "heading",
966
- "img",
967
- "link",
968
- "list",
969
- "listbox",
970
- "listitem",
971
- "log",
972
- "main",
973
- "marquee",
974
- "math",
975
- "menu",
976
- "menubar",
977
- "menuitem",
978
- "menuitemcheckbox",
979
- "menuitemradio",
980
- "navigation",
981
- "none",
982
- "note",
983
- "option",
984
- "presentation",
985
- "progressbar",
986
- "radio",
987
- "radiogroup",
988
- "region",
989
- "row",
990
- "rowgroup",
991
- "rowheader",
992
- "scrollbar",
993
- "search",
994
- "searchbox",
995
- "separator",
996
- "slider",
997
- "spinbutton",
998
- "status",
999
- "switch",
1000
- "tab",
1001
- "table",
1002
- "tablist",
1003
- "tabpanel",
1004
- "term",
1005
- "textbox",
1006
- "timer",
1007
- "toolbar",
1008
- "tooltip",
1009
- "tree",
1010
- "treegrid",
1011
- "treeitem",
1012
- ],
1013
- Var[
1014
- Literal[
1015
- "alert",
1016
- "alertdialog",
1017
- "application",
1018
- "article",
1019
- "banner",
1020
- "button",
1021
- "cell",
1022
- "checkbox",
1023
- "columnheader",
1024
- "combobox",
1025
- "complementary",
1026
- "contentinfo",
1027
- "definition",
1028
- "dialog",
1029
- "directory",
1030
- "document",
1031
- "feed",
1032
- "figure",
1033
- "form",
1034
- "grid",
1035
- "gridcell",
1036
- "group",
1037
- "heading",
1038
- "img",
1039
- "link",
1040
- "list",
1041
- "listbox",
1042
- "listitem",
1043
- "log",
1044
- "main",
1045
- "marquee",
1046
- "math",
1047
- "menu",
1048
- "menubar",
1049
- "menuitem",
1050
- "menuitemcheckbox",
1051
- "menuitemradio",
1052
- "navigation",
1053
- "none",
1054
- "note",
1055
- "option",
1056
- "presentation",
1057
- "progressbar",
1058
- "radio",
1059
- "radiogroup",
1060
- "region",
1061
- "row",
1062
- "rowgroup",
1063
- "rowheader",
1064
- "scrollbar",
1065
- "search",
1066
- "searchbox",
1067
- "separator",
1068
- "slider",
1069
- "spinbutton",
1070
- "status",
1071
- "switch",
1072
- "tab",
1073
- "table",
1074
- "tablist",
1075
- "tabpanel",
1076
- "term",
1077
- "textbox",
1078
- "timer",
1079
- "toolbar",
1080
- "tooltip",
1081
- "tree",
1082
- "treegrid",
1083
- "treeitem",
1084
- ]
1085
- ],
814
+ ]
815
+ | None = None,
816
+ item_prop: Var[str] | str | None = None,
817
+ lang: Var[str] | str | None = None,
818
+ role: Literal[
819
+ "alert",
820
+ "alertdialog",
821
+ "application",
822
+ "article",
823
+ "banner",
824
+ "button",
825
+ "cell",
826
+ "checkbox",
827
+ "columnheader",
828
+ "combobox",
829
+ "complementary",
830
+ "contentinfo",
831
+ "definition",
832
+ "dialog",
833
+ "directory",
834
+ "document",
835
+ "feed",
836
+ "figure",
837
+ "form",
838
+ "grid",
839
+ "gridcell",
840
+ "group",
841
+ "heading",
842
+ "img",
843
+ "link",
844
+ "list",
845
+ "listbox",
846
+ "listitem",
847
+ "log",
848
+ "main",
849
+ "marquee",
850
+ "math",
851
+ "menu",
852
+ "menubar",
853
+ "menuitem",
854
+ "menuitemcheckbox",
855
+ "menuitemradio",
856
+ "navigation",
857
+ "none",
858
+ "note",
859
+ "option",
860
+ "presentation",
861
+ "progressbar",
862
+ "radio",
863
+ "radiogroup",
864
+ "region",
865
+ "row",
866
+ "rowgroup",
867
+ "rowheader",
868
+ "scrollbar",
869
+ "search",
870
+ "searchbox",
871
+ "separator",
872
+ "slider",
873
+ "spinbutton",
874
+ "status",
875
+ "switch",
876
+ "tab",
877
+ "table",
878
+ "tablist",
879
+ "tabpanel",
880
+ "term",
881
+ "textbox",
882
+ "timer",
883
+ "toolbar",
884
+ "tooltip",
885
+ "tree",
886
+ "treegrid",
887
+ "treeitem",
888
+ ]
889
+ | Var[
890
+ Literal[
891
+ "alert",
892
+ "alertdialog",
893
+ "application",
894
+ "article",
895
+ "banner",
896
+ "button",
897
+ "cell",
898
+ "checkbox",
899
+ "columnheader",
900
+ "combobox",
901
+ "complementary",
902
+ "contentinfo",
903
+ "definition",
904
+ "dialog",
905
+ "directory",
906
+ "document",
907
+ "feed",
908
+ "figure",
909
+ "form",
910
+ "grid",
911
+ "gridcell",
912
+ "group",
913
+ "heading",
914
+ "img",
915
+ "link",
916
+ "list",
917
+ "listbox",
918
+ "listitem",
919
+ "log",
920
+ "main",
921
+ "marquee",
922
+ "math",
923
+ "menu",
924
+ "menubar",
925
+ "menuitem",
926
+ "menuitemcheckbox",
927
+ "menuitemradio",
928
+ "navigation",
929
+ "none",
930
+ "note",
931
+ "option",
932
+ "presentation",
933
+ "progressbar",
934
+ "radio",
935
+ "radiogroup",
936
+ "region",
937
+ "row",
938
+ "rowgroup",
939
+ "rowheader",
940
+ "scrollbar",
941
+ "search",
942
+ "searchbox",
943
+ "separator",
944
+ "slider",
945
+ "spinbutton",
946
+ "status",
947
+ "switch",
948
+ "tab",
949
+ "table",
950
+ "tablist",
951
+ "tabpanel",
952
+ "term",
953
+ "textbox",
954
+ "timer",
955
+ "toolbar",
956
+ "tooltip",
957
+ "tree",
958
+ "treegrid",
959
+ "treeitem",
1086
960
  ]
1087
- ] = None,
1088
- slot: Optional[Union[Var[str], str]] = None,
1089
- spell_check: Optional[Union[Var[bool], bool]] = None,
1090
- tab_index: Optional[Union[Var[int], int]] = None,
1091
- title: Optional[Union[Var[str], str]] = None,
1092
- style: Optional[Style] = None,
1093
- key: Optional[Any] = None,
1094
- id: Optional[Any] = None,
1095
- class_name: Optional[Any] = None,
1096
- autofocus: Optional[bool] = None,
1097
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
961
+ ]
962
+ | None = None,
963
+ slot: Var[str] | str | None = None,
964
+ spell_check: Var[bool] | bool | None = None,
965
+ tab_index: Var[int] | int | None = None,
966
+ title: Var[str] | str | None = None,
967
+ style: Style | None = None,
968
+ key: Any | None = None,
969
+ id: Any | None = None,
970
+ class_name: Any | None = None,
971
+ autofocus: bool | None = None,
972
+ custom_attrs: dict[str, Var | Any] | None = None,
1098
973
  on_blur: Optional[EventType[()]] = None,
1099
974
  on_click: Optional[EventType[()]] = None,
1100
975
  on_context_menu: Optional[EventType[()]] = None,
@@ -1162,217 +1037,190 @@ class TableBody(elements.Tbody, RadixThemesComponent):
1162
1037
  def create( # type: ignore
1163
1038
  cls,
1164
1039
  *children,
1165
- access_key: Optional[Union[Var[str], str]] = None,
1166
- auto_capitalize: Optional[
1167
- Union[
1168
- Literal["characters", "none", "off", "on", "sentences", "words"],
1169
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1040
+ access_key: Var[str] | str | None = None,
1041
+ auto_capitalize: Literal[
1042
+ "characters", "none", "off", "on", "sentences", "words"
1043
+ ]
1044
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1045
+ | None = None,
1046
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1047
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1048
+ | None = None,
1049
+ context_menu: Var[str] | str | None = None,
1050
+ dir: Var[str] | str | None = None,
1051
+ draggable: Var[bool] | bool | None = None,
1052
+ enter_key_hint: Literal[
1053
+ "done", "enter", "go", "next", "previous", "search", "send"
1054
+ ]
1055
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1056
+ | None = None,
1057
+ hidden: Var[bool] | bool | None = None,
1058
+ input_mode: Literal[
1059
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1060
+ ]
1061
+ | Var[
1062
+ Literal[
1063
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1170
1064
  ]
1171
- ] = None,
1172
- content_editable: Optional[
1173
- Union[
1174
- Literal["inherit", "plaintext-only", False, True],
1175
- Var[Literal["inherit", "plaintext-only", False, True]],
1065
+ ]
1066
+ | None = None,
1067
+ item_prop: Var[str] | str | None = None,
1068
+ lang: Var[str] | str | None = None,
1069
+ role: Literal[
1070
+ "alert",
1071
+ "alertdialog",
1072
+ "application",
1073
+ "article",
1074
+ "banner",
1075
+ "button",
1076
+ "cell",
1077
+ "checkbox",
1078
+ "columnheader",
1079
+ "combobox",
1080
+ "complementary",
1081
+ "contentinfo",
1082
+ "definition",
1083
+ "dialog",
1084
+ "directory",
1085
+ "document",
1086
+ "feed",
1087
+ "figure",
1088
+ "form",
1089
+ "grid",
1090
+ "gridcell",
1091
+ "group",
1092
+ "heading",
1093
+ "img",
1094
+ "link",
1095
+ "list",
1096
+ "listbox",
1097
+ "listitem",
1098
+ "log",
1099
+ "main",
1100
+ "marquee",
1101
+ "math",
1102
+ "menu",
1103
+ "menubar",
1104
+ "menuitem",
1105
+ "menuitemcheckbox",
1106
+ "menuitemradio",
1107
+ "navigation",
1108
+ "none",
1109
+ "note",
1110
+ "option",
1111
+ "presentation",
1112
+ "progressbar",
1113
+ "radio",
1114
+ "radiogroup",
1115
+ "region",
1116
+ "row",
1117
+ "rowgroup",
1118
+ "rowheader",
1119
+ "scrollbar",
1120
+ "search",
1121
+ "searchbox",
1122
+ "separator",
1123
+ "slider",
1124
+ "spinbutton",
1125
+ "status",
1126
+ "switch",
1127
+ "tab",
1128
+ "table",
1129
+ "tablist",
1130
+ "tabpanel",
1131
+ "term",
1132
+ "textbox",
1133
+ "timer",
1134
+ "toolbar",
1135
+ "tooltip",
1136
+ "tree",
1137
+ "treegrid",
1138
+ "treeitem",
1139
+ ]
1140
+ | Var[
1141
+ Literal[
1142
+ "alert",
1143
+ "alertdialog",
1144
+ "application",
1145
+ "article",
1146
+ "banner",
1147
+ "button",
1148
+ "cell",
1149
+ "checkbox",
1150
+ "columnheader",
1151
+ "combobox",
1152
+ "complementary",
1153
+ "contentinfo",
1154
+ "definition",
1155
+ "dialog",
1156
+ "directory",
1157
+ "document",
1158
+ "feed",
1159
+ "figure",
1160
+ "form",
1161
+ "grid",
1162
+ "gridcell",
1163
+ "group",
1164
+ "heading",
1165
+ "img",
1166
+ "link",
1167
+ "list",
1168
+ "listbox",
1169
+ "listitem",
1170
+ "log",
1171
+ "main",
1172
+ "marquee",
1173
+ "math",
1174
+ "menu",
1175
+ "menubar",
1176
+ "menuitem",
1177
+ "menuitemcheckbox",
1178
+ "menuitemradio",
1179
+ "navigation",
1180
+ "none",
1181
+ "note",
1182
+ "option",
1183
+ "presentation",
1184
+ "progressbar",
1185
+ "radio",
1186
+ "radiogroup",
1187
+ "region",
1188
+ "row",
1189
+ "rowgroup",
1190
+ "rowheader",
1191
+ "scrollbar",
1192
+ "search",
1193
+ "searchbox",
1194
+ "separator",
1195
+ "slider",
1196
+ "spinbutton",
1197
+ "status",
1198
+ "switch",
1199
+ "tab",
1200
+ "table",
1201
+ "tablist",
1202
+ "tabpanel",
1203
+ "term",
1204
+ "textbox",
1205
+ "timer",
1206
+ "toolbar",
1207
+ "tooltip",
1208
+ "tree",
1209
+ "treegrid",
1210
+ "treeitem",
1176
1211
  ]
1177
- ] = None,
1178
- context_menu: Optional[Union[Var[str], str]] = None,
1179
- dir: Optional[Union[Var[str], str]] = None,
1180
- draggable: Optional[Union[Var[bool], bool]] = None,
1181
- enter_key_hint: Optional[
1182
- Union[
1183
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1184
- Var[
1185
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1186
- ],
1187
- ]
1188
- ] = None,
1189
- hidden: Optional[Union[Var[bool], bool]] = None,
1190
- input_mode: Optional[
1191
- Union[
1192
- Literal[
1193
- "decimal",
1194
- "email",
1195
- "none",
1196
- "numeric",
1197
- "search",
1198
- "tel",
1199
- "text",
1200
- "url",
1201
- ],
1202
- Var[
1203
- Literal[
1204
- "decimal",
1205
- "email",
1206
- "none",
1207
- "numeric",
1208
- "search",
1209
- "tel",
1210
- "text",
1211
- "url",
1212
- ]
1213
- ],
1214
- ]
1215
- ] = None,
1216
- item_prop: Optional[Union[Var[str], str]] = None,
1217
- lang: Optional[Union[Var[str], str]] = None,
1218
- role: Optional[
1219
- Union[
1220
- Literal[
1221
- "alert",
1222
- "alertdialog",
1223
- "application",
1224
- "article",
1225
- "banner",
1226
- "button",
1227
- "cell",
1228
- "checkbox",
1229
- "columnheader",
1230
- "combobox",
1231
- "complementary",
1232
- "contentinfo",
1233
- "definition",
1234
- "dialog",
1235
- "directory",
1236
- "document",
1237
- "feed",
1238
- "figure",
1239
- "form",
1240
- "grid",
1241
- "gridcell",
1242
- "group",
1243
- "heading",
1244
- "img",
1245
- "link",
1246
- "list",
1247
- "listbox",
1248
- "listitem",
1249
- "log",
1250
- "main",
1251
- "marquee",
1252
- "math",
1253
- "menu",
1254
- "menubar",
1255
- "menuitem",
1256
- "menuitemcheckbox",
1257
- "menuitemradio",
1258
- "navigation",
1259
- "none",
1260
- "note",
1261
- "option",
1262
- "presentation",
1263
- "progressbar",
1264
- "radio",
1265
- "radiogroup",
1266
- "region",
1267
- "row",
1268
- "rowgroup",
1269
- "rowheader",
1270
- "scrollbar",
1271
- "search",
1272
- "searchbox",
1273
- "separator",
1274
- "slider",
1275
- "spinbutton",
1276
- "status",
1277
- "switch",
1278
- "tab",
1279
- "table",
1280
- "tablist",
1281
- "tabpanel",
1282
- "term",
1283
- "textbox",
1284
- "timer",
1285
- "toolbar",
1286
- "tooltip",
1287
- "tree",
1288
- "treegrid",
1289
- "treeitem",
1290
- ],
1291
- Var[
1292
- Literal[
1293
- "alert",
1294
- "alertdialog",
1295
- "application",
1296
- "article",
1297
- "banner",
1298
- "button",
1299
- "cell",
1300
- "checkbox",
1301
- "columnheader",
1302
- "combobox",
1303
- "complementary",
1304
- "contentinfo",
1305
- "definition",
1306
- "dialog",
1307
- "directory",
1308
- "document",
1309
- "feed",
1310
- "figure",
1311
- "form",
1312
- "grid",
1313
- "gridcell",
1314
- "group",
1315
- "heading",
1316
- "img",
1317
- "link",
1318
- "list",
1319
- "listbox",
1320
- "listitem",
1321
- "log",
1322
- "main",
1323
- "marquee",
1324
- "math",
1325
- "menu",
1326
- "menubar",
1327
- "menuitem",
1328
- "menuitemcheckbox",
1329
- "menuitemradio",
1330
- "navigation",
1331
- "none",
1332
- "note",
1333
- "option",
1334
- "presentation",
1335
- "progressbar",
1336
- "radio",
1337
- "radiogroup",
1338
- "region",
1339
- "row",
1340
- "rowgroup",
1341
- "rowheader",
1342
- "scrollbar",
1343
- "search",
1344
- "searchbox",
1345
- "separator",
1346
- "slider",
1347
- "spinbutton",
1348
- "status",
1349
- "switch",
1350
- "tab",
1351
- "table",
1352
- "tablist",
1353
- "tabpanel",
1354
- "term",
1355
- "textbox",
1356
- "timer",
1357
- "toolbar",
1358
- "tooltip",
1359
- "tree",
1360
- "treegrid",
1361
- "treeitem",
1362
- ]
1363
- ],
1364
- ]
1365
- ] = None,
1366
- slot: Optional[Union[Var[str], str]] = None,
1367
- spell_check: Optional[Union[Var[bool], bool]] = None,
1368
- tab_index: Optional[Union[Var[int], int]] = None,
1369
- title: Optional[Union[Var[str], str]] = None,
1370
- style: Optional[Style] = None,
1371
- key: Optional[Any] = None,
1372
- id: Optional[Any] = None,
1373
- class_name: Optional[Any] = None,
1374
- autofocus: Optional[bool] = None,
1375
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1212
+ ]
1213
+ | None = None,
1214
+ slot: Var[str] | str | None = None,
1215
+ spell_check: Var[bool] | bool | None = None,
1216
+ tab_index: Var[int] | int | None = None,
1217
+ title: Var[str] | str | None = None,
1218
+ style: Style | None = None,
1219
+ key: Any | None = None,
1220
+ id: Any | None = None,
1221
+ class_name: Any | None = None,
1222
+ autofocus: bool | None = None,
1223
+ custom_attrs: dict[str, Var | Any] | None = None,
1376
1224
  on_blur: Optional[EventType[()]] = None,
1377
1225
  on_click: Optional[EventType[()]] = None,
1378
1226
  on_context_menu: Optional[EventType[()]] = None,
@@ -1432,357 +1280,256 @@ class TableCell(elements.Td, CommonPaddingProps, RadixThemesComponent):
1432
1280
  def create( # type: ignore
1433
1281
  cls,
1434
1282
  *children,
1435
- justify: Optional[
1436
- Union[
1437
- Literal["center", "end", "start"],
1438
- Var[Literal["center", "end", "start"]],
1439
- ]
1440
- ] = None,
1441
- min_width: Optional[
1442
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
1443
- ] = None,
1444
- max_width: Optional[
1445
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
1446
- ] = None,
1447
- align: Optional[
1448
- Union[
1449
- Literal["center", "char", "justify", "left", "right"],
1450
- Var[Literal["center", "char", "justify", "left", "right"]],
1451
- ]
1452
- ] = None,
1453
- col_span: Optional[Union[Var[int], int]] = None,
1454
- headers: Optional[Union[Var[str], str]] = None,
1455
- row_span: Optional[Union[Var[int], int]] = None,
1456
- access_key: Optional[Union[Var[str], str]] = None,
1457
- auto_capitalize: Optional[
1458
- Union[
1459
- Literal["characters", "none", "off", "on", "sentences", "words"],
1460
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1283
+ justify: Literal["center", "end", "start"]
1284
+ | Var[Literal["center", "end", "start"]]
1285
+ | None = None,
1286
+ min_width: Breakpoints[str, str]
1287
+ | Var[Breakpoints[str, str] | str]
1288
+ | str
1289
+ | None = None,
1290
+ max_width: Breakpoints[str, str]
1291
+ | Var[Breakpoints[str, str] | str]
1292
+ | str
1293
+ | None = None,
1294
+ align: Literal["center", "char", "justify", "left", "right"]
1295
+ | Var[Literal["center", "char", "justify", "left", "right"]]
1296
+ | None = None,
1297
+ col_span: Var[int] | int | None = None,
1298
+ headers: Var[str] | str | None = None,
1299
+ row_span: Var[int] | int | None = None,
1300
+ access_key: Var[str] | str | None = None,
1301
+ auto_capitalize: Literal[
1302
+ "characters", "none", "off", "on", "sentences", "words"
1303
+ ]
1304
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1305
+ | None = None,
1306
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1307
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1308
+ | None = None,
1309
+ context_menu: Var[str] | str | None = None,
1310
+ dir: Var[str] | str | None = None,
1311
+ draggable: Var[bool] | bool | None = None,
1312
+ enter_key_hint: Literal[
1313
+ "done", "enter", "go", "next", "previous", "search", "send"
1314
+ ]
1315
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1316
+ | None = None,
1317
+ hidden: Var[bool] | bool | None = None,
1318
+ input_mode: Literal[
1319
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1320
+ ]
1321
+ | Var[
1322
+ Literal[
1323
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1461
1324
  ]
1462
- ] = None,
1463
- content_editable: Optional[
1464
- Union[
1465
- Literal["inherit", "plaintext-only", False, True],
1466
- Var[Literal["inherit", "plaintext-only", False, True]],
1325
+ ]
1326
+ | None = None,
1327
+ item_prop: Var[str] | str | None = None,
1328
+ lang: Var[str] | str | None = None,
1329
+ role: Literal[
1330
+ "alert",
1331
+ "alertdialog",
1332
+ "application",
1333
+ "article",
1334
+ "banner",
1335
+ "button",
1336
+ "cell",
1337
+ "checkbox",
1338
+ "columnheader",
1339
+ "combobox",
1340
+ "complementary",
1341
+ "contentinfo",
1342
+ "definition",
1343
+ "dialog",
1344
+ "directory",
1345
+ "document",
1346
+ "feed",
1347
+ "figure",
1348
+ "form",
1349
+ "grid",
1350
+ "gridcell",
1351
+ "group",
1352
+ "heading",
1353
+ "img",
1354
+ "link",
1355
+ "list",
1356
+ "listbox",
1357
+ "listitem",
1358
+ "log",
1359
+ "main",
1360
+ "marquee",
1361
+ "math",
1362
+ "menu",
1363
+ "menubar",
1364
+ "menuitem",
1365
+ "menuitemcheckbox",
1366
+ "menuitemradio",
1367
+ "navigation",
1368
+ "none",
1369
+ "note",
1370
+ "option",
1371
+ "presentation",
1372
+ "progressbar",
1373
+ "radio",
1374
+ "radiogroup",
1375
+ "region",
1376
+ "row",
1377
+ "rowgroup",
1378
+ "rowheader",
1379
+ "scrollbar",
1380
+ "search",
1381
+ "searchbox",
1382
+ "separator",
1383
+ "slider",
1384
+ "spinbutton",
1385
+ "status",
1386
+ "switch",
1387
+ "tab",
1388
+ "table",
1389
+ "tablist",
1390
+ "tabpanel",
1391
+ "term",
1392
+ "textbox",
1393
+ "timer",
1394
+ "toolbar",
1395
+ "tooltip",
1396
+ "tree",
1397
+ "treegrid",
1398
+ "treeitem",
1399
+ ]
1400
+ | Var[
1401
+ Literal[
1402
+ "alert",
1403
+ "alertdialog",
1404
+ "application",
1405
+ "article",
1406
+ "banner",
1407
+ "button",
1408
+ "cell",
1409
+ "checkbox",
1410
+ "columnheader",
1411
+ "combobox",
1412
+ "complementary",
1413
+ "contentinfo",
1414
+ "definition",
1415
+ "dialog",
1416
+ "directory",
1417
+ "document",
1418
+ "feed",
1419
+ "figure",
1420
+ "form",
1421
+ "grid",
1422
+ "gridcell",
1423
+ "group",
1424
+ "heading",
1425
+ "img",
1426
+ "link",
1427
+ "list",
1428
+ "listbox",
1429
+ "listitem",
1430
+ "log",
1431
+ "main",
1432
+ "marquee",
1433
+ "math",
1434
+ "menu",
1435
+ "menubar",
1436
+ "menuitem",
1437
+ "menuitemcheckbox",
1438
+ "menuitemradio",
1439
+ "navigation",
1440
+ "none",
1441
+ "note",
1442
+ "option",
1443
+ "presentation",
1444
+ "progressbar",
1445
+ "radio",
1446
+ "radiogroup",
1447
+ "region",
1448
+ "row",
1449
+ "rowgroup",
1450
+ "rowheader",
1451
+ "scrollbar",
1452
+ "search",
1453
+ "searchbox",
1454
+ "separator",
1455
+ "slider",
1456
+ "spinbutton",
1457
+ "status",
1458
+ "switch",
1459
+ "tab",
1460
+ "table",
1461
+ "tablist",
1462
+ "tabpanel",
1463
+ "term",
1464
+ "textbox",
1465
+ "timer",
1466
+ "toolbar",
1467
+ "tooltip",
1468
+ "tree",
1469
+ "treegrid",
1470
+ "treeitem",
1467
1471
  ]
1468
- ] = None,
1469
- context_menu: Optional[Union[Var[str], str]] = None,
1470
- dir: Optional[Union[Var[str], str]] = None,
1471
- draggable: Optional[Union[Var[bool], bool]] = None,
1472
- enter_key_hint: Optional[
1473
- Union[
1474
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1475
- Var[
1476
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1477
- ],
1478
- ]
1479
- ] = None,
1480
- hidden: Optional[Union[Var[bool], bool]] = None,
1481
- input_mode: Optional[
1482
- Union[
1483
- Literal[
1484
- "decimal",
1485
- "email",
1486
- "none",
1487
- "numeric",
1488
- "search",
1489
- "tel",
1490
- "text",
1491
- "url",
1492
- ],
1493
- Var[
1494
- Literal[
1495
- "decimal",
1496
- "email",
1497
- "none",
1498
- "numeric",
1499
- "search",
1500
- "tel",
1501
- "text",
1502
- "url",
1503
- ]
1504
- ],
1505
- ]
1506
- ] = None,
1507
- item_prop: Optional[Union[Var[str], str]] = None,
1508
- lang: Optional[Union[Var[str], str]] = None,
1509
- role: Optional[
1510
- Union[
1511
- Literal[
1512
- "alert",
1513
- "alertdialog",
1514
- "application",
1515
- "article",
1516
- "banner",
1517
- "button",
1518
- "cell",
1519
- "checkbox",
1520
- "columnheader",
1521
- "combobox",
1522
- "complementary",
1523
- "contentinfo",
1524
- "definition",
1525
- "dialog",
1526
- "directory",
1527
- "document",
1528
- "feed",
1529
- "figure",
1530
- "form",
1531
- "grid",
1532
- "gridcell",
1533
- "group",
1534
- "heading",
1535
- "img",
1536
- "link",
1537
- "list",
1538
- "listbox",
1539
- "listitem",
1540
- "log",
1541
- "main",
1542
- "marquee",
1543
- "math",
1544
- "menu",
1545
- "menubar",
1546
- "menuitem",
1547
- "menuitemcheckbox",
1548
- "menuitemradio",
1549
- "navigation",
1550
- "none",
1551
- "note",
1552
- "option",
1553
- "presentation",
1554
- "progressbar",
1555
- "radio",
1556
- "radiogroup",
1557
- "region",
1558
- "row",
1559
- "rowgroup",
1560
- "rowheader",
1561
- "scrollbar",
1562
- "search",
1563
- "searchbox",
1564
- "separator",
1565
- "slider",
1566
- "spinbutton",
1567
- "status",
1568
- "switch",
1569
- "tab",
1570
- "table",
1571
- "tablist",
1572
- "tabpanel",
1573
- "term",
1574
- "textbox",
1575
- "timer",
1576
- "toolbar",
1577
- "tooltip",
1578
- "tree",
1579
- "treegrid",
1580
- "treeitem",
1581
- ],
1582
- Var[
1583
- Literal[
1584
- "alert",
1585
- "alertdialog",
1586
- "application",
1587
- "article",
1588
- "banner",
1589
- "button",
1590
- "cell",
1591
- "checkbox",
1592
- "columnheader",
1593
- "combobox",
1594
- "complementary",
1595
- "contentinfo",
1596
- "definition",
1597
- "dialog",
1598
- "directory",
1599
- "document",
1600
- "feed",
1601
- "figure",
1602
- "form",
1603
- "grid",
1604
- "gridcell",
1605
- "group",
1606
- "heading",
1607
- "img",
1608
- "link",
1609
- "list",
1610
- "listbox",
1611
- "listitem",
1612
- "log",
1613
- "main",
1614
- "marquee",
1615
- "math",
1616
- "menu",
1617
- "menubar",
1618
- "menuitem",
1619
- "menuitemcheckbox",
1620
- "menuitemradio",
1621
- "navigation",
1622
- "none",
1623
- "note",
1624
- "option",
1625
- "presentation",
1626
- "progressbar",
1627
- "radio",
1628
- "radiogroup",
1629
- "region",
1630
- "row",
1631
- "rowgroup",
1632
- "rowheader",
1633
- "scrollbar",
1634
- "search",
1635
- "searchbox",
1636
- "separator",
1637
- "slider",
1638
- "spinbutton",
1639
- "status",
1640
- "switch",
1641
- "tab",
1642
- "table",
1643
- "tablist",
1644
- "tabpanel",
1645
- "term",
1646
- "textbox",
1647
- "timer",
1648
- "toolbar",
1649
- "tooltip",
1650
- "tree",
1651
- "treegrid",
1652
- "treeitem",
1653
- ]
1654
- ],
1655
- ]
1656
- ] = None,
1657
- slot: Optional[Union[Var[str], str]] = None,
1658
- spell_check: Optional[Union[Var[bool], bool]] = None,
1659
- tab_index: Optional[Union[Var[int], int]] = None,
1660
- title: Optional[Union[Var[str], str]] = None,
1661
- p: Optional[
1662
- Union[
1663
- Breakpoints[
1664
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1665
- ],
1666
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1667
- Var[
1668
- Union[
1669
- Breakpoints[
1670
- str,
1671
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1672
- ],
1673
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1674
- ]
1675
- ],
1676
- ]
1677
- ] = None,
1678
- px: Optional[
1679
- Union[
1680
- Breakpoints[
1681
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1682
- ],
1683
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1684
- Var[
1685
- Union[
1686
- Breakpoints[
1687
- str,
1688
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1689
- ],
1690
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1691
- ]
1692
- ],
1693
- ]
1694
- ] = None,
1695
- py: Optional[
1696
- Union[
1697
- Breakpoints[
1698
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1699
- ],
1700
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1701
- Var[
1702
- Union[
1703
- Breakpoints[
1704
- str,
1705
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1706
- ],
1707
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1708
- ]
1709
- ],
1710
- ]
1711
- ] = None,
1712
- pt: Optional[
1713
- Union[
1714
- Breakpoints[
1715
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1716
- ],
1717
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1718
- Var[
1719
- Union[
1720
- Breakpoints[
1721
- str,
1722
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1723
- ],
1724
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1725
- ]
1726
- ],
1727
- ]
1728
- ] = None,
1729
- pr: Optional[
1730
- Union[
1731
- Breakpoints[
1732
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1733
- ],
1734
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1735
- Var[
1736
- Union[
1737
- Breakpoints[
1738
- str,
1739
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1740
- ],
1741
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1742
- ]
1743
- ],
1744
- ]
1745
- ] = None,
1746
- pb: Optional[
1747
- Union[
1748
- Breakpoints[
1749
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1750
- ],
1751
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1752
- Var[
1753
- Union[
1754
- Breakpoints[
1755
- str,
1756
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1757
- ],
1758
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1759
- ]
1760
- ],
1761
- ]
1762
- ] = None,
1763
- pl: Optional[
1764
- Union[
1765
- Breakpoints[
1766
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1767
- ],
1768
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1769
- Var[
1770
- Union[
1771
- Breakpoints[
1772
- str,
1773
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1774
- ],
1775
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1776
- ]
1777
- ],
1778
- ]
1779
- ] = None,
1780
- style: Optional[Style] = None,
1781
- key: Optional[Any] = None,
1782
- id: Optional[Any] = None,
1783
- class_name: Optional[Any] = None,
1784
- autofocus: Optional[bool] = None,
1785
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1472
+ ]
1473
+ | None = None,
1474
+ slot: Var[str] | str | None = None,
1475
+ spell_check: Var[bool] | bool | None = None,
1476
+ tab_index: Var[int] | int | None = None,
1477
+ title: Var[str] | str | None = None,
1478
+ p: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1479
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1480
+ | Var[
1481
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1482
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1483
+ ]
1484
+ | None = None,
1485
+ px: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1486
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1487
+ | Var[
1488
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1489
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1490
+ ]
1491
+ | None = None,
1492
+ py: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1493
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1494
+ | Var[
1495
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1496
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1497
+ ]
1498
+ | None = None,
1499
+ pt: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1500
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1501
+ | Var[
1502
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1503
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1504
+ ]
1505
+ | None = None,
1506
+ pr: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1507
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1508
+ | Var[
1509
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1510
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1511
+ ]
1512
+ | None = None,
1513
+ pb: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1514
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1515
+ | Var[
1516
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1517
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1518
+ ]
1519
+ | None = None,
1520
+ pl: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1521
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1522
+ | Var[
1523
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1524
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1525
+ ]
1526
+ | None = None,
1527
+ style: Style | None = None,
1528
+ key: Any | None = None,
1529
+ id: Any | None = None,
1530
+ class_name: Any | None = None,
1531
+ autofocus: bool | None = None,
1532
+ custom_attrs: dict[str, Var | Any] | None = None,
1786
1533
  on_blur: Optional[EventType[()]] = None,
1787
1534
  on_click: Optional[EventType[()]] = None,
1788
1535
  on_context_menu: Optional[EventType[()]] = None,
@@ -1856,358 +1603,257 @@ class TableRowHeaderCell(elements.Th, CommonPaddingProps, RadixThemesComponent):
1856
1603
  def create( # type: ignore
1857
1604
  cls,
1858
1605
  *children,
1859
- justify: Optional[
1860
- Union[
1861
- Literal["center", "end", "start"],
1862
- Var[Literal["center", "end", "start"]],
1863
- ]
1864
- ] = None,
1865
- min_width: Optional[
1866
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
1867
- ] = None,
1868
- max_width: Optional[
1869
- Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
1870
- ] = None,
1871
- align: Optional[
1872
- Union[
1873
- Literal["center", "char", "justify", "left", "right"],
1874
- Var[Literal["center", "char", "justify", "left", "right"]],
1875
- ]
1876
- ] = None,
1877
- col_span: Optional[Union[Var[int], int]] = None,
1878
- headers: Optional[Union[Var[str], str]] = None,
1879
- row_span: Optional[Union[Var[int], int]] = None,
1880
- scope: Optional[Union[Var[str], str]] = None,
1881
- access_key: Optional[Union[Var[str], str]] = None,
1882
- auto_capitalize: Optional[
1883
- Union[
1884
- Literal["characters", "none", "off", "on", "sentences", "words"],
1885
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1886
- ]
1887
- ] = None,
1888
- content_editable: Optional[
1889
- Union[
1890
- Literal["inherit", "plaintext-only", False, True],
1891
- Var[Literal["inherit", "plaintext-only", False, True]],
1892
- ]
1893
- ] = None,
1894
- context_menu: Optional[Union[Var[str], str]] = None,
1895
- dir: Optional[Union[Var[str], str]] = None,
1896
- draggable: Optional[Union[Var[bool], bool]] = None,
1897
- enter_key_hint: Optional[
1898
- Union[
1899
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1900
- Var[
1901
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1902
- ],
1903
- ]
1904
- ] = None,
1905
- hidden: Optional[Union[Var[bool], bool]] = None,
1906
- input_mode: Optional[
1907
- Union[
1908
- Literal[
1909
- "decimal",
1910
- "email",
1911
- "none",
1912
- "numeric",
1913
- "search",
1914
- "tel",
1915
- "text",
1916
- "url",
1917
- ],
1918
- Var[
1919
- Literal[
1920
- "decimal",
1921
- "email",
1922
- "none",
1923
- "numeric",
1924
- "search",
1925
- "tel",
1926
- "text",
1927
- "url",
1928
- ]
1929
- ],
1930
- ]
1931
- ] = None,
1932
- item_prop: Optional[Union[Var[str], str]] = None,
1933
- lang: Optional[Union[Var[str], str]] = None,
1934
- role: Optional[
1935
- Union[
1936
- Literal[
1937
- "alert",
1938
- "alertdialog",
1939
- "application",
1940
- "article",
1941
- "banner",
1942
- "button",
1943
- "cell",
1944
- "checkbox",
1945
- "columnheader",
1946
- "combobox",
1947
- "complementary",
1948
- "contentinfo",
1949
- "definition",
1950
- "dialog",
1951
- "directory",
1952
- "document",
1953
- "feed",
1954
- "figure",
1955
- "form",
1956
- "grid",
1957
- "gridcell",
1958
- "group",
1959
- "heading",
1960
- "img",
1961
- "link",
1962
- "list",
1963
- "listbox",
1964
- "listitem",
1965
- "log",
1966
- "main",
1967
- "marquee",
1968
- "math",
1969
- "menu",
1970
- "menubar",
1971
- "menuitem",
1972
- "menuitemcheckbox",
1973
- "menuitemradio",
1974
- "navigation",
1975
- "none",
1976
- "note",
1977
- "option",
1978
- "presentation",
1979
- "progressbar",
1980
- "radio",
1981
- "radiogroup",
1982
- "region",
1983
- "row",
1984
- "rowgroup",
1985
- "rowheader",
1986
- "scrollbar",
1987
- "search",
1988
- "searchbox",
1989
- "separator",
1990
- "slider",
1991
- "spinbutton",
1992
- "status",
1993
- "switch",
1994
- "tab",
1995
- "table",
1996
- "tablist",
1997
- "tabpanel",
1998
- "term",
1999
- "textbox",
2000
- "timer",
2001
- "toolbar",
2002
- "tooltip",
2003
- "tree",
2004
- "treegrid",
2005
- "treeitem",
2006
- ],
2007
- Var[
2008
- Literal[
2009
- "alert",
2010
- "alertdialog",
2011
- "application",
2012
- "article",
2013
- "banner",
2014
- "button",
2015
- "cell",
2016
- "checkbox",
2017
- "columnheader",
2018
- "combobox",
2019
- "complementary",
2020
- "contentinfo",
2021
- "definition",
2022
- "dialog",
2023
- "directory",
2024
- "document",
2025
- "feed",
2026
- "figure",
2027
- "form",
2028
- "grid",
2029
- "gridcell",
2030
- "group",
2031
- "heading",
2032
- "img",
2033
- "link",
2034
- "list",
2035
- "listbox",
2036
- "listitem",
2037
- "log",
2038
- "main",
2039
- "marquee",
2040
- "math",
2041
- "menu",
2042
- "menubar",
2043
- "menuitem",
2044
- "menuitemcheckbox",
2045
- "menuitemradio",
2046
- "navigation",
2047
- "none",
2048
- "note",
2049
- "option",
2050
- "presentation",
2051
- "progressbar",
2052
- "radio",
2053
- "radiogroup",
2054
- "region",
2055
- "row",
2056
- "rowgroup",
2057
- "rowheader",
2058
- "scrollbar",
2059
- "search",
2060
- "searchbox",
2061
- "separator",
2062
- "slider",
2063
- "spinbutton",
2064
- "status",
2065
- "switch",
2066
- "tab",
2067
- "table",
2068
- "tablist",
2069
- "tabpanel",
2070
- "term",
2071
- "textbox",
2072
- "timer",
2073
- "toolbar",
2074
- "tooltip",
2075
- "tree",
2076
- "treegrid",
2077
- "treeitem",
2078
- ]
2079
- ],
2080
- ]
2081
- ] = None,
2082
- slot: Optional[Union[Var[str], str]] = None,
2083
- spell_check: Optional[Union[Var[bool], bool]] = None,
2084
- tab_index: Optional[Union[Var[int], int]] = None,
2085
- title: Optional[Union[Var[str], str]] = None,
2086
- p: Optional[
2087
- Union[
2088
- Breakpoints[
2089
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2090
- ],
2091
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2092
- Var[
2093
- Union[
2094
- Breakpoints[
2095
- str,
2096
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2097
- ],
2098
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2099
- ]
2100
- ],
2101
- ]
2102
- ] = None,
2103
- px: Optional[
2104
- Union[
2105
- Breakpoints[
2106
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2107
- ],
2108
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2109
- Var[
2110
- Union[
2111
- Breakpoints[
2112
- str,
2113
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2114
- ],
2115
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2116
- ]
2117
- ],
2118
- ]
2119
- ] = None,
2120
- py: Optional[
2121
- Union[
2122
- Breakpoints[
2123
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2124
- ],
2125
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2126
- Var[
2127
- Union[
2128
- Breakpoints[
2129
- str,
2130
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2131
- ],
2132
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2133
- ]
2134
- ],
2135
- ]
2136
- ] = None,
2137
- pt: Optional[
2138
- Union[
2139
- Breakpoints[
2140
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2141
- ],
2142
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2143
- Var[
2144
- Union[
2145
- Breakpoints[
2146
- str,
2147
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2148
- ],
2149
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2150
- ]
2151
- ],
2152
- ]
2153
- ] = None,
2154
- pr: Optional[
2155
- Union[
2156
- Breakpoints[
2157
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2158
- ],
2159
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2160
- Var[
2161
- Union[
2162
- Breakpoints[
2163
- str,
2164
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2165
- ],
2166
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2167
- ]
2168
- ],
2169
- ]
2170
- ] = None,
2171
- pb: Optional[
2172
- Union[
2173
- Breakpoints[
2174
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2175
- ],
2176
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2177
- Var[
2178
- Union[
2179
- Breakpoints[
2180
- str,
2181
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2182
- ],
2183
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2184
- ]
2185
- ],
1606
+ justify: Literal["center", "end", "start"]
1607
+ | Var[Literal["center", "end", "start"]]
1608
+ | None = None,
1609
+ min_width: Breakpoints[str, str]
1610
+ | Var[Breakpoints[str, str] | str]
1611
+ | str
1612
+ | None = None,
1613
+ max_width: Breakpoints[str, str]
1614
+ | Var[Breakpoints[str, str] | str]
1615
+ | str
1616
+ | None = None,
1617
+ align: Literal["center", "char", "justify", "left", "right"]
1618
+ | Var[Literal["center", "char", "justify", "left", "right"]]
1619
+ | None = None,
1620
+ col_span: Var[int] | int | None = None,
1621
+ headers: Var[str] | str | None = None,
1622
+ row_span: Var[int] | int | None = None,
1623
+ scope: Var[str] | str | None = None,
1624
+ access_key: Var[str] | str | None = None,
1625
+ auto_capitalize: Literal[
1626
+ "characters", "none", "off", "on", "sentences", "words"
1627
+ ]
1628
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1629
+ | None = None,
1630
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1631
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1632
+ | None = None,
1633
+ context_menu: Var[str] | str | None = None,
1634
+ dir: Var[str] | str | None = None,
1635
+ draggable: Var[bool] | bool | None = None,
1636
+ enter_key_hint: Literal[
1637
+ "done", "enter", "go", "next", "previous", "search", "send"
1638
+ ]
1639
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1640
+ | None = None,
1641
+ hidden: Var[bool] | bool | None = None,
1642
+ input_mode: Literal[
1643
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1644
+ ]
1645
+ | Var[
1646
+ Literal[
1647
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
2186
1648
  ]
2187
- ] = None,
2188
- pl: Optional[
2189
- Union[
2190
- Breakpoints[
2191
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
2192
- ],
2193
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2194
- Var[
2195
- Union[
2196
- Breakpoints[
2197
- str,
2198
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2199
- ],
2200
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
2201
- ]
2202
- ],
1649
+ ]
1650
+ | None = None,
1651
+ item_prop: Var[str] | str | None = None,
1652
+ lang: Var[str] | str | None = None,
1653
+ role: Literal[
1654
+ "alert",
1655
+ "alertdialog",
1656
+ "application",
1657
+ "article",
1658
+ "banner",
1659
+ "button",
1660
+ "cell",
1661
+ "checkbox",
1662
+ "columnheader",
1663
+ "combobox",
1664
+ "complementary",
1665
+ "contentinfo",
1666
+ "definition",
1667
+ "dialog",
1668
+ "directory",
1669
+ "document",
1670
+ "feed",
1671
+ "figure",
1672
+ "form",
1673
+ "grid",
1674
+ "gridcell",
1675
+ "group",
1676
+ "heading",
1677
+ "img",
1678
+ "link",
1679
+ "list",
1680
+ "listbox",
1681
+ "listitem",
1682
+ "log",
1683
+ "main",
1684
+ "marquee",
1685
+ "math",
1686
+ "menu",
1687
+ "menubar",
1688
+ "menuitem",
1689
+ "menuitemcheckbox",
1690
+ "menuitemradio",
1691
+ "navigation",
1692
+ "none",
1693
+ "note",
1694
+ "option",
1695
+ "presentation",
1696
+ "progressbar",
1697
+ "radio",
1698
+ "radiogroup",
1699
+ "region",
1700
+ "row",
1701
+ "rowgroup",
1702
+ "rowheader",
1703
+ "scrollbar",
1704
+ "search",
1705
+ "searchbox",
1706
+ "separator",
1707
+ "slider",
1708
+ "spinbutton",
1709
+ "status",
1710
+ "switch",
1711
+ "tab",
1712
+ "table",
1713
+ "tablist",
1714
+ "tabpanel",
1715
+ "term",
1716
+ "textbox",
1717
+ "timer",
1718
+ "toolbar",
1719
+ "tooltip",
1720
+ "tree",
1721
+ "treegrid",
1722
+ "treeitem",
1723
+ ]
1724
+ | Var[
1725
+ Literal[
1726
+ "alert",
1727
+ "alertdialog",
1728
+ "application",
1729
+ "article",
1730
+ "banner",
1731
+ "button",
1732
+ "cell",
1733
+ "checkbox",
1734
+ "columnheader",
1735
+ "combobox",
1736
+ "complementary",
1737
+ "contentinfo",
1738
+ "definition",
1739
+ "dialog",
1740
+ "directory",
1741
+ "document",
1742
+ "feed",
1743
+ "figure",
1744
+ "form",
1745
+ "grid",
1746
+ "gridcell",
1747
+ "group",
1748
+ "heading",
1749
+ "img",
1750
+ "link",
1751
+ "list",
1752
+ "listbox",
1753
+ "listitem",
1754
+ "log",
1755
+ "main",
1756
+ "marquee",
1757
+ "math",
1758
+ "menu",
1759
+ "menubar",
1760
+ "menuitem",
1761
+ "menuitemcheckbox",
1762
+ "menuitemradio",
1763
+ "navigation",
1764
+ "none",
1765
+ "note",
1766
+ "option",
1767
+ "presentation",
1768
+ "progressbar",
1769
+ "radio",
1770
+ "radiogroup",
1771
+ "region",
1772
+ "row",
1773
+ "rowgroup",
1774
+ "rowheader",
1775
+ "scrollbar",
1776
+ "search",
1777
+ "searchbox",
1778
+ "separator",
1779
+ "slider",
1780
+ "spinbutton",
1781
+ "status",
1782
+ "switch",
1783
+ "tab",
1784
+ "table",
1785
+ "tablist",
1786
+ "tabpanel",
1787
+ "term",
1788
+ "textbox",
1789
+ "timer",
1790
+ "toolbar",
1791
+ "tooltip",
1792
+ "tree",
1793
+ "treegrid",
1794
+ "treeitem",
2203
1795
  ]
2204
- ] = None,
2205
- style: Optional[Style] = None,
2206
- key: Optional[Any] = None,
2207
- id: Optional[Any] = None,
2208
- class_name: Optional[Any] = None,
2209
- autofocus: Optional[bool] = None,
2210
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1796
+ ]
1797
+ | None = None,
1798
+ slot: Var[str] | str | None = None,
1799
+ spell_check: Var[bool] | bool | None = None,
1800
+ tab_index: Var[int] | int | None = None,
1801
+ title: Var[str] | str | None = None,
1802
+ p: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1803
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1804
+ | Var[
1805
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1806
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1807
+ ]
1808
+ | None = None,
1809
+ px: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1810
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1811
+ | Var[
1812
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1813
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1814
+ ]
1815
+ | None = None,
1816
+ py: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1817
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1818
+ | Var[
1819
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1820
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1821
+ ]
1822
+ | None = None,
1823
+ pt: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1824
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1825
+ | Var[
1826
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1827
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1828
+ ]
1829
+ | None = None,
1830
+ pr: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1831
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1832
+ | Var[
1833
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1834
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1835
+ ]
1836
+ | None = None,
1837
+ pb: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1838
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1839
+ | Var[
1840
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1841
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1842
+ ]
1843
+ | None = None,
1844
+ pl: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1845
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1846
+ | Var[
1847
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
1848
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
1849
+ ]
1850
+ | None = None,
1851
+ style: Style | None = None,
1852
+ key: Any | None = None,
1853
+ id: Any | None = None,
1854
+ class_name: Any | None = None,
1855
+ autofocus: bool | None = None,
1856
+ custom_attrs: dict[str, Var | Any] | None = None,
2211
1857
  on_blur: Optional[EventType[()]] = None,
2212
1858
  on_click: Optional[EventType[()]] = None,
2213
1859
  on_context_menu: Optional[EventType[()]] = None,