reflex 0.7.0a4__py3-none-any.whl → 0.7.1__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 (128) hide show
  1. reflex/.templates/jinja/web/package.json.jinja2 +7 -1
  2. reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -1
  3. reflex/__init__.py +1 -0
  4. reflex/__init__.pyi +1 -0
  5. reflex/app.py +269 -86
  6. reflex/base.py +4 -10
  7. reflex/compiler/compiler.py +46 -12
  8. reflex/compiler/templates.py +1 -2
  9. reflex/compiler/utils.py +23 -14
  10. reflex/components/base/bare.py +109 -16
  11. reflex/components/component.py +179 -124
  12. reflex/components/core/__init__.py +1 -0
  13. reflex/components/core/__init__.pyi +1 -0
  14. reflex/components/core/auto_scroll.py +114 -0
  15. reflex/components/core/auto_scroll.pyi +284 -0
  16. reflex/components/core/banner.py +40 -9
  17. reflex/components/core/banner.pyi +400 -87
  18. reflex/components/core/breakpoints.py +1 -1
  19. reflex/components/core/cond.py +0 -8
  20. reflex/components/core/foreach.py +12 -2
  21. reflex/components/core/html.pyi +200 -19
  22. reflex/components/core/match.py +4 -4
  23. reflex/components/core/sticky.py +4 -30
  24. reflex/components/core/sticky.pyi +874 -90
  25. reflex/components/core/upload.py +3 -5
  26. reflex/components/core/upload.pyi +2 -4
  27. reflex/components/datadisplay/code.py +36 -10
  28. reflex/components/datadisplay/code.pyi +1 -1
  29. reflex/components/datadisplay/dataeditor.py +1 -3
  30. reflex/components/datadisplay/dataeditor.pyi +1 -3
  31. reflex/components/el/elements/base.py +95 -17
  32. reflex/components/el/elements/base.pyi +278 -19
  33. reflex/components/el/elements/forms.py +124 -102
  34. reflex/components/el/elements/forms.pyi +2787 -365
  35. reflex/components/el/elements/inline.py +24 -15
  36. reflex/components/el/elements/inline.pyi +5655 -546
  37. reflex/components/el/elements/media.py +79 -95
  38. reflex/components/el/elements/media.pyi +5167 -565
  39. reflex/components/el/elements/metadata.py +19 -17
  40. reflex/components/el/elements/metadata.pyi +841 -89
  41. reflex/components/el/elements/other.py +3 -5
  42. reflex/components/el/elements/other.pyi +1404 -137
  43. reflex/components/el/elements/scripts.py +10 -13
  44. reflex/components/el/elements/scripts.pyi +634 -65
  45. reflex/components/el/elements/sectioning.pyi +3001 -286
  46. reflex/components/el/elements/tables.py +14 -35
  47. reflex/components/el/elements/tables.pyi +2029 -218
  48. reflex/components/el/elements/typography.py +10 -13
  49. reflex/components/el/elements/typography.pyi +3014 -297
  50. reflex/components/lucide/icon.py +22 -6
  51. reflex/components/markdown/markdown.py +30 -10
  52. reflex/components/markdown/markdown.pyi +3 -2
  53. reflex/components/plotly/plotly.py +1 -3
  54. reflex/components/plotly/plotly.pyi +1 -3
  55. reflex/components/radix/primitives/form.pyi +624 -93
  56. reflex/components/radix/themes/color_mode.py +1 -1
  57. reflex/components/radix/themes/color_mode.pyi +213 -31
  58. reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
  59. reflex/components/radix/themes/components/badge.pyi +199 -18
  60. reflex/components/radix/themes/components/button.pyi +213 -31
  61. reflex/components/radix/themes/components/callout.pyi +1000 -95
  62. reflex/components/radix/themes/components/card.pyi +199 -18
  63. reflex/components/radix/themes/components/context_menu.py +79 -1
  64. reflex/components/radix/themes/components/context_menu.pyi +320 -1
  65. reflex/components/radix/themes/components/dialog.pyi +199 -18
  66. reflex/components/radix/themes/components/hover_card.pyi +199 -18
  67. reflex/components/radix/themes/components/icon_button.pyi +213 -31
  68. reflex/components/radix/themes/components/inset.pyi +199 -18
  69. reflex/components/radix/themes/components/popover.pyi +199 -18
  70. reflex/components/radix/themes/components/table.pyi +1437 -154
  71. reflex/components/radix/themes/components/text_area.py +2 -2
  72. reflex/components/radix/themes/components/text_area.pyi +201 -20
  73. reflex/components/radix/themes/components/text_field.py +1 -1
  74. reflex/components/radix/themes/components/text_field.pyi +444 -88
  75. reflex/components/radix/themes/layout/box.pyi +200 -19
  76. reflex/components/radix/themes/layout/center.pyi +199 -18
  77. reflex/components/radix/themes/layout/container.pyi +199 -18
  78. reflex/components/radix/themes/layout/flex.pyi +199 -18
  79. reflex/components/radix/themes/layout/grid.pyi +199 -18
  80. reflex/components/radix/themes/layout/list.pyi +604 -57
  81. reflex/components/radix/themes/layout/section.pyi +199 -18
  82. reflex/components/radix/themes/layout/spacer.pyi +199 -18
  83. reflex/components/radix/themes/layout/stack.pyi +597 -54
  84. reflex/components/radix/themes/typography/blockquote.pyi +200 -19
  85. reflex/components/radix/themes/typography/code.pyi +199 -18
  86. reflex/components/radix/themes/typography/heading.pyi +199 -18
  87. reflex/components/radix/themes/typography/link.pyi +238 -28
  88. reflex/components/radix/themes/typography/text.pyi +1394 -127
  89. reflex/components/react_player/react_player.py +1 -1
  90. reflex/components/react_player/react_player.pyi +1 -3
  91. reflex/components/sonner/toast.py +41 -12
  92. reflex/components/sonner/toast.pyi +20 -6
  93. reflex/components/tags/iter_tag.py +4 -0
  94. reflex/components/tags/tag.py +3 -3
  95. reflex/config.py +187 -28
  96. reflex/constants/__init__.py +2 -0
  97. reflex/constants/base.py +6 -0
  98. reflex/constants/compiler.py +9 -0
  99. reflex/constants/event.py +1 -0
  100. reflex/constants/installer.py +8 -5
  101. reflex/constants/utils.py +1 -3
  102. reflex/event.py +7 -16
  103. reflex/experimental/layout.pyi +597 -54
  104. reflex/py.typed +0 -0
  105. reflex/reflex.py +44 -48
  106. reflex/state.py +49 -44
  107. reflex/style.py +15 -22
  108. reflex/testing.py +2 -0
  109. reflex/utils/build.py +12 -0
  110. reflex/utils/console.py +4 -0
  111. reflex/utils/decorator.py +25 -0
  112. reflex/utils/exec.py +92 -34
  113. reflex/utils/format.py +35 -6
  114. reflex/utils/path_ops.py +32 -1
  115. reflex/utils/prerequisites.py +45 -35
  116. reflex/utils/processes.py +12 -13
  117. reflex/utils/serializers.py +20 -43
  118. reflex/utils/telemetry.py +4 -15
  119. reflex/utils/types.py +36 -66
  120. reflex/vars/base.py +53 -76
  121. reflex/vars/function.py +17 -5
  122. reflex/vars/number.py +1 -1
  123. reflex/vars/sequence.py +80 -4
  124. {reflex-0.7.0a4.dist-info → reflex-0.7.1.dist-info}/METADATA +4 -5
  125. {reflex-0.7.0a4.dist-info → reflex-0.7.1.dist-info}/RECORD +128 -124
  126. {reflex-0.7.0a4.dist-info → reflex-0.7.1.dist-info}/LICENSE +0 -0
  127. {reflex-0.7.0a4.dist-info → reflex-0.7.1.dist-info}/WHEEL +0 -0
  128. {reflex-0.7.0a4.dist-info → reflex-0.7.1.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,30 +17,211 @@ class Body(BaseHTML):
17
17
  def create( # type: ignore
18
18
  cls,
19
19
  *children,
20
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
20
+ access_key: Optional[Union[Var[str], str]] = None,
21
21
  auto_capitalize: Optional[
22
- 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
+ ]
23
26
  ] = None,
24
27
  content_editable: Optional[
25
- 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
+ ]
26
32
  ] = None,
27
- context_menu: Optional[
28
- Union[Var[Union[bool, int, str]], bool, int, str]
29
- ] = None,
30
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
31
- 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,
32
36
  enter_key_hint: Optional[
33
- Union[Var[Union[bool, int, str]], bool, int, str]
34
- ] = None,
35
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
36
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
37
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
38
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
39
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
40
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
41
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
42
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
43
- 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,
44
225
  style: Optional[Style] = None,
45
226
  key: Optional[Any] = None,
46
227
  id: Optional[Any] = None,
@@ -103,30 +284,211 @@ class Address(BaseHTML):
103
284
  def create( # type: ignore
104
285
  cls,
105
286
  *children,
106
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
287
+ access_key: Optional[Union[Var[str], str]] = None,
107
288
  auto_capitalize: Optional[
108
- Union[Var[Union[bool, int, str]], bool, int, str]
289
+ Union[
290
+ Literal["characters", "none", "off", "on", "sentences", "words"],
291
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
292
+ ]
109
293
  ] = None,
110
294
  content_editable: Optional[
111
- Union[Var[Union[bool, int, str]], bool, int, str]
295
+ Union[
296
+ Literal["inherit", "plaintext-only", False, True],
297
+ Var[Literal["inherit", "plaintext-only", False, True]],
298
+ ]
112
299
  ] = None,
113
- context_menu: Optional[
114
- Union[Var[Union[bool, int, str]], bool, int, str]
115
- ] = None,
116
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
117
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
300
+ context_menu: Optional[Union[Var[str], str]] = None,
301
+ dir: Optional[Union[Var[str], str]] = None,
302
+ draggable: Optional[Union[Var[bool], bool]] = None,
118
303
  enter_key_hint: Optional[
119
- Union[Var[Union[bool, int, str]], bool, int, str]
120
- ] = None,
121
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
122
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
123
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
124
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
125
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
126
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
127
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
128
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
129
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
304
+ Union[
305
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
306
+ Var[
307
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
308
+ ],
309
+ ]
310
+ ] = None,
311
+ hidden: Optional[Union[Var[bool], bool]] = None,
312
+ input_mode: Optional[
313
+ Union[
314
+ Literal[
315
+ "decimal",
316
+ "email",
317
+ "none",
318
+ "numeric",
319
+ "search",
320
+ "tel",
321
+ "text",
322
+ "url",
323
+ ],
324
+ Var[
325
+ Literal[
326
+ "decimal",
327
+ "email",
328
+ "none",
329
+ "numeric",
330
+ "search",
331
+ "tel",
332
+ "text",
333
+ "url",
334
+ ]
335
+ ],
336
+ ]
337
+ ] = None,
338
+ item_prop: Optional[Union[Var[str], str]] = None,
339
+ lang: Optional[Union[Var[str], str]] = None,
340
+ role: Optional[
341
+ Union[
342
+ Literal[
343
+ "alert",
344
+ "alertdialog",
345
+ "application",
346
+ "article",
347
+ "banner",
348
+ "button",
349
+ "cell",
350
+ "checkbox",
351
+ "columnheader",
352
+ "combobox",
353
+ "complementary",
354
+ "contentinfo",
355
+ "definition",
356
+ "dialog",
357
+ "directory",
358
+ "document",
359
+ "feed",
360
+ "figure",
361
+ "form",
362
+ "grid",
363
+ "gridcell",
364
+ "group",
365
+ "heading",
366
+ "img",
367
+ "link",
368
+ "list",
369
+ "listbox",
370
+ "listitem",
371
+ "log",
372
+ "main",
373
+ "marquee",
374
+ "math",
375
+ "menu",
376
+ "menubar",
377
+ "menuitem",
378
+ "menuitemcheckbox",
379
+ "menuitemradio",
380
+ "navigation",
381
+ "none",
382
+ "note",
383
+ "option",
384
+ "presentation",
385
+ "progressbar",
386
+ "radio",
387
+ "radiogroup",
388
+ "region",
389
+ "row",
390
+ "rowgroup",
391
+ "rowheader",
392
+ "scrollbar",
393
+ "search",
394
+ "searchbox",
395
+ "separator",
396
+ "slider",
397
+ "spinbutton",
398
+ "status",
399
+ "switch",
400
+ "tab",
401
+ "table",
402
+ "tablist",
403
+ "tabpanel",
404
+ "term",
405
+ "textbox",
406
+ "timer",
407
+ "toolbar",
408
+ "tooltip",
409
+ "tree",
410
+ "treegrid",
411
+ "treeitem",
412
+ ],
413
+ Var[
414
+ Literal[
415
+ "alert",
416
+ "alertdialog",
417
+ "application",
418
+ "article",
419
+ "banner",
420
+ "button",
421
+ "cell",
422
+ "checkbox",
423
+ "columnheader",
424
+ "combobox",
425
+ "complementary",
426
+ "contentinfo",
427
+ "definition",
428
+ "dialog",
429
+ "directory",
430
+ "document",
431
+ "feed",
432
+ "figure",
433
+ "form",
434
+ "grid",
435
+ "gridcell",
436
+ "group",
437
+ "heading",
438
+ "img",
439
+ "link",
440
+ "list",
441
+ "listbox",
442
+ "listitem",
443
+ "log",
444
+ "main",
445
+ "marquee",
446
+ "math",
447
+ "menu",
448
+ "menubar",
449
+ "menuitem",
450
+ "menuitemcheckbox",
451
+ "menuitemradio",
452
+ "navigation",
453
+ "none",
454
+ "note",
455
+ "option",
456
+ "presentation",
457
+ "progressbar",
458
+ "radio",
459
+ "radiogroup",
460
+ "region",
461
+ "row",
462
+ "rowgroup",
463
+ "rowheader",
464
+ "scrollbar",
465
+ "search",
466
+ "searchbox",
467
+ "separator",
468
+ "slider",
469
+ "spinbutton",
470
+ "status",
471
+ "switch",
472
+ "tab",
473
+ "table",
474
+ "tablist",
475
+ "tabpanel",
476
+ "term",
477
+ "textbox",
478
+ "timer",
479
+ "toolbar",
480
+ "tooltip",
481
+ "tree",
482
+ "treegrid",
483
+ "treeitem",
484
+ ]
485
+ ],
486
+ ]
487
+ ] = None,
488
+ slot: Optional[Union[Var[str], str]] = None,
489
+ spell_check: Optional[Union[Var[bool], bool]] = None,
490
+ tab_index: Optional[Union[Var[int], int]] = None,
491
+ title: Optional[Union[Var[str], str]] = None,
130
492
  style: Optional[Style] = None,
