reflex 0.7.1a3__py3-none-any.whl → 0.7.2__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 +53 -50
  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 +11 -5
  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.1a3.dist-info → reflex-0.7.2.dist-info}/METADATA +3 -6
  223. reflex-0.7.2.dist-info/RECORD +405 -0
  224. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/WHEEL +1 -1
  225. reflex-0.7.1a3.dist-info/RECORD +0 -405
  226. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/LICENSE +0 -0
  227. {reflex-0.7.1a3.dist-info → reflex-0.7.2.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.event import EventType
9
9
  from reflex.style import Style
@@ -17,217 +17,190 @@ class Caption(BaseHTML):
17
17
  def create( # type: ignore
18
18
  cls,
19
19
  *children,
20
- access_key: Optional[Union[Var[str], str]] = None,
21
- auto_capitalize: Optional[
22
- Union[
23
- Literal["characters", "none", "off", "on", "sentences", "words"],
24
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
20
+ access_key: Var[str] | str | None = None,
21
+ auto_capitalize: Literal[
22
+ "characters", "none", "off", "on", "sentences", "words"
23
+ ]
24
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
25
+ | None = None,
26
+ content_editable: Literal["inherit", "plaintext-only", False, True]
27
+ | Var[Literal["inherit", "plaintext-only", False, True]]
28
+ | None = None,
29
+ context_menu: Var[str] | str | None = None,
30
+ dir: Var[str] | str | None = None,
31
+ draggable: Var[bool] | bool | None = None,
32
+ enter_key_hint: Literal[
33
+ "done", "enter", "go", "next", "previous", "search", "send"
34
+ ]
35
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
36
+ | None = None,
37
+ hidden: Var[bool] | bool | None = None,
38
+ input_mode: Literal[
39
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
40
+ ]
41
+ | Var[
42
+ Literal[
43
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
25
44
  ]
26
- ] = None,
27
- content_editable: Optional[
28
- Union[
29
- Literal["inherit", "plaintext-only", False, True],
30
- Var[Literal["inherit", "plaintext-only", False, True]],
45
+ ]
46
+ | None = None,
47
+ item_prop: Var[str] | str | None = None,
48
+ lang: Var[str] | str | None = None,
49
+ role: Literal[
50
+ "alert",
51
+ "alertdialog",
52
+ "application",
53
+ "article",
54
+ "banner",
55
+ "button",
56
+ "cell",
57
+ "checkbox",
58
+ "columnheader",
59
+ "combobox",
60
+ "complementary",
61
+ "contentinfo",
62
+ "definition",
63
+ "dialog",
64
+ "directory",
65
+ "document",
66
+ "feed",
67
+ "figure",
68
+ "form",
69
+ "grid",
70
+ "gridcell",
71
+ "group",
72
+ "heading",
73
+ "img",
74
+ "link",
75
+ "list",
76
+ "listbox",
77
+ "listitem",
78
+ "log",
79
+ "main",
80
+ "marquee",
81
+ "math",
82
+ "menu",
83
+ "menubar",
84
+ "menuitem",
85
+ "menuitemcheckbox",
86
+ "menuitemradio",
87
+ "navigation",
88
+ "none",
89
+ "note",
90
+ "option",
91
+ "presentation",
92
+ "progressbar",
93
+ "radio",
94
+ "radiogroup",
95
+ "region",
96
+ "row",
97
+ "rowgroup",
98
+ "rowheader",
99
+ "scrollbar",
100
+ "search",
101
+ "searchbox",
102
+ "separator",
103
+ "slider",
104
+ "spinbutton",
105
+ "status",
106
+ "switch",
107
+ "tab",
108
+ "table",
109
+ "tablist",
110
+ "tabpanel",
111
+ "term",
112
+ "textbox",
113
+ "timer",
114
+ "toolbar",
115
+ "tooltip",
116
+ "tree",
117
+ "treegrid",
118
+ "treeitem",
119
+ ]
120
+ | Var[
121
+ Literal[
122
+ "alert",
123
+ "alertdialog",
124
+ "application",
125
+ "article",
126
+ "banner",
127
+ "button",
128
+ "cell",
129
+ "checkbox",
130
+ "columnheader",
131
+ "combobox",
132
+ "complementary",
133
+ "contentinfo",
134
+ "definition",
135
+ "dialog",
136
+ "directory",
137
+ "document",
138
+ "feed",
139
+ "figure",
140
+ "form",
141
+ "grid",
142
+ "gridcell",
143
+ "group",
144
+ "heading",
145
+ "img",
146
+ "link",
147
+ "list",
148
+ "listbox",
149
+ "listitem",
150
+ "log",
151
+ "main",
152
+ "marquee",
153
+ "math",
154
+ "menu",
155
+ "menubar",
156
+ "menuitem",
157
+ "menuitemcheckbox",
158
+ "menuitemradio",
159
+ "navigation",
160
+ "none",
161
+ "note",
162
+ "option",
163
+ "presentation",
164
+ "progressbar",
165
+ "radio",
166
+ "radiogroup",
167
+ "region",
168
+ "row",
169
+ "rowgroup",
170
+ "rowheader",
171
+ "scrollbar",
172
+ "search",
173
+ "searchbox",
174
+ "separator",
175
+ "slider",
176
+ "spinbutton",
177
+ "status",
178
+ "switch",
179
+ "tab",
180
+ "table",
181
+ "tablist",
182
+ "tabpanel",
183
+ "term",
184
+ "textbox",
185
+ "timer",
186
+ "toolbar",
187
+ "tooltip",
188
+ "tree",
189
+ "treegrid",
190
+ "treeitem",
31
191
  ]
32
- ] = None,
33
- context_menu: Optional[Union[Var[str], str]] = None,
34
- dir: Optional[Union[Var[str], str]] = None,
35
- draggable: Optional[Union[Var[bool], bool]] = None,
36
- enter_key_hint: Optional[
37
- Union[
38
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
39
- Var[
40
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
41
- ],
42
- ]
43
- ] = None,
44
- hidden: Optional[Union[Var[bool], bool]] = None,
45
- input_mode: Optional[
46
- Union[
47
- Literal[
48
- "decimal",
49
- "email",
50
- "none",
51
- "numeric",
52
- "search",
53
- "tel",
54
- "text",
55
- "url",
56
- ],
57
- Var[
58
- Literal[
59
- "decimal",
60
- "email",
61
- "none",
62
- "numeric",
63
- "search",
64
- "tel",
65
- "text",
66
- "url",
67
- ]
68
- ],
69
- ]
70
- ] = None,
71
- item_prop: Optional[Union[Var[str], str]] = None,
72
- lang: Optional[Union[Var[str], str]] = None,
73
- role: Optional[
74
- Union[
75
- Literal[
76
- "alert",
77
- "alertdialog",
78
- "application",
79
- "article",
80
- "banner",
81
- "button",
82
- "cell",
83
- "checkbox",
84
- "columnheader",
85
- "combobox",
86
- "complementary",
87
- "contentinfo",
88
- "definition",
89
- "dialog",
90
- "directory",
91
- "document",
92
- "feed",
93
- "figure",
94
- "form",
95
- "grid",
96
- "gridcell",
97
- "group",
98
- "heading",
99
- "img",
100
- "link",
101
- "list",
102
- "listbox",
103
- "listitem",
104
- "log",
105
- "main",
106
- "marquee",
107
- "math",
108
- "menu",
109
- "menubar",
110
- "menuitem",
111
- "menuitemcheckbox",
112
- "menuitemradio",
113
- "navigation",
114
- "none",
115
- "note",
116
- "option",
117
- "presentation",
118
- "progressbar",
119
- "radio",
120
- "radiogroup",
121
- "region",
122
- "row",
123
- "rowgroup",
124
- "rowheader",
125
- "scrollbar",
126
- "search",
127
- "searchbox",
128
- "separator",
129
- "slider",
130
- "spinbutton",
131
- "status",
132
- "switch",
133
- "tab",
134
- "table",
135
- "tablist",
136
- "tabpanel",
137
- "term",
138
- "textbox",
139
- "timer",
140
- "toolbar",
141
- "tooltip",
142
- "tree",
143
- "treegrid",
144
- "treeitem",
145
- ],
146
- Var[
147
- Literal[
148
- "alert",
149
- "alertdialog",
150
- "application",
151
- "article",
152
- "banner",
153
- "button",
154
- "cell",
155
- "checkbox",
156
- "columnheader",
157
- "combobox",
158
- "complementary",
159
- "contentinfo",
160
- "definition",
161
- "dialog",
162
- "directory",
163
- "document",
164
- "feed",
165
- "figure",
166
- "form",
167
- "grid",
168
- "gridcell",
169
- "group",
170
- "heading",
171
- "img",
172
- "link",
173
- "list",
174
- "listbox",
175
- "listitem",
176
- "log",
177
- "main",
178
- "marquee",
179
- "math",
180
- "menu",
181
- "menubar",
182
- "menuitem",
183
- "menuitemcheckbox",
184
- "menuitemradio",
185
- "navigation",
186
- "none",
187
- "note",
188
- "option",
189
- "presentation",
190
- "progressbar",
191
- "radio",
192
- "radiogroup",
193
- "region",
194
- "row",
195
- "rowgroup",
196
- "rowheader",
197
- "scrollbar",
198
- "search",
199
- "searchbox",
200
- "separator",
201
- "slider",
202
- "spinbutton",
203
- "status",
204
- "switch",
205
- "tab",
206
- "table",
207
- "tablist",
208
- "tabpanel",
209
- "term",
210
- "textbox",
211
- "timer",
212
- "toolbar",
213
- "tooltip",
214
- "tree",
215
- "treegrid",
216
- "treeitem",
217
- ]
218
- ],
219
- ]
220
- ] = None,
221
- slot: Optional[Union[Var[str], str]] = None,
222
- spell_check: Optional[Union[Var[bool], bool]] = None,
223
- tab_index: Optional[Union[Var[int], int]] = None,
224
- title: Optional[Union[Var[str], str]] = None,
225
- style: Optional[Style] = None,
226
- key: Optional[Any] = None,
227
- id: Optional[Any] = None,
228
- class_name: Optional[Any] = None,
229
- autofocus: Optional[bool] = None,
230
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
192
+ ]
193
+ | None = None,
194
+ slot: Var[str] | str | None = None,
195
+ spell_check: Var[bool] | bool | None = None,
196
+ tab_index: Var[int] | int | None = None,
197
+ title: Var[str] | str | None = None,
198
+ style: Style | None = None,
199
+ key: Any | None = None,
200
+ id: Any | None = None,
201
+ class_name: Any | None = None,
202
+ autofocus: bool | None = None,
203
+ custom_attrs: dict[str, Var | Any] | None = None,
231
204
  on_blur: Optional[EventType[()]] = None,
232
205
  on_click: Optional[EventType[()]] = None,
233
206
  on_context_menu: Optional[EventType[()]] = None,
@@ -284,218 +257,191 @@ class Col(BaseHTML):
284
257
  def create( # type: ignore
285
258
  cls,
286
259
  *children,
287
- span: Optional[Union[Var[int], int]] = None,
288
- access_key: Optional[Union[Var[str], str]] = None,
289
- auto_capitalize: Optional[
290
- Union[
291
- Literal["characters", "none", "off", "on", "sentences", "words"],
292
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
293
- ]
294
- ] = None,
295
- content_editable: Optional[
296
- Union[
297
- Literal["inherit", "plaintext-only", False, True],
298
- Var[Literal["inherit", "plaintext-only", False, True]],
299
- ]
300
- ] = None,
301
- context_menu: Optional[Union[Var[str], str]] = None,
302
- dir: Optional[Union[Var[str], str]] = None,
303
- draggable: Optional[Union[Var[bool], bool]] = None,
304
- enter_key_hint: Optional[
305
- Union[
306
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
307
- Var[
308
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
309
- ],
260
+ span: Var[int] | int | None = None,
261
+ access_key: Var[str] | str | None = None,
262
+ auto_capitalize: Literal[
263
+ "characters", "none", "off", "on", "sentences", "words"
264
+ ]
265
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
266
+ | None = None,
267
+ content_editable: Literal["inherit", "plaintext-only", False, True]
268
+ | Var[Literal["inherit", "plaintext-only", False, True]]
269
+ | None = None,
270
+ context_menu: Var[str] | str | None = None,
271
+ dir: Var[str] | str | None = None,
272
+ draggable: Var[bool] | bool | None = None,
273
+ enter_key_hint: Literal[
274
+ "done", "enter", "go", "next", "previous", "search", "send"
275
+ ]
276
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
277
+ | None = None,
278
+ hidden: Var[bool] | bool | None = None,
279
+ input_mode: Literal[
280
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
281
+ ]
282
+ | Var[
283
+ Literal[
284
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
310
285
  ]
311
- ] = None,
312
- hidden: Optional[Union[Var[bool], bool]] = None,
313
- input_mode: Optional[
314
- Union[
315
- Literal[
316
- "decimal",
317
- "email",
318
- "none",
319
- "numeric",
320
- "search",
321
- "tel",
322
- "text",
323
- "url",
324
- ],
325
- Var[
326
- Literal[
327
- "decimal",
328
- "email",
329
- "none",
330
- "numeric",
331
- "search",
332
- "tel",
333
- "text",
334
- "url",
335
- ]
336
- ],
286
+ ]
287
+ | None = None,
288
+ item_prop: Var[str] | str | None = None,
289
+ lang: Var[str] | str | None = None,
290
+ role: Literal[
291
+ "alert",
292
+ "alertdialog",
293
+ "application",
294
+ "article",
295
+ "banner",
296
+ "button",
297
+ "cell",
298
+ "checkbox",
299
+ "columnheader",
300
+ "combobox",
301
+ "complementary",
302
+ "contentinfo",
303
+ "definition",
304
+ "dialog",
305
+ "directory",
306
+ "document",
307
+ "feed",
308
+ "figure",
309
+ "form",
310
+ "grid",
311
+ "gridcell",
312
+ "group",
313
+ "heading",
314
+ "img",
315
+ "link",
316
+ "list",
317
+ "listbox",
318
+ "listitem",
319
+ "log",
320
+ "main",
321
+ "marquee",
322
+ "math",
323
+ "menu",
324
+ "menubar",
325
+ "menuitem",
326
+ "menuitemcheckbox",
327
+ "menuitemradio",
328
+ "navigation",
329
+ "none",
330
+ "note",
331
+ "option",
332
+ "presentation",
333
+ "progressbar",
334
+ "radio",
335
+ "radiogroup",
336
+ "region",
337
+ "row",
338
+ "rowgroup",
339
+ "rowheader",
340
+ "scrollbar",
341
+ "search",
342
+ "searchbox",
343
+ "separator",
344
+ "slider",
345
+ "spinbutton",
346
+ "status",
347
+ "switch",
348
+ "tab",
349
+ "table",
350
+ "tablist",
351
+ "tabpanel",
352
+ "term",
353
+ "textbox",
354
+ "timer",
355
+ "toolbar",
356
+ "tooltip",
357
+ "tree",
358
+ "treegrid",
359
+ "treeitem",
360
+ ]
361
+ | Var[
362
+ Literal[
363
+ "alert",
364
+ "alertdialog",
365
+ "application",
366
+ "article",
367
+ "banner",
368
+ "button",
369
+ "cell",
370
+ "checkbox",
371
+ "columnheader",
372
+ "combobox",
373
+ "complementary",
374
+ "contentinfo",
375
+ "definition",
376
+ "dialog",
377
+ "directory",
378
+ "document",
379
+ "feed",
380
+ "figure",
381
+ "form",
382
+ "grid",
383
+ "gridcell",
384
+ "group",
385
+ "heading",
386
+ "img",
387
+ "link",
388
+ "list",
389
+ "listbox",
390
+ "listitem",
391
+ "log",
392
+ "main",
393
+ "marquee",
394
+ "math",
395
+ "menu",
396
+ "menubar",
397
+ "menuitem",
398
+ "menuitemcheckbox",
399
+ "menuitemradio",
400
+ "navigation",
401
+ "none",
402
+ "note",
403
+ "option",
404
+ "presentation",
405
+ "progressbar",
406
+ "radio",
407
+ "radiogroup",
408
+ "region",
409
+ "row",
410
+ "rowgroup",
411
+ "rowheader",
412
+ "scrollbar",
413
+ "search",
414
+ "searchbox",
415
+ "separator",
416
+ "slider",
417
+ "spinbutton",
418
+ "status",
419
+ "switch",
420
+ "tab",
421
+ "table",
422
+ "tablist",
423
+ "tabpanel",
424
+ "term",
425
+ "textbox",
426
+ "timer",
427
+ "toolbar",
428
+ "tooltip",
429
+ "tree",
430
+ "treegrid",
431
+ "treeitem",
337
432
  ]
338
- ] = None,
339
- item_prop: Optional[Union[Var[str], str]] = None,
340
- lang: Optional[Union[Var[str], str]] = None,
341
- role: Optional[
342
- Union[
343
- Literal[
344
- "alert",
345
- "alertdialog",
346
- "application",
347
- "article",
348
- "banner",
349
- "button",
350
- "cell",
351
- "checkbox",
352
- "columnheader",
353
- "combobox",
354
- "complementary",
355
- "contentinfo",
356
- "definition",
357
- "dialog",
358
- "directory",
359
- "document",
360
- "feed",
361
- "figure",
362
- "form",
363
- "grid",
364
- "gridcell",
365
- "group",
366
- "heading",
367
- "img",
368
- "link",
369
- "list",
370
- "listbox",
371
- "listitem",
372
- "log",
373
- "main",
374
- "marquee",
375
- "math",
376
- "menu",
377
- "menubar",
378
- "menuitem",
379
- "menuitemcheckbox",
380
- "menuitemradio",
381
- "navigation",
382
- "none",
383
- "note",
384
- "option",
385
- "presentation",
386
- "progressbar",
387
- "radio",
388
- "radiogroup",
389
- "region",
390
- "row",
391
- "rowgroup",
392
- "rowheader",
393
- "scrollbar",
394
- "search",
395
- "searchbox",
396
- "separator",
397
- "slider",
398
- "spinbutton",
399
- "status",
400
- "switch",
401
- "tab",
402
- "table",
403
- "tablist",
404
- "tabpanel",
405
- "term",
406
- "textbox",
407
- "timer",
408
- "toolbar",
409
- "tooltip",
410
- "tree",
411
- "treegrid",
412
- "treeitem",
413
- ],
414
- Var[
415
- Literal[
416
- "alert",
417
- "alertdialog",
418
- "application",
419
- "article",
420
- "banner",
421
- "button",
422
- "cell",
423
- "checkbox",
424
- "columnheader",
425
- "combobox",
426
- "complementary",
427
- "contentinfo",
428
- "definition",
429
- "dialog",
430
- "directory",
431
- "document",
432
- "feed",
433
- "figure",
434
- "form",
435
- "grid",
436
- "gridcell",
437
- "group",
438
- "heading",
439
- "img",
440
- "link",
441
- "list",
442
- "listbox",
443
- "listitem",
444
- "log",
445
- "main",
446
- "marquee",
447
- "math",
448
- "menu",
449
- "menubar",
450
- "menuitem",
451
- "menuitemcheckbox",
452
- "menuitemradio",
453
- "navigation",
454
- "none",
455
- "note",
456
- "option",
457
- "presentation",
458
- "progressbar",
459
- "radio",
460
- "radiogroup",
461
- "region",
462
- "row",
463
- "rowgroup",
464
- "rowheader",
465
- "scrollbar",
466
- "search",
467
- "searchbox",
468
- "separator",
469
- "slider",
470
- "spinbutton",
471
- "status",
472
- "switch",
473
- "tab",
474
- "table",
475
- "tablist",
476
- "tabpanel",
477
- "term",
478
- "textbox",
479
- "timer",
480
- "toolbar",
481
- "tooltip",
482
- "tree",
483
- "treegrid",
484
- "treeitem",
485
- ]
486
- ],
487
- ]
488
- ] = None,
489
- slot: Optional[Union[Var[str], str]] = None,
490
- spell_check: Optional[Union[Var[bool], bool]] = None,
491
- tab_index: Optional[Union[Var[int], int]] = None,
492
- title: Optional[Union[Var[str], str]] = None,
493
- style: Optional[Style] = None,
494
- key: Optional[Any] = None,
495
- id: Optional[Any] = None,
496
- class_name: Optional[Any] = None,
497
- autofocus: Optional[bool] = None,
498
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
433
+ ]
434
+ | None = None,
435
+ slot: Var[str] | str | None = None,
436
+ spell_check: Var[bool] | bool | None = None,
437
+ tab_index: Var[int] | int | None = None,
438
+ title: Var[str] | str | None = None,
439
+ style: Style | None = None,
440
+ key: Any | None = None,
441
+ id: Any | None = None,
442
+ class_name: Any | None = None,
443
+ autofocus: bool | None = None,
444
+ custom_attrs: dict[str, Var | Any] | None = None,
499
445
  on_blur: Optional[EventType[()]] = None,
500
446
  on_click: Optional[EventType[()]] = None,
501
447
  on_context_menu: Optional[EventType[()]] = None,
@@ -553,218 +499,191 @@ class Colgroup(BaseHTML):
553
499
  def create( # type: ignore
554
500
  cls,
555
501
  *children,
556
- span: Optional[Union[Var[int], int]] = None,
557
- access_key: Optional[Union[Var[str], str]] = None,
558
- auto_capitalize: Optional[
559
- Union[
560
- Literal["characters", "none", "off", "on", "sentences", "words"],
561
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
562
- ]
563
- ] = None,
564
- content_editable: Optional[
565
- Union[
566
- Literal["inherit", "plaintext-only", False, True],
567
- Var[Literal["inherit", "plaintext-only", False, True]],
568
- ]
569
- ] = None,
570
- context_menu: Optional[Union[Var[str], str]] = None,
571
- dir: Optional[Union[Var[str], str]] = None,
572
- draggable: Optional[Union[Var[bool], bool]] = None,
573
- enter_key_hint: Optional[
574
- Union[
575
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
576
- Var[
577
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
578
- ],
579
- ]
580
- ] = None,
581
- hidden: Optional[Union[Var[bool], bool]] = None,
582
- input_mode: Optional[
583
- Union[
584
- Literal[
585
- "decimal",
586
- "email",
587
- "none",
588
- "numeric",
589
- "search",
590
- "tel",
591
- "text",
592
- "url",
593
- ],
594
- Var[
595
- Literal[
596
- "decimal",
597
- "email",
598
- "none",
599
- "numeric",
600
- "search",
601
- "tel",
602
- "text",
603
- "url",
604
- ]
605
- ],
502
+ span: Var[int] | int | None = None,
503
+ access_key: Var[str] | str | None = None,
504
+ auto_capitalize: Literal[
505
+ "characters", "none", "off", "on", "sentences", "words"
506
+ ]
507
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
508
+ | None = None,
509
+ content_editable: Literal["inherit", "plaintext-only", False, True]
510
+ | Var[Literal["inherit", "plaintext-only", False, True]]
511
+ | None = None,
512
+ context_menu: Var[str] | str | None = None,
513
+ dir: Var[str] | str | None = None,
514
+ draggable: Var[bool] | bool | None = None,
515
+ enter_key_hint: Literal[
516
+ "done", "enter", "go", "next", "previous", "search", "send"
517
+ ]
518
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
519
+ | None = None,
520
+ hidden: Var[bool] | bool | None = None,
521
+ input_mode: Literal[
522
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
523
+ ]
524
+ | Var[
525
+ Literal[
526
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
606
527
  ]
607
- ] = None,
608
- item_prop: Optional[Union[Var[str], str]] = None,
609
- lang: Optional[Union[Var[str], str]] = None,
610
- role: Optional[
611
- Union[
612
- Literal[
613
- "alert",
614
- "alertdialog",
615
- "application",
616
- "article",
617
- "banner",
618
- "button",
619
- "cell",
620
- "checkbox",
621
- "columnheader",
622
- "combobox",
623
- "complementary",
624
- "contentinfo",
625
- "definition",
626
- "dialog",
627
- "directory",
628
- "document",
629
- "feed",
630
- "figure",
631
- "form",
632
- "grid",
633
- "gridcell",
634
- "group",
635
- "heading",
636
- "img",
637
- "link",
638
- "list",
639
- "listbox",
640
- "listitem",
641
- "log",
642
- "main",
643
- "marquee",
644
- "math",
645
- "menu",
646
- "menubar",
647
- "menuitem",
648
- "menuitemcheckbox",
649
- "menuitemradio",
650
- "navigation",
651
- "none",
652
- "note",
653
- "option",
654
- "presentation",
655
- "progressbar",
656
- "radio",
657
- "radiogroup",
658
- "region",
659
- "row",
660
- "rowgroup",
661
- "rowheader",
662
- "scrollbar",
663
- "search",
664
- "searchbox",
665
- "separator",
666
- "slider",
667
- "spinbutton",
668
- "status",
669
- "switch",
670
- "tab",
671
- "table",
672
- "tablist",
673
- "tabpanel",
674
- "term",
675
- "textbox",
676
- "timer",
677
- "toolbar",
678
- "tooltip",
679
- "tree",
680
- "treegrid",
681
- "treeitem",
682
- ],
683
- Var[
684
- Literal[
685
- "alert",
686
- "alertdialog",
687
- "application",
688
- "article",
689
- "banner",
690
- "button",
691
- "cell",
692
- "checkbox",
693
- "columnheader",
694
- "combobox",
695
- "complementary",
696
- "contentinfo",
697
- "definition",
698
- "dialog",
699
- "directory",
700
- "document",
701
- "feed",
702
- "figure",
703
- "form",
704
- "grid",
705
- "gridcell",
706
- "group",
707
- "heading",
708
- "img",
709
- "link",
710
- "list",
711
- "listbox",
712
- "listitem",
713
- "log",
714
- "main",
715
- "marquee",
716
- "math",
717
- "menu",
718
- "menubar",
719
- "menuitem",
720
- "menuitemcheckbox",
721
- "menuitemradio",
722
- "navigation",
723
- "none",
724
- "note",
725
- "option",
726
- "presentation",
727
- "progressbar",
728
- "radio",
729
- "radiogroup",
730
- "region",
731
- "row",
732
- "rowgroup",
733
- "rowheader",
734
- "scrollbar",
735
- "search",
736
- "searchbox",
737
- "separator",
738
- "slider",
739
- "spinbutton",
740
- "status",
741
- "switch",
742
- "tab",
743
- "table",
744
- "tablist",
745
- "tabpanel",
746
- "term",
747
- "textbox",
748
- "timer",
749
- "toolbar",
750
- "tooltip",
751
- "tree",
752
- "treegrid",
753
- "treeitem",
754
- ]
755
- ],
528
+ ]
529
+ | None = None,
530
+ item_prop: Var[str] | str | None = None,
531
+ lang: Var[str] | str | None = None,
532
+ role: Literal[
533
+ "alert",
534
+ "alertdialog",
535
+ "application",
536
+ "article",
537
+ "banner",
538
+ "button",
539
+ "cell",
540
+ "checkbox",
541
+ "columnheader",
542
+ "combobox",
543
+ "complementary",
544
+ "contentinfo",
545
+ "definition",
546
+ "dialog",
547
+ "directory",
548
+ "document",
549
+ "feed",
550
+ "figure",
551
+ "form",
552
+ "grid",
553
+ "gridcell",
554
+ "group",
555
+ "heading",
556
+ "img",
557
+ "link",
558
+ "list",
559
+ "listbox",
560
+ "listitem",
561
+ "log",
562
+ "main",
563
+ "marquee",
564
+ "math",
565
+ "menu",
566
+ "menubar",
567
+ "menuitem",
568
+ "menuitemcheckbox",
569
+ "menuitemradio",
570
+ "navigation",
571
+ "none",
572
+ "note",
573
+ "option",
574
+ "presentation",
575
+ "progressbar",
576
+ "radio",
577
+ "radiogroup",
578
+ "region",
579
+ "row",
580
+ "rowgroup",
581
+ "rowheader",
582
+ "scrollbar",
583
+ "search",
584
+ "searchbox",
585
+ "separator",
586
+ "slider",
587
+ "spinbutton",
588
+ "status",
589
+ "switch",
590
+ "tab",
591
+ "table",
592
+ "tablist",
593
+ "tabpanel",
594
+ "term",
595
+ "textbox",
596
+ "timer",
597
+ "toolbar",
598
+ "tooltip",
599
+ "tree",
600
+ "treegrid",
601
+ "treeitem",
602
+ ]
603
+ | Var[
604
+ Literal[
605
+ "alert",
606
+ "alertdialog",
607
+ "application",
608
+ "article",
609
+ "banner",
610
+ "button",
611
+ "cell",
612
+ "checkbox",
613
+ "columnheader",
614
+ "combobox",
615
+ "complementary",
616
+ "contentinfo",
617
+ "definition",
618
+ "dialog",
619
+ "directory",
620
+ "document",
621
+ "feed",
622
+ "figure",
623
+ "form",
624
+ "grid",
625
+ "gridcell",
626
+ "group",
627
+ "heading",
628
+ "img",
629
+ "link",
630
+ "list",
631
+ "listbox",
632
+ "listitem",
633
+ "log",
634
+ "main",
635
+ "marquee",
636
+ "math",
637
+ "menu",
638
+ "menubar",
639
+ "menuitem",
640
+ "menuitemcheckbox",
641
+ "menuitemradio",
642
+ "navigation",
643
+ "none",
644
+ "note",
645
+ "option",
646
+ "presentation",
647
+ "progressbar",
648
+ "radio",
649
+ "radiogroup",
650
+ "region",
651
+ "row",
652
+ "rowgroup",
653
+ "rowheader",
654
+ "scrollbar",
655
+ "search",
656
+ "searchbox",
657
+ "separator",
658
+ "slider",
659
+ "spinbutton",
660
+ "status",
661
+ "switch",
662
+ "tab",
663
+ "table",
664
+ "tablist",
665
+ "tabpanel",
666
+ "term",
667
+ "textbox",
668
+ "timer",
669
+ "toolbar",
670
+ "tooltip",
671
+ "tree",
672
+ "treegrid",
673
+ "treeitem",
756
674
  ]
757
- ] = None,
758
- slot: Optional[Union[Var[str], str]] = None,
759
- spell_check: Optional[Union[Var[bool], bool]] = None,
760
- tab_index: Optional[Union[Var[int], int]] = None,
761
- title: Optional[Union[Var[str], str]] = None,
762
- style: Optional[Style] = None,
763
- key: Optional[Any] = None,
764
- id: Optional[Any] = None,
765
- class_name: Optional[Any] = None,
766
- autofocus: Optional[bool] = None,
767
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
675
+ ]
676
+ | None = None,
677
+ slot: Var[str] | str | None = None,
678
+ spell_check: Var[bool] | bool | None = None,
679
+ tab_index: Var[int] | int | None = None,
680
+ title: Var[str] | str | None = None,
681
+ style: Style | None = None,
682
+ key: Any | None = None,
683
+ id: Any | None = None,
684
+ class_name: Any | None = None,
685
+ autofocus: bool | None = None,
686
+ custom_attrs: dict[str, Var | Any] | None = None,
768
687
  on_blur: Optional[EventType[()]] = None,
769
688
  on_click: Optional[EventType[()]] = None,
770
689
  on_context_menu: Optional[EventType[()]] = None,
@@ -822,224 +741,194 @@ class Table(BaseHTML):
822
741
  def create( # type: ignore
823
742
  cls,
824
743
  *children,
825
- align: Optional[
826
- Union[
827
- Literal["center", "left", "right"],
828
- Var[Literal["center", "left", "right"]],
744
+ align: Literal["center", "left", "right"]
745
+ | Var[Literal["center", "left", "right"]]
746
+ | None = None,
747
+ summary: Var[str] | str | None = None,
748
+ access_key: Var[str] | str | None = None,
749
+ auto_capitalize: Literal[
750
+ "characters", "none", "off", "on", "sentences", "words"
751
+ ]
752
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
753
+ | None = None,
754
+ content_editable: Literal["inherit", "plaintext-only", False, True]
755
+ | Var[Literal["inherit", "plaintext-only", False, True]]
756
+ | None = None,
757
+ context_menu: Var[str] | str | None = None,
758
+ dir: Var[str] | str | None = None,
759
+ draggable: Var[bool] | bool | None = None,
760
+ enter_key_hint: Literal[
761
+ "done", "enter", "go", "next", "previous", "search", "send"
762
+ ]
763
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
764
+ | None = None,
765
+ hidden: Var[bool] | bool | None = None,
766
+ input_mode: Literal[
767
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
768
+ ]
769
+ | Var[
770
+ Literal[
771
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
829
772
  ]
830
- ] = None,
831
- summary: Optional[Union[Var[str], str]] = None,
832
- access_key: Optional[Union[Var[str], str]] = None,
833
- auto_capitalize: Optional[
834
- Union[
835
- Literal["characters", "none", "off", "on", "sentences", "words"],
836
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
773
+ ]
774
+ | None = None,
775
+ item_prop: Var[str] | str | None = None,
776
+ lang: Var[str] | str | None = None,
777
+ role: Literal[
778
+ "alert",
779
+ "alertdialog",
780
+ "application",
781
+ "article",
782
+ "banner",
783
+ "button",
784
+ "cell",
785
+ "checkbox",
786
+ "columnheader",
787
+ "combobox",
788
+ "complementary",
789
+ "contentinfo",
790
+ "definition",
791
+ "dialog",
792
+ "directory",
793
+ "document",
794
+ "feed",
795
+ "figure",
796
+ "form",
797
+ "grid",
798
+ "gridcell",
799
+ "group",
800
+ "heading",
801
+ "img",
802
+ "link",
803
+ "list",
804
+ "listbox",
805
+ "listitem",
806
+ "log",
807
+ "main",
808
+ "marquee",
809
+ "math",
810
+ "menu",
811
+ "menubar",
812
+ "menuitem",
813
+ "menuitemcheckbox",
814
+ "menuitemradio",
815
+ "navigation",
816
+ "none",
817
+ "note",
818
+ "option",
819
+ "presentation",
820
+ "progressbar",
821
+ "radio",
822
+ "radiogroup",
823
+ "region",
824
+ "row",
825
+ "rowgroup",
826
+ "rowheader",
827
+ "scrollbar",
828
+ "search",
829
+ "searchbox",
830
+ "separator",
831
+ "slider",
832
+ "spinbutton",
833
+ "status",
834
+ "switch",
835
+ "tab",
836
+ "table",
837
+ "tablist",
838
+ "tabpanel",
839
+ "term",
840
+ "textbox",
841
+ "timer",
842
+ "toolbar",
843
+ "tooltip",
844
+ "tree",
845
+ "treegrid",
846
+ "treeitem",
847
+ ]
848
+ | Var[
849
+ Literal[
850
+ "alert",
851
+ "alertdialog",
852
+ "application",
853
+ "article",
854
+ "banner",
855
+ "button",
856
+ "cell",
857
+ "checkbox",
858
+ "columnheader",
859
+ "combobox",
860
+ "complementary",
861
+ "contentinfo",
862
+ "definition",
863
+ "dialog",
864
+ "directory",
865
+ "document",
866
+ "feed",
867
+ "figure",
868
+ "form",
869
+ "grid",
870
+ "gridcell",
871
+ "group",
872
+ "heading",
873
+ "img",
874
+ "link",
875
+ "list",
876
+ "listbox",
877
+ "listitem",
878
+ "log",
879
+ "main",
880
+ "marquee",
881
+ "math",
882
+ "menu",
883
+ "menubar",
884
+ "menuitem",
885
+ "menuitemcheckbox",
886
+ "menuitemradio",
887
+ "navigation",
888
+ "none",
889
+ "note",
890
+ "option",
891
+ "presentation",
892
+ "progressbar",
893
+ "radio",
894
+ "radiogroup",
895
+ "region",
896
+ "row",
897
+ "rowgroup",
898
+ "rowheader",
899
+ "scrollbar",
900
+ "search",
901
+ "searchbox",
902
+ "separator",
903
+ "slider",
904
+ "spinbutton",
905
+ "status",
906
+ "switch",
907
+ "tab",
908
+ "table",
909
+ "tablist",
910
+ "tabpanel",
911
+ "term",
912
+ "textbox",
913
+ "timer",
914
+ "toolbar",
915
+ "tooltip",
916
+ "tree",
917
+ "treegrid",
918
+ "treeitem",
837
919
  ]
838
- ] = None,
839
- content_editable: Optional[
840
- Union[
841
- Literal["inherit", "plaintext-only", False, True],
842
- Var[Literal["inherit", "plaintext-only", False, True]],
843
- ]
844
- ] = None,
845
- context_menu: Optional[Union[Var[str], str]] = None,
846
- dir: Optional[Union[Var[str], str]] = None,
847
- draggable: Optional[Union[Var[bool], bool]] = None,
848
- enter_key_hint: Optional[
849
- Union[
850
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
851
- Var[
852
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
853
- ],
854
- ]
855
- ] = None,
856
- hidden: Optional[Union[Var[bool], bool]] = None,
857
- input_mode: Optional[
858
- Union[
859
- Literal[
860
- "decimal",
861
- "email",
862
- "none",
863
- "numeric",
864
- "search",
865
- "tel",
866
- "text",
867
- "url",
868
- ],
869
- Var[
870
- Literal[
871
- "decimal",
872
- "email",
873
- "none",
874
- "numeric",
875
- "search",
876
- "tel",
877
- "text",
878
- "url",
879
- ]
880
- ],
881
- ]
882
- ] = None,
883
- item_prop: Optional[Union[Var[str], str]] = None,
884
- lang: Optional[Union[Var[str], str]] = None,
885
- role: Optional[
886
- Union[
887
- Literal[
888
- "alert",
889
- "alertdialog",
890
- "application",
891
- "article",
892
- "banner",
893
- "button",
894
- "cell",
895
- "checkbox",
896
- "columnheader",
897
- "combobox",
898
- "complementary",
899
- "contentinfo",
900
- "definition",
901
- "dialog",
902
- "directory",
903
- "document",
904
- "feed",
905
- "figure",
906
- "form",
907
- "grid",
908
- "gridcell",
909
- "group",
910
- "heading",
911
- "img",
912
- "link",
913
- "list",
914
- "listbox",
915
- "listitem",
916
- "log",
917
- "main",
918
- "marquee",
919
- "math",
920
- "menu",
921
- "menubar",
922
- "menuitem",
923
- "menuitemcheckbox",
924
- "menuitemradio",
925
- "navigation",
926
- "none",
927
- "note",
928
- "option",
929
- "presentation",
930
- "progressbar",
931
- "radio",
932
- "radiogroup",
933
- "region",
934
- "row",
935
- "rowgroup",
936
- "rowheader",
937
- "scrollbar",
938
- "search",
939
- "searchbox",
940
- "separator",
941
- "slider",
942
- "spinbutton",
943
- "status",
944
- "switch",
945
- "tab",
946
- "table",
947
- "tablist",
948
- "tabpanel",
949
- "term",
950
- "textbox",
951
- "timer",
952
- "toolbar",
953
- "tooltip",
954
- "tree",
955
- "treegrid",
956
- "treeitem",
957
- ],
958
- Var[
959
- Literal[
960
- "alert",
961
- "alertdialog",
962
- "application",
963
- "article",
964
- "banner",
965
- "button",
966
- "cell",
967
- "checkbox",
968
- "columnheader",
969
- "combobox",
970
- "complementary",
971
- "contentinfo",
972
- "definition",
973
- "dialog",
974
- "directory",
975
- "document",
976
- "feed",
977
- "figure",
978
- "form",
979
- "grid",
980
- "gridcell",
981
- "group",
982
- "heading",
983
- "img",
984
- "link",
985
- "list",
986
- "listbox",
987
- "listitem",
988
- "log",
989
- "main",
990
- "marquee",
991
- "math",
992
- "menu",
993
- "menubar",
994
- "menuitem",
995
- "menuitemcheckbox",
996
- "menuitemradio",
997
- "navigation",
998
- "none",
999
- "note",
1000
- "option",
1001
- "presentation",
1002
- "progressbar",
1003
- "radio",
1004
- "radiogroup",
1005
- "region",
1006
- "row",
1007
- "rowgroup",
1008
- "rowheader",
1009
- "scrollbar",
1010
- "search",
1011
- "searchbox",
1012
- "separator",
1013
- "slider",
1014
- "spinbutton",
1015
- "status",
1016
- "switch",
1017
- "tab",
1018
- "table",
1019
- "tablist",
1020
- "tabpanel",
1021
- "term",
1022
- "textbox",
1023
- "timer",
1024
- "toolbar",
1025
- "tooltip",
1026
- "tree",
1027
- "treegrid",
1028
- "treeitem",
1029
- ]
1030
- ],
1031
- ]
1032
- ] = None,
1033
- slot: Optional[Union[Var[str], str]] = None,
1034
- spell_check: Optional[Union[Var[bool], bool]] = None,
1035
- tab_index: Optional[Union[Var[int], int]] = None,
1036
- title: Optional[Union[Var[str], str]] = None,
1037
- style: Optional[Style] = None,
1038
- key: Optional[Any] = None,
1039
- id: Optional[Any] = None,
1040
- class_name: Optional[Any] = None,
1041
- autofocus: Optional[bool] = None,
1042
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
920
+ ]
921
+ | None = None,
922
+ slot: Var[str] | str | None = None,
923
+ spell_check: Var[bool] | bool | None = None,
924
+ tab_index: Var[int] | int | None = None,
925
+ title: Var[str] | str | None = None,
926
+ style: Style | None = None,
927
+ key: Any | None = None,
928
+ id: Any | None = None,
929
+ class_name: Any | None = None,
930
+ autofocus: bool | None = None,
931
+ custom_attrs: dict[str, Var | Any] | None = None,
1043
932
  on_blur: Optional[EventType[()]] = None,
1044
933
  on_click: Optional[EventType[()]] = None,
1045
934
  on_context_menu: Optional[EventType[()]] = None,
@@ -1098,217 +987,190 @@ class Tbody(BaseHTML):
1098
987
  def create( # type: ignore
1099
988
  cls,
1100
989
  *children,
1101
- access_key: Optional[Union[Var[str], str]] = None,
1102
- auto_capitalize: Optional[
1103
- Union[
1104
- Literal["characters", "none", "off", "on", "sentences", "words"],
1105
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
990
+ access_key: Var[str] | str | None = None,
991
+ auto_capitalize: Literal[
992
+ "characters", "none", "off", "on", "sentences", "words"
993
+ ]
994
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
995
+ | None = None,
996
+ content_editable: Literal["inherit", "plaintext-only", False, True]
997
+ | Var[Literal["inherit", "plaintext-only", False, True]]
998
+ | None = None,
999
+ context_menu: Var[str] | str | None = None,
1000
+ dir: Var[str] | str | None = None,
1001
+ draggable: Var[bool] | bool | None = None,
1002
+ enter_key_hint: Literal[
1003
+ "done", "enter", "go", "next", "previous", "search", "send"
1004
+ ]
1005
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1006
+ | None = None,
1007
+ hidden: Var[bool] | bool | None = None,
1008
+ input_mode: Literal[
1009
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1010
+ ]
1011
+ | Var[
1012
+ Literal[
1013
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1106
1014
  ]
1107
- ] = None,
1108
- content_editable: Optional[
1109
- Union[
1110
- Literal["inherit", "plaintext-only", False, True],
1111
- Var[Literal["inherit", "plaintext-only", False, True]],
1015
+ ]
1016
+ | None = None,
1017
+ item_prop: Var[str] | str | None = None,
1018
+ lang: Var[str] | str | None = None,
1019
+ role: Literal[
1020
+ "alert",
1021
+ "alertdialog",
1022
+ "application",
1023
+ "article",
1024
+ "banner",
1025
+ "button",
1026
+ "cell",
1027
+ "checkbox",
1028
+ "columnheader",
1029
+ "combobox",
1030
+ "complementary",
1031
+ "contentinfo",
1032
+ "definition",
1033
+ "dialog",
1034
+ "directory",
1035
+ "document",
1036
+ "feed",
1037
+ "figure",
1038
+ "form",
1039
+ "grid",
1040
+ "gridcell",
1041
+ "group",
1042
+ "heading",
1043
+ "img",
1044
+ "link",
1045
+ "list",
1046
+ "listbox",
1047
+ "listitem",
1048
+ "log",
1049
+ "main",
1050
+ "marquee",
1051
+ "math",
1052
+ "menu",
1053
+ "menubar",
1054
+ "menuitem",
1055
+ "menuitemcheckbox",
1056
+ "menuitemradio",
1057
+ "navigation",
1058
+ "none",
1059
+ "note",
1060
+ "option",
1061
+ "presentation",
1062
+ "progressbar",
1063
+ "radio",
1064
+ "radiogroup",
1065
+ "region",
1066
+ "row",
1067
+ "rowgroup",
1068
+ "rowheader",
1069
+ "scrollbar",
1070
+ "search",
1071
+ "searchbox",
1072
+ "separator",
1073
+ "slider",
1074
+ "spinbutton",
1075
+ "status",
1076
+ "switch",
1077
+ "tab",
1078
+ "table",
1079
+ "tablist",
1080
+ "tabpanel",
1081
+ "term",
1082
+ "textbox",
1083
+ "timer",
1084
+ "toolbar",
1085
+ "tooltip",
1086
+ "tree",
1087
+ "treegrid",
1088
+ "treeitem",
1089
+ ]
1090
+ | Var[
1091
+ Literal[
1092
+ "alert",
1093
+ "alertdialog",
1094
+ "application",
1095
+ "article",
1096
+ "banner",
1097
+ "button",
1098
+ "cell",
1099
+ "checkbox",
1100
+ "columnheader",
1101
+ "combobox",
1102
+ "complementary",
1103
+ "contentinfo",
1104
+ "definition",
1105
+ "dialog",
1106
+ "directory",
1107
+ "document",
1108
+ "feed",
1109
+ "figure",
1110
+ "form",
1111
+ "grid",
1112
+ "gridcell",
1113
+ "group",
1114
+ "heading",
1115
+ "img",
1116
+ "link",
1117
+ "list",
1118
+ "listbox",
1119
+ "listitem",
1120
+ "log",
1121
+ "main",
1122
+ "marquee",
1123
+ "math",
1124
+ "menu",
1125
+ "menubar",
1126
+ "menuitem",
1127
+ "menuitemcheckbox",
1128
+ "menuitemradio",
1129
+ "navigation",
1130
+ "none",
1131
+ "note",
1132
+ "option",
1133
+ "presentation",
1134
+ "progressbar",
1135
+ "radio",
1136
+ "radiogroup",
1137
+ "region",
1138
+ "row",
1139
+ "rowgroup",
1140
+ "rowheader",
1141
+ "scrollbar",
1142
+ "search",
1143
+ "searchbox",
1144
+ "separator",
1145
+ "slider",
1146
+ "spinbutton",
1147
+ "status",
1148
+ "switch",
1149
+ "tab",
1150
+ "table",
1151
+ "tablist",
1152
+ "tabpanel",
1153
+ "term",
1154
+ "textbox",
1155
+ "timer",
1156
+ "toolbar",
1157
+ "tooltip",
1158
+ "tree",
1159
+ "treegrid",
1160
+ "treeitem",
1112
1161
  ]
1113
- ] = None,
1114
- context_menu: Optional[Union[Var[str], str]] = None,
1115
- dir: Optional[Union[Var[str], str]] = None,
1116
- draggable: Optional[Union[Var[bool], bool]] = None,
1117
- enter_key_hint: Optional[
1118
- Union[
1119
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1120
- Var[
1121
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1122
- ],
1123
- ]
1124
- ] = None,
1125
- hidden: Optional[Union[Var[bool], bool]] = None,
1126
- input_mode: Optional[
1127
- Union[
1128
- Literal[
1129
- "decimal",
1130
- "email",
1131
- "none",
1132
- "numeric",
1133
- "search",
1134
- "tel",
1135
- "text",
1136
- "url",
1137
- ],
1138
- Var[
1139
- Literal[
1140
- "decimal",
1141
- "email",
1142
- "none",
1143
- "numeric",
1144
- "search",
1145
- "tel",
1146
- "text",
1147
- "url",
1148
- ]
1149
- ],
1150
- ]
1151
- ] = None,
1152
- item_prop: Optional[Union[Var[str], str]] = None,
1153
- lang: Optional[Union[Var[str], str]] = None,
1154
- role: Optional[
1155
- Union[
1156
- Literal[
1157
- "alert",
1158
- "alertdialog",
1159
- "application",
1160
- "article",
1161
- "banner",
1162
- "button",
1163
- "cell",
1164
- "checkbox",
1165
- "columnheader",
1166
- "combobox",
1167
- "complementary",
1168
- "contentinfo",
1169
- "definition",
1170
- "dialog",
1171
- "directory",
1172
- "document",
1173
- "feed",
1174
- "figure",
1175
- "form",
1176
- "grid",
1177
- "gridcell",
1178
- "group",
1179
- "heading",
1180
- "img",
1181
- "link",
1182
- "list",
1183
- "listbox",
1184
- "listitem",
1185
- "log",
1186
- "main",
1187
- "marquee",
1188
- "math",
1189
- "menu",
1190
- "menubar",
1191
- "menuitem",
1192
- "menuitemcheckbox",
1193
- "menuitemradio",
1194
- "navigation",
1195
- "none",
1196
- "note",
1197
- "option",
1198
- "presentation",
1199
- "progressbar",
1200
- "radio",
1201
- "radiogroup",
1202
- "region",
1203
- "row",
1204
- "rowgroup",
1205
- "rowheader",
1206
- "scrollbar",
1207
- "search",
1208
- "searchbox",
1209
- "separator",
1210
- "slider",
1211
- "spinbutton",
1212
- "status",
1213
- "switch",
1214
- "tab",
1215
- "table",
1216
- "tablist",
1217
- "tabpanel",
1218
- "term",
1219
- "textbox",
1220
- "timer",
1221
- "toolbar",
1222
- "tooltip",
1223
- "tree",
1224
- "treegrid",
1225
- "treeitem",
1226
- ],
1227
- Var[
1228
- Literal[
1229
- "alert",
1230
- "alertdialog",
1231
- "application",
1232
- "article",
1233
- "banner",
1234
- "button",
1235
- "cell",
1236
- "checkbox",
1237
- "columnheader",
1238
- "combobox",
1239
- "complementary",
1240
- "contentinfo",
1241
- "definition",
1242
- "dialog",
1243
- "directory",
1244
- "document",
1245
- "feed",
1246
- "figure",
1247
- "form",
1248
- "grid",
1249
- "gridcell",
1250
- "group",
1251
- "heading",
1252
- "img",
1253
- "link",
1254
- "list",
1255
- "listbox",
1256
- "listitem",
1257
- "log",
1258
- "main",
1259
- "marquee",
1260
- "math",
1261
- "menu",
1262
- "menubar",
1263
- "menuitem",
1264
- "menuitemcheckbox",
1265
- "menuitemradio",
1266
- "navigation",
1267
- "none",
1268
- "note",
1269
- "option",
1270
- "presentation",
1271
- "progressbar",
1272
- "radio",
1273
- "radiogroup",
1274
- "region",
1275
- "row",
1276
- "rowgroup",
1277
- "rowheader",
1278
- "scrollbar",
1279
- "search",
1280
- "searchbox",
1281
- "separator",
1282
- "slider",
1283
- "spinbutton",
1284
- "status",
1285
- "switch",
1286
- "tab",
1287
- "table",
1288
- "tablist",
1289
- "tabpanel",
1290
- "term",
1291
- "textbox",
1292
- "timer",
1293
- "toolbar",
1294
- "tooltip",
1295
- "tree",
1296
- "treegrid",
1297
- "treeitem",
1298
- ]
1299
- ],
1300
- ]
1301
- ] = None,
1302
- slot: Optional[Union[Var[str], str]] = None,
1303
- spell_check: Optional[Union[Var[bool], bool]] = None,
1304
- tab_index: Optional[Union[Var[int], int]] = None,
1305
- title: Optional[Union[Var[str], str]] = None,
1306
- style: Optional[Style] = None,
1307
- key: Optional[Any] = None,
1308
- id: Optional[Any] = None,
1309
- class_name: Optional[Any] = None,
1310
- autofocus: Optional[bool] = None,
1311
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1162
+ ]
1163
+ | None = None,
1164
+ slot: Var[str] | str | None = None,
1165
+ spell_check: Var[bool] | bool | None = None,
1166
+ tab_index: Var[int] | int | None = None,
1167
+ title: Var[str] | str | None = None,
1168
+ style: Style | None = None,
1169
+ key: Any | None = None,
1170
+ id: Any | None = None,
1171
+ class_name: Any | None = None,
1172
+ autofocus: bool | None = None,
1173
+ custom_attrs: dict[str, Var | Any] | None = None,
1312
1174
  on_blur: Optional[EventType[()]] = None,
1313
1175
  on_click: Optional[EventType[()]] = None,
1314
1176
  on_context_menu: Optional[EventType[()]] = None,
@@ -1365,226 +1227,196 @@ class Td(BaseHTML):
1365
1227
  def create( # type: ignore
1366
1228
  cls,
1367
1229
  *children,
1368
- align: Optional[
1369
- Union[
1370
- Literal["center", "char", "justify", "left", "right"],
1371
- Var[Literal["center", "char", "justify", "left", "right"]],
1372
- ]
1373
- ] = None,
1374
- col_span: Optional[Union[Var[int], int]] = None,
1375
- headers: Optional[Union[Var[str], str]] = None,
1376
- row_span: Optional[Union[Var[int], int]] = None,
1377
- access_key: Optional[Union[Var[str], str]] = None,
1378
- auto_capitalize: Optional[
1379
- Union[
1380
- Literal["characters", "none", "off", "on", "sentences", "words"],
1381
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1230
+ align: Literal["center", "char", "justify", "left", "right"]
1231
+ | Var[Literal["center", "char", "justify", "left", "right"]]
1232
+ | None = None,
1233
+ col_span: Var[int] | int | None = None,
1234
+ headers: Var[str] | str | None = None,
1235
+ row_span: Var[int] | int | None = None,
1236
+ access_key: Var[str] | str | None = None,
1237
+ auto_capitalize: Literal[
1238
+ "characters", "none", "off", "on", "sentences", "words"
1239
+ ]
1240
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1241
+ | None = None,
1242
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1243
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1244
+ | None = None,
1245
+ context_menu: Var[str] | str | None = None,
1246
+ dir: Var[str] | str | None = None,
1247
+ draggable: Var[bool] | bool | None = None,
1248
+ enter_key_hint: Literal[
1249
+ "done", "enter", "go", "next", "previous", "search", "send"
1250
+ ]
1251
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1252
+ | None = None,
1253
+ hidden: Var[bool] | bool | None = None,
1254
+ input_mode: Literal[
1255
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1256
+ ]
1257
+ | Var[
1258
+ Literal[
1259
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1382
1260
  ]
1383
- ] = None,
1384
- content_editable: Optional[
1385
- Union[
1386
- Literal["inherit", "plaintext-only", False, True],
1387
- Var[Literal["inherit", "plaintext-only", False, True]],
1261
+ ]
1262
+ | None = None,
1263
+ item_prop: Var[str] | str | None = None,
1264
+ lang: Var[str] | str | None = None,
1265
+ role: Literal[
1266
+ "alert",
1267
+ "alertdialog",
1268
+ "application",
1269
+ "article",
1270
+ "banner",
1271
+ "button",
1272
+ "cell",
1273
+ "checkbox",
1274
+ "columnheader",
1275
+ "combobox",
1276
+ "complementary",
1277
+ "contentinfo",
1278
+ "definition",
1279
+ "dialog",
1280
+ "directory",
1281
+ "document",
1282
+ "feed",
1283
+ "figure",
1284
+ "form",
1285
+ "grid",
1286
+ "gridcell",
1287
+ "group",
1288
+ "heading",
1289
+ "img",
1290
+ "link",
1291
+ "list",
1292
+ "listbox",
1293
+ "listitem",
1294
+ "log",
1295
+ "main",
1296
+ "marquee",
1297
+ "math",
1298
+ "menu",
1299
+ "menubar",
1300
+ "menuitem",
1301
+ "menuitemcheckbox",
1302
+ "menuitemradio",
1303
+ "navigation",
1304
+ "none",
1305
+ "note",
1306
+ "option",
1307
+ "presentation",
1308
+ "progressbar",
1309
+ "radio",
1310
+ "radiogroup",
1311
+ "region",
1312
+ "row",
1313
+ "rowgroup",
1314
+ "rowheader",
1315
+ "scrollbar",
1316
+ "search",
1317
+ "searchbox",
1318
+ "separator",
1319
+ "slider",
1320
+ "spinbutton",
1321
+ "status",
1322
+ "switch",
1323
+ "tab",
1324
+ "table",
1325
+ "tablist",
1326
+ "tabpanel",
1327
+ "term",
1328
+ "textbox",
1329
+ "timer",
1330
+ "toolbar",
1331
+ "tooltip",
1332
+ "tree",
1333
+ "treegrid",
1334
+ "treeitem",
1335
+ ]
1336
+ | Var[
1337
+ Literal[
1338
+ "alert",
1339
+ "alertdialog",
1340
+ "application",
1341
+ "article",
1342
+ "banner",
1343
+ "button",
1344
+ "cell",
1345
+ "checkbox",
1346
+ "columnheader",
1347
+ "combobox",
1348
+ "complementary",
1349
+ "contentinfo",
1350
+ "definition",
1351
+ "dialog",
1352
+ "directory",
1353
+ "document",
1354
+ "feed",
1355
+ "figure",
1356
+ "form",
1357
+ "grid",
1358
+ "gridcell",
1359
+ "group",
1360
+ "heading",
1361
+ "img",
1362
+ "link",
1363
+ "list",
1364
+ "listbox",
1365
+ "listitem",
1366
+ "log",
1367
+ "main",
1368
+ "marquee",
1369
+ "math",
1370
+ "menu",
1371
+ "menubar",
1372
+ "menuitem",
1373
+ "menuitemcheckbox",
1374
+ "menuitemradio",
1375
+ "navigation",
1376
+ "none",
1377
+ "note",
1378
+ "option",
1379
+ "presentation",
1380
+ "progressbar",
1381
+ "radio",
1382
+ "radiogroup",
1383
+ "region",
1384
+ "row",
1385
+ "rowgroup",
1386
+ "rowheader",
1387
+ "scrollbar",
1388
+ "search",
1389
+ "searchbox",
1390
+ "separator",
1391
+ "slider",
1392
+ "spinbutton",
1393
+ "status",
1394
+ "switch",
1395
+ "tab",
1396
+ "table",
1397
+ "tablist",
1398
+ "tabpanel",
1399
+ "term",
1400
+ "textbox",
1401
+ "timer",
1402
+ "toolbar",
1403
+ "tooltip",
1404
+ "tree",
1405
+ "treegrid",
1406
+ "treeitem",
1388
1407
  ]
1389
- ] = None,
1390
- context_menu: Optional[Union[Var[str], str]] = None,
1391
- dir: Optional[Union[Var[str], str]] = None,
1392
- draggable: Optional[Union[Var[bool], bool]] = None,
1393
- enter_key_hint: Optional[
1394
- Union[
1395
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1396
- Var[
1397
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1398
- ],
1399
- ]
1400
- ] = None,
1401
- hidden: Optional[Union[Var[bool], bool]] = None,
1402
- input_mode: Optional[
1403
- Union[
1404
- Literal[
1405
- "decimal",
1406
- "email",
1407
- "none",
1408
- "numeric",
1409
- "search",
1410
- "tel",
1411
- "text",
1412
- "url",
1413
- ],
1414
- Var[
1415
- Literal[
1416
- "decimal",
1417
- "email",
1418
- "none",
1419
- "numeric",
1420
- "search",
1421
- "tel",
1422
- "text",
1423
- "url",
1424
- ]
1425
- ],
1426
- ]
1427
- ] = None,
1428
- item_prop: Optional[Union[Var[str], str]] = None,
1429
- lang: Optional[Union[Var[str], str]] = None,
1430
- role: Optional[
1431
- Union[
1432
- Literal[
1433
- "alert",
1434
- "alertdialog",
1435
- "application",
1436
- "article",
1437
- "banner",
1438
- "button",
1439
- "cell",
1440
- "checkbox",
1441
- "columnheader",
1442
- "combobox",
1443
- "complementary",
1444
- "contentinfo",
1445
- "definition",
1446
- "dialog",
1447
- "directory",
1448
- "document",
1449
- "feed",
1450
- "figure",
1451
- "form",
1452
- "grid",
1453
- "gridcell",
1454
- "group",
1455
- "heading",
1456
- "img",
1457
- "link",
1458
- "list",
1459
- "listbox",
1460
- "listitem",
1461
- "log",
1462
- "main",
1463
- "marquee",
1464
- "math",
1465
- "menu",
1466
- "menubar",
1467
- "menuitem",
1468
- "menuitemcheckbox",
1469
- "menuitemradio",
1470
- "navigation",
1471
- "none",
1472
- "note",
1473
- "option",
1474
- "presentation",
1475
- "progressbar",
1476
- "radio",
1477
- "radiogroup",
1478
- "region",
1479
- "row",
1480
- "rowgroup",
1481
- "rowheader",
1482
- "scrollbar",
1483
- "search",
1484
- "searchbox",
1485
- "separator",
1486
- "slider",
1487
- "spinbutton",
1488
- "status",
1489
- "switch",
1490
- "tab",
1491
- "table",
1492
- "tablist",
1493
- "tabpanel",
1494
- "term",
1495
- "textbox",
1496
- "timer",
1497
- "toolbar",
1498
- "tooltip",
1499
- "tree",
1500
- "treegrid",
1501
- "treeitem",
1502
- ],
1503
- Var[
1504
- Literal[
1505
- "alert",
1506
- "alertdialog",
1507
- "application",
1508
- "article",
1509
- "banner",
1510
- "button",
1511
- "cell",
1512
- "checkbox",
1513
- "columnheader",
1514
- "combobox",
1515
- "complementary",
1516
- "contentinfo",
1517
- "definition",
1518
- "dialog",
1519
- "directory",
1520
- "document",
1521
- "feed",
1522
- "figure",
1523
- "form",
1524
- "grid",
1525
- "gridcell",
1526
- "group",
1527
- "heading",
1528
- "img",
1529
- "link",
1530
- "list",
1531
- "listbox",
1532
- "listitem",
1533
- "log",
1534
- "main",
1535
- "marquee",
1536
- "math",
1537
- "menu",
1538
- "menubar",
1539
- "menuitem",
1540
- "menuitemcheckbox",
1541
- "menuitemradio",
1542
- "navigation",
1543
- "none",
1544
- "note",
1545
- "option",
1546
- "presentation",
1547
- "progressbar",
1548
- "radio",
1549
- "radiogroup",
1550
- "region",
1551
- "row",
1552
- "rowgroup",
1553
- "rowheader",
1554
- "scrollbar",
1555
- "search",
1556
- "searchbox",
1557
- "separator",
1558
- "slider",
1559
- "spinbutton",
1560
- "status",
1561
- "switch",
1562
- "tab",
1563
- "table",
1564
- "tablist",
1565
- "tabpanel",
1566
- "term",
1567
- "textbox",
1568
- "timer",
1569
- "toolbar",
1570
- "tooltip",
1571
- "tree",
1572
- "treegrid",
1573
- "treeitem",
1574
- ]
1575
- ],
1576
- ]
1577
- ] = None,
1578
- slot: Optional[Union[Var[str], str]] = None,
1579
- spell_check: Optional[Union[Var[bool], bool]] = None,
1580
- tab_index: Optional[Union[Var[int], int]] = None,
1581
- title: Optional[Union[Var[str], str]] = None,
1582
- style: Optional[Style] = None,
1583
- key: Optional[Any] = None,
1584
- id: Optional[Any] = None,
1585
- class_name: Optional[Any] = None,
1586
- autofocus: Optional[bool] = None,
1587
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1408
+ ]
1409
+ | None = None,
1410
+ slot: Var[str] | str | None = None,
1411
+ spell_check: Var[bool] | bool | None = None,
1412
+ tab_index: Var[int] | int | None = None,
1413
+ title: Var[str] | str | None = None,
1414
+ style: Style | None = None,
1415
+ key: Any | None = None,
1416
+ id: Any | None = None,
1417
+ class_name: Any | None = None,
1418
+ autofocus: bool | None = None,
1419
+ custom_attrs: dict[str, Var | Any] | None = None,
1588
1420
  on_blur: Optional[EventType[()]] = None,
1589
1421
  on_click: Optional[EventType[()]] = None,
1590
1422
  on_context_menu: Optional[EventType[()]] = None,
@@ -1645,217 +1477,190 @@ class Tfoot(BaseHTML):
1645
1477
  def create( # type: ignore
1646
1478
  cls,
1647
1479
  *children,
1648
- access_key: Optional[Union[Var[str], str]] = None,
1649
- auto_capitalize: Optional[
1650
- Union[
1651
- Literal["characters", "none", "off", "on", "sentences", "words"],
1652
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1653
- ]
1654
- ] = None,
1655
- content_editable: Optional[
1656
- Union[
1657
- Literal["inherit", "plaintext-only", False, True],
1658
- Var[Literal["inherit", "plaintext-only", False, True]],
1480
+ access_key: Var[str] | str | None = None,
1481
+ auto_capitalize: Literal[
1482
+ "characters", "none", "off", "on", "sentences", "words"
1483
+ ]
1484
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1485
+ | None = None,
1486
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1487
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1488
+ | None = None,
1489
+ context_menu: Var[str] | str | None = None,
1490
+ dir: Var[str] | str | None = None,
1491
+ draggable: Var[bool] | bool | None = None,
1492
+ enter_key_hint: Literal[
1493
+ "done", "enter", "go", "next", "previous", "search", "send"
1494
+ ]
1495
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1496
+ | None = None,
1497
+ hidden: Var[bool] | bool | None = None,
1498
+ input_mode: Literal[
1499
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1500
+ ]
1501
+ | Var[
1502
+ Literal[
1503
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1659
1504
  ]
1660
- ] = None,
1661
- context_menu: Optional[Union[Var[str], str]] = None,
1662
- dir: Optional[Union[Var[str], str]] = None,
1663
- draggable: Optional[Union[Var[bool], bool]] = None,
1664
- enter_key_hint: Optional[
1665
- Union[
1666
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1667
- Var[
1668
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1669
- ],
1505
+ ]
1506
+ | None = None,
1507
+ item_prop: Var[str] | str | None = None,
1508
+ lang: Var[str] | str | None = None,
1509
+ role: Literal[
1510
+ "alert",
1511
+ "alertdialog",
1512
+ "application",
1513
+ "article",
1514
+ "banner",
1515
+ "button",
1516
+ "cell",
1517
+ "checkbox",
1518
+ "columnheader",
1519
+ "combobox",
1520
+ "complementary",
1521
+ "contentinfo",
1522
+ "definition",
1523
+ "dialog",
1524
+ "directory",
1525
+ "document",
1526
+ "feed",
1527
+ "figure",
1528
+ "form",
1529
+ "grid",
1530
+ "gridcell",
1531
+ "group",
1532
+ "heading",
1533
+ "img",
1534
+ "link",
1535
+ "list",
1536
+ "listbox",
1537
+ "listitem",
1538
+ "log",
1539
+ "main",
1540
+ "marquee",
1541
+ "math",
1542
+ "menu",
1543
+ "menubar",
1544
+ "menuitem",
1545
+ "menuitemcheckbox",
1546
+ "menuitemradio",
1547
+ "navigation",
1548
+ "none",
1549
+ "note",
1550
+ "option",
1551
+ "presentation",
1552
+ "progressbar",
1553
+ "radio",
1554
+ "radiogroup",
1555
+ "region",
1556
+ "row",
1557
+ "rowgroup",
1558
+ "rowheader",
1559
+ "scrollbar",
1560
+ "search",
1561
+ "searchbox",
1562
+ "separator",
1563
+ "slider",
1564
+ "spinbutton",
1565
+ "status",
1566
+ "switch",
1567
+ "tab",
1568
+ "table",
1569
+ "tablist",
1570
+ "tabpanel",
1571
+ "term",
1572
+ "textbox",
1573
+ "timer",
1574
+ "toolbar",
1575
+ "tooltip",
1576
+ "tree",
1577
+ "treegrid",
1578
+ "treeitem",
1579
+ ]
1580
+ | Var[
1581
+ Literal[
1582
+ "alert",
1583
+ "alertdialog",
1584
+ "application",
1585
+ "article",
1586
+ "banner",
1587
+ "button",
1588
+ "cell",
1589
+ "checkbox",
1590
+ "columnheader",
1591
+ "combobox",
1592
+ "complementary",
1593
+ "contentinfo",
1594
+ "definition",
1595
+ "dialog",
1596
+ "directory",
1597
+ "document",
1598
+ "feed",
1599
+ "figure",
1600
+ "form",
1601
+ "grid",
1602
+ "gridcell",
1603
+ "group",
1604
+ "heading",
1605
+ "img",
1606
+ "link",
1607
+ "list",
1608
+ "listbox",
1609
+ "listitem",
1610
+ "log",
1611
+ "main",
1612
+ "marquee",
1613
+ "math",
1614
+ "menu",
1615
+ "menubar",
1616
+ "menuitem",
1617
+ "menuitemcheckbox",
1618
+ "menuitemradio",
1619
+ "navigation",
1620
+ "none",
1621
+ "note",
1622
+ "option",
1623
+ "presentation",
1624
+ "progressbar",
1625
+ "radio",
1626
+ "radiogroup",
1627
+ "region",
1628
+ "row",
1629
+ "rowgroup",
1630
+ "rowheader",
1631
+ "scrollbar",
1632
+ "search",
1633
+ "searchbox",
1634
+ "separator",
1635
+ "slider",
1636
+ "spinbutton",
1637
+ "status",
1638
+ "switch",
1639
+ "tab",
1640
+ "table",
1641
+ "tablist",
1642
+ "tabpanel",
1643
+ "term",
1644
+ "textbox",
1645
+ "timer",
1646
+ "toolbar",
1647
+ "tooltip",
1648
+ "tree",
1649
+ "treegrid",
1650
+ "treeitem",
1670
1651
  ]
1671
- ] = None,
1672
- hidden: Optional[Union[Var[bool], bool]] = None,
1673
- input_mode: Optional[
1674
- Union[
1675
- Literal[
1676
- "decimal",
1677
- "email",
1678
- "none",
1679
- "numeric",
1680
- "search",
1681
- "tel",
1682
- "text",
1683
- "url",
1684
- ],
1685
- Var[
1686
- Literal[
1687
- "decimal",
1688
- "email",
1689
- "none",
1690
- "numeric",
1691
- "search",
1692
- "tel",
1693
- "text",
1694
- "url",
1695
- ]
1696
- ],
1697
- ]
1698
- ] = None,
1699
- item_prop: Optional[Union[Var[str], str]] = None,
1700
- lang: Optional[Union[Var[str], str]] = None,
1701
- role: Optional[
1702
- Union[
1703
- Literal[
1704
- "alert",
1705
- "alertdialog",
1706
- "application",
1707
- "article",
1708
- "banner",
1709
- "button",
1710
- "cell",
1711
- "checkbox",
1712
- "columnheader",
1713
- "combobox",
1714
- "complementary",
1715
- "contentinfo",
1716
- "definition",
1717
- "dialog",
1718
- "directory",
1719
- "document",
1720
- "feed",
1721
- "figure",
1722
- "form",
1723
- "grid",
1724
- "gridcell",
1725
- "group",
1726
- "heading",
1727
- "img",
1728
- "link",
1729
- "list",
1730
- "listbox",
1731
- "listitem",
1732
- "log",
1733
- "main",
1734
- "marquee",
1735
- "math",
1736
- "menu",
1737
- "menubar",
1738
- "menuitem",
1739
- "menuitemcheckbox",
1740
- "menuitemradio",
1741
- "navigation",
1742
- "none",
1743
- "note",
1744
- "option",
1745
- "presentation",
1746
- "progressbar",
1747
- "radio",
1748
- "radiogroup",
1749
- "region",
1750
- "row",
1751
- "rowgroup",
1752
- "rowheader",
1753
- "scrollbar",
1754
- "search",
1755
- "searchbox",
1756
- "separator",
1757
- "slider",
1758
- "spinbutton",
1759
- "status",
1760
- "switch",
1761
- "tab",
1762
- "table",
1763
- "tablist",
1764
- "tabpanel",
1765
- "term",
1766
- "textbox",
1767
- "timer",
1768
- "toolbar",
1769
- "tooltip",
1770
- "tree",
1771
- "treegrid",
1772
- "treeitem",
1773
- ],
1774
- Var[
1775
- Literal[
1776
- "alert",
1777
- "alertdialog",
1778
- "application",
1779
- "article",
1780
- "banner",
1781
- "button",
1782
- "cell",
1783
- "checkbox",
1784
- "columnheader",
1785
- "combobox",
1786
- "complementary",
1787
- "contentinfo",
1788
- "definition",
1789
- "dialog",
1790
- "directory",
1791
- "document",
1792
- "feed",
1793
- "figure",
1794
- "form",
1795
- "grid",
1796
- "gridcell",
1797
- "group",
1798
- "heading",
1799
- "img",
1800
- "link",
1801
- "list",
1802
- "listbox",
1803
- "listitem",
1804
- "log",
1805
- "main",
1806
- "marquee",
1807
- "math",
1808
- "menu",
1809
- "menubar",
1810
- "menuitem",
1811
- "menuitemcheckbox",
1812
- "menuitemradio",
1813
- "navigation",
1814
- "none",
1815
- "note",
1816
- "option",
1817
- "presentation",
1818
- "progressbar",
1819
- "radio",
1820
- "radiogroup",
1821
- "region",
1822
- "row",
1823
- "rowgroup",
1824
- "rowheader",
1825
- "scrollbar",
1826
- "search",
1827
- "searchbox",
1828
- "separator",
1829
- "slider",
1830
- "spinbutton",
1831
- "status",
1832
- "switch",
1833
- "tab",
1834
- "table",
1835
- "tablist",
1836
- "tabpanel",
1837
- "term",
1838
- "textbox",
1839
- "timer",
1840
- "toolbar",
1841
- "tooltip",
1842
- "tree",
1843
- "treegrid",
1844
- "treeitem",
1845
- ]
1846
- ],
1847
- ]
1848
- ] = None,
1849
- slot: Optional[Union[Var[str], str]] = None,
1850
- spell_check: Optional[Union[Var[bool], bool]] = None,
1851
- tab_index: Optional[Union[Var[int], int]] = None,
1852
- title: Optional[Union[Var[str], str]] = None,
1853
- style: Optional[Style] = None,
1854
- key: Optional[Any] = None,
1855
- id: Optional[Any] = None,
1856
- class_name: Optional[Any] = None,
1857
- autofocus: Optional[bool] = None,
1858
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1652
+ ]
1653
+ | None = None,
1654
+ slot: Var[str] | str | None = None,
1655
+ spell_check: Var[bool] | bool | None = None,
1656
+ tab_index: Var[int] | int | None = None,
1657
+ title: Var[str] | str | None = None,
1658
+ style: Style | None = None,
1659
+ key: Any | None = None,
1660
+ id: Any | None = None,
1661
+ class_name: Any | None = None,
1662
+ autofocus: bool | None = None,
1663
+ custom_attrs: dict[str, Var | Any] | None = None,
1859
1664
  on_blur: Optional[EventType[()]] = None,
1860
1665
  on_click: Optional[EventType[()]] = None,
1861
1666
  on_context_menu: Optional[EventType[()]] = None,
@@ -1912,227 +1717,197 @@ class Th(BaseHTML):
1912
1717
  def create( # type: ignore
1913
1718
  cls,
1914
1719
  *children,
1915
- align: Optional[
1916
- Union[
1917
- Literal["center", "char", "justify", "left", "right"],
1918
- Var[Literal["center", "char", "justify", "left", "right"]],
1919
- ]
1920
- ] = None,
1921
- col_span: Optional[Union[Var[int], int]] = None,
1922
- headers: Optional[Union[Var[str], str]] = None,
1923
- row_span: Optional[Union[Var[int], int]] = None,
1924
- scope: Optional[Union[Var[str], str]] = None,
1925
- access_key: Optional[Union[Var[str], str]] = None,
1926
- auto_capitalize: Optional[
1927
- Union[
1928
- Literal["characters", "none", "off", "on", "sentences", "words"],
1929
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1930
- ]
1931
- ] = None,
1932
- content_editable: Optional[
1933
- Union[
1934
- Literal["inherit", "plaintext-only", False, True],
1935
- Var[Literal["inherit", "plaintext-only", False, True]],
1720
+ align: Literal["center", "char", "justify", "left", "right"]
1721
+ | Var[Literal["center", "char", "justify", "left", "right"]]
1722
+ | None = None,
1723
+ col_span: Var[int] | int | None = None,
1724
+ headers: Var[str] | str | None = None,
1725
+ row_span: Var[int] | int | None = None,
1726
+ scope: Var[str] | str | None = None,
1727
+ access_key: Var[str] | str | None = None,
1728
+ auto_capitalize: Literal[
1729
+ "characters", "none", "off", "on", "sentences", "words"
1730
+ ]
1731
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1732
+ | None = None,
1733
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1734
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1735
+ | None = None,
1736
+ context_menu: Var[str] | str | None = None,
1737
+ dir: Var[str] | str | None = None,
1738
+ draggable: Var[bool] | bool | None = None,
1739
+ enter_key_hint: Literal[
1740
+ "done", "enter", "go", "next", "previous", "search", "send"
1741
+ ]
1742
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1743
+ | None = None,
1744
+ hidden: Var[bool] | bool | None = None,
1745
+ input_mode: Literal[
1746
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1747
+ ]
1748
+ | Var[
1749
+ Literal[
1750
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1936
1751
  ]
1937
- ] = None,
1938
- context_menu: Optional[Union[Var[str], str]] = None,
1939
- dir: Optional[Union[Var[str], str]] = None,
1940
- draggable: Optional[Union[Var[bool], bool]] = None,
1941
- enter_key_hint: Optional[
1942
- Union[
1943
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
1944
- Var[
1945
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
1946
- ],
1752
+ ]
1753
+ | None = None,
1754
+ item_prop: Var[str] | str | None = None,
1755
+ lang: Var[str] | str | None = None,
1756
+ role: Literal[
1757
+ "alert",
1758
+ "alertdialog",
1759
+ "application",
1760
+ "article",
1761
+ "banner",
1762
+ "button",
1763
+ "cell",
1764
+ "checkbox",
1765
+ "columnheader",
1766
+ "combobox",
1767
+ "complementary",
1768
+ "contentinfo",
1769
+ "definition",
1770
+ "dialog",
1771
+ "directory",
1772
+ "document",
1773
+ "feed",
1774
+ "figure",
1775
+ "form",
1776
+ "grid",
1777
+ "gridcell",
1778
+ "group",
1779
+ "heading",
1780
+ "img",
1781
+ "link",
1782
+ "list",
1783
+ "listbox",
1784
+ "listitem",
1785
+ "log",
1786
+ "main",
1787
+ "marquee",
1788
+ "math",
1789
+ "menu",
1790
+ "menubar",
1791
+ "menuitem",
1792
+ "menuitemcheckbox",
1793
+ "menuitemradio",
1794
+ "navigation",
1795
+ "none",
1796
+ "note",
1797
+ "option",
1798
+ "presentation",
1799
+ "progressbar",
1800
+ "radio",
1801
+ "radiogroup",
1802
+ "region",
1803
+ "row",
1804
+ "rowgroup",
1805
+ "rowheader",
1806
+ "scrollbar",
1807
+ "search",
1808
+ "searchbox",
1809
+ "separator",
1810
+ "slider",
1811
+ "spinbutton",
1812
+ "status",
1813
+ "switch",
1814
+ "tab",
1815
+ "table",
1816
+ "tablist",
1817
+ "tabpanel",
1818
+ "term",
1819
+ "textbox",
1820
+ "timer",
1821
+ "toolbar",
1822
+ "tooltip",
1823
+ "tree",
1824
+ "treegrid",
1825
+ "treeitem",
1826
+ ]
1827
+ | Var[
1828
+ Literal[
1829
+ "alert",
1830
+ "alertdialog",
1831
+ "application",
1832
+ "article",
1833
+ "banner",
1834
+ "button",
1835
+ "cell",
1836
+ "checkbox",
1837
+ "columnheader",
1838
+ "combobox",
1839
+ "complementary",
1840
+ "contentinfo",
1841
+ "definition",
1842
+ "dialog",
1843
+ "directory",
1844
+ "document",
1845
+ "feed",
1846
+ "figure",
1847
+ "form",
1848
+ "grid",
1849
+ "gridcell",
1850
+ "group",
1851
+ "heading",
1852
+ "img",
1853
+ "link",
1854
+ "list",
1855
+ "listbox",
1856
+ "listitem",
1857
+ "log",
1858
+ "main",
1859
+ "marquee",
1860
+ "math",
1861
+ "menu",
1862
+ "menubar",
1863
+ "menuitem",
1864
+ "menuitemcheckbox",
1865
+ "menuitemradio",
1866
+ "navigation",
1867
+ "none",
1868
+ "note",
1869
+ "option",
1870
+ "presentation",
1871
+ "progressbar",
1872
+ "radio",
1873
+ "radiogroup",
1874
+ "region",
1875
+ "row",
1876
+ "rowgroup",
1877
+ "rowheader",
1878
+ "scrollbar",
1879
+ "search",
1880
+ "searchbox",
1881
+ "separator",
1882
+ "slider",
1883
+ "spinbutton",
1884
+ "status",
1885
+ "switch",
1886
+ "tab",
1887
+ "table",
1888
+ "tablist",
1889
+ "tabpanel",
1890
+ "term",
1891
+ "textbox",
1892
+ "timer",
1893
+ "toolbar",
1894
+ "tooltip",
1895
+ "tree",
1896
+ "treegrid",
1897
+ "treeitem",
1947
1898
  ]
1948
- ] = None,
1949
- hidden: Optional[Union[Var[bool], bool]] = None,
1950
- input_mode: Optional[
1951
- Union[
1952
- Literal[
1953
- "decimal",
1954
- "email",
1955
- "none",
1956
- "numeric",
1957
- "search",
1958
- "tel",
1959
- "text",
1960
- "url",
1961
- ],
1962
- Var[
1963
- Literal[
1964
- "decimal",
1965
- "email",
1966
- "none",
1967
- "numeric",
1968
- "search",
1969
- "tel",
1970
- "text",
1971
- "url",
1972
- ]
1973
- ],
1974
- ]
1975
- ] = None,
1976
- item_prop: Optional[Union[Var[str], str]] = None,
1977
- lang: Optional[Union[Var[str], str]] = None,
1978
- role: Optional[
1979
- Union[
1980
- Literal[
1981
- "alert",
1982
- "alertdialog",
1983
- "application",
1984
- "article",
1985
- "banner",
1986
- "button",
1987
- "cell",
1988
- "checkbox",
1989
- "columnheader",
1990
- "combobox",
1991
- "complementary",
1992
- "contentinfo",
1993
- "definition",
1994
- "dialog",
1995
- "directory",
1996
- "document",
1997
- "feed",
1998
- "figure",
1999
- "form",
2000
- "grid",
2001
- "gridcell",
2002
- "group",
2003
- "heading",
2004
- "img",
2005
- "link",
2006
- "list",
2007
- "listbox",
2008
- "listitem",
2009
- "log",
2010
- "main",
2011
- "marquee",
2012
- "math",
2013
- "menu",
2014
- "menubar",
2015
- "menuitem",
2016
- "menuitemcheckbox",
2017
- "menuitemradio",
2018
- "navigation",
2019
- "none",
2020
- "note",
2021
- "option",
2022
- "presentation",
2023
- "progressbar",
2024
- "radio",
2025
- "radiogroup",
2026
- "region",
2027
- "row",
2028
- "rowgroup",
2029
- "rowheader",
2030
- "scrollbar",
2031
- "search",
2032
- "searchbox",
2033
- "separator",
2034
- "slider",
2035
- "spinbutton",
2036
- "status",
2037
- "switch",
2038
- "tab",
2039
- "table",
2040
- "tablist",
2041
- "tabpanel",
2042
- "term",
2043
- "textbox",
2044
- "timer",
2045
- "toolbar",
2046
- "tooltip",
2047
- "tree",
2048
- "treegrid",
2049
- "treeitem",
2050
- ],
2051
- Var[
2052
- Literal[
2053
- "alert",
2054
- "alertdialog",
2055
- "application",
2056
- "article",
2057
- "banner",
2058
- "button",
2059
- "cell",
2060
- "checkbox",
2061
- "columnheader",
2062
- "combobox",
2063
- "complementary",
2064
- "contentinfo",
2065
- "definition",
2066
- "dialog",
2067
- "directory",
2068
- "document",
2069
- "feed",
2070
- "figure",
2071
- "form",
2072
- "grid",
2073
- "gridcell",
2074
- "group",
2075
- "heading",
2076
- "img",
2077
- "link",
2078
- "list",
2079
- "listbox",
2080
- "listitem",
2081
- "log",
2082
- "main",
2083
- "marquee",
2084
- "math",
2085
- "menu",
2086
- "menubar",
2087
- "menuitem",
2088
- "menuitemcheckbox",
2089
- "menuitemradio",
2090
- "navigation",
2091
- "none",
2092
- "note",
2093
- "option",
2094
- "presentation",
2095
- "progressbar",
2096
- "radio",
2097
- "radiogroup",
2098
- "region",
2099
- "row",
2100
- "rowgroup",
2101
- "rowheader",
2102
- "scrollbar",
2103
- "search",
2104
- "searchbox",
2105
- "separator",
2106
- "slider",
2107
- "spinbutton",
2108
- "status",
2109
- "switch",
2110
- "tab",
2111
- "table",
2112
- "tablist",
2113
- "tabpanel",
2114
- "term",
2115
- "textbox",
2116
- "timer",
2117
- "toolbar",
2118
- "tooltip",
2119
- "tree",
2120
- "treegrid",
2121
- "treeitem",
2122
- ]
2123
- ],
2124
- ]
2125
- ] = None,
2126
- slot: Optional[Union[Var[str], str]] = None,
2127
- spell_check: Optional[Union[Var[bool], bool]] = None,
2128
- tab_index: Optional[Union[Var[int], int]] = None,
2129
- title: Optional[Union[Var[str], str]] = None,
2130
- style: Optional[Style] = None,
2131
- key: Optional[Any] = None,
2132
- id: Optional[Any] = None,
2133
- class_name: Optional[Any] = None,
2134
- autofocus: Optional[bool] = None,
2135
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
1899
+ ]
1900
+ | None = None,
1901
+ slot: Var[str] | str | None = None,
1902
+ spell_check: Var[bool] | bool | None = None,
1903
+ tab_index: Var[int] | int | None = None,
1904
+ title: Var[str] | str | None = None,
1905
+ style: Style | None = None,
1906
+ key: Any | None = None,
1907
+ id: Any | None = None,
1908
+ class_name: Any | None = None,
1909
+ autofocus: bool | None = None,
1910
+ custom_attrs: dict[str, Var | Any] | None = None,
2136
1911
  on_blur: Optional[EventType[()]] = None,
2137
1912
  on_click: Optional[EventType[()]] = None,
2138
1913
  on_context_menu: Optional[EventType[()]] = None,
@@ -2194,217 +1969,190 @@ class Thead(BaseHTML):
2194
1969
  def create( # type: ignore
2195
1970
  cls,
2196
1971
  *children,
2197
- access_key: Optional[Union[Var[str], str]] = None,
2198
- auto_capitalize: Optional[
2199
- Union[
2200
- Literal["characters", "none", "off", "on", "sentences", "words"],
2201
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2202
- ]
2203
- ] = None,
2204
- content_editable: Optional[
2205
- Union[
2206
- Literal["inherit", "plaintext-only", False, True],
2207
- Var[Literal["inherit", "plaintext-only", False, True]],
2208
- ]
2209
- ] = None,
2210
- context_menu: Optional[Union[Var[str], str]] = None,
2211
- dir: Optional[Union[Var[str], str]] = None,
2212
- draggable: Optional[Union[Var[bool], bool]] = None,
2213
- enter_key_hint: Optional[
2214
- Union[
2215
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
2216
- Var[
2217
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
2218
- ],
1972
+ access_key: Var[str] | str | None = None,
1973
+ auto_capitalize: Literal[
1974
+ "characters", "none", "off", "on", "sentences", "words"
1975
+ ]
1976
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
1977
+ | None = None,
1978
+ content_editable: Literal["inherit", "plaintext-only", False, True]
1979
+ | Var[Literal["inherit", "plaintext-only", False, True]]
1980
+ | None = None,
1981
+ context_menu: Var[str] | str | None = None,
1982
+ dir: Var[str] | str | None = None,
1983
+ draggable: Var[bool] | bool | None = None,
1984
+ enter_key_hint: Literal[
1985
+ "done", "enter", "go", "next", "previous", "search", "send"
1986
+ ]
1987
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
1988
+ | None = None,
1989
+ hidden: Var[bool] | bool | None = None,
1990
+ input_mode: Literal[
1991
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
1992
+ ]
1993
+ | Var[
1994
+ Literal[
1995
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
2219
1996
  ]
2220
- ] = None,
2221
- hidden: Optional[Union[Var[bool], bool]] = None,
2222
- input_mode: Optional[
2223
- Union[
2224
- Literal[
2225
- "decimal",
2226
- "email",
2227
- "none",
2228
- "numeric",
2229
- "search",
2230
- "tel",
2231
- "text",
2232
- "url",
2233
- ],
2234
- Var[
2235
- Literal[
2236
- "decimal",
2237
- "email",
2238
- "none",
2239
- "numeric",
2240
- "search",
2241
- "tel",
2242
- "text",
2243
- "url",
2244
- ]
2245
- ],
1997
+ ]
1998
+ | None = None,
1999
+ item_prop: Var[str] | str | None = None,
2000
+ lang: Var[str] | str | None = None,
2001
+ role: Literal[
2002
+ "alert",
2003
+ "alertdialog",
2004
+ "application",
2005
+ "article",
2006
+ "banner",
2007
+ "button",
2008
+ "cell",
2009
+ "checkbox",
2010
+ "columnheader",
2011
+ "combobox",
2012
+ "complementary",
2013
+ "contentinfo",
2014
+ "definition",
2015
+ "dialog",
2016
+ "directory",
2017
+ "document",
2018
+ "feed",
2019
+ "figure",
2020
+ "form",
2021
+ "grid",
2022
+ "gridcell",
2023
+ "group",
2024
+ "heading",
2025
+ "img",
2026
+ "link",
2027
+ "list",
2028
+ "listbox",
2029
+ "listitem",
2030
+ "log",
2031
+ "main",
2032
+ "marquee",
2033
+ "math",
2034
+ "menu",
2035
+ "menubar",
2036
+ "menuitem",
2037
+ "menuitemcheckbox",
2038
+ "menuitemradio",
2039
+ "navigation",
2040
+ "none",
2041
+ "note",
2042
+ "option",
2043
+ "presentation",
2044
+ "progressbar",
2045
+ "radio",
2046
+ "radiogroup",
2047
+ "region",
2048
+ "row",
2049
+ "rowgroup",
2050
+ "rowheader",
2051
+ "scrollbar",
2052
+ "search",
2053
+ "searchbox",
2054
+ "separator",
2055
+ "slider",
2056
+ "spinbutton",
2057
+ "status",
2058
+ "switch",
2059
+ "tab",
2060
+ "table",
2061
+ "tablist",
2062
+ "tabpanel",
2063
+ "term",
2064
+ "textbox",
2065
+ "timer",
2066
+ "toolbar",
2067
+ "tooltip",
2068
+ "tree",
2069
+ "treegrid",
2070
+ "treeitem",
2071
+ ]
2072
+ | Var[
2073
+ Literal[
2074
+ "alert",
2075
+ "alertdialog",
2076
+ "application",
2077
+ "article",
2078
+ "banner",
2079
+ "button",
2080
+ "cell",
2081
+ "checkbox",
2082
+ "columnheader",
2083
+ "combobox",
2084
+ "complementary",
2085
+ "contentinfo",
2086
+ "definition",
2087
+ "dialog",
2088
+ "directory",
2089
+ "document",
2090
+ "feed",
2091
+ "figure",
2092
+ "form",
2093
+ "grid",
2094
+ "gridcell",
2095
+ "group",
2096
+ "heading",
2097
+ "img",
2098
+ "link",
2099
+ "list",
2100
+ "listbox",
2101
+ "listitem",
2102
+ "log",
2103
+ "main",
2104
+ "marquee",
2105
+ "math",
2106
+ "menu",
2107
+ "menubar",
2108
+ "menuitem",
2109
+ "menuitemcheckbox",
2110
+ "menuitemradio",
2111
+ "navigation",
2112
+ "none",
2113
+ "note",
2114
+ "option",
2115
+ "presentation",
2116
+ "progressbar",
2117
+ "radio",
2118
+ "radiogroup",
2119
+ "region",
2120
+ "row",
2121
+ "rowgroup",
2122
+ "rowheader",
2123
+ "scrollbar",
2124
+ "search",
2125
+ "searchbox",
2126
+ "separator",
2127
+ "slider",
2128
+ "spinbutton",
2129
+ "status",
2130
+ "switch",
2131
+ "tab",
2132
+ "table",
2133
+ "tablist",
2134
+ "tabpanel",
2135
+ "term",
2136
+ "textbox",
2137
+ "timer",
2138
+ "toolbar",
2139
+ "tooltip",
2140
+ "tree",
2141
+ "treegrid",
2142
+ "treeitem",
2246
2143
  ]
2247
- ] = None,
2248
- item_prop: Optional[Union[Var[str], str]] = None,
2249
- lang: Optional[Union[Var[str], str]] = None,
2250
- role: Optional[
2251
- Union[
2252
- Literal[
2253
- "alert",
2254
- "alertdialog",
2255
- "application",
2256
- "article",
2257
- "banner",
2258
- "button",
2259
- "cell",
2260
- "checkbox",
2261
- "columnheader",
2262
- "combobox",
2263
- "complementary",
2264
- "contentinfo",
2265
- "definition",
2266
- "dialog",
2267
- "directory",
2268
- "document",
2269
- "feed",
2270
- "figure",
2271
- "form",
2272
- "grid",
2273
- "gridcell",
2274
- "group",
2275
- "heading",
2276
- "img",
2277
- "link",
2278
- "list",
2279
- "listbox",
2280
- "listitem",
2281
- "log",
2282
- "main",
2283
- "marquee",
2284
- "math",
2285
- "menu",
2286
- "menubar",
2287
- "menuitem",
2288
- "menuitemcheckbox",
2289
- "menuitemradio",
2290
- "navigation",
2291
- "none",
2292
- "note",
2293
- "option",
2294
- "presentation",
2295
- "progressbar",
2296
- "radio",
2297
- "radiogroup",
2298
- "region",
2299
- "row",
2300
- "rowgroup",
2301
- "rowheader",
2302
- "scrollbar",
2303
- "search",
2304
- "searchbox",
2305
- "separator",
2306
- "slider",
2307
- "spinbutton",
2308
- "status",
2309
- "switch",
2310
- "tab",
2311
- "table",
2312
- "tablist",
2313
- "tabpanel",
2314
- "term",
2315
- "textbox",
2316
- "timer",
2317
- "toolbar",
2318
- "tooltip",
2319
- "tree",
2320
- "treegrid",
2321
- "treeitem",
2322
- ],
2323
- Var[
2324
- Literal[
2325
- "alert",
2326
- "alertdialog",
2327
- "application",
2328
- "article",
2329
- "banner",
2330
- "button",
2331
- "cell",
2332
- "checkbox",
2333
- "columnheader",
2334
- "combobox",
2335
- "complementary",
2336
- "contentinfo",
2337
- "definition",
2338
- "dialog",
2339
- "directory",
2340
- "document",
2341
- "feed",
2342
- "figure",
2343
- "form",
2344
- "grid",
2345
- "gridcell",
2346
- "group",
2347
- "heading",
2348
- "img",
2349
- "link",
2350
- "list",
2351
- "listbox",
2352
- "listitem",
2353
- "log",
2354
- "main",
2355
- "marquee",
2356
- "math",
2357
- "menu",
2358
- "menubar",
2359
- "menuitem",
2360
- "menuitemcheckbox",
2361
- "menuitemradio",
2362
- "navigation",
2363
- "none",
2364
- "note",
2365
- "option",
2366
- "presentation",
2367
- "progressbar",
2368
- "radio",
2369
- "radiogroup",
2370
- "region",
2371
- "row",
2372
- "rowgroup",
2373
- "rowheader",
2374
- "scrollbar",
2375
- "search",
2376
- "searchbox",
2377
- "separator",
2378
- "slider",
2379
- "spinbutton",
2380
- "status",
2381
- "switch",
2382
- "tab",
2383
- "table",
2384
- "tablist",
2385
- "tabpanel",
2386
- "term",
2387
- "textbox",
2388
- "timer",
2389
- "toolbar",
2390
- "tooltip",
2391
- "tree",
2392
- "treegrid",
2393
- "treeitem",
2394
- ]
2395
- ],
2396
- ]
2397
- ] = None,
2398
- slot: Optional[Union[Var[str], str]] = None,
2399
- spell_check: Optional[Union[Var[bool], bool]] = None,
2400
- tab_index: Optional[Union[Var[int], int]] = None,
2401
- title: Optional[Union[Var[str], str]] = None,
2402
- style: Optional[Style] = None,
2403
- key: Optional[Any] = None,
2404
- id: Optional[Any] = None,
2405
- class_name: Optional[Any] = None,
2406
- autofocus: Optional[bool] = None,
2407
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
2144
+ ]
2145
+ | None = None,
2146
+ slot: Var[str] | str | None = None,
2147
+ spell_check: Var[bool] | bool | None = None,
2148
+ tab_index: Var[int] | int | None = None,
2149
+ title: Var[str] | str | None = None,
2150
+ style: Style | None = None,
2151
+ key: Any | None = None,
2152
+ id: Any | None = None,
2153
+ class_name: Any | None = None,
2154
+ autofocus: bool | None = None,
2155
+ custom_attrs: dict[str, Var | Any] | None = None,
2408
2156
  on_blur: Optional[EventType[()]] = None,
2409
2157
  on_click: Optional[EventType[()]] = None,
2410
2158
  on_context_menu: Optional[EventType[()]] = None,
@@ -2461,217 +2209,190 @@ class Tr(BaseHTML):
2461
2209
  def create( # type: ignore
2462
2210
  cls,
2463
2211
  *children,
2464
- access_key: Optional[Union[Var[str], str]] = None,
2465
- auto_capitalize: Optional[
2466
- Union[
2467
- Literal["characters", "none", "off", "on", "sentences", "words"],
2468
- Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2469
- ]
2470
- ] = None,
2471
- content_editable: Optional[
2472
- Union[
2473
- Literal["inherit", "plaintext-only", False, True],
2474
- Var[Literal["inherit", "plaintext-only", False, True]],
2475
- ]
2476
- ] = None,
2477
- context_menu: Optional[Union[Var[str], str]] = None,
2478
- dir: Optional[Union[Var[str], str]] = None,
2479
- draggable: Optional[Union[Var[bool], bool]] = None,
2480
- enter_key_hint: Optional[
2481
- Union[
2482
- Literal["done", "enter", "go", "next", "previous", "search", "send"],
2483
- Var[
2484
- Literal["done", "enter", "go", "next", "previous", "search", "send"]
2485
- ],
2486
- ]
2487
- ] = None,
2488
- hidden: Optional[Union[Var[bool], bool]] = None,
2489
- input_mode: Optional[
2490
- Union[
2491
- Literal[
2492
- "decimal",
2493
- "email",
2494
- "none",
2495
- "numeric",
2496
- "search",
2497
- "tel",
2498
- "text",
2499
- "url",
2500
- ],
2501
- Var[
2502
- Literal[
2503
- "decimal",
2504
- "email",
2505
- "none",
2506
- "numeric",
2507
- "search",
2508
- "tel",
2509
- "text",
2510
- "url",
2511
- ]
2512
- ],
2212
+ access_key: Var[str] | str | None = None,
2213
+ auto_capitalize: Literal[
2214
+ "characters", "none", "off", "on", "sentences", "words"
2215
+ ]
2216
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
2217
+ | None = None,
2218
+ content_editable: Literal["inherit", "plaintext-only", False, True]
2219
+ | Var[Literal["inherit", "plaintext-only", False, True]]
2220
+ | None = None,
2221
+ context_menu: Var[str] | str | None = None,
2222
+ dir: Var[str] | str | None = None,
2223
+ draggable: Var[bool] | bool | None = None,
2224
+ enter_key_hint: Literal[
2225
+ "done", "enter", "go", "next", "previous", "search", "send"
2226
+ ]
2227
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
2228
+ | None = None,
2229
+ hidden: Var[bool] | bool | None = None,
2230
+ input_mode: Literal[
2231
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
2232
+ ]
2233
+ | Var[
2234
+ Literal[
2235
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
2513
2236
  ]
2514
- ] = None,
2515
- item_prop: Optional[Union[Var[str], str]] = None,
2516
- lang: Optional[Union[Var[str], str]] = None,
2517
- role: Optional[
2518
- Union[
2519
- Literal[
2520
- "alert",
2521
- "alertdialog",
2522
- "application",
2523
- "article",
2524
- "banner",
2525
- "button",
2526
- "cell",
2527
- "checkbox",
2528
- "columnheader",
2529
- "combobox",
2530
- "complementary",
2531
- "contentinfo",
2532
- "definition",
2533
- "dialog",
2534
- "directory",
2535
- "document",
2536
- "feed",
2537
- "figure",
2538
- "form",
2539
- "grid",
2540
- "gridcell",
2541
- "group",
2542
- "heading",
2543
- "img",
2544
- "link",
2545
- "list",
2546
- "listbox",
2547
- "listitem",
2548
- "log",
2549
- "main",
2550
- "marquee",
2551
- "math",
2552
- "menu",
2553
- "menubar",
2554
- "menuitem",
2555
- "menuitemcheckbox",
2556
- "menuitemradio",
2557
- "navigation",
2558
- "none",
2559
- "note",
2560
- "option",
2561
- "presentation",
2562
- "progressbar",
2563
- "radio",
2564
- "radiogroup",
2565
- "region",
2566
- "row",
2567
- "rowgroup",
2568
- "rowheader",
2569
- "scrollbar",
2570
- "search",
2571
- "searchbox",
2572
- "separator",
2573
- "slider",
2574
- "spinbutton",
2575
- "status",
2576
- "switch",
2577
- "tab",
2578
- "table",
2579
- "tablist",
2580
- "tabpanel",
2581
- "term",
2582
- "textbox",
2583
- "timer",
2584
- "toolbar",
2585
- "tooltip",
2586
- "tree",
2587
- "treegrid",
2588
- "treeitem",
2589
- ],
2590
- Var[
2591
- Literal[
2592
- "alert",
2593
- "alertdialog",
2594
- "application",
2595
- "article",
2596
- "banner",
2597
- "button",
2598
- "cell",
2599
- "checkbox",
2600
- "columnheader",
2601
- "combobox",
2602
- "complementary",
2603
- "contentinfo",
2604
- "definition",
2605
- "dialog",
2606
- "directory",
2607
- "document",
2608
- "feed",
2609
- "figure",
2610
- "form",
2611
- "grid",
2612
- "gridcell",
2613
- "group",
2614
- "heading",
2615
- "img",
2616
- "link",
2617
- "list",
2618
- "listbox",
2619
- "listitem",
2620
- "log",
2621
- "main",
2622
- "marquee",
2623
- "math",
2624
- "menu",
2625
- "menubar",
2626
- "menuitem",
2627
- "menuitemcheckbox",
2628
- "menuitemradio",
2629
- "navigation",
2630
- "none",
2631
- "note",
2632
- "option",
2633
- "presentation",
2634
- "progressbar",
2635
- "radio",
2636
- "radiogroup",
2637
- "region",
2638
- "row",
2639
- "rowgroup",
2640
- "rowheader",
2641
- "scrollbar",
2642
- "search",
2643
- "searchbox",
2644
- "separator",
2645
- "slider",
2646
- "spinbutton",
2647
- "status",
2648
- "switch",
2649
- "tab",
2650
- "table",
2651
- "tablist",
2652
- "tabpanel",
2653
- "term",
2654
- "textbox",
2655
- "timer",
2656
- "toolbar",
2657
- "tooltip",
2658
- "tree",
2659
- "treegrid",
2660
- "treeitem",
2661
- ]
2662
- ],
2237
+ ]
2238
+ | None = None,
2239
+ item_prop: Var[str] | str | None = None,
2240
+ lang: Var[str] | str | None = None,
2241
+ role: Literal[
2242
+ "alert",
2243
+ "alertdialog",
2244
+ "application",
2245
+ "article",
2246
+ "banner",
2247
+ "button",
2248
+ "cell",
2249
+ "checkbox",
2250
+ "columnheader",
2251
+ "combobox",
2252
+ "complementary",
2253
+ "contentinfo",
2254
+ "definition",
2255
+ "dialog",
2256
+ "directory",
2257
+ "document",
2258
+ "feed",
2259
+ "figure",
2260
+ "form",
2261
+ "grid",
2262
+ "gridcell",
2263
+ "group",
2264
+ "heading",
2265
+ "img",
2266
+ "link",
2267
+ "list",
2268
+ "listbox",
2269
+ "listitem",
2270
+ "log",
2271
+ "main",
2272
+ "marquee",
2273
+ "math",
2274
+ "menu",
2275
+ "menubar",
2276
+ "menuitem",
2277
+ "menuitemcheckbox",
2278
+ "menuitemradio",
2279
+ "navigation",
2280
+ "none",
2281
+ "note",
2282
+ "option",
2283
+ "presentation",
2284
+ "progressbar",
2285
+ "radio",
2286
+ "radiogroup",
2287
+ "region",
2288
+ "row",
2289
+ "rowgroup",
2290
+ "rowheader",
2291
+ "scrollbar",
2292
+ "search",
2293
+ "searchbox",
2294
+ "separator",
2295
+ "slider",
2296
+ "spinbutton",
2297
+ "status",
2298
+ "switch",
2299
+ "tab",
2300
+ "table",
2301
+ "tablist",
2302
+ "tabpanel",
2303
+ "term",
2304
+ "textbox",
2305
+ "timer",
2306
+ "toolbar",
2307
+ "tooltip",
2308
+ "tree",
2309
+ "treegrid",
2310
+ "treeitem",
2311
+ ]
2312
+ | Var[
2313
+ Literal[
2314
+ "alert",
2315
+ "alertdialog",
2316
+ "application",
2317
+ "article",
2318
+ "banner",
2319
+ "button",
2320
+ "cell",
2321
+ "checkbox",
2322
+ "columnheader",
2323
+ "combobox",
2324
+ "complementary",
2325
+ "contentinfo",
2326
+ "definition",
2327
+ "dialog",
2328
+ "directory",
2329
+ "document",
2330
+ "feed",
2331
+ "figure",
2332
+ "form",
2333
+ "grid",
2334
+ "gridcell",
2335
+ "group",
2336
+ "heading",
2337
+ "img",
2338
+ "link",
2339
+ "list",
2340
+ "listbox",
2341
+ "listitem",
2342
+ "log",
2343
+ "main",
2344
+ "marquee",
2345
+ "math",
2346
+ "menu",
2347
+ "menubar",
2348
+ "menuitem",
2349
+ "menuitemcheckbox",
2350
+ "menuitemradio",
2351
+ "navigation",
2352
+ "none",
2353
+ "note",
2354
+ "option",
2355
+ "presentation",
2356
+ "progressbar",
2357
+ "radio",
2358
+ "radiogroup",
2359
+ "region",
2360
+ "row",
2361
+ "rowgroup",
2362
+ "rowheader",
2363
+ "scrollbar",
2364
+ "search",
2365
+ "searchbox",
2366
+ "separator",
2367
+ "slider",
2368
+ "spinbutton",
2369
+ "status",
2370
+ "switch",
2371
+ "tab",
2372
+ "table",
2373
+ "tablist",
2374
+ "tabpanel",
2375
+ "term",
2376
+ "textbox",
2377
+ "timer",
2378
+ "toolbar",
2379
+ "tooltip",
2380
+ "tree",
2381
+ "treegrid",
2382
+ "treeitem",
2663
2383
  ]
2664
- ] = None,
2665
- slot: Optional[Union[Var[str], str]] = None,
2666
- spell_check: Optional[Union[Var[bool], bool]] = None,
2667
- tab_index: Optional[Union[Var[int], int]] = None,
2668
- title: Optional[Union[Var[str], str]] = None,
2669
- style: Optional[Style] = None,
2670
- key: Optional[Any] = None,
2671
- id: Optional[Any] = None,
2672
- class_name: Optional[Any] = None,
2673
- autofocus: Optional[bool] = None,
2674
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
2384
+ ]
2385
+ | None = None,
2386
+ slot: Var[str] | str | None = None,
2387
+ spell_check: Var[bool] | bool | None = None,
2388
+ tab_index: Var[int] | int | None = None,
2389
+ title: Var[str] | str | None = None,
2390
+ style: Style | None = None,
2391
+ key: Any | None = None,
2392
+ id: Any | None = None,
2393
+ class_name: Any | None = None,
2394
+ autofocus: bool | None = None,
2395
+ custom_attrs: dict[str, Var | Any] | None = None,
2675
2396
  on_blur: Optional[EventType[()]] = None,
2676
2397
  on_click: Optional[EventType[()]] = None,
2677
2398
  on_context_menu: Optional[EventType[()]] = None,