reflex 0.7.0a5__py3-none-any.whl → 0.7.1a2__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 (126) hide show
  1. reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -1
  2. reflex/__init__.py +1 -0
  3. reflex/__init__.pyi +1 -0
  4. reflex/app.py +255 -81
  5. reflex/base.py +4 -10
  6. reflex/compiler/compiler.py +46 -12
  7. reflex/compiler/templates.py +1 -2
  8. reflex/compiler/utils.py +23 -14
  9. reflex/components/base/bare.py +109 -16
  10. reflex/components/component.py +179 -124
  11. reflex/components/core/__init__.py +1 -0
  12. reflex/components/core/__init__.pyi +1 -0
  13. reflex/components/core/auto_scroll.py +111 -0
  14. reflex/components/core/auto_scroll.pyi +284 -0
  15. reflex/components/core/banner.py +40 -9
  16. reflex/components/core/banner.pyi +400 -87
  17. reflex/components/core/breakpoints.py +1 -1
  18. reflex/components/core/cond.py +0 -8
  19. reflex/components/core/foreach.py +12 -2
  20. reflex/components/core/html.pyi +200 -19
  21. reflex/components/core/match.py +4 -4
  22. reflex/components/core/sticky.pyi +874 -90
  23. reflex/components/core/upload.py +3 -5
  24. reflex/components/core/upload.pyi +2 -4
  25. reflex/components/datadisplay/code.py +36 -10
  26. reflex/components/datadisplay/code.pyi +1 -1
  27. reflex/components/datadisplay/dataeditor.py +1 -3
  28. reflex/components/datadisplay/dataeditor.pyi +1 -3
  29. reflex/components/el/elements/base.py +95 -17
  30. reflex/components/el/elements/base.pyi +278 -19
  31. reflex/components/el/elements/forms.py +124 -102
  32. reflex/components/el/elements/forms.pyi +2787 -365
  33. reflex/components/el/elements/inline.py +24 -15
  34. reflex/components/el/elements/inline.pyi +5655 -546
  35. reflex/components/el/elements/media.py +79 -95
  36. reflex/components/el/elements/media.pyi +5167 -565
  37. reflex/components/el/elements/metadata.py +19 -17
  38. reflex/components/el/elements/metadata.pyi +841 -89
  39. reflex/components/el/elements/other.py +3 -5
  40. reflex/components/el/elements/other.pyi +1404 -137
  41. reflex/components/el/elements/scripts.py +10 -13
  42. reflex/components/el/elements/scripts.pyi +634 -65
  43. reflex/components/el/elements/sectioning.pyi +3001 -286
  44. reflex/components/el/elements/tables.py +14 -35
  45. reflex/components/el/elements/tables.pyi +2029 -218
  46. reflex/components/el/elements/typography.py +10 -13
  47. reflex/components/el/elements/typography.pyi +3014 -297
  48. reflex/components/lucide/icon.py +22 -6
  49. reflex/components/markdown/markdown.py +30 -10
  50. reflex/components/markdown/markdown.pyi +3 -2
  51. reflex/components/plotly/plotly.py +1 -3
  52. reflex/components/plotly/plotly.pyi +1 -3
  53. reflex/components/radix/primitives/form.pyi +624 -93
  54. reflex/components/radix/themes/color_mode.py +1 -1
  55. reflex/components/radix/themes/color_mode.pyi +213 -31
  56. reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
  57. reflex/components/radix/themes/components/badge.pyi +199 -18
  58. reflex/components/radix/themes/components/button.pyi +213 -31
  59. reflex/components/radix/themes/components/callout.pyi +1000 -95
  60. reflex/components/radix/themes/components/card.pyi +199 -18
  61. reflex/components/radix/themes/components/context_menu.py +79 -1
  62. reflex/components/radix/themes/components/context_menu.pyi +320 -1
  63. reflex/components/radix/themes/components/dialog.pyi +199 -18
  64. reflex/components/radix/themes/components/hover_card.pyi +199 -18
  65. reflex/components/radix/themes/components/icon_button.pyi +213 -31
  66. reflex/components/radix/themes/components/inset.pyi +199 -18
  67. reflex/components/radix/themes/components/popover.pyi +199 -18
  68. reflex/components/radix/themes/components/table.pyi +1437 -154
  69. reflex/components/radix/themes/components/text_area.py +2 -2
  70. reflex/components/radix/themes/components/text_area.pyi +201 -20
  71. reflex/components/radix/themes/components/text_field.py +1 -1
  72. reflex/components/radix/themes/components/text_field.pyi +444 -88
  73. reflex/components/radix/themes/layout/box.pyi +200 -19
  74. reflex/components/radix/themes/layout/center.pyi +199 -18
  75. reflex/components/radix/themes/layout/container.pyi +199 -18
  76. reflex/components/radix/themes/layout/flex.pyi +199 -18
  77. reflex/components/radix/themes/layout/grid.pyi +199 -18
  78. reflex/components/radix/themes/layout/list.pyi +604 -57
  79. reflex/components/radix/themes/layout/section.pyi +199 -18
  80. reflex/components/radix/themes/layout/spacer.pyi +199 -18
  81. reflex/components/radix/themes/layout/stack.pyi +597 -54
  82. reflex/components/radix/themes/typography/blockquote.pyi +200 -19
  83. reflex/components/radix/themes/typography/code.pyi +199 -18
  84. reflex/components/radix/themes/typography/heading.pyi +199 -18
  85. reflex/components/radix/themes/typography/link.pyi +238 -28
  86. reflex/components/radix/themes/typography/text.pyi +1394 -127
  87. reflex/components/react_player/react_player.py +1 -1
  88. reflex/components/react_player/react_player.pyi +1 -3
  89. reflex/components/sonner/toast.py +41 -12
  90. reflex/components/sonner/toast.pyi +20 -6
  91. reflex/components/tags/iter_tag.py +4 -0
  92. reflex/components/tags/tag.py +3 -3
  93. reflex/config.py +187 -28
  94. reflex/constants/__init__.py +2 -0
  95. reflex/constants/base.py +6 -0
  96. reflex/constants/compiler.py +9 -0
  97. reflex/constants/event.py +1 -0
  98. reflex/constants/installer.py +4 -5
  99. reflex/constants/utils.py +1 -3
  100. reflex/event.py +7 -16
  101. reflex/experimental/layout.pyi +597 -54
  102. reflex/py.typed +0 -0
  103. reflex/reflex.py +30 -41
  104. reflex/state.py +49 -44
  105. reflex/style.py +15 -22
  106. reflex/testing.py +2 -0
  107. reflex/utils/build.py +12 -0
  108. reflex/utils/console.py +4 -0
  109. reflex/utils/decorator.py +25 -0
  110. reflex/utils/exec.py +92 -34
  111. reflex/utils/format.py +35 -6
  112. reflex/utils/path_ops.py +16 -1
  113. reflex/utils/prerequisites.py +34 -8
  114. reflex/utils/processes.py +12 -13
  115. reflex/utils/serializers.py +20 -43
  116. reflex/utils/telemetry.py +4 -15
  117. reflex/utils/types.py +36 -66
  118. reflex/vars/base.py +53 -76
  119. reflex/vars/function.py +17 -5
  120. reflex/vars/number.py +1 -1
  121. reflex/vars/sequence.py +80 -4
  122. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/METADATA +4 -5
  123. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/RECORD +126 -122
  124. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/LICENSE +0 -0
  125. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/WHEEL +0 -0
  126. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.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, Optional, Union, overload