131
493
  key: Optional[Any] = None,
132
494
  id: Optional[Any] = None,
@@ -189,30 +551,211 @@ class Article(BaseHTML):
189
551
  def create( # type: ignore
190
552
  cls,
191
553
  *children,
192
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
554
+ access_key: Optional[Union[Var[str], str]] = None,
193
555
  auto_capitalize: Optional[
194
- Union[Var[Union[bool, int, str]], bool, int, str]
556
+ Union[
557
+ Literal["characters", "none", "off", "on", "sentences", "words"],
558
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
559
+ ]
195
560
  ] = None,
196
561
  content_editable: Optional[
197
- Union[Var[Union[bool, int, str]], bool, int, str]
562
+ Union[
563
+ Literal["inherit", "plaintext-only", False, True],
564
+ Var[Literal["inherit", "plaintext-only", False, True]],
565
+ ]
198
566
  ] = None,
199
- context_menu: Optional[
200
- Union[Var[Union[bool, int, str]], bool, int, str]
201
- ] = None,
202
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
203
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
567
+ context_menu: Optional[Union[Var[str], str]] = None,
568
+ dir: Optional[Union[Var[str], str]] = None,
569
+ draggable: Optional[Union[Var[bool], bool]] = None,
204
570
  enter_key_hint: Optional[
205
- Union[Var[Union[bool, int, str]], bool, int, str]
206
- ] = None,
207
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
208
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
209
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
210
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
211
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
212
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
213
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
214
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
215
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
571
+ Union[
572
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
573
+ Var[
574
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
575
+ ],
576
+ ]
577
+ ] = None,
578
+ hidden: Optional[Union[Var[bool], bool]] = None,
579
+ input_mode: Optional[
580
+ Union[
581
+ Literal[
582
+ "decimal",
583
+ "email",
584
+ "none",
585
+ "numeric",
586
+ "search",
587
+ "tel",
588
+ "text",
589
+ "url",
590
+ ],
591
+ Var[
592
+ Literal[
593
+ "decimal",
594
+ "email",
595
+ "none",
596
+ "numeric",
597
+ "search",
598
+ "tel",
599
+ "text",
600
+ "url",
601
+ ]
602
+ ],
603
+ ]
604
+ ] = None,
605
+ item_prop: Optional[Union[Var[str], str]] = None,
606
+ lang: Optional[Union[Var[str], str]] = None,
607
+ role: Optional[
608
+ Union[
609
+ Literal[
610
+ "alert",
611
+ "alertdialog",
612
+ "application",
613
+ "article",
614
+ "banner",
615
+ "button",
616
+ "cell",
617
+ "checkbox",
618
+ "columnheader",
619
+ "combobox",
620
+ "complementary",
621
+ "contentinfo",
622
+ "definition",
623
+ "dialog",
624
+ "directory",
625
+ "document",
626
+ "feed",
627
+ "figure",
628
+ "form",
629
+ "grid",
630
+ "gridcell",
631
+ "group",
632
+ "heading",
633
+ "img",
634
+ "link",
635
+ "list",
636
+ "listbox",
637
+ "listitem",
638
+ "log",
639
+ "main",
640
+ "marquee",
641
+ "math",
642
+ "menu",
643
+ "menubar",
644
+ "menuitem",
645
+ "menuitemcheckbox",
646
+ "menuitemradio",
647
+ "navigation",
648
+ "none",
649
+ "note",
650
+ "option",
651
+ "presentation",
652
+ "progressbar",
653
+ "radio",
654
+ "radiogroup",
655
+ "region",
656
+ "row",
657
+ "rowgroup",
658
+ "rowheader",
659
+ "scrollbar",
660
+ "search",
661
+ "searchbox",
662
+ "separator",
663
+ "slider",
664
+ "spinbutton",
665
+ "status",
666
+ "switch",
667
+ "tab",
668
+ "table",
669
+ "tablist",
670
+ "tabpanel",
671
+ "term",
672
+ "textbox",
673
+ "timer",
674
+ "toolbar",
675
+ "tooltip",
676
+ "tree",
677
+ "treegrid",
678
+ "treeitem",
679
+ ],
680
+ Var[
681
+ Literal[
682
+ "alert",
683
+ "alertdialog",
684
+ "application",
685
+ "article",
686
+ "banner",
687
+ "button",
688
+ "cell",
689
+ "checkbox",
690
+ "columnheader",
691
+ "combobox",
692
+ "complementary",
693
+ "contentinfo",
694
+ "definition",
695
+ "dialog",
696
+ "directory",
697
+ "document",
698
+ "feed",
699
+ "figure",
700
+ "form",
701
+ "grid",
702
+ "gridcell",
703
+ "group",
704
+ "heading",
705
+ "img",
706
+ "link",
707
+ "list",
708
+ "listbox",
709
+ "listitem",
710
+ "log",
711
+ "main",
712
+ "marquee",
713
+ "math",
714
+ "menu",
715
+ "menubar",
716
+ "menuitem",
717
+ "menuitemcheckbox",
718
+ "menuitemradio",
719
+ "navigation",
720
+ "none",
721
+ "note",
722
+ "option",
723
+ "presentation",
724
+ "progressbar",
725
+ "radio",
726
+ "radiogroup",
727
+ "region",
728
+ "row",
729
+ "rowgroup",
730
+ "rowheader",
731
+ "scrollbar",
732
+ "search",
733
+ "searchbox",
734
+ "separator",
735
+ "slider",
736
+ "spinbutton",
737
+ "status",
738
+ "switch",
739
+ "tab",
740
+ "table",
741
+ "tablist",
742
+ "tabpanel",
743
+ "term",
744
+ "textbox",
745
+ "timer",
746
+ "toolbar",
747
+ "tooltip",
748
+ "tree",
749
+ "treegrid",
750
+ "treeitem",
751
+ ]
752
+ ],
753
+ ]
754
+ ] = None,
755
+ slot: Optional[Union[Var[str], str]] = None,
756
+ spell_check: Optional[Union[Var[bool], bool]] = None,
757
+ tab_index: Optional[Union[Var[int], int]] = None,
758
+ title: Optional[Union[Var[str], str]] = None,
216
759
  style: Optional[Style] = None,
217
760
  key: Optional[Any] = None,
218
761
  id: Optional[Any] = None,
@@ -275,30 +818,211 @@ class Aside(BaseHTML):
275
818
  def create( # type: ignore
276
819
  cls,
277
820
  *children,
278
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
821
+ access_key: Optional[Union[Var[str], str]] = None,
279
822
  auto_capitalize: Optional[
280
- Union[Var[Union[bool, int, str]], bool, int, str]
823
+ Union[
824
+ Literal["characters", "none", "off", "on", "sentences", "words"],
825
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
826
+ ]
281
827
  ] = None,
282
828
  content_editable: Optional[
283
- Union[Var[Union[bool, int, str]], bool, int, str]
829
+ Union[
830
+ Literal["inherit", "plaintext-only", False, True],
831
+ Var[Literal["inherit", "plaintext-only", False, True]],
832
+ ]
284
833
  ] = None,
285
- context_menu: Optional[
286
- Union[Var[Union[bool, int, str]], bool, int, str]
287
- ] = None,
288
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
289
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
834
+ context_menu: Optional[Union[Var[str], str]] = None,
835
+ dir: Optional[Union[Var[str], str]] = None,
836
+ draggable: Optional[Union[Var[bool], bool]] = None,
290
837
  enter_key_hint: Optional[
291
- Union[Var[Union[bool, int, str]], bool, int, str]
292
- ] = None,
293
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
294
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
295
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
296
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
297
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
298
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
299
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
300
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
301
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
838
+ Union[
839
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
840
+ Var[
841
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
842
+ ],
843
+ ]
844
+ ] = None,
845
+ hidden: Optional[Union[Var[bool], bool]] = None,
846
+ input_mode: Optional[
847
+ Union[
848
+ Literal[
849
+ "decimal",
850
+ "email",
851
+ "none",
852
+ "numeric",
853
+ "search",
854
+ "tel",
855
+ "text",
856
+ "url",
857
+ ],
858
+ Var[
859
+ Literal[
860
+ "decimal",
861
+ "email",
862
+ "none",
863
+ "numeric",
864
+ "search",
865
+ "tel",
866
+ "text",
867
+ "url",
868
+ ]
869
+ ],
870
+ ]
871
+ ] = None,
872
+ item_prop: Optional[Union[Var[str], str]] = None,
873
+ lang: Optional[Union[Var[str], str]] = None,
874
+ role: Optional[
875
+ Union[
876
+ Literal[
877
+ "alert",
878
+ "alertdialog",
879
+ "application",
880
+ "article",
881
+ "banner",
882
+ "button",
883
+ "cell",
884
+ "checkbox",
885
+ "columnheader",
886
+ "combobox",
887
+ "complementary",
888
+ "contentinfo",
889
+ "definition",
890
+ "dialog",
891
+ "directory",
892
+ "document",
893
+ "feed",
894
+ "figure",
895
+ "form",
896
+ "grid",
897
+ "gridcell",
898
+ "group",
899
+ "heading",
900
+ "img",
901
+ "link",
902
+ "list",
903
+ "listbox",
904
+ "listitem",
905
+ "log",
906
+ "main",
907
+ "marquee",
908
+ "math",
909
+ "menu",
910
+ "menubar",
911
+ "menuitem",
912
+ "menuitemcheckbox",
913
+ "menuitemradio",
914
+ "navigation",
915
+ "none",
916
+ "note",
917
+ "option",
918
+ "presentation",
919
+ "progressbar",
920
+ "radio",
921
+ "radiogroup",
922
+ "region",
923
+ "row",
924
+ "rowgroup",
925
+ "rowheader",
926
+ "scrollbar",
927
+ "search",
928
+ "searchbox",
929
+ "separator",
930
+ "slider",
931
+ "spinbutton",
932
+ "status",
933
+ "switch",
934
+ "tab",
935
+ "table",
936
+ "tablist",
937
+ "tabpanel",
938
+ "term",
939
+ "textbox",
940
+ "timer",
941
+ "toolbar",
942
+ "tooltip",
943
+ "tree",
944
+ "treegrid",
945
+ "treeitem",
946
+ ],
947
+ Var[
948
+ Literal[
949
+ "alert",
950
+ "alertdialog",
951
+ "application",
952
+ "article",
953
+ "banner",
954
+ "button",
955
+ "cell",
956
+ "checkbox",
957
+ "columnheader",
958
+ "combobox",
959
+ "complementary",
960
+ "contentinfo",
961
+ "definition",
962
+ "dialog",
963
+ "directory",
964
+ "document",
965
+ "feed",
966
+ "figure",
967
+ "form",
968
+ "grid",
969
+ "gridcell",
970
+ "group",
971
+ "heading",
972
+ "img",
973
+ "link",
974
+ "list",
975
+ "listbox",
976
+ "listitem",
977
+ "log",
978
+ "main",
979
+ "marquee",
980
+ "math",
981
+ "menu",
982
+ "menubar",
983
+ "menuitem",
984
+ "menuitemcheckbox",
985
+ "menuitemradio",
986
+ "navigation",
987
+ "none",
988
+ "note",
989
+ "option",
990
+ "presentation",
991
+ "progressbar",
992
+ "radio",
993
+ "radiogroup",
994
+ "region",
995
+ "row",
996
+ "rowgroup",
997
+ "rowheader",
998
+ "scrollbar",
999
+ "search",
1000
+ "searchbox",
1001
+ "separator",
1002
+ "slider",
1003
+ "spinbutton",
1004
+ "status",
1005
+ "switch",
1006
+ "tab",
1007
+ "table",
1008
+ "tablist",
1009
+ "tabpanel",
1010
+ "term",
1011
+ "textbox",
1012
+ "timer",
1013
+ "toolbar",
1014
+ "tooltip",
1015
+ "tree",
1016
+ "treegrid",
1017
+ "treeitem",
1018
+ ]
1019
+ ],
1020
+ ]
1021
+ ] = None,
1022
+ slot: Optional[Union[Var[str], str]] = None,
1023
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1024
+ tab_index: Optional[Union[Var[int], int]] = None,
1025
+ title: Optional[Union[Var[str], str]] = None,
302
1026
  style: Optional[Style] = None,
