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
@@ -21,30 +21,211 @@ class Sidebar(Box, MemoizationLeaf):
21
21
  def create( # type: ignore
22
22
  cls,
23
23
  *children,
24
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
24
+ access_key: Optional[Union[Var[str], str]] = None,
25
25
  auto_capitalize: Optional[
26
- Union[Var[Union[bool, int, str]], bool, int, str]
26
+ Union[
27
+ Literal["characters", "none", "off", "on", "sentences", "words"],
28
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
29
+ ]
27
30
  ] = None,
28
31
  content_editable: Optional[
29
- Union[Var[Union[bool, int, str]], bool, int, str]
30
- ] = None,
31
- context_menu: Optional[
32
- Union[Var[Union[bool, int, str]], bool, int, str]
32
+ Union[
33
+ Literal["inherit", "plaintext-only", False, True],
34
+ Var[Literal["inherit", "plaintext-only", False, True]],
35
+ ]
33
36
  ] = None,
34
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
35
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
37
+ context_menu: Optional[Union[Var[str], str]] = None,
38
+ dir: Optional[Union[Var[str], str]] = None,
39
+ draggable: Optional[Union[Var[bool], bool]] = None,
36
40
  enter_key_hint: Optional[
37
- Union[Var[Union[bool, int, str]], bool, int, str]
41
+ Union[
42
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
43
+ Var[
44
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
45
+ ],
46
+ ]
47
+ ] = None,
48
+ hidden: Optional[Union[Var[bool], bool]] = None,
49
+ input_mode: Optional[
50
+ Union[
51
+ Literal[
52
+ "decimal",
53
+ "email",
54
+ "none",
55
+ "numeric",
56
+ "search",
57
+ "tel",
58
+ "text",
59
+ "url",
60
+ ],
61
+ Var[
62
+ Literal[
63
+ "decimal",
64
+ "email",
65
+ "none",
66
+ "numeric",
67
+ "search",
68
+ "tel",
69
+ "text",
70
+ "url",
71
+ ]
72
+ ],
73
+ ]
38
74
  ] = None,
39
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
40
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
41
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
42
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
43
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
44
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
45
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
46
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
47
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
75
+ item_prop: Optional[Union[Var[str], str]] = None,
76
+ lang: Optional[Union[Var[str], str]] = None,
77
+ role: Optional[
78
+ Union[
79
+ Literal[
80
+ "alert",
81
+ "alertdialog",
82
+ "application",
83
+ "article",
84
+ "banner",
85
+ "button",
86
+ "cell",
87
+ "checkbox",
88
+ "columnheader",
89
+ "combobox",
90
+ "complementary",
91
+ "contentinfo",
92
+ "definition",
93
+ "dialog",
94
+ "directory",
95
+ "document",
96
+ "feed",
97
+ "figure",
98
+ "form",
99
+ "grid",
100
+ "gridcell",
101
+ "group",
102
+ "heading",
103
+ "img",
104
+ "link",
105
+ "list",
106
+ "listbox",
107
+ "listitem",
108
+ "log",
109
+ "main",
110
+ "marquee",
111
+ "math",
112
+ "menu",
113
+ "menubar",
114
+ "menuitem",
115
+ "menuitemcheckbox",
116
+ "menuitemradio",
117
+ "navigation",
118
+ "none",
119
+ "note",
120
+ "option",
121
+ "presentation",
122
+ "progressbar",
123
+ "radio",
124
+ "radiogroup",
125
+ "region",
126
+ "row",
127
+ "rowgroup",
128
+ "rowheader",
129
+ "scrollbar",
130
+ "search",
131
+ "searchbox",
132
+ "separator",
133
+ "slider",
134
+ "spinbutton",
135
+ "status",
136
+ "switch",
137
+ "tab",
138
+ "table",
139
+ "tablist",
140
+ "tabpanel",
141
+ "term",
142
+ "textbox",
143
+ "timer",
144
+ "toolbar",
145
+ "tooltip",
146
+ "tree",
147
+ "treegrid",
148
+ "treeitem",
149
+ ],
150
+ Var[
151
+ Literal[
152
+ "alert",
153
+ "alertdialog",
154
+ "application",
155
+ "article",
156
+ "banner",
157
+ "button",
158
+ "cell",
159
+ "checkbox",
160
+ "columnheader",
161
+ "combobox",
162
+ "complementary",
163
+ "contentinfo",
164
+ "definition",
165
+ "dialog",
166
+ "directory",
167
+ "document",
168
+ "feed",
169
+ "figure",
170
+ "form",
171
+ "grid",
172
+ "gridcell",
173
+ "group",
174
+ "heading",
175
+ "img",
176
+ "link",
177
+ "list",
178
+ "listbox",
179
+ "listitem",
180
+ "log",
181
+ "main",
182
+ "marquee",
183
+ "math",
184
+ "menu",
185
+ "menubar",
186
+ "menuitem",
187
+ "menuitemcheckbox",
188
+ "menuitemradio",
189
+ "navigation",
190
+ "none",
191
+ "note",
192
+ "option",
193
+ "presentation",
194
+ "progressbar",
195
+ "radio",
196
+ "radiogroup",
197
+ "region",
198
+ "row",
199
+ "rowgroup",
200
+ "rowheader",
201
+ "scrollbar",
202
+ "search",
203
+ "searchbox",
204
+ "separator",
205
+ "slider",
206
+ "spinbutton",
207
+ "status",
208
+ "switch",
209
+ "tab",
210
+ "table",
211
+ "tablist",
212
+ "tabpanel",
213
+ "term",
214
+ "textbox",
215
+ "timer",
216
+ "toolbar",
217
+ "tooltip",
218
+ "tree",
219
+ "treegrid",
220
+ "treeitem",
221
+ ]
222
+ ],
223
+ ]
224
+ ] = None,
225
+ slot: Optional[Union[Var[str], str]] = None,
226
+ spell_check: Optional[Union[Var[bool], bool]] = None,
227
+ tab_index: Optional[Union[Var[int], int]] = None,
228
+ title: Optional[Union[Var[str], str]] = None,
48
229
  style: Optional[Style] = None,
49
230
  key: Optional[Any] = None,
50
231
  id: Optional[Any] = None,
@@ -204,30 +385,211 @@ class Layout(Box):
204
385
  cls,
205
386
  *children,
206
387
  sidebar: Optional[Component] = None,
207
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
388
+ access_key: Optional[Union[Var[str], str]] = None,
208
389
  auto_capitalize: Optional[
209
- Union[Var[Union[bool, int, str]], bool, int, str]
390
+ Union[
391
+ Literal["characters", "none", "off", "on", "sentences", "words"],
392
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
393
+ ]
210
394
  ] = None,
211
395
  content_editable: Optional[
212
- Union[Var[Union[bool, int, str]], bool, int, str]
213
- ] = None,
214
- context_menu: Optional[
215
- Union[Var[Union[bool, int, str]], bool, int, str]
396
+ Union[
397
+ Literal["inherit", "plaintext-only", False, True],
398
+ Var[Literal["inherit", "plaintext-only", False, True]],
399
+ ]
216
400
  ] = None,
217
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
218
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
401
+ context_menu: Optional[Union[Var[str], str]] = None,
402
+ dir: Optional[Union[Var[str], str]] = None,
403
+ draggable: Optional[Union[Var[bool], bool]] = None,
219
404
  enter_key_hint: Optional[
220
- Union[Var[Union[bool, int, str]], bool, int, str]
405
+ Union[
406
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
407
+ Var[
408
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
409
+ ],
410
+ ]
221
411
  ] = None,
222
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
223
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
224
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
225
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
226
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
227
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
228
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
229
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
230
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
412
+ hidden: Optional[Union[Var[bool], bool]] = None,
413
+ input_mode: Optional[
414
+ Union[
415
+ Literal[
416
+ "decimal",
417
+ "email",
418
+ "none",
419
+ "numeric",
420
+ "search",
421
+ "tel",
422
+ "text",
423
+ "url",
424
+ ],
425
+ Var[
426
+ Literal[
427
+ "decimal",
428
+ "email",
429
+ "none",
430
+ "numeric",
431
+ "search",
432
+ "tel",
433
+ "text",
434
+ "url",
435
+ ]
436
+ ],
437
+ ]
438
+ ] = None,
439
+ item_prop: Optional[Union[Var[str], str]] = None,
440
+ lang: Optional[Union[Var[str], str]] = None,
441
+ role: Optional[
442
+ Union[
443
+ Literal[
444
+ "alert",
445
+ "alertdialog",
446
+ "application",
447
+ "article",
448
+ "banner",
449
+ "button",
450
+ "cell",
451
+ "checkbox",
452
+ "columnheader",
453
+ "combobox",
454
+ "complementary",
455
+ "contentinfo",
456
+ "definition",
457
+ "dialog",
458
+ "directory",
459
+ "document",
460
+ "feed",
461
+ "figure",
462
+ "form",
463
+ "grid",
464
+ "gridcell",
465
+ "group",
466
+ "heading",
467
+ "img",
468
+ "link",
469
+ "list",
470
+ "listbox",
471
+ "listitem",
472
+ "log",
473
+ "main",
474
+ "marquee",
475
+ "math",
476
+ "menu",
477
+ "menubar",
478
+ "menuitem",
479
+ "menuitemcheckbox",
480
+ "menuitemradio",
481
+ "navigation",
482
+ "none",
483
+ "note",
484
+ "option",
485
+ "presentation",
486
+ "progressbar",
487
+ "radio",
488
+ "radiogroup",
489
+ "region",
490
+ "row",
491
+ "rowgroup",
492
+ "rowheader",
493
+ "scrollbar",
494
+ "search",
495
+ "searchbox",
496
+ "separator",
497
+ "slider",
498
+ "spinbutton",
499
+ "status",
500
+ "switch",
501
+ "tab",
502
+ "table",
503
+ "tablist",
504
+ "tabpanel",
505
+ "term",
506
+ "textbox",
507
+ "timer",
508
+ "toolbar",
509
+ "tooltip",
510
+ "tree",
511
+ "treegrid",
512
+ "treeitem",
513
+ ],
514
+ Var[
515
+ Literal[
516
+ "alert",
517
+ "alertdialog",
518
+ "application",
519
+ "article",
520
+ "banner",
521
+ "button",
522
+ "cell",
523
+ "checkbox",
524
+ "columnheader",
525
+ "combobox",
526
+ "complementary",
527
+ "contentinfo",
528
+ "definition",
529
+ "dialog",
530
+ "directory",
531
+ "document",
532
+ "feed",
533
+ "figure",
534
+ "form",
535
+ "grid",
536
+ "gridcell",
537
+ "group",
538
+ "heading",
539
+ "img",
540
+ "link",
541
+ "list",
542
+ "listbox",
543
+ "listitem",
544
+ "log",
545
+ "main",
546
+ "marquee",
547
+ "math",
548
+ "menu",
549
+ "menubar",
550
+ "menuitem",
551
+ "menuitemcheckbox",
552
+ "menuitemradio",
553
+ "navigation",
554
+ "none",
555
+ "note",
556
+ "option",
557
+ "presentation",
558
+ "progressbar",
559
+ "radio",
560
+ "radiogroup",
561
+ "region",
562
+ "row",
563
+ "rowgroup",
564
+ "rowheader",
565
+ "scrollbar",
566
+ "search",
567
+ "searchbox",
568
+ "separator",
569
+ "slider",
570
+ "spinbutton",
571
+ "status",
572
+ "switch",
573
+ "tab",
574
+ "table",
575
+ "tablist",
576
+ "tabpanel",
577
+ "term",
578
+ "textbox",
579
+ "timer",
580
+ "toolbar",
581
+ "tooltip",
582
+ "tree",
583
+ "treegrid",
584
+ "treeitem",
585
+ ]
586
+ ],
587
+ ]
588
+ ] = None,
589
+ slot: Optional[Union[Var[str], str]] = None,
590
+ spell_check: Optional[Union[Var[bool], bool]] = None,
591
+ tab_index: Optional[Union[Var[int], int]] = None,
592
+ title: Optional[Union[Var[str], str]] = None,
231
593
  style: Optional[Style] = None,
232
594
  key: Optional[Any] = None,
233
595
  id: Optional[Any] = None,
@@ -272,30 +634,211 @@ class LayoutNamespace(ComponentNamespace):
272
634
  def __call__(
273
635
  *children,
274
636
  sidebar: Optional[Component] = None,
275
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
637
+ access_key: Optional[Union[Var[str], str]] = None,
276
638
  auto_capitalize: Optional[
277
- Union[Var[Union[bool, int, str]], bool, int, str]
639
+ Union[
640
+ Literal["characters", "none", "off", "on", "sentences", "words"],
641
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
642
+ ]
278
643
  ] = None,
279
644
  content_editable: Optional[
280
- Union[Var[Union[bool, int, str]], bool, int, str]
281
- ] = None,
282
- context_menu: Optional[
283
- Union[Var[Union[bool, int, str]], bool, int, str]
645
+ Union[
646
+ Literal["inherit", "plaintext-only", False, True],
647
+ Var[Literal["inherit", "plaintext-only", False, True]],
648
+ ]
284
649
  ] = None,
285
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
286
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
650
+ context_menu: Optional[Union[Var[str], str]] = None,
651
+ dir: Optional[Union[Var[str], str]] = None,
652
+ draggable: Optional[Union[Var[bool], bool]] = None,
287
653
  enter_key_hint: Optional[
288
- Union[Var[Union[bool, int, str]], bool, int, str]
654
+ Union[
655
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
656
+ Var[
657
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
658
+ ],
659
+ ]
660
+ ] = None,
661
+ hidden: Optional[Union[Var[bool], bool]] = None,
662
+ input_mode: Optional[
663
+ Union[
664
+ Literal[
665
+ "decimal",
666
+ "email",
667
+ "none",
668
+ "numeric",
669
+ "search",
670
+ "tel",
671
+ "text",
672
+ "url",
673
+ ],
674
+ Var[
675
+ Literal[
676
+ "decimal",
677
+ "email",
678
+ "none",
679
+ "numeric",
680
+ "search",
681
+ "tel",
682
+ "text",
683
+ "url",
684
+ ]
685
+ ],
686
+ ]
687
+ ] = None,
688
+ item_prop: Optional[Union[Var[str], str]] = None,
689
+ lang: Optional[Union[Var[str], str]] = None,
690
+ role: Optional[
691
+ Union[
692
+ Literal[
693
+ "alert",
694
+ "alertdialog",
695
+ "application",
696
+ "article",
697
+ "banner",
698
+ "button",
699
+ "cell",
700
+ "checkbox",
701
+ "columnheader",
702
+ "combobox",
703
+ "complementary",
704
+ "contentinfo",
705
+ "definition",
706
+ "dialog",
707
+ "directory",
708
+ "document",
709
+ "feed",
710
+ "figure",
711
+ "form",
712
+ "grid",
713
+ "gridcell",
714
+ "group",
715
+ "heading",
716
+ "img",
717
+ "link",
718
+ "list",
719
+ "listbox",
720
+ "listitem",
721
+ "log",
722
+ "main",
723
+ "marquee",
724
+ "math",
725
+ "menu",
726
+ "menubar",
727
+ "menuitem",
728
+ "menuitemcheckbox",
729
+ "menuitemradio",
730
+ "navigation",
731
+ "none",
732
+ "note",
733
+ "option",
734
+ "presentation",
735
+ "progressbar",
736
+ "radio",
737
+ "radiogroup",
738
+ "region",
739
+ "row",
740
+ "rowgroup",
741
+ "rowheader",
742
+ "scrollbar",
743
+ "search",
744
+ "searchbox",
745
+ "separator",
746
+ "slider",
747
+ "spinbutton",
748
+ "status",
749
+ "switch",
750
+ "tab",
751
+ "table",
752
+ "tablist",
753
+ "tabpanel",
754
+ "term",
755
+ "textbox",
756
+ "timer",
757
+ "toolbar",
758
+ "tooltip",
759
+ "tree",
760
+ "treegrid",
761
+ "treeitem",
762
+ ],
763
+ Var[
764
+ Literal[
765
+ "alert",
766
+ "alertdialog",
767
+ "application",
768
+ "article",
769
+ "banner",
770
+ "button",
771
+ "cell",
772
+ "checkbox",
773
+ "columnheader",
774
+ "combobox",
775
+ "complementary",
776
+ "contentinfo",
777
+ "definition",
778
+ "dialog",
779
+ "directory",
780
+ "document",
781
+ "feed",
782
+ "figure",
783
+ "form",
784
+ "grid",
785
+ "gridcell",
786
+ "group",
787
+ "heading",
788
+ "img",
789
+ "link",
790
+ "list",
791
+ "listbox",
792
+ "listitem",
793
+ "log",
794
+ "main",
795
+ "marquee",
796
+ "math",
797
+ "menu",
798
+ "menubar",
799
+ "menuitem",
800
+ "menuitemcheckbox",
801
+ "menuitemradio",
802
+ "navigation",
803
+ "none",
804
+ "note",
805
+ "option",
806
+ "presentation",
807
+ "progressbar",
808
+ "radio",
809
+ "radiogroup",
810
+ "region",
811
+ "row",
812
+ "rowgroup",
813
+ "rowheader",
814
+ "scrollbar",
815
+ "search",
816
+ "searchbox",
817
+ "separator",
818
+ "slider",
819
+ "spinbutton",
820
+ "status",
821
+ "switch",
822
+ "tab",
823
+ "table",
824
+ "tablist",
825
+ "tabpanel",
826
+ "term",
827
+ "textbox",
828
+ "timer",
829
+ "toolbar",
830
+ "tooltip",
831
+ "tree",
832
+ "treegrid",
833
+ "treeitem",
834
+ ]
835
+ ],
836
+ ]
289
837
  ] = None,
290
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
291
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
292
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
293
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
294
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
295
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
296
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
297
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
298
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
838
+ slot: Optional[Union[Var[str], str]] = None,
839
+ spell_check: Optional[Union[Var[bool], bool]] = None,
840
+ tab_index: Optional[Union[Var[int], int]] = None,
841
+ title: Optional[Union[Var[str], str]] = None,
299
842
  style: Optional[Style] = None,
300
843
  key: Optional[Any] = None,
301
844
  id: Optional[Any] = None,