6
+ from typing import Any, Dict, Literal, Optional, Union, overload
7
7
 
8
8
  from reflex.event import EventType
9
9
  from reflex.style import Style
@@ -17,31 +17,211 @@ class Caption(BaseHTML):
17
17
  def create( # type: ignore
18
18
  cls,
19
19
  *children,
20
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
21
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
20
+ access_key: Optional[Union[Var[str], str]] = None,
22
21
  auto_capitalize: Optional[
23
- Union[Var[Union[bool, int, str]], bool, int, str]
22
+ Union[
23
+ Literal["characters", "none", "off", "on", "sentences", "words"],
24
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
25
+ ]
24
26
  ] = None,
25
27
  content_editable: Optional[
26
- Union[Var[Union[bool, int, str]], bool, int, str]
28
+ Union[
29
+ Literal["inherit", "plaintext-only", False, True],
30
+ Var[Literal["inherit", "plaintext-only", False, True]],
31
+ ]
27
32
  ] = None,
28
- context_menu: Optional[
29
- Union[Var[Union[bool, int, str]], bool, int, str]
30
- ] = None,
31
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
32
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
33
36
  enter_key_hint: Optional[
34
- Union[Var[Union[bool, int, str]], bool, int, str]
35
- ] = None,
36
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
37
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
38
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
39
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
40
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
41
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
42
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
43
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
44
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
45
225
  style: Optional[Style] = None,
46
226
  key: Optional[Any] = None,
47
227
  id: Optional[Any] = None,
@@ -69,7 +249,6 @@ class Caption(BaseHTML):
69
249
 
70
250
  Args:
71
251
  *children: The children of the component.
72
- align: Alignment of the caption
73
252
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
74
253
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
75
254
  content_editable: Indicates whether the element's content is editable.
@@ -105,32 +284,212 @@ class Col(BaseHTML):
105
284
  def create( # type: ignore
106
285
  cls,
107
286
  *children,
108
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
109
- span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
110
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
287
+ span: Optional[Union[Var[int], int]] = None,
288
+ access_key: Optional[Union[Var[str], str]] = None,
111
289
  auto_capitalize: Optional[
112
- Union[Var[Union[bool, int, str]], bool, int, str]
290
+ Union[
291
+ Literal["characters", "none", "off", "on", "sentences", "words"],
292
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
293
+ ]
113
294
  ] = None,
114
295
  content_editable: Optional[
115
- Union[Var[Union[bool, int, str]], bool, int, str]
116
- ] = None,
117
- context_menu: Optional[
118
- Union[Var[Union[bool, int, str]], bool, int, str]
296
+ Union[
297
+ Literal["inherit", "plaintext-only", False, True],
298
+ Var[Literal["inherit", "plaintext-only", False, True]],
299
+ ]
119
300
  ] = None,
120
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
121
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
122
304
  enter_key_hint: Optional[
123
- Union[Var[Union[bool, int, str]], bool, int, str]
124
- ] = None,
125
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
126
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
127
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
128
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
129
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
130
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
131
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
132
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
133
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
305
+ Union[
306
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
307
+ Var[
308
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
309
+ ],
310
+ ]
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
+ ],
337
+ ]
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,
134
493
  style: Optional[Style] = None,