303
1027
  key: Optional[Any] = None,
304
1028
  id: Optional[Any] = None,
@@ -361,30 +1085,211 @@ class Footer(BaseHTML):
361
1085
  def create( # type: ignore
362
1086
  cls,
363
1087
  *children,
364
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1088
+ access_key: Optional[Union[Var[str], str]] = None,
365
1089
  auto_capitalize: Optional[
366
- Union[Var[Union[bool, int, str]], bool, int, str]
1090
+ Union[
1091
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1092
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1093
+ ]
367
1094
  ] = None,
368
1095
  content_editable: Optional[
369
- Union[Var[Union[bool, int, str]], bool, int, str]
370
- ] = None,
371
- context_menu: Optional[
372
- Union[Var[Union[bool, int, str]], bool, int, str]
1096
+ Union[
1097
+ Literal["inherit", "plaintext-only", False, True],
1098
+ Var[Literal["inherit", "plaintext-only", False, True]],
1099
+ ]
373
1100
  ] = None,
374
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
375
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1101
+ context_menu: Optional[Union[Var[str], str]] = None,
1102
+ dir: Optional[Union[Var[str], str]] = None,
1103
+ draggable: Optional[Union[Var[bool], bool]] = None,
376
1104
  enter_key_hint: Optional[
377
- Union[Var[Union[bool, int, str]], bool, int, str]
378
- ] = None,
379
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
380
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
381
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
382
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
383
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
384
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
385
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
386
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
387
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1105
+ Union[
1106
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1107
+ Var[
1108
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1109
+ ],
1110
+ ]
1111
+ ] = None,
1112
+ hidden: Optional[Union[Var[bool], bool]] = None,
1113
+ input_mode: Optional[
1114
+ Union[
1115
+ Literal[
1116
+ "decimal",
1117
+ "email",
1118
+ "none",
1119
+ "numeric",
1120
+ "search",
1121
+ "tel",
1122
+ "text",
1123
+ "url",
1124
+ ],
1125
+ Var[
1126
+ Literal[
1127
+ "decimal",
1128
+ "email",
1129
+ "none",
1130
+ "numeric",
1131
+ "search",
1132
+ "tel",
1133
+ "text",
1134
+ "url",
1135
+ ]
1136
+ ],
1137
+ ]
1138
+ ] = None,
1139
+ item_prop: Optional[Union[Var[str], str]] = None,
1140
+ lang: Optional[Union[Var[str], str]] = None,
1141
+ role: Optional[
1142
+ Union[
1143
+ Literal[
1144
+ "alert",
1145
+ "alertdialog",
1146
+ "application",
1147
+ "article",
1148
+ "banner",
1149
+ "button",
1150
+ "cell",
1151
+ "checkbox",
1152
+ "columnheader",
1153
+ "combobox",
1154
+ "complementary",
1155
+ "contentinfo",
1156
+ "definition",
1157
+ "dialog",
1158
+ "directory",
1159
+ "document",
1160
+ "feed",
1161
+ "figure",
1162
+ "form",
1163
+ "grid",
1164
+ "gridcell",
1165
+ "group",
1166
+ "heading",
1167
+ "img",
1168
+ "link",
1169
+ "list",
1170
+ "listbox",
1171
+ "listitem",
1172
+ "log",
1173
+ "main",
1174
+ "marquee",
1175
+ "math",
1176
+ "menu",
1177
+ "menubar",
1178
+ "menuitem",
1179
+ "menuitemcheckbox",
1180
+ "menuitemradio",
1181
+ "navigation",
1182
+ "none",
1183
+ "note",
1184
+ "option",
1185
+ "presentation",
1186
+ "progressbar",
1187
+ "radio",
1188
+ "radiogroup",
1189
+ "region",
1190
+ "row",
1191
+ "rowgroup",
1192
+ "rowheader",
1193
+ "scrollbar",
1194
+ "search",
1195
+ "searchbox",
1196
+ "separator",
1197
+ "slider",
1198
+ "spinbutton",
1199
+ "status",
1200
+ "switch",
1201
+ "tab",
1202
+ "table",
1203
+ "tablist",
1204
+ "tabpanel",
1205
+ "term",
1206
+ "textbox",
1207
+ "timer",
1208
+ "toolbar",
1209
+ "tooltip",
1210
+ "tree",
1211
+ "treegrid",
1212
+ "treeitem",
1213
+ ],
1214
+ Var[
1215
+ Literal[
1216
+ "alert",
1217
+ "alertdialog",
1218
+ "application",
1219
+ "article",
1220
+ "banner",
1221
+ "button",
1222
+ "cell",
1223
+ "checkbox",
1224
+ "columnheader",
1225
+ "combobox",
1226
+ "complementary",
1227
+ "contentinfo",
1228
+ "definition",
1229
+ "dialog",
1230
+ "directory",
1231
+ "document",
1232
+ "feed",
1233
+ "figure",
1234
+ "form",
1235
+ "grid",
1236
+ "gridcell",
1237
+ "group",
1238
+ "heading",
1239
+ "img",
1240
+ "link",
1241
+ "list",
1242
+ "listbox",
1243
+ "listitem",
1244
+ "log",
1245
+ "main",
1246
+ "marquee",
1247
+ "math",
1248
+ "menu",
1249
+ "menubar",
1250
+ "menuitem",
1251
+ "menuitemcheckbox",
1252
+ "menuitemradio",
1253
+ "navigation",
1254
+ "none",
1255
+ "note",
1256
+ "option",
1257
+ "presentation",
1258
+ "progressbar",
1259
+ "radio",
1260
+ "radiogroup",
1261
+ "region",
1262
+ "row",
1263
+ "rowgroup",
1264
+ "rowheader",
1265
+ "scrollbar",
1266
+ "search",
1267
+ "searchbox",
1268
+ "separator",
1269
+ "slider",
1270
+ "spinbutton",
1271
+ "status",
1272
+ "switch",
1273
+ "tab",
1274
+ "table",
1275
+ "tablist",
1276
+ "tabpanel",
1277
+ "term",
1278
+ "textbox",
1279
+ "timer",
1280
+ "toolbar",
1281
+ "tooltip",
1282
+ "tree",
1283
+ "treegrid",
1284
+ "treeitem",
1285
+ ]
1286
+ ],
1287
+ ]
1288
+ ] = None,
1289
+ slot: Optional[Union[Var[str], str]] = None,
1290
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1291
+ tab_index: Optional[Union[Var[int], int]] = None,
1292
+ title: Optional[Union[Var[str], str]] = None,
388
1293
  style: Optional[Style] = None,
389
1294
  key: Optional[Any] = None,
390
1295
  id: Optional[Any] = None,
@@ -447,30 +1352,211 @@ class Header(BaseHTML):
447
1352
  def create( # type: ignore
448
1353
  cls,
449
1354
  *children,
450
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1355
+ access_key: Optional[Union[Var[str], str]] = None,
451
1356
  auto_capitalize: Optional[
452
- Union[Var[Union[bool, int, str]], bool, int, str]
1357
+ Union[
1358
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1359
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1360
+ ]
453
1361
  ] = None,
454
1362
  content_editable: Optional[
455
- Union[Var[Union[bool, int, str]], bool, int, str]
456
- ] = None,
457
- context_menu: Optional[
458
- Union[Var[Union[bool, int, str]], bool, int, str]
1363
+ Union[
1364
+ Literal["inherit", "plaintext-only", False, True],
1365
+ Var[Literal["inherit", "plaintext-only", False, True]],
1366
+ ]
459
1367
  ] = None,
460
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
461
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1368
+ context_menu: Optional[Union[Var[str], str]] = None,
1369
+ dir: Optional[Union[Var[str], str]] = None,
1370
+ draggable: Optional[Union[Var[bool], bool]] = None,
462
1371
  enter_key_hint: Optional[
463
- Union[Var[Union[bool, int, str]], bool, int, str]
464
- ] = None,
465
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
466
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
467
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
468
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
469
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
470
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
471
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
472
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
473
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1372
+ Union[
1373
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1374
+ Var[
1375
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1376
+ ],
1377
+ ]
1378
+ ] = None,
1379
+ hidden: Optional[Union[Var[bool], bool]] = None,
1380
+ input_mode: Optional[
1381
+ Union[
1382
+ Literal[
1383
+ "decimal",
1384
+ "email",
1385
+ "none",
1386
+ "numeric",
1387
+ "search",
1388
+ "tel",
1389
+ "text",
1390
+ "url",
1391
+ ],
1392
+ Var[
1393
+ Literal[
1394
+ "decimal",
1395
+ "email",
1396
+ "none",
1397
+ "numeric",
1398
+ "search",
1399
+ "tel",
1400
+ "text",
1401
+ "url",
1402
+ ]
1403
+ ],
1404
+ ]
1405
+ ] = None,
1406
+ item_prop: Optional[Union[Var[str], str]] = None,
1407
+ lang: Optional[Union[Var[str], str]] = None,
1408
+ role: Optional[
1409
+ Union[
1410
+ Literal[
1411
+ "alert",
1412
+ "alertdialog",
1413
+ "application",
1414
+ "article",
1415
+ "banner",
1416
+ "button",
1417
+ "cell",
1418
+ "checkbox",
1419
+ "columnheader",
1420
+ "combobox",
1421
+ "complementary",
1422
+ "contentinfo",
1423
+ "definition",
1424
+ "dialog",
1425
+ "directory",
1426
+ "document",
1427
+ "feed",
1428
+ "figure",
1429
+ "form",
1430
+ "grid",
1431
+ "gridcell",
1432
+ "group",
1433
+ "heading",
1434
+ "img",
1435
+ "link",
1436
+ "list",
1437
+ "listbox",
1438
+ "listitem",
1439
+ "log",
1440
+ "main",
1441
+ "marquee",
1442
+ "math",
1443
+ "menu",
1444
+ "menubar",
1445
+ "menuitem",
1446
+ "menuitemcheckbox",
1447
+ "menuitemradio",
1448
+ "navigation",
1449
+ "none",
1450
+ "note",
1451
+ "option",
1452
+ "presentation",
1453
+ "progressbar",
1454
+ "radio",
1455
+ "radiogroup",
1456
+ "region",
1457
+ "row",
1458
+ "rowgroup",
1459
+ "rowheader",
1460
+ "scrollbar",
1461
+ "search",
1462
+ "searchbox",
1463
+ "separator",
1464
+ "slider",
1465
+ "spinbutton",
1466
+ "status",
1467
+ "switch",
1468
+ "tab",
1469
+ "table",
1470
+ "tablist",
1471
+ "tabpanel",
1472
+ "term",
1473
+ "textbox",
1474
+ "timer",
1475
+ "toolbar",
1476
+ "tooltip",
1477
+ "tree",
1478
+ "treegrid",
1479
+ "treeitem",
1480
+ ],
1481
+ Var[
1482
+ Literal[
1483
+ "alert",
1484
+ "alertdialog",
1485
+ "application",
1486
+ "article",
1487
+ "banner",
1488
+ "button",
1489
+ "cell",
1490
+ "checkbox",
1491
+ "columnheader",
1492
+ "combobox",
1493
+ "complementary",
1494
+ "contentinfo",
1495
+ "definition",
1496
+ "dialog",
1497
+ "directory",
1498
+ "document",
1499
+ "feed",
1500
+ "figure",
1501
+ "form",
1502
+ "grid",
1503
+ "gridcell",
1504
+ "group",
1505
+ "heading",
1506
+ "img",
1507
+ "link",
1508
+ "list",
1509
+ "listbox",
1510
+ "listitem",
1511
+ "log",
1512
+ "main",
1513
+ "marquee",
1514
+ "math",
1515
+ "menu",
1516
+ "menubar",
1517
+ "menuitem",
1518
+ "menuitemcheckbox",
1519
+ "menuitemradio",
1520
+ "navigation",
1521
+ "none",
1522
+ "note",
1523
+ "option",
1524
+ "presentation",
1525
+ "progressbar",
1526
+ "radio",
1527
+ "radiogroup",
1528
+ "region",
1529
+ "row",
1530
+ "rowgroup",
1531
+ "rowheader",
1532
+ "scrollbar",
1533
+ "search",
1534
+ "searchbox",
1535
+ "separator",
1536
+ "slider",
1537
+ "spinbutton",
1538
+ "status",
1539
+ "switch",
1540
+ "tab",
1541
+ "table",
1542
+ "tablist",
1543
+ "tabpanel",
1544
+ "term",
1545
+ "textbox",
1546
+ "timer",
1547
+ "toolbar",
1548
+ "tooltip",
1549
+ "tree",
1550
+ "treegrid",
1551
+ "treeitem",
1552
+ ]
1553
+ ],
1554
+ ]
1555
+ ] = None,
1556
+ slot: Optional[Union[Var[str], str]] = None,
1557
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1558
+ tab_index: Optional[Union[Var[int], int]] = None,
1559
+ title: Optional[Union[Var[str], str]] = None,
474
1560
  style: Optional[Style] = None,