135
494
  key: Optional[Any] = None,
136
495
  id: Optional[Any] = None,
@@ -158,7 +517,6 @@ class Col(BaseHTML):
158
517
 
159
518
  Args:
160
519
  *children: The children of the component.
161
- align: Alignment of the content within the column
162
520
  span: Number of columns the col element spans
163
521
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
164
522
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
@@ -195,32 +553,212 @@ class Colgroup(BaseHTML):
195
553
  def create( # type: ignore
196
554
  cls,
197
555
  *children,
198
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
199
- span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
200
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
556
+ span: Optional[Union[Var[int], int]] = None,
557
+ access_key: Optional[Union[Var[str], str]] = None,
201
558
  auto_capitalize: Optional[
202
- Union[Var[Union[bool, int, str]], bool, int, str]
559
+ Union[
560
+ Literal["characters", "none", "off", "on", "sentences", "words"],
561
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
562
+ ]
203
563
  ] = None,
204
564
  content_editable: Optional[
205
- Union[Var[Union[bool, int, str]], bool, int, str]
206
- ] = None,
207
- context_menu: Optional[
208
- Union[Var[Union[bool, int, str]], bool, int, str]
565
+ Union[
566
+ Literal["inherit", "plaintext-only", False, True],
567
+ Var[Literal["inherit", "plaintext-only", False, True]],
568
+ ]
209
569
  ] = None,
210
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
211
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
212
573
  enter_key_hint: Optional[
213
- Union[Var[Union[bool, int, str]], bool, int, str]
214
- ] = None,
215
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
216
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
217
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
218
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
219
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
220
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
221
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
222
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
223
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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
+ ],
606
+ ]
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
+ ],
756
+ ]
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,
224
762
  style: Optional[Style] = None,
225
763
  key: Optional[Any] = None,
226
764
  id: Optional[Any] = None,
@@ -248,7 +786,6 @@ class Colgroup(BaseHTML):
248
786
 
249
787
  Args:
250
788
  *children: The children of the component.
251
- align: Alignment of the content within the column group
252
789
  span: Number of columns the colgroup element spans
253
790
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
254
791
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
@@ -285,32 +822,218 @@ class Table(BaseHTML):
285
822
  def create( # type: ignore
286
823
  cls,
287
824
  *children,
288
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
289
- summary: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
290
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
825
+ align: Optional[
826
+ Union[
827
+ Literal["center", "left", "right"],
828
+ Var[Literal["center", "left", "right"]],
829
+ ]
830
+ ] = None,
831
+ summary: Optional[Union[Var[str], str]] = None,
832
+ access_key: Optional[Union[Var[str], str]] = None,
291
833
  auto_capitalize: Optional[
292
- Union[Var[Union[bool, int, str]], bool, int, str]
834
+ Union[
835
+ Literal["characters", "none", "off", "on", "sentences", "words"],
836
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
837
+ ]
293
838
  ] = None,
294
839
  content_editable: Optional[
295
- Union[Var[Union[bool, int, str]], bool, int, str]
296
- ] = None,
297
- context_menu: Optional[
298
- Union[Var[Union[bool, int, str]], bool, int, str]
840
+ Union[
841
+ Literal["inherit", "plaintext-only", False, True],
842
+ Var[Literal["inherit", "plaintext-only", False, True]],
843
+ ]
299
844
  ] = None,
300
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
301
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
302
848
  enter_key_hint: Optional[
303
- Union[Var[Union[bool, int, str]], bool, int, str]
304
- ] = None,
305
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
306
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
307
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
308
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
309
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
310
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
311
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
312
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
313
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
314
1037
  style: Optional[Style] = None,
315
1038
  key: Optional[Any] = None,
316
1039
  id: Optional[Any] = None,
@@ -375,31 +1098,211 @@ class Tbody(BaseHTML):
375
1098
  def create( # type: ignore
376
1099
  cls,
377
1100
  *children,
378
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
379
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1101
+ access_key: Optional[Union[Var[str], str]] = None,
380
1102
  auto_capitalize: Optional[
381
- Union[Var[Union[bool, int, str]], bool, int, str]
1103
+ Union[
1104
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1105
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1106
+ ]
382
1107
  ] = None,
383
1108
  content_editable: Optional[
384
- Union[Var[Union[bool, int, str]], bool, int, str]
1109
+ Union[
1110
+ Literal["inherit", "plaintext-only", False, True],
1111
+ Var[Literal["inherit", "plaintext-only", False, True]],
1112
+ ]
385
1113
  ] = None,
386
- context_menu: Optional[
387
- Union[Var[Union[bool, int, str]], bool, int, str]
388
- ] = None,
389
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
390
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
391
1117
  enter_key_hint: Optional[
392
- Union[Var[Union[bool, int, str]], bool, int, str]
393
- ] = None,
394
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
395
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
396
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
397
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
398
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
399
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
400
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
401
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
402
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
403
1306
  style: Optional[Style] = None,
404
1307
  key: Optional[Any] = None,
405
1308
  id: Optional[Any] = None,
@@ -427,7 +1330,6 @@ class Tbody(BaseHTML):
427
1330
 
428
1331
  Args:
429
1332
  *children: The children of the component.
430
- align: Alignment of the content within the table body
431
1333
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
432
1334
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
433
1335
  content_editable: Indicates whether the element's content is editable.
@@ -463,34 +1365,220 @@ class Td(BaseHTML):
463
1365
  def create( # type: ignore
464
1366
  cls,
465
1367
  *children,
466
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
467
- col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
468
- headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
469
- row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
470
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
471
1378
  auto_capitalize: Optional[
472
- Union[Var[Union[bool, int, str]], bool, int, str]
1379
+ Union[
1380
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1381
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1382
+ ]
473
1383
  ] = None,
474
1384
  content_editable: Optional[
475
- Union[Var[Union[bool, int, str]], bool, int, str]
1385
+ Union[
1386
+ Literal["inherit", "plaintext-only", False, True],
1387
+ Var[Literal["inherit", "plaintext-only", False, True]],
1388
+ ]
476
1389
  ] = None,
477
- context_menu: Optional[
478
- Union[Var[Union[bool, int, str]], bool, int, str]
479
- ] = None,
480
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
481
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
482
1393
  enter_key_hint: Optional[
483
- Union[Var[Union[bool, int, str]], bool, int, str]
484
- ] = None,
485
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
486
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
487
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
488
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
489
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
490
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
491
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
492
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
493
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
494
1582
  style: Optional[Style] = None,
495
1583
  key: Optional[Any] = None,
496
1584
  id: Optional[Any] = None,
@@ -557,31 +1645,211 @@ class Tfoot(BaseHTML):
557
1645
  def create( # type: ignore
558
1646
  cls,
559
1647
  *children,
560
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
561
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1648
+ access_key: Optional[Union[Var[str], str]] = None,
562
1649
  auto_capitalize: Optional[
563
- Union[Var[Union[bool, int, str]], bool, int, str]
1650
+ Union[
1651
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1652
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1653
+ ]
564
1654
  ] = None,
565
1655
  content_editable: Optional[
566
- Union[Var[Union[bool, int, str]], bool, int, str]
567
- ] = None,
568
- context_menu: Optional[
569
- Union[Var[Union[bool, int, str]], bool, int, str]
1656
+ Union[
1657
+ Literal["inherit", "plaintext-only", False, True],
1658
+ Var[Literal["inherit", "plaintext-only", False, True]],
1659
+ ]
570
1660
  ] = None,
571
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
572
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
573
1664
  enter_key_hint: Optional[
574
- Union[Var[Union[bool, int, str]], bool, int, str]
575
- ] = None,
576
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
577
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
578
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
579
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
580
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
581
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
582
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
583
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
584
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1665
+ Union[
1666
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1667
+ Var[
1668
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1669
+ ],
1670
+ ]
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,
585
1853
  style: Optional[Style] = None,
586
1854
  key: Optional[Any] = None,
587
1855
  id: Optional[Any] = None,
@@ -609,7 +1877,6 @@ class Tfoot(BaseHTML):
609
1877
 
610
1878
  Args:
611
1879
  *children: The children of the component.
612
- align: Alignment of the content within the table footer
613
1880
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
614
1881
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
615
1882
  content_editable: Indicates whether the element's content is editable.
@@ -645,35 +1912,221 @@ class Th(BaseHTML):
645
1912
  def create( # type: ignore
646
1913
  cls,
647
1914
  *children,
648
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
649
- col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
650
- headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
651
- row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
652
- scope: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
653
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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,
654
1926
  auto_capitalize: Optional[
655
- Union[Var[Union[bool, int, str]], bool, int, str]
1927
+ Union[
1928
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1929
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1930
+ ]
656
1931
  ] = None,
657
1932
  content_editable: Optional[
658
- Union[Var[Union[bool, int, str]], bool, int, str]
1933
+ Union[
1934
+ Literal["inherit", "plaintext-only", False, True],
1935
+ Var[Literal["inherit", "plaintext-only", False, True]],
1936
+ ]
659
1937
  ] = None,
660
- context_menu: Optional[
661
- Union[Var[Union[bool, int, str]], bool, int, str]
662
- ] = None,
663
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
664
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
665
1941
  enter_key_hint: Optional[
666
- Union[Var[Union[bool, int, str]], bool, int, str]
667
- ] = None,
668
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
669
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
670
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
671
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
672
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
673
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
674
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
675
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
676
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1942
+ Union[
1943
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1944
+ Var[
1945
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1946
+ ],
1947
+ ]
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,
677
2130
  style: Optional[Style] = None,
678
2131
  key: Optional[Any] = None,
679
2132
  id: Optional[Any] = None,
@@ -741,31 +2194,211 @@ class Thead(BaseHTML):
741
2194
  def create( # type: ignore
742
2195
  cls,
743
2196
  *children,
744
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
745
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2197
+ access_key: Optional[Union[Var[str], str]] = None,
746
2198
  auto_capitalize: Optional[
747
- Union[Var[Union[bool, int, str]], bool, int, str]
2199
+ Union[
2200
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2201
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2202
+ ]
748
2203
  ] = None,
749
2204
  content_editable: Optional[
750
- Union[Var[Union[bool, int, str]], bool, int, str]
751
- ] = None,
752
- context_menu: Optional[
753
- Union[Var[Union[bool, int, str]], bool, int, str]
2205
+ Union[
2206
+ Literal["inherit", "plaintext-only", False, True],
2207
+ Var[Literal["inherit", "plaintext-only", False, True]],
2208
+ ]
754
2209
  ] = None,
755
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
756
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
757
2213
  enter_key_hint: Optional[
758
- Union[Var[Union[bool, int, str]], bool, int, str]
759
- ] = None,
760
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
761
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
762
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
763
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
764
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
765
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
766
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
767
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
768
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2214
+ Union[
2215
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2216
+ Var[
2217
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2218
+ ],
2219
+ ]
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
+ ],
2246
+ ]
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,
769
2402
  style: Optional[Style] = None,
770
2403
  key: Optional[Any] = None,
771
2404
  id: Optional[Any] = None,
@@ -793,7 +2426,6 @@ class Thead(BaseHTML):
793
2426
 
794
2427
  Args:
795
2428
  *children: The children of the component.
796
- align: Alignment of the content within the table header
797
2429
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
798
2430
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
799
2431
  content_editable: Indicates whether the element's content is editable.
@@ -829,31 +2461,211 @@ class Tr(BaseHTML):
829
2461
  def create( # type: ignore
830
2462
  cls,
831
2463
  *children,
832
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
833
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2464
+ access_key: Optional[Union[Var[str], str]] = None,
834
2465
  auto_capitalize: Optional[
835
- Union[Var[Union[bool, int, str]], bool, int, str]
2466
+ Union[
2467
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2468
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2469
+ ]
836
2470
  ] = None,
837
2471
  content_editable: Optional[
838
- Union[Var[Union[bool, int, str]], bool, int, str]
839
- ] = None,
840
- context_menu: Optional[
841
- Union[Var[Union[bool, int, str]], bool, int, str]
2472
+ Union[
2473
+ Literal["inherit", "plaintext-only", False, True],
2474
+ Var[Literal["inherit", "plaintext-only", False, True]],
2475
+ ]
842
2476
  ] = None,
843
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
844
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
845
2480
  enter_key_hint: Optional[
846
- Union[Var[Union[bool, int, str]], bool, int, str]
847
- ] = None,
848
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
849
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
850
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
851
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
852
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
853
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
854
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
855
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
856
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
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
+ ],
2513
+ ]
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
+ ],
2663
+ ]
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,
857
2669
  style: Optional[Style] = None,
858
2670
  key: Optional[Any] = None,
859
2671
  id: Optional[Any] = None,
@@ -881,7 +2693,6 @@ class Tr(BaseHTML):
881
2693
 
882
2694
  Args:
883
2695
  *children: The children of the component.
884
- align: Alignment of the content within the table row
885
2696
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
886
2697
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
887
2698
  content_editable: Indicates whether the element's content is editable.