475
1561
  key: Optional[Any] = None,
476
1562
  id: Optional[Any] = None,
@@ -533,30 +1619,211 @@ class H1(BaseHTML):
533
1619
  def create( # type: ignore
534
1620
  cls,
535
1621
  *children,
536
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1622
+ access_key: Optional[Union[Var[str], str]] = None,
537
1623
  auto_capitalize: Optional[
538
- Union[Var[Union[bool, int, str]], bool, int, str]
1624
+ Union[
1625
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1626
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1627
+ ]
539
1628
  ] = None,
540
1629
  content_editable: Optional[
541
- Union[Var[Union[bool, int, str]], bool, int, str]
542
- ] = None,
543
- context_menu: Optional[
544
- Union[Var[Union[bool, int, str]], bool, int, str]
1630
+ Union[
1631
+ Literal["inherit", "plaintext-only", False, True],
1632
+ Var[Literal["inherit", "plaintext-only", False, True]],
1633
+ ]
545
1634
  ] = None,
546
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
547
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1635
+ context_menu: Optional[Union[Var[str], str]] = None,
1636
+ dir: Optional[Union[Var[str], str]] = None,
1637
+ draggable: Optional[Union[Var[bool], bool]] = None,
548
1638
  enter_key_hint: Optional[
549
- Union[Var[Union[bool, int, str]], bool, int, str]
550
- ] = None,
551
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
552
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
553
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
554
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
555
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
556
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
557
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
558
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
559
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1639
+ Union[
1640
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1641
+ Var[
1642
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1643
+ ],
1644
+ ]
1645
+ ] = None,
1646
+ hidden: Optional[Union[Var[bool], bool]] = None,
1647
+ input_mode: Optional[
1648
+ Union[
1649
+ Literal[
1650
+ "decimal",
1651
+ "email",
1652
+ "none",
1653
+ "numeric",
1654
+ "search",
1655
+ "tel",
1656
+ "text",
1657
+ "url",
1658
+ ],
1659
+ Var[
1660
+ Literal[
1661
+ "decimal",
1662
+ "email",
1663
+ "none",
1664
+ "numeric",
1665
+ "search",
1666
+ "tel",
1667
+ "text",
1668
+ "url",
1669
+ ]
1670
+ ],
1671
+ ]
1672
+ ] = None,
1673
+ item_prop: Optional[Union[Var[str], str]] = None,
1674
+ lang: Optional[Union[Var[str], str]] = None,
1675
+ role: Optional[
1676
+ Union[
1677
+ Literal[
1678
+ "alert",
1679
+ "alertdialog",
1680
+ "application",
1681
+ "article",
1682
+ "banner",
1683
+ "button",
1684
+ "cell",
1685
+ "checkbox",
1686
+ "columnheader",
1687
+ "combobox",
1688
+ "complementary",
1689
+ "contentinfo",
1690
+ "definition",
1691
+ "dialog",
1692
+ "directory",
1693
+ "document",
1694
+ "feed",
1695
+ "figure",
1696
+ "form",
1697
+ "grid",
1698
+ "gridcell",
1699
+ "group",
1700
+ "heading",
1701
+ "img",
1702
+ "link",
1703
+ "list",
1704
+ "listbox",
1705
+ "listitem",
1706
+ "log",
1707
+ "main",
1708
+ "marquee",
1709
+ "math",
1710
+ "menu",
1711
+ "menubar",
1712
+ "menuitem",
1713
+ "menuitemcheckbox",
1714
+ "menuitemradio",
1715
+ "navigation",
1716
+ "none",
1717
+ "note",
1718
+ "option",
1719
+ "presentation",
1720
+ "progressbar",
1721
+ "radio",
1722
+ "radiogroup",
1723
+ "region",
1724
+ "row",
1725
+ "rowgroup",
1726
+ "rowheader",
1727
+ "scrollbar",
1728
+ "search",
1729
+ "searchbox",
1730
+ "separator",
1731
+ "slider",
1732
+ "spinbutton",
1733
+ "status",
1734
+ "switch",
1735
+ "tab",
1736
+ "table",
1737
+ "tablist",
1738
+ "tabpanel",
1739
+ "term",
1740
+ "textbox",
1741
+ "timer",
1742
+ "toolbar",
1743
+ "tooltip",
1744
+ "tree",
1745
+ "treegrid",
1746
+ "treeitem",
1747
+ ],
1748
+ Var[
1749
+ Literal[
1750
+ "alert",
1751
+ "alertdialog",
1752
+ "application",
1753
+ "article",
1754
+ "banner",
1755
+ "button",
1756
+ "cell",
1757
+ "checkbox",
1758
+ "columnheader",
1759
+ "combobox",
1760
+ "complementary",
1761
+ "contentinfo",
1762
+ "definition",
1763
+ "dialog",
1764
+ "directory",
1765
+ "document",
1766
+ "feed",
1767
+ "figure",
1768
+ "form",
1769
+ "grid",
1770
+ "gridcell",
1771
+ "group",
1772
+ "heading",
1773
+ "img",
1774
+ "link",
1775
+ "list",
1776
+ "listbox",
1777
+ "listitem",
1778
+ "log",
1779
+ "main",
1780
+ "marquee",
1781
+ "math",
1782
+ "menu",
1783
+ "menubar",
1784
+ "menuitem",
1785
+ "menuitemcheckbox",
1786
+ "menuitemradio",
1787
+ "navigation",
1788
+ "none",
1789
+ "note",
1790
+ "option",
1791
+ "presentation",
1792
+ "progressbar",
1793
+ "radio",
1794
+ "radiogroup",
1795
+ "region",
1796
+ "row",
1797
+ "rowgroup",
1798
+ "rowheader",
1799
+ "scrollbar",
1800
+ "search",
1801
+ "searchbox",
1802
+ "separator",
1803
+ "slider",
1804
+ "spinbutton",
1805
+ "status",
1806
+ "switch",
1807
+ "tab",
1808
+ "table",
1809
+ "tablist",
1810
+ "tabpanel",
1811
+ "term",
1812
+ "textbox",
1813
+ "timer",
1814
+ "toolbar",
1815
+ "tooltip",
1816
+ "tree",
1817
+ "treegrid",
1818
+ "treeitem",
1819
+ ]
1820
+ ],
1821
+ ]
1822
+ ] = None,
1823
+ slot: Optional[Union[Var[str], str]] = None,
1824
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1825
+ tab_index: Optional[Union[Var[int], int]] = None,
1826
+ title: Optional[Union[Var[str], str]] = None,
560
1827
  style: Optional[Style] = None,
561
1828
  key: Optional[Any] = None,
562
1829
  id: Optional[Any] = None,
@@ -619,30 +1886,211 @@ class H2(BaseHTML):
619
1886
  def create( # type: ignore
620
1887
  cls,
621
1888
  *children,
622
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1889
+ access_key: Optional[Union[Var[str], str]] = None,
623
1890
  auto_capitalize: Optional[
624
- Union[Var[Union[bool, int, str]], bool, int, str]
1891
+ Union[
1892
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1893
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1894
+ ]
625
1895
  ] = None,
626
1896
  content_editable: Optional[
627
- Union[Var[Union[bool, int, str]], bool, int, str]
628
- ] = None,
629
- context_menu: Optional[
630
- Union[Var[Union[bool, int, str]], bool, int, str]
1897
+ Union[
1898
+ Literal["inherit", "plaintext-only", False, True],
1899
+ Var[Literal["inherit", "plaintext-only", False, True]],
1900
+ ]
631
1901
  ] = None,
632
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
633
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1902
+ context_menu: Optional[Union[Var[str], str]] = None,
1903
+ dir: Optional[Union[Var[str], str]] = None,
1904
+ draggable: Optional[Union[Var[bool], bool]] = None,
634
1905
  enter_key_hint: Optional[
635
- Union[Var[Union[bool, int, str]], bool, int, str]
636
- ] = None,
637
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
638
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
639
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
640
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
641
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
642
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
643
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
644
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
645
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1906
+ Union[
1907
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1908
+ Var[
1909
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1910
+ ],
1911
+ ]
1912
+ ] = None,
1913
+ hidden: Optional[Union[Var[bool], bool]] = None,
1914
+ input_mode: Optional[
1915
+ Union[
1916
+ Literal[
1917
+ "decimal",
1918
+ "email",
1919
+ "none",
1920
+ "numeric",
1921
+ "search",
1922
+ "tel",
1923
+ "text",
1924
+ "url",
1925
+ ],
1926
+ Var[
1927
+ Literal[
1928
+ "decimal",
1929
+ "email",
1930
+ "none",
1931
+ "numeric",
1932
+ "search",
1933
+ "tel",
1934
+ "text",
1935
+ "url",
1936
+ ]
1937
+ ],
1938
+ ]
1939
+ ] = None,
1940
+ item_prop: Optional[Union[Var[str], str]] = None,
1941
+ lang: Optional[Union[Var[str], str]] = None,
1942
+ role: Optional[
1943
+ Union[
1944
+ Literal[
1945
+ "alert",
1946
+ "alertdialog",
1947
+ "application",
1948
+ "article",
1949
+ "banner",
1950
+ "button",
1951
+ "cell",
1952
+ "checkbox",
1953
+ "columnheader",
1954
+ "combobox",
1955
+ "complementary",
1956
+ "contentinfo",
1957
+ "definition",
1958
+ "dialog",
1959
+ "directory",
1960
+ "document",
1961
+ "feed",
1962
+ "figure",
1963
+ "form",
1964
+ "grid",
1965
+ "gridcell",
1966
+ "group",
1967
+ "heading",
1968
+ "img",
1969
+ "link",
1970
+ "list",
1971
+ "listbox",
1972
+ "listitem",
1973
+ "log",
1974
+ "main",
1975
+ "marquee",
1976
+ "math",
1977
+ "menu",
1978
+ "menubar",
1979
+ "menuitem",
1980
+ "menuitemcheckbox",
1981
+ "menuitemradio",
1982
+ "navigation",
1983
+ "none",
1984
+ "note",
1985
+ "option",
1986
+ "presentation",
1987
+ "progressbar",
1988
+ "radio",
1989
+ "radiogroup",
1990
+ "region",
1991
+ "row",
1992
+ "rowgroup",
1993
+ "rowheader",
1994
+ "scrollbar",
1995
+ "search",
1996
+ "searchbox",
1997
+ "separator",
1998
+ "slider",
1999
+ "spinbutton",
2000
+ "status",
2001
+ "switch",
2002
+ "tab",
2003
+ "table",
2004
+ "tablist",
2005
+ "tabpanel",
2006
+ "term",
2007
+ "textbox",
2008
+ "timer",
2009
+ "toolbar",
2010
+ "tooltip",
2011
+ "tree",
2012
+ "treegrid",
2013
+ "treeitem",
2014
+ ],
2015
+ Var[
2016
+ Literal[
2017
+ "alert",
2018
+ "alertdialog",
2019
+ "application",
2020
+ "article",
2021
+ "banner",
2022
+ "button",
2023
+ "cell",
2024
+ "checkbox",
2025
+ "columnheader",
2026
+ "combobox",
2027
+ "complementary",
2028
+ "contentinfo",
2029
+ "definition",
2030
+ "dialog",
2031
+ "directory",
2032
+ "document",
2033
+ "feed",
2034
+ "figure",
2035
+ "form",
2036
+ "grid",
2037
+ "gridcell",
2038
+ "group",
2039
+ "heading",
2040
+ "img",
2041
+ "link",
2042
+ "list",
2043
+ "listbox",
2044
+ "listitem",
2045
+ "log",
2046
+ "main",
2047
+ "marquee",
2048
+ "math",
2049
+ "menu",
2050
+ "menubar",
2051
+ "menuitem",
2052
+ "menuitemcheckbox",
2053
+ "menuitemradio",
2054
+ "navigation",
2055
+ "none",
2056
+ "note",
2057
+ "option",
2058
+ "presentation",
2059
+ "progressbar",
2060
+ "radio",
2061
+ "radiogroup",
2062
+ "region",
2063
+ "row",
2064
+ "rowgroup",
2065
+ "rowheader",
2066
+ "scrollbar",
2067
+ "search",
2068
+ "searchbox",
2069
+ "separator",
2070
+ "slider",
2071
+ "spinbutton",
2072
+ "status",
2073
+ "switch",
2074
+ "tab",
2075
+ "table",
2076
+ "tablist",
2077
+ "tabpanel",
2078
+ "term",
2079
+ "textbox",
2080
+ "timer",
2081
+ "toolbar",
2082
+ "tooltip",
2083
+ "tree",
2084
+ "treegrid",
2085
+ "treeitem",
2086
+ ]
2087
+ ],
2088
+ ]
2089
+ ] = None,
2090
+ slot: Optional[Union[Var[str], str]] = None,
2091
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2092
+ tab_index: Optional[Union[Var[int], int]] = None,
2093
+ title: Optional[Union[Var[str], str]] = None,
646
2094
  style: Optional[Style] = None,
647
2095
  key: Optional[Any] = None,
648
2096
  id: Optional[Any] = None,
@@ -705,30 +2153,211 @@ class H3(BaseHTML):
705
2153
  def create( # type: ignore
706
2154
  cls,
707
2155
  *children,
708
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2156
+ access_key: Optional[Union[Var[str], str]] = None,
709
2157
  auto_capitalize: Optional[
710
- Union[Var[Union[bool, int, str]], bool, int, str]
2158
+ Union[
2159
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2160
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2161
+ ]
711
2162
  ] = None,
712
2163
  content_editable: Optional[
713
- Union[Var[Union[bool, int, str]], bool, int, str]
2164
+ Union[
2165
+ Literal["inherit", "plaintext-only", False, True],
2166
+ Var[Literal["inherit", "plaintext-only", False, True]],
2167
+ ]
714
2168
  ] = None,
715
- context_menu: Optional[
716
- Union[Var[Union[bool, int, str]], bool, int, str]
717
- ] = None,
718
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
719
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2169
+ context_menu: Optional[Union[Var[str], str]] = None,
2170
+ dir: Optional[Union[Var[str], str]] = None,
2171
+ draggable: Optional[Union[Var[bool], bool]] = None,
720
2172
  enter_key_hint: Optional[
721
- Union[Var[Union[bool, int, str]], bool, int, str]
722
- ] = None,
723
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
724
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
725
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
726
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
727
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
728
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
729
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
730
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
731
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2173
+ Union[
2174
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2175
+ Var[
2176
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2177
+ ],
2178
+ ]
2179
+ ] = None,
2180
+ hidden: Optional[Union[Var[bool], bool]] = None,
2181
+ input_mode: Optional[
2182
+ Union[
2183
+ Literal[
2184
+ "decimal",
2185
+ "email",
2186
+ "none",
2187
+ "numeric",
2188
+ "search",
2189
+ "tel",
2190
+ "text",
2191
+ "url",
2192
+ ],
2193
+ Var[
2194
+ Literal[
2195
+ "decimal",
2196
+ "email",
2197
+ "none",
2198
+ "numeric",
2199
+ "search",
2200
+ "tel",
2201
+ "text",
2202
+ "url",
2203
+ ]
2204
+ ],
2205
+ ]
2206
+ ] = None,
2207
+ item_prop: Optional[Union[Var[str], str]] = None,
2208
+ lang: Optional[Union[Var[str], str]] = None,
2209
+ role: Optional[
2210
+ Union[
2211
+ Literal[
2212
+ "alert",
2213
+ "alertdialog",
2214
+ "application",
2215
+ "article",
2216
+ "banner",
2217
+ "button",
2218
+ "cell",
2219
+ "checkbox",
2220
+ "columnheader",
2221
+ "combobox",
2222
+ "complementary",
2223
+ "contentinfo",
2224
+ "definition",
2225
+ "dialog",
2226
+ "directory",
2227
+ "document",
2228
+ "feed",
2229
+ "figure",
2230
+ "form",
2231
+ "grid",
2232
+ "gridcell",
2233
+ "group",
2234
+ "heading",
2235
+ "img",
2236
+ "link",
2237
+ "list",
2238
+ "listbox",
2239
+ "listitem",
2240
+ "log",
2241
+ "main",
2242
+ "marquee",
2243
+ "math",
2244
+ "menu",
2245
+ "menubar",
2246
+ "menuitem",
2247
+ "menuitemcheckbox",
2248
+ "menuitemradio",
2249
+ "navigation",
2250
+ "none",
2251
+ "note",
2252
+ "option",
2253
+ "presentation",
2254
+ "progressbar",
2255
+ "radio",
2256
+ "radiogroup",
2257
+ "region",
2258
+ "row",
2259
+ "rowgroup",
2260
+ "rowheader",
2261
+ "scrollbar",
2262
+ "search",
2263
+ "searchbox",
2264
+ "separator",
2265
+ "slider",
2266
+ "spinbutton",
2267
+ "status",
2268
+ "switch",
2269
+ "tab",
2270
+ "table",
2271
+ "tablist",
2272
+ "tabpanel",
2273
+ "term",
2274
+ "textbox",
2275
+ "timer",
2276
+ "toolbar",
2277
+ "tooltip",
2278
+ "tree",
2279
+ "treegrid",
2280
+ "treeitem",
2281
+ ],
2282
+ Var[
2283
+ Literal[
2284
+ "alert",
2285
+ "alertdialog",
2286
+ "application",
2287
+ "article",
2288
+ "banner",
2289
+ "button",
2290
+ "cell",
2291
+ "checkbox",
2292
+ "columnheader",
2293
+ "combobox",
2294
+ "complementary",
2295
+ "contentinfo",
2296
+ "definition",
2297
+ "dialog",
2298
+ "directory",
2299
+ "document",
2300
+ "feed",
2301
+ "figure",
2302
+ "form",
2303
+ "grid",
2304
+ "gridcell",
2305
+ "group",
2306
+ "heading",
2307
+ "img",
2308
+ "link",
2309
+ "list",
2310
+ "listbox",
2311
+ "listitem",
2312
+ "log",
2313
+ "main",
2314
+ "marquee",
2315
+ "math",
2316
+ "menu",
2317
+ "menubar",
2318
+ "menuitem",
2319
+ "menuitemcheckbox",
2320
+ "menuitemradio",
2321
+ "navigation",
2322
+ "none",
2323
+ "note",
2324
+ "option",
2325
+ "presentation",
2326
+ "progressbar",
2327
+ "radio",
2328
+ "radiogroup",
2329
+ "region",
2330
+ "row",
2331
+ "rowgroup",
2332
+ "rowheader",
2333
+ "scrollbar",
2334
+ "search",
2335
+ "searchbox",
2336
+ "separator",
2337
+ "slider",
2338
+ "spinbutton",
2339
+ "status",
2340
+ "switch",
2341
+ "tab",
2342
+ "table",
2343
+ "tablist",
2344
+ "tabpanel",
2345
+ "term",
2346
+ "textbox",
2347
+ "timer",
2348
+ "toolbar",
2349
+ "tooltip",
2350
+ "tree",
2351
+ "treegrid",
2352
+ "treeitem",
2353
+ ]
2354
+ ],
2355
+ ]
2356
+ ] = None,
2357
+ slot: Optional[Union[Var[str], str]] = None,
2358
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2359
+ tab_index: Optional[Union[Var[int], int]] = None,
2360
+ title: Optional[Union[Var[str], str]] = None,
732
2361
  style: Optional[Style] = None,
733
2362
  key: Optional[Any] = None,
734
2363
  id: Optional[Any] = None,
@@ -791,30 +2420,211 @@ class H4(BaseHTML):
791
2420
  def create( # type: ignore
792
2421
  cls,
793
2422
  *children,
794
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2423
+ access_key: Optional[Union[Var[str], str]] = None,
795
2424
  auto_capitalize: Optional[
796
- Union[Var[Union[bool, int, str]], bool, int, str]
2425
+ Union[
2426
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2427
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2428
+ ]
797
2429
  ] = None,
798
2430
  content_editable: Optional[
799
- Union[Var[Union[bool, int, str]], bool, int, str]
2431
+ Union[
2432
+ Literal["inherit", "plaintext-only", False, True],
2433
+ Var[Literal["inherit", "plaintext-only", False, True]],
2434
+ ]
800
2435
  ] = None,
801
- context_menu: Optional[
802
- Union[Var[Union[bool, int, str]], bool, int, str]
803
- ] = None,
804
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
805
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2436
+ context_menu: Optional[Union[Var[str], str]] = None,
2437
+ dir: Optional[Union[Var[str], str]] = None,
2438
+ draggable: Optional[Union[Var[bool], bool]] = None,
806
2439
  enter_key_hint: Optional[
807
- Union[Var[Union[bool, int, str]], bool, int, str]
808
- ] = None,
809
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
810
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
811
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
812
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
813
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
814
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
815
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
816
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
817
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2440
+ Union[
2441
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2442
+ Var[
2443
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2444
+ ],
2445
+ ]
2446
+ ] = None,
2447
+ hidden: Optional[Union[Var[bool], bool]] = None,
2448
+ input_mode: Optional[
2449
+ Union[
2450
+ Literal[
2451
+ "decimal",
2452
+ "email",
2453
+ "none",
2454
+ "numeric",
2455
+ "search",
2456
+ "tel",
2457
+ "text",
2458
+ "url",
2459
+ ],
2460
+ Var[
2461
+ Literal[
2462
+ "decimal",
2463
+ "email",
2464
+ "none",
2465
+ "numeric",
2466
+ "search",
2467
+ "tel",
2468
+ "text",
2469
+ "url",
2470
+ ]
2471
+ ],
2472
+ ]
2473
+ ] = None,
2474
+ item_prop: Optional[Union[Var[str], str]] = None,
2475
+ lang: Optional[Union[Var[str], str]] = None,
2476
+ role: Optional[
2477
+ Union[
2478
+ Literal[
2479
+ "alert",
2480
+ "alertdialog",
2481
+ "application",
2482
+ "article",
2483
+ "banner",
2484
+ "button",
2485
+ "cell",
2486
+ "checkbox",
2487
+ "columnheader",
2488
+ "combobox",
2489
+ "complementary",
2490
+ "contentinfo",
2491
+ "definition",
2492
+ "dialog",
2493
+ "directory",
2494
+ "document",
2495
+ "feed",
2496
+ "figure",
2497
+ "form",
2498
+ "grid",
2499
+ "gridcell",
2500
+ "group",
2501
+ "heading",
2502
+ "img",
2503
+ "link",
2504
+ "list",
2505
+ "listbox",
2506
+ "listitem",
2507
+ "log",
2508
+ "main",
2509
+ "marquee",
2510
+ "math",
2511
+ "menu",
2512
+ "menubar",
2513
+ "menuitem",
2514
+ "menuitemcheckbox",
2515
+ "menuitemradio",
2516
+ "navigation",
2517
+ "none",
2518
+ "note",
2519
+ "option",
2520
+ "presentation",
2521
+ "progressbar",
2522
+ "radio",
2523
+ "radiogroup",
2524
+ "region",
2525
+ "row",
2526
+ "rowgroup",
2527
+ "rowheader",
2528
+ "scrollbar",
2529
+ "search",
2530
+ "searchbox",
2531
+ "separator",
2532
+ "slider",
2533
+ "spinbutton",
2534
+ "status",
2535
+ "switch",
2536
+ "tab",
2537
+ "table",
2538
+ "tablist",
2539
+ "tabpanel",
2540
+ "term",
2541
+ "textbox",
2542
+ "timer",
2543
+ "toolbar",
2544
+ "tooltip",
2545
+ "tree",
2546
+ "treegrid",
2547
+ "treeitem",
2548
+ ],
2549
+ Var[
2550
+ Literal[
2551
+ "alert",
2552
+ "alertdialog",
2553
+ "application",
2554
+ "article",
2555
+ "banner",
2556
+ "button",
2557
+ "cell",
2558
+ "checkbox",
2559
+ "columnheader",
2560
+ "combobox",
2561
+ "complementary",
2562
+ "contentinfo",
2563
+ "definition",
2564
+ "dialog",
2565
+ "directory",
2566
+ "document",
2567
+ "feed",
2568
+ "figure",
2569
+ "form",
2570
+ "grid",
2571
+ "gridcell",
2572
+ "group",
2573
+ "heading",
2574
+ "img",
2575
+ "link",
2576
+ "list",
2577
+ "listbox",
2578
+ "listitem",
2579
+ "log",
2580
+ "main",
2581
+ "marquee",
2582
+ "math",
2583
+ "menu",
2584
+ "menubar",
2585
+ "menuitem",
2586
+ "menuitemcheckbox",
2587
+ "menuitemradio",
2588
+ "navigation",
2589
+ "none",
2590
+ "note",
2591
+ "option",
2592
+ "presentation",
2593
+ "progressbar",
2594
+ "radio",
2595
+ "radiogroup",
2596
+ "region",
2597
+ "row",
2598
+ "rowgroup",
2599
+ "rowheader",
2600
+ "scrollbar",
2601
+ "search",
2602
+ "searchbox",
2603
+ "separator",
2604
+ "slider",
2605
+ "spinbutton",
2606
+ "status",
2607
+ "switch",
2608
+ "tab",
2609
+ "table",
2610
+ "tablist",
2611
+ "tabpanel",
2612
+ "term",
2613
+ "textbox",
2614
+ "timer",
2615
+ "toolbar",
2616
+ "tooltip",
2617
+ "tree",
2618
+ "treegrid",
2619
+ "treeitem",
2620
+ ]
2621
+ ],
2622
+ ]
2623
+ ] = None,
2624
+ slot: Optional[Union[Var[str], str]] = None,
2625
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2626
+ tab_index: Optional[Union[Var[int], int]] = None,
2627
+ title: Optional[Union[Var[str], str]] = None,
818
2628
  style: Optional[Style] = None,
819
2629
  key: Optional[Any] = None,
820
2630
  id: Optional[Any] = None,
@@ -877,30 +2687,211 @@ class H5(BaseHTML):
877
2687
  def create( # type: ignore
878
2688
  cls,
879
2689
  *children,
880
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2690
+ access_key: Optional[Union[Var[str], str]] = None,
881
2691
  auto_capitalize: Optional[
882
- Union[Var[Union[bool, int, str]], bool, int, str]
2692
+ Union[
2693
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2694
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2695
+ ]
883
2696
  ] = None,
884
2697
  content_editable: Optional[
885
- Union[Var[Union[bool, int, str]], bool, int, str]
2698
+ Union[
2699
+ Literal["inherit", "plaintext-only", False, True],
2700
+ Var[Literal["inherit", "plaintext-only", False, True]],
2701
+ ]
886
2702
  ] = None,
887
- context_menu: Optional[
888
- Union[Var[Union[bool, int, str]], bool, int, str]
889
- ] = None,
890
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
891
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2703
+ context_menu: Optional[Union[Var[str], str]] = None,
2704
+ dir: Optional[Union[Var[str], str]] = None,
2705
+ draggable: Optional[Union[Var[bool], bool]] = None,
892
2706
  enter_key_hint: Optional[
893
- Union[Var[Union[bool, int, str]], bool, int, str]
894
- ] = None,
895
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
896
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
897
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
898
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
899
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
900
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
901
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
902
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
903
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2707
+ Union[
2708
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2709
+ Var[
2710
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2711
+ ],
2712
+ ]
2713
+ ] = None,
2714
+ hidden: Optional[Union[Var[bool], bool]] = None,
2715
+ input_mode: Optional[
2716
+ Union[
2717
+ Literal[
2718
+ "decimal",
2719
+ "email",
2720
+ "none",
2721
+ "numeric",
2722
+ "search",
2723
+ "tel",
2724
+ "text",
2725
+ "url",
2726
+ ],
2727
+ Var[
2728
+ Literal[
2729
+ "decimal",
2730
+ "email",
2731
+ "none",
2732
+ "numeric",
2733
+ "search",
2734
+ "tel",
2735
+ "text",
2736
+ "url",
2737
+ ]
2738
+ ],
2739
+ ]
2740
+ ] = None,
2741
+ item_prop: Optional[Union[Var[str], str]] = None,
2742
+ lang: Optional[Union[Var[str], str]] = None,
2743
+ role: Optional[
2744
+ Union[
2745
+ Literal[
2746
+ "alert",
2747
+ "alertdialog",
2748
+ "application",
2749
+ "article",
2750
+ "banner",
2751
+ "button",
2752
+ "cell",
2753
+ "checkbox",
2754
+ "columnheader",
2755
+ "combobox",
2756
+ "complementary",
2757
+ "contentinfo",
2758
+ "definition",
2759
+ "dialog",
2760
+ "directory",
2761
+ "document",
2762
+ "feed",
2763
+ "figure",
2764
+ "form",
2765
+ "grid",
2766
+ "gridcell",
2767
+ "group",
2768
+ "heading",
2769
+ "img",
2770
+ "link",
2771
+ "list",
2772
+ "listbox",
2773
+ "listitem",
2774
+ "log",
2775
+ "main",
2776
+ "marquee",
2777
+ "math",
2778
+ "menu",
2779
+ "menubar",
2780
+ "menuitem",
2781
+ "menuitemcheckbox",
2782
+ "menuitemradio",
2783
+ "navigation",
2784
+ "none",
2785
+ "note",
2786
+ "option",
2787
+ "presentation",
2788
+ "progressbar",
2789
+ "radio",
2790
+ "radiogroup",
2791
+ "region",
2792
+ "row",
2793
+ "rowgroup",
2794
+ "rowheader",
2795
+ "scrollbar",
2796
+ "search",
2797
+ "searchbox",
2798
+ "separator",
2799
+ "slider",
2800
+ "spinbutton",
2801
+ "status",
2802
+ "switch",
2803
+ "tab",
2804
+ "table",
2805
+ "tablist",
2806
+ "tabpanel",
2807
+ "term",
2808
+ "textbox",
2809
+ "timer",
2810
+ "toolbar",
2811
+ "tooltip",
2812
+ "tree",
2813
+ "treegrid",
2814
+ "treeitem",
2815
+ ],
2816
+ Var[
2817
+ Literal[
2818
+ "alert",
2819
+ "alertdialog",
2820
+ "application",
2821
+ "article",
2822
+ "banner",
2823
+ "button",
2824
+ "cell",
2825
+ "checkbox",
2826
+ "columnheader",
2827
+ "combobox",
2828
+ "complementary",
2829
+ "contentinfo",
2830
+ "definition",
2831
+ "dialog",
2832
+ "directory",
2833
+ "document",
2834
+ "feed",
2835
+ "figure",
2836
+ "form",
2837
+ "grid",
2838
+ "gridcell",
2839
+ "group",
2840
+ "heading",
2841
+ "img",
2842
+ "link",
2843
+ "list",
2844
+ "listbox",
2845
+ "listitem",
2846
+ "log",
2847
+ "main",
2848
+ "marquee",
2849
+ "math",
2850
+ "menu",
2851
+ "menubar",
2852
+ "menuitem",
2853
+ "menuitemcheckbox",
2854
+ "menuitemradio",
2855
+ "navigation",
2856
+ "none",
2857
+ "note",
2858
+ "option",
2859
+ "presentation",
2860
+ "progressbar",
2861
+ "radio",
2862
+ "radiogroup",
2863
+ "region",
2864
+ "row",
2865
+ "rowgroup",
2866
+ "rowheader",
2867
+ "scrollbar",
2868
+ "search",
2869
+ "searchbox",
2870
+ "separator",
2871
+ "slider",
2872
+ "spinbutton",
2873
+ "status",
2874
+ "switch",
2875
+ "tab",
2876
+ "table",
2877
+ "tablist",
2878
+ "tabpanel",
2879
+ "term",
2880
+ "textbox",
2881
+ "timer",
2882
+ "toolbar",
2883
+ "tooltip",
2884
+ "tree",
2885
+ "treegrid",
2886
+ "treeitem",
2887
+ ]
2888
+ ],
2889
+ ]
2890
+ ] = None,
2891
+ slot: Optional[Union[Var[str], str]] = None,
2892
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2893
+ tab_index: Optional[Union[Var[int], int]] = None,
2894
+ title: Optional[Union[Var[str], str]] = None,
904
2895
  style: Optional[Style] = None,
905
2896
  key: Optional[Any] = None,
906
2897
  id: Optional[Any] = None,
@@ -963,30 +2954,211 @@ class H6(BaseHTML):
963
2954
  def create( # type: ignore
964
2955
  cls,
965
2956
  *children,
966
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2957
+ access_key: Optional[Union[Var[str], str]] = None,
967
2958
  auto_capitalize: Optional[
968
- Union[Var[Union[bool, int, str]], bool, int, str]
2959
+ Union[
2960
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2961
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2962
+ ]
969
2963
  ] = None,
970
2964
  content_editable: Optional[
971
- Union[Var[Union[bool, int, str]], bool, int, str]
972
- ] = None,
973
- context_menu: Optional[
974
- Union[Var[Union[bool, int, str]], bool, int, str]
2965
+ Union[
2966
+ Literal["inherit", "plaintext-only", False, True],
2967
+ Var[Literal["inherit", "plaintext-only", False, True]],
2968
+ ]
975
2969
  ] = None,
976
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
977
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2970
+ context_menu: Optional[Union[Var[str], str]] = None,
2971
+ dir: Optional[Union[Var[str], str]] = None,
2972
+ draggable: Optional[Union[Var[bool], bool]] = None,
978
2973
  enter_key_hint: Optional[
979
- Union[Var[Union[bool, int, str]], bool, int, str]
980
- ] = None,
981
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
982
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
983
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
984
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
985
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
986
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
987
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
988
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
989
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2974
+ Union[
2975
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2976
+ Var[
2977
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2978
+ ],
2979
+ ]
2980
+ ] = None,
2981
+ hidden: Optional[Union[Var[bool], bool]] = None,
2982
+ input_mode: Optional[
2983
+ Union[
2984
+ Literal[
2985
+ "decimal",
2986
+ "email",
2987
+ "none",
2988
+ "numeric",
2989
+ "search",
2990
+ "tel",
2991
+ "text",
2992
+ "url",
2993
+ ],
2994
+ Var[
2995
+ Literal[
2996
+ "decimal",
2997
+ "email",
2998
+ "none",
2999
+ "numeric",
3000
+ "search",
3001
+ "tel",
3002
+ "text",
3003
+ "url",
3004
+ ]
3005
+ ],
3006
+ ]
3007
+ ] = None,
3008
+ item_prop: Optional[Union[Var[str], str]] = None,
3009
+ lang: Optional[Union[Var[str], str]] = None,
3010
+ role: Optional[
3011
+ Union[
3012
+ Literal[
3013
+ "alert",
3014
+ "alertdialog",
3015
+ "application",
3016
+ "article",
3017
+ "banner",
3018
+ "button",
3019
+ "cell",
3020
+ "checkbox",
3021
+ "columnheader",
3022
+ "combobox",
3023
+ "complementary",
3024
+ "contentinfo",
3025
+ "definition",
3026
+ "dialog",
3027
+ "directory",
3028
+ "document",
3029
+ "feed",
3030
+ "figure",
3031
+ "form",
3032
+ "grid",
3033
+ "gridcell",
3034
+ "group",
3035
+ "heading",
3036
+ "img",
3037
+ "link",
3038
+ "list",
3039
+ "listbox",
3040
+ "listitem",
3041
+ "log",
3042
+ "main",
3043
+ "marquee",
3044
+ "math",
3045
+ "menu",
3046
+ "menubar",
3047
+ "menuitem",
3048
+ "menuitemcheckbox",
3049
+ "menuitemradio",
3050
+ "navigation",
3051
+ "none",
3052
+ "note",
3053
+ "option",
3054
+ "presentation",
3055
+ "progressbar",
3056
+ "radio",
3057
+ "radiogroup",
3058
+ "region",
3059
+ "row",
3060
+ "rowgroup",
3061
+ "rowheader",
3062
+ "scrollbar",
3063
+ "search",
3064
+ "searchbox",
3065
+ "separator",
3066
+ "slider",
3067
+ "spinbutton",
3068
+ "status",
3069
+ "switch",
3070
+ "tab",
3071
+ "table",
3072
+ "tablist",
3073
+ "tabpanel",
3074
+ "term",
3075
+ "textbox",
3076
+ "timer",
3077
+ "toolbar",
3078
+ "tooltip",
3079
+ "tree",
3080
+ "treegrid",
3081
+ "treeitem",
3082
+ ],
3083
+ Var[
3084
+ Literal[
3085
+ "alert",
3086
+ "alertdialog",
3087
+ "application",
3088
+ "article",
3089
+ "banner",
3090
+ "button",
3091
+ "cell",
3092
+ "checkbox",
3093
+ "columnheader",
3094
+ "combobox",
3095
+ "complementary",
3096
+ "contentinfo",
3097
+ "definition",
3098
+ "dialog",
3099
+ "directory",
3100
+ "document",
3101
+ "feed",
3102
+ "figure",
3103
+ "form",
3104
+ "grid",
3105
+ "gridcell",
3106
+ "group",
3107
+ "heading",
3108
+ "img",
3109
+ "link",
3110
+ "list",
3111
+ "listbox",
3112
+ "listitem",
3113
+ "log",
3114
+ "main",
3115
+ "marquee",
3116
+ "math",
3117
+ "menu",
3118
+ "menubar",
3119
+ "menuitem",
3120
+ "menuitemcheckbox",
3121
+ "menuitemradio",
3122
+ "navigation",
3123
+ "none",
3124
+ "note",
3125
+ "option",
3126
+ "presentation",
3127
+ "progressbar",
3128
+ "radio",
3129
+ "radiogroup",
3130
+ "region",
3131
+ "row",
3132
+ "rowgroup",
3133
+ "rowheader",
3134
+ "scrollbar",
3135
+ "search",
3136
+ "searchbox",
3137
+ "separator",
3138
+ "slider",
3139
+ "spinbutton",
3140
+ "status",
3141
+ "switch",
3142
+ "tab",
3143
+ "table",
3144
+ "tablist",
3145
+ "tabpanel",
3146
+ "term",
3147
+ "textbox",
3148
+ "timer",
3149
+ "toolbar",
3150
+ "tooltip",
3151
+ "tree",
3152
+ "treegrid",
3153
+ "treeitem",
3154
+ ]
3155
+ ],
3156
+ ]
3157
+ ] = None,
3158
+ slot: Optional[Union[Var[str], str]] = None,
3159
+ spell_check: Optional[Union[Var[bool], bool]] = None,
3160
+ tab_index: Optional[Union[Var[int], int]] = None,
3161
+ title: Optional[Union[Var[str], str]] = None,
990
3162
  style: Optional[Style] = None,
991
3163
  key: Optional[Any] = None,
992
3164
  id: Optional[Any] = None,
@@ -1049,30 +3221,211 @@ class Main(BaseHTML):
1049
3221
  def create( # type: ignore
1050
3222
  cls,
1051
3223
  *children,
1052
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3224
+ access_key: Optional[Union[Var[str], str]] = None,
1053
3225
  auto_capitalize: Optional[
1054
- Union[Var[Union[bool, int, str]], bool, int, str]
3226
+ Union[
3227
+ Literal["characters", "none", "off", "on", "sentences", "words"],
3228
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
3229
+ ]
1055
3230
  ] = None,
1056
3231
  content_editable: Optional[
1057
- Union[Var[Union[bool, int, str]], bool, int, str]
1058
- ] = None,
1059
- context_menu: Optional[
1060
- Union[Var[Union[bool, int, str]], bool, int, str]
3232
+ Union[
3233
+ Literal["inherit", "plaintext-only", False, True],
3234
+ Var[Literal["inherit", "plaintext-only", False, True]],
3235
+ ]
1061
3236
  ] = None,
1062
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1063
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3237
+ context_menu: Optional[Union[Var[str], str]] = None,
3238
+ dir: Optional[Union[Var[str], str]] = None,
3239
+ draggable: Optional[Union[Var[bool], bool]] = None,
1064
3240
  enter_key_hint: Optional[
1065
- Union[Var[Union[bool, int, str]], bool, int, str]
1066
- ] = None,
1067
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1068
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1069
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1070
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1071
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1072
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1073
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1074
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1075
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3241
+ Union[
3242
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
3243
+ Var[
3244
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
3245
+ ],
3246
+ ]
3247
+ ] = None,
3248
+ hidden: Optional[Union[Var[bool], bool]] = None,
3249
+ input_mode: Optional[
3250
+ Union[
3251
+ Literal[
3252
+ "decimal",
3253
+ "email",
3254
+ "none",
3255
+ "numeric",
3256
+ "search",
3257
+ "tel",
3258
+ "text",
3259
+ "url",
3260
+ ],
3261
+ Var[
3262
+ Literal[
3263
+ "decimal",
3264
+ "email",
3265
+ "none",
3266
+ "numeric",
3267
+ "search",
3268
+ "tel",
3269
+ "text",
3270
+ "url",
3271
+ ]
3272
+ ],
3273
+ ]
3274
+ ] = None,
3275
+ item_prop: Optional[Union[Var[str], str]] = None,
3276
+ lang: Optional[Union[Var[str], str]] = None,
3277
+ role: Optional[
3278
+ Union[
3279
+ Literal[
3280
+ "alert",
3281
+ "alertdialog",
3282
+ "application",
3283
+ "article",
3284
+ "banner",
3285
+ "button",
3286
+ "cell",
3287
+ "checkbox",
3288
+ "columnheader",
3289
+ "combobox",
3290
+ "complementary",
3291
+ "contentinfo",
3292
+ "definition",
3293
+ "dialog",
3294
+ "directory",
3295
+ "document",
3296
+ "feed",
3297
+ "figure",
3298
+ "form",
3299
+ "grid",
3300
+ "gridcell",
3301
+ "group",
3302
+ "heading",
3303
+ "img",
3304
+ "link",
3305
+ "list",
3306
+ "listbox",
3307
+ "listitem",
3308
+ "log",
3309
+ "main",
3310
+ "marquee",
3311
+ "math",
3312
+ "menu",
3313
+ "menubar",
3314
+ "menuitem",
3315
+ "menuitemcheckbox",
3316
+ "menuitemradio",
3317
+ "navigation",
3318
+ "none",
3319
+ "note",
3320
+ "option",
3321
+ "presentation",
3322
+ "progressbar",
3323
+ "radio",
3324
+ "radiogroup",
3325
+ "region",
3326
+ "row",
3327
+ "rowgroup",
3328
+ "rowheader",
3329
+ "scrollbar",
3330
+ "search",
3331
+ "searchbox",
3332
+ "separator",
3333
+ "slider",
3334
+ "spinbutton",
3335
+ "status",
3336
+ "switch",
3337
+ "tab",
3338
+ "table",
3339
+ "tablist",
3340
+ "tabpanel",
3341
+ "term",
3342
+ "textbox",
3343
+ "timer",
3344
+ "toolbar",
3345
+ "tooltip",
3346
+ "tree",
3347
+ "treegrid",
3348
+ "treeitem",
3349
+ ],
3350
+ Var[
3351
+ Literal[
3352
+ "alert",
3353
+ "alertdialog",
3354
+ "application",
3355
+ "article",
3356
+ "banner",
3357
+ "button",
3358
+ "cell",
3359
+ "checkbox",
3360
+ "columnheader",
3361
+ "combobox",
3362
+ "complementary",
3363
+ "contentinfo",
3364
+ "definition",
3365
+ "dialog",
3366
+ "directory",
3367
+ "document",
3368
+ "feed",
3369
+ "figure",
3370
+ "form",
3371
+ "grid",
3372
+ "gridcell",
3373
+ "group",
3374
+ "heading",
3375
+ "img",
3376
+ "link",
3377
+ "list",
3378
+ "listbox",
3379
+ "listitem",
3380
+ "log",
3381
+ "main",
3382
+ "marquee",
3383
+ "math",
3384
+ "menu",
3385
+ "menubar",
3386
+ "menuitem",
3387
+ "menuitemcheckbox",
3388
+ "menuitemradio",
3389
+ "navigation",
3390
+ "none",
3391
+ "note",
3392
+ "option",
3393
+ "presentation",
3394
+ "progressbar",
3395
+ "radio",
3396
+ "radiogroup",
3397
+ "region",
3398
+ "row",
3399
+ "rowgroup",
3400
+ "rowheader",
3401
+ "scrollbar",
3402
+ "search",
3403
+ "searchbox",
3404
+ "separator",
3405
+ "slider",
3406
+ "spinbutton",
3407
+ "status",
3408
+ "switch",
3409
+ "tab",
3410
+ "table",
3411
+ "tablist",
3412
+ "tabpanel",
3413
+ "term",
3414
+ "textbox",
3415
+ "timer",
3416
+ "toolbar",
3417
+ "tooltip",
3418
+ "tree",
3419
+ "treegrid",
3420
+ "treeitem",
3421
+ ]
3422
+ ],
3423
+ ]
3424
+ ] = None,
3425
+ slot: Optional[Union[Var[str], str]] = None,
3426
+ spell_check: Optional[Union[Var[bool], bool]] = None,
3427
+ tab_index: Optional[Union[Var[int], int]] = None,
3428
+ title: Optional[Union[Var[str], str]] = None,
1076
3429
  style: Optional[Style] = None,
1077
3430
  key: Optional[Any] = None,
1078
3431
  id: Optional[Any] = None,
@@ -1135,30 +3488,211 @@ class Nav(BaseHTML):
1135
3488
  def create( # type: ignore
1136
3489
  cls,
1137
3490
  *children,
1138
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3491
+ access_key: Optional[Union[Var[str], str]] = None,
1139
3492
  auto_capitalize: Optional[
1140
- Union[Var[Union[bool, int, str]], bool, int, str]
3493
+ Union[
3494
+ Literal["characters", "none", "off", "on", "sentences", "words"],
3495
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
3496
+ ]
1141
3497
  ] = None,
1142
3498
  content_editable: Optional[
1143
- Union[Var[Union[bool, int, str]], bool, int, str]
1144
- ] = None,
1145
- context_menu: Optional[
1146
- Union[Var[Union[bool, int, str]], bool, int, str]
3499
+ Union[
3500
+ Literal["inherit", "plaintext-only", False, True],
3501
+ Var[Literal["inherit", "plaintext-only", False, True]],
3502
+ ]
1147
3503
  ] = None,
1148
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1149
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3504
+ context_menu: Optional[Union[Var[str], str]] = None,
3505
+ dir: Optional[Union[Var[str], str]] = None,
3506
+ draggable: Optional[Union[Var[bool], bool]] = None,
1150
3507
  enter_key_hint: Optional[
1151
- Union[Var[Union[bool, int, str]], bool, int, str]
1152
- ] = None,
1153
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1154
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1155
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1156
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1157
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1158
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1159
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1160
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1161
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3508
+ Union[
3509
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
3510
+ Var[
3511
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
3512
+ ],
3513
+ ]
3514
+ ] = None,
3515
+ hidden: Optional[Union[Var[bool], bool]] = None,
3516
+ input_mode: Optional[
3517
+ Union[
3518
+ Literal[
3519
+ "decimal",
3520
+ "email",
3521
+ "none",
3522
+ "numeric",
3523
+ "search",
3524
+ "tel",
3525
+ "text",
3526
+ "url",
3527
+ ],
3528
+ Var[
3529
+ Literal[
3530
+ "decimal",
3531
+ "email",
3532
+ "none",
3533
+ "numeric",
3534
+ "search",
3535
+ "tel",
3536
+ "text",
3537
+ "url",
3538
+ ]
3539
+ ],
3540
+ ]
3541
+ ] = None,
3542
+ item_prop: Optional[Union[Var[str], str]] = None,
3543
+ lang: Optional[Union[Var[str], str]] = None,
3544
+ role: Optional[
3545
+ Union[
3546
+ Literal[
3547
+ "alert",
3548
+ "alertdialog",
3549
+ "application",
3550
+ "article",
3551
+ "banner",
3552
+ "button",
3553
+ "cell",
3554
+ "checkbox",
3555
+ "columnheader",
3556
+ "combobox",
3557
+ "complementary",
3558
+ "contentinfo",
3559
+ "definition",
3560
+ "dialog",
3561
+ "directory",
3562
+ "document",
3563
+ "feed",
3564
+ "figure",
3565
+ "form",
3566
+ "grid",
3567
+ "gridcell",
3568
+ "group",
3569
+ "heading",
3570
+ "img",
3571
+ "link",
3572
+ "list",
3573
+ "listbox",
3574
+ "listitem",
3575
+ "log",
3576
+ "main",
3577
+ "marquee",
3578
+ "math",
3579
+ "menu",
3580
+ "menubar",
3581
+ "menuitem",
3582
+ "menuitemcheckbox",
3583
+ "menuitemradio",
3584
+ "navigation",
3585
+ "none",
3586
+ "note",
3587
+ "option",
3588
+ "presentation",
3589
+ "progressbar",
3590
+ "radio",
3591
+ "radiogroup",
3592
+ "region",
3593
+ "row",
3594
+ "rowgroup",
3595
+ "rowheader",
3596
+ "scrollbar",
3597
+ "search",
3598
+ "searchbox",
3599
+ "separator",
3600
+ "slider",
3601
+ "spinbutton",
3602
+ "status",
3603
+ "switch",
3604
+ "tab",
3605
+ "table",
3606
+ "tablist",
3607
+ "tabpanel",
3608
+ "term",
3609
+ "textbox",
3610
+ "timer",
3611
+ "toolbar",
3612
+ "tooltip",
3613
+ "tree",
3614
+ "treegrid",
3615
+ "treeitem",
3616
+ ],
3617
+ Var[
3618
+ Literal[
3619
+ "alert",
3620
+ "alertdialog",
3621
+ "application",
3622
+ "article",
3623
+ "banner",
3624
+ "button",
3625
+ "cell",
3626
+ "checkbox",
3627
+ "columnheader",
3628
+ "combobox",
3629
+ "complementary",
3630
+ "contentinfo",
3631
+ "definition",
3632
+ "dialog",
3633
+ "directory",
3634
+ "document",
3635
+ "feed",
3636
+ "figure",
3637
+ "form",
3638
+ "grid",
3639
+ "gridcell",
3640
+ "group",
3641
+ "heading",
3642
+ "img",
3643
+ "link",
3644
+ "list",
3645
+ "listbox",
3646
+ "listitem",
3647
+ "log",
3648
+ "main",
3649
+ "marquee",
3650
+ "math",
3651
+ "menu",
3652
+ "menubar",
3653
+ "menuitem",
3654
+ "menuitemcheckbox",
3655
+ "menuitemradio",
3656
+ "navigation",
3657
+ "none",
3658
+ "note",
3659
+ "option",
3660
+ "presentation",
3661
+ "progressbar",
3662
+ "radio",
3663
+ "radiogroup",
3664
+ "region",
3665
+ "row",
3666
+ "rowgroup",
3667
+ "rowheader",
3668
+ "scrollbar",
3669
+ "search",
3670
+ "searchbox",
3671
+ "separator",
3672
+ "slider",
3673
+ "spinbutton",
3674
+ "status",
3675
+ "switch",
3676
+ "tab",
3677
+ "table",
3678
+ "tablist",
3679
+ "tabpanel",
3680
+ "term",
3681
+ "textbox",
3682
+ "timer",
3683
+ "toolbar",
3684
+ "tooltip",
3685
+ "tree",
3686
+ "treegrid",
3687
+ "treeitem",
3688
+ ]
3689
+ ],
3690
+ ]
3691
+ ] = None,
3692
+ slot: Optional[Union[Var[str], str]] = None,
3693
+ spell_check: Optional[Union[Var[bool], bool]] = None,
3694
+ tab_index: Optional[Union[Var[int], int]] = None,
3695
+ title: Optional[Union[Var[str], str]] = None,
1162
3696
  style: Optional[Style] = None,
1163
3697
  key: Optional[Any] = None,
1164
3698
  id: Optional[Any] = None,
@@ -1221,30 +3755,211 @@ class Section(BaseHTML):
1221
3755
  def create( # type: ignore
1222
3756
  cls,
1223
3757
  *children,
1224
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3758
+ access_key: Optional[Union[Var[str], str]] = None,
1225
3759
  auto_capitalize: Optional[
1226
- Union[Var[Union[bool, int, str]], bool, int, str]
3760
+ Union[
3761
+ Literal["characters", "none", "off", "on", "sentences", "words"],
3762
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
3763
+ ]
1227
3764
  ] = None,
1228
3765
  content_editable: Optional[
1229
- Union[Var[Union[bool, int, str]], bool, int, str]
1230
- ] = None,
1231
- context_menu: Optional[
1232
- Union[Var[Union[bool, int, str]], bool, int, str]
3766
+ Union[
3767
+ Literal["inherit", "plaintext-only", False, True],
3768
+ Var[Literal["inherit", "plaintext-only", False, True]],
3769
+ ]
1233
3770
  ] = None,
1234
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1235
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3771
+ context_menu: Optional[Union[Var[str], str]] = None,
3772
+ dir: Optional[Union[Var[str], str]] = None,
3773
+ draggable: Optional[Union[Var[bool], bool]] = None,
1236
3774
  enter_key_hint: Optional[
1237
- Union[Var[Union[bool, int, str]], bool, int, str]
1238
- ] = None,
1239
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1240
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1241
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1242
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1243
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1244
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1245
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1246
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1247
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
3775
+ Union[
3776
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
3777
+ Var[
3778
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
3779
+ ],
3780
+ ]
3781
+ ] = None,
3782
+ hidden: Optional[Union[Var[bool], bool]] = None,
3783
+ input_mode: Optional[
3784
+ Union[
3785
+ Literal[
3786
+ "decimal",
3787
+ "email",
3788
+ "none",
3789
+ "numeric",
3790
+ "search",
3791
+ "tel",
3792
+ "text",
3793
+ "url",
3794
+ ],
3795
+ Var[
3796
+ Literal[
3797
+ "decimal",
3798
+ "email",
3799
+ "none",
3800
+ "numeric",
3801
+ "search",
3802
+ "tel",
3803
+ "text",
3804
+ "url",
3805
+ ]
3806
+ ],
3807
+ ]
3808
+ ] = None,
3809
+ item_prop: Optional[Union[Var[str], str]] = None,
3810
+ lang: Optional[Union[Var[str], str]] = None,
3811
+ role: Optional[
3812
+ Union[
3813
+ Literal[
3814
+ "alert",
3815
+ "alertdialog",
3816
+ "application",
3817
+ "article",
3818
+ "banner",
3819
+ "button",
3820
+ "cell",
3821
+ "checkbox",
3822
+ "columnheader",
3823
+ "combobox",
3824
+ "complementary",
3825
+ "contentinfo",
3826
+ "definition",
3827
+ "dialog",
3828
+ "directory",
3829
+ "document",
3830
+ "feed",
3831
+ "figure",
3832
+ "form",
3833
+ "grid",
3834
+ "gridcell",
3835
+ "group",
3836
+ "heading",
3837
+ "img",
3838
+ "link",
3839
+ "list",
3840
+ "listbox",
3841
+ "listitem",
3842
+ "log",
3843
+ "main",
3844
+ "marquee",
3845
+ "math",
3846
+ "menu",
3847
+ "menubar",
3848
+ "menuitem",
3849
+ "menuitemcheckbox",
3850
+ "menuitemradio",
3851
+ "navigation",
3852
+ "none",
3853
+ "note",
3854
+ "option",
3855
+ "presentation",
3856
+ "progressbar",
3857
+ "radio",
3858
+ "radiogroup",
3859
+ "region",
3860
+ "row",
3861
+ "rowgroup",
3862
+ "rowheader",
3863
+ "scrollbar",
3864
+ "search",
3865
+ "searchbox",
3866
+ "separator",
3867
+ "slider",
3868
+ "spinbutton",
3869
+ "status",
3870
+ "switch",
3871
+ "tab",
3872
+ "table",
3873
+ "tablist",
3874
+ "tabpanel",
3875
+ "term",
3876
+ "textbox",
3877
+ "timer",
3878
+ "toolbar",
3879
+ "tooltip",
3880
+ "tree",
3881
+ "treegrid",
3882
+ "treeitem",
3883
+ ],
3884
+ Var[
3885
+ Literal[
3886
+ "alert",
3887
+ "alertdialog",
3888
+ "application",
3889
+ "article",
3890
+ "banner",
3891
+ "button",
3892
+ "cell",
3893
+ "checkbox",
3894
+ "columnheader",
3895
+ "combobox",
3896
+ "complementary",
3897
+ "contentinfo",
3898
+ "definition",
3899
+ "dialog",
3900
+ "directory",
3901
+ "document",
3902
+ "feed",
3903
+ "figure",
3904
+ "form",
3905
+ "grid",
3906
+ "gridcell",
3907
+ "group",
3908
+ "heading",
3909
+ "img",
3910
+ "link",
3911
+ "list",
3912
+ "listbox",
3913
+ "listitem",
3914
+ "log",
3915
+ "main",
3916
+ "marquee",
3917
+ "math",
3918
+ "menu",
3919
+ "menubar",
3920
+ "menuitem",
3921
+ "menuitemcheckbox",
3922
+ "menuitemradio",
3923
+ "navigation",
3924
+ "none",
3925
+ "note",
3926
+ "option",
3927
+ "presentation",
3928
+ "progressbar",
3929
+ "radio",
3930
+ "radiogroup",
3931
+ "region",
3932
+ "row",
3933
+ "rowgroup",
3934
+ "rowheader",
3935
+ "scrollbar",
3936
+ "search",
3937
+ "searchbox",
3938
+ "separator",
3939
+ "slider",
3940
+ "spinbutton",
3941
+ "status",
3942
+ "switch",
3943
+ "tab",
3944
+ "table",
3945
+ "tablist",
3946
+ "tabpanel",
3947
+ "term",
3948
+ "textbox",
3949
+ "timer",
3950
+ "toolbar",
3951
+ "tooltip",
3952
+ "tree",
3953
+ "treegrid",
3954
+ "treeitem",
3955
+ ]
3956
+ ],
3957
+ ]
3958
+ ] = None,
3959
+ slot: Optional[Union[Var[str], str]] = None,
3960
+ spell_check: Optional[Union[Var[bool], bool]] = None,
3961
+ tab_index: Optional[Union[Var[int], int]] = None,
3962
+ title: Optional[Union[Var[str], str]] = None,
1248
3963
  style: Optional[Style] = None,
1249
3964
  key: Optional[Any] = None,
1250
3965
  id: Optional[Any] = None,