reflex 0.7.0a5__py3-none-any.whl → 0.7.1a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of reflex might be problematic. Click here for more details.

Files changed (126) hide show
  1. reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -1
  2. reflex/__init__.py +1 -0
  3. reflex/__init__.pyi +1 -0
  4. reflex/app.py +255 -81
  5. reflex/base.py +4 -10
  6. reflex/compiler/compiler.py +46 -12
  7. reflex/compiler/templates.py +1 -2
  8. reflex/compiler/utils.py +23 -14
  9. reflex/components/base/bare.py +109 -16
  10. reflex/components/component.py +179 -124
  11. reflex/components/core/__init__.py +1 -0
  12. reflex/components/core/__init__.pyi +1 -0
  13. reflex/components/core/auto_scroll.py +111 -0
  14. reflex/components/core/auto_scroll.pyi +284 -0
  15. reflex/components/core/banner.py +40 -9
  16. reflex/components/core/banner.pyi +400 -87
  17. reflex/components/core/breakpoints.py +1 -1
  18. reflex/components/core/cond.py +0 -8
  19. reflex/components/core/foreach.py +12 -2
  20. reflex/components/core/html.pyi +200 -19
  21. reflex/components/core/match.py +4 -4
  22. reflex/components/core/sticky.pyi +874 -90
  23. reflex/components/core/upload.py +3 -5
  24. reflex/components/core/upload.pyi +2 -4
  25. reflex/components/datadisplay/code.py +36 -10
  26. reflex/components/datadisplay/code.pyi +1 -1
  27. reflex/components/datadisplay/dataeditor.py +1 -3
  28. reflex/components/datadisplay/dataeditor.pyi +1 -3
  29. reflex/components/el/elements/base.py +95 -17
  30. reflex/components/el/elements/base.pyi +278 -19
  31. reflex/components/el/elements/forms.py +124 -102
  32. reflex/components/el/elements/forms.pyi +2787 -365
  33. reflex/components/el/elements/inline.py +24 -15
  34. reflex/components/el/elements/inline.pyi +5655 -546
  35. reflex/components/el/elements/media.py +79 -95
  36. reflex/components/el/elements/media.pyi +5167 -565
  37. reflex/components/el/elements/metadata.py +19 -17
  38. reflex/components/el/elements/metadata.pyi +841 -89
  39. reflex/components/el/elements/other.py +3 -5
  40. reflex/components/el/elements/other.pyi +1404 -137
  41. reflex/components/el/elements/scripts.py +10 -13
  42. reflex/components/el/elements/scripts.pyi +634 -65
  43. reflex/components/el/elements/sectioning.pyi +3001 -286
  44. reflex/components/el/elements/tables.py +14 -35
  45. reflex/components/el/elements/tables.pyi +2029 -218
  46. reflex/components/el/elements/typography.py +10 -13
  47. reflex/components/el/elements/typography.pyi +3014 -297
  48. reflex/components/lucide/icon.py +22 -6
  49. reflex/components/markdown/markdown.py +30 -10
  50. reflex/components/markdown/markdown.pyi +3 -2
  51. reflex/components/plotly/plotly.py +1 -3
  52. reflex/components/plotly/plotly.pyi +1 -3
  53. reflex/components/radix/primitives/form.pyi +624 -93
  54. reflex/components/radix/themes/color_mode.py +1 -1
  55. reflex/components/radix/themes/color_mode.pyi +213 -31
  56. reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
  57. reflex/components/radix/themes/components/badge.pyi +199 -18
  58. reflex/components/radix/themes/components/button.pyi +213 -31
  59. reflex/components/radix/themes/components/callout.pyi +1000 -95
  60. reflex/components/radix/themes/components/card.pyi +199 -18
  61. reflex/components/radix/themes/components/context_menu.py +79 -1
  62. reflex/components/radix/themes/components/context_menu.pyi +320 -1
  63. reflex/components/radix/themes/components/dialog.pyi +199 -18
  64. reflex/components/radix/themes/components/hover_card.pyi +199 -18
  65. reflex/components/radix/themes/components/icon_button.pyi +213 -31
  66. reflex/components/radix/themes/components/inset.pyi +199 -18
  67. reflex/components/radix/themes/components/popover.pyi +199 -18
  68. reflex/components/radix/themes/components/table.pyi +1437 -154
  69. reflex/components/radix/themes/components/text_area.py +2 -2
  70. reflex/components/radix/themes/components/text_area.pyi +201 -20
  71. reflex/components/radix/themes/components/text_field.py +1 -1
  72. reflex/components/radix/themes/components/text_field.pyi +444 -88
  73. reflex/components/radix/themes/layout/box.pyi +200 -19
  74. reflex/components/radix/themes/layout/center.pyi +199 -18
  75. reflex/components/radix/themes/layout/container.pyi +199 -18
  76. reflex/components/radix/themes/layout/flex.pyi +199 -18
  77. reflex/components/radix/themes/layout/grid.pyi +199 -18
  78. reflex/components/radix/themes/layout/list.pyi +604 -57
  79. reflex/components/radix/themes/layout/section.pyi +199 -18
  80. reflex/components/radix/themes/layout/spacer.pyi +199 -18
  81. reflex/components/radix/themes/layout/stack.pyi +597 -54
  82. reflex/components/radix/themes/typography/blockquote.pyi +200 -19
  83. reflex/components/radix/themes/typography/code.pyi +199 -18
  84. reflex/components/radix/themes/typography/heading.pyi +199 -18
  85. reflex/components/radix/themes/typography/link.pyi +238 -28
  86. reflex/components/radix/themes/typography/text.pyi +1394 -127
  87. reflex/components/react_player/react_player.py +1 -1
  88. reflex/components/react_player/react_player.pyi +1 -3
  89. reflex/components/sonner/toast.py +41 -12
  90. reflex/components/sonner/toast.pyi +20 -6
  91. reflex/components/tags/iter_tag.py +4 -0
  92. reflex/components/tags/tag.py +3 -3
  93. reflex/config.py +187 -28
  94. reflex/constants/__init__.py +2 -0
  95. reflex/constants/base.py +6 -0
  96. reflex/constants/compiler.py +9 -0
  97. reflex/constants/event.py +1 -0
  98. reflex/constants/installer.py +4 -5
  99. reflex/constants/utils.py +1 -3
  100. reflex/event.py +7 -16
  101. reflex/experimental/layout.pyi +597 -54
  102. reflex/py.typed +0 -0
  103. reflex/reflex.py +30 -41
  104. reflex/state.py +49 -44
  105. reflex/style.py +15 -22
  106. reflex/testing.py +2 -0
  107. reflex/utils/build.py +12 -0
  108. reflex/utils/console.py +4 -0
  109. reflex/utils/decorator.py +25 -0
  110. reflex/utils/exec.py +92 -34
  111. reflex/utils/format.py +35 -6
  112. reflex/utils/path_ops.py +16 -1
  113. reflex/utils/prerequisites.py +34 -8
  114. reflex/utils/processes.py +12 -13
  115. reflex/utils/serializers.py +20 -43
  116. reflex/utils/telemetry.py +4 -15
  117. reflex/utils/types.py +36 -66
  118. reflex/vars/base.py +53 -76
  119. reflex/vars/function.py +17 -5
  120. reflex/vars/number.py +1 -1
  121. reflex/vars/sequence.py +80 -4
  122. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/METADATA +4 -5
  123. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/RECORD +126 -122
  124. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/LICENSE +0 -0
  125. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/WHEEL +0 -0
  126. {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/entry_points.txt +0 -0
@@ -72,30 +72,211 @@ class Stack(Flex):
72
72
  ],
73
73
  ]
74
74
  ] = None,
75
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
75
+ access_key: Optional[Union[Var[str], str]] = None,
76
76
  auto_capitalize: Optional[
77
- Union[Var[Union[bool, int, str]], bool, int, str]
77
+ Union[
78
+ Literal["characters", "none", "off", "on", "sentences", "words"],
79
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
80
+ ]
78
81
  ] = None,
79
82
  content_editable: Optional[
80
- Union[Var[Union[bool, int, str]], bool, int, str]
81
- ] = None,
82
- context_menu: Optional[
83
- Union[Var[Union[bool, int, str]], bool, int, str]
83
+ Union[
84
+ Literal["inherit", "plaintext-only", False, True],
85
+ Var[Literal["inherit", "plaintext-only", False, True]],
86
+ ]
84
87
  ] = None,
85
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
86
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
88
+ context_menu: Optional[Union[Var[str], str]] = None,
89
+ dir: Optional[Union[Var[str], str]] = None,
90
+ draggable: Optional[Union[Var[bool], bool]] = None,
87
91
  enter_key_hint: Optional[
88
- Union[Var[Union[bool, int, str]], bool, int, str]
92
+ Union[
93
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
94
+ Var[
95
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
96
+ ],
97
+ ]
89
98
  ] = None,
90
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
91
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
92
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
93
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
94
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
95
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
96
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
97
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
98
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
99
+ hidden: Optional[Union[Var[bool], bool]] = None,
100
+ input_mode: Optional[
101
+ Union[
102
+ Literal[
103
+ "decimal",
104
+ "email",
105
+ "none",
106
+ "numeric",
107
+ "search",
108
+ "tel",
109
+ "text",
110
+ "url",
111
+ ],
112
+ Var[
113
+ Literal[
114
+ "decimal",
115
+ "email",
116
+ "none",
117
+ "numeric",
118
+ "search",
119
+ "tel",
120
+ "text",
121
+ "url",
122
+ ]
123
+ ],
124
+ ]
125
+ ] = None,
126
+ item_prop: Optional[Union[Var[str], str]] = None,
127
+ lang: Optional[Union[Var[str], str]] = None,
128
+ role: Optional[
129
+ Union[
130
+ Literal[
131
+ "alert",
132
+ "alertdialog",
133
+ "application",
134
+ "article",
135
+ "banner",
136
+ "button",
137
+ "cell",
138
+ "checkbox",
139
+ "columnheader",
140
+ "combobox",
141
+ "complementary",
142
+ "contentinfo",
143
+ "definition",
144
+ "dialog",
145
+ "directory",
146
+ "document",
147
+ "feed",
148
+ "figure",
149
+ "form",
150
+ "grid",
151
+ "gridcell",
152
+ "group",
153
+ "heading",
154
+ "img",
155
+ "link",
156
+ "list",
157
+ "listbox",
158
+ "listitem",
159
+ "log",
160
+ "main",
161
+ "marquee",
162
+ "math",
163
+ "menu",
164
+ "menubar",
165
+ "menuitem",
166
+ "menuitemcheckbox",
167
+ "menuitemradio",
168
+ "navigation",
169
+ "none",
170
+ "note",
171
+ "option",
172
+ "presentation",
173
+ "progressbar",
174
+ "radio",
175
+ "radiogroup",
176
+ "region",
177
+ "row",
178
+ "rowgroup",
179
+ "rowheader",
180
+ "scrollbar",
181
+ "search",
182
+ "searchbox",
183
+ "separator",
184
+ "slider",
185
+ "spinbutton",
186
+ "status",
187
+ "switch",
188
+ "tab",
189
+ "table",
190
+ "tablist",
191
+ "tabpanel",
192
+ "term",
193
+ "textbox",
194
+ "timer",
195
+ "toolbar",
196
+ "tooltip",
197
+ "tree",
198
+ "treegrid",
199
+ "treeitem",
200
+ ],
201
+ Var[
202
+ Literal[
203
+ "alert",
204
+ "alertdialog",
205
+ "application",
206
+ "article",
207
+ "banner",
208
+ "button",
209
+ "cell",
210
+ "checkbox",
211
+ "columnheader",
212
+ "combobox",
213
+ "complementary",
214
+ "contentinfo",
215
+ "definition",
216
+ "dialog",
217
+ "directory",
218
+ "document",
219
+ "feed",
220
+ "figure",
221
+ "form",
222
+ "grid",
223
+ "gridcell",
224
+ "group",
225
+ "heading",
226
+ "img",
227
+ "link",
228
+ "list",
229
+ "listbox",
230
+ "listitem",
231
+ "log",
232
+ "main",
233
+ "marquee",
234
+ "math",
235
+ "menu",
236
+ "menubar",
237
+ "menuitem",
238
+ "menuitemcheckbox",
239
+ "menuitemradio",
240
+ "navigation",
241
+ "none",
242
+ "note",
243
+ "option",
244
+ "presentation",
245
+ "progressbar",
246
+ "radio",
247
+ "radiogroup",
248
+ "region",
249
+ "row",
250
+ "rowgroup",
251
+ "rowheader",
252
+ "scrollbar",
253
+ "search",
254
+ "searchbox",
255
+ "separator",
256
+ "slider",
257
+ "spinbutton",
258
+ "status",
259
+ "switch",
260
+ "tab",
261
+ "table",
262
+ "tablist",
263
+ "tabpanel",
264
+ "term",
265
+ "textbox",
266
+ "timer",
267
+ "toolbar",
268
+ "tooltip",
269
+ "tree",
270
+ "treegrid",
271
+ "treeitem",
272
+ ]
273
+ ],
274
+ ]
275
+ ] = None,
276
+ slot: Optional[Union[Var[str], str]] = None,
277
+ spell_check: Optional[Union[Var[bool], bool]] = None,
278
+ tab_index: Optional[Union[Var[int], int]] = None,
279
+ title: Optional[Union[Var[str], str]] = None,
99
280
  style: Optional[Style] = None,
100
281
  key: Optional[Any] = None,
101
282
  id: Optional[Any] = None,
@@ -207,30 +388,211 @@ class VStack(Stack):
207
388
  ],
208
389
  ]
209
390
  ] = None,
210
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
391
+ access_key: Optional[Union[Var[str], str]] = None,
211
392
  auto_capitalize: Optional[
212
- Union[Var[Union[bool, int, str]], bool, int, str]
393
+ Union[
394
+ Literal["characters", "none", "off", "on", "sentences", "words"],
395
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
396
+ ]
213
397
  ] = None,
214
398
  content_editable: Optional[
215
- Union[Var[Union[bool, int, str]], bool, int, str]
216
- ] = None,
217
- context_menu: Optional[
218
- Union[Var[Union[bool, int, str]], bool, int, str]
399
+ Union[
400
+ Literal["inherit", "plaintext-only", False, True],
401
+ Var[Literal["inherit", "plaintext-only", False, True]],
402
+ ]
219
403
  ] = None,
220
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
221
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
404
+ context_menu: Optional[Union[Var[str], str]] = None,
405
+ dir: Optional[Union[Var[str], str]] = None,
406
+ draggable: Optional[Union[Var[bool], bool]] = None,
222
407
  enter_key_hint: Optional[
223
- Union[Var[Union[bool, int, str]], bool, int, str]
408
+ Union[
409
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
410
+ Var[
411
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
412
+ ],
413
+ ]
224
414
  ] = None,
225
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
226
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
227
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
228
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
229
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
230
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
231
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
232
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
233
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
415
+ hidden: Optional[Union[Var[bool], bool]] = None,
416
+ input_mode: Optional[
417
+ Union[
418
+ Literal[
419
+ "decimal",
420
+ "email",
421
+ "none",
422
+ "numeric",
423
+ "search",
424
+ "tel",
425
+ "text",
426
+ "url",
427
+ ],
428
+ Var[
429
+ Literal[
430
+ "decimal",
431
+ "email",
432
+ "none",
433
+ "numeric",
434
+ "search",
435
+ "tel",
436
+ "text",
437
+ "url",
438
+ ]
439
+ ],
440
+ ]
441
+ ] = None,
442
+ item_prop: Optional[Union[Var[str], str]] = None,
443
+ lang: Optional[Union[Var[str], str]] = None,
444
+ role: Optional[
445
+ Union[
446
+ Literal[
447
+ "alert",
448
+ "alertdialog",
449
+ "application",
450
+ "article",
451
+ "banner",
452
+ "button",
453
+ "cell",
454
+ "checkbox",
455
+ "columnheader",
456
+ "combobox",
457
+ "complementary",
458
+ "contentinfo",
459
+ "definition",
460
+ "dialog",
461
+ "directory",
462
+ "document",
463
+ "feed",
464
+ "figure",
465
+ "form",
466
+ "grid",
467
+ "gridcell",
468
+ "group",
469
+ "heading",
470
+ "img",
471
+ "link",
472
+ "list",
473
+ "listbox",
474
+ "listitem",
475
+ "log",
476
+ "main",
477
+ "marquee",
478
+ "math",
479
+ "menu",
480
+ "menubar",
481
+ "menuitem",
482
+ "menuitemcheckbox",
483
+ "menuitemradio",
484
+ "navigation",
485
+ "none",
486
+ "note",
487
+ "option",
488
+ "presentation",
489
+ "progressbar",
490
+ "radio",
491
+ "radiogroup",
492
+ "region",
493
+ "row",
494
+ "rowgroup",
495
+ "rowheader",
496
+ "scrollbar",
497
+ "search",
498
+ "searchbox",
499
+ "separator",
500
+ "slider",
501
+ "spinbutton",
502
+ "status",
503
+ "switch",
504
+ "tab",
505
+ "table",
506
+ "tablist",
507
+ "tabpanel",
508
+ "term",
509
+ "textbox",
510
+ "timer",
511
+ "toolbar",
512
+ "tooltip",
513
+ "tree",
514
+ "treegrid",
515
+ "treeitem",
516
+ ],
517
+ Var[
518
+ Literal[
519
+ "alert",
520
+ "alertdialog",
521
+ "application",
522
+ "article",
523
+ "banner",
524
+ "button",
525
+ "cell",
526
+ "checkbox",
527
+ "columnheader",
528
+ "combobox",
529
+ "complementary",
530
+ "contentinfo",
531
+ "definition",
532
+ "dialog",
533
+ "directory",
534
+ "document",
535
+ "feed",
536
+ "figure",
537
+ "form",
538
+ "grid",
539
+ "gridcell",
540
+ "group",
541
+ "heading",
542
+ "img",
543
+ "link",
544
+ "list",
545
+ "listbox",
546
+ "listitem",
547
+ "log",
548
+ "main",
549
+ "marquee",
550
+ "math",
551
+ "menu",
552
+ "menubar",
553
+ "menuitem",
554
+ "menuitemcheckbox",
555
+ "menuitemradio",
556
+ "navigation",
557
+ "none",
558
+ "note",
559
+ "option",
560
+ "presentation",
561
+ "progressbar",
562
+ "radio",
563
+ "radiogroup",
564
+ "region",
565
+ "row",
566
+ "rowgroup",
567
+ "rowheader",
568
+ "scrollbar",
569
+ "search",
570
+ "searchbox",
571
+ "separator",
572
+ "slider",
573
+ "spinbutton",
574
+ "status",
575
+ "switch",
576
+ "tab",
577
+ "table",
578
+ "tablist",
579
+ "tabpanel",
580
+ "term",
581
+ "textbox",
582
+ "timer",
583
+ "toolbar",
584
+ "tooltip",
585
+ "tree",
586
+ "treegrid",
587
+ "treeitem",
588
+ ]
589
+ ],
590
+ ]
591
+ ] = None,
592
+ slot: Optional[Union[Var[str], str]] = None,
593
+ spell_check: Optional[Union[Var[bool], bool]] = None,
594
+ tab_index: Optional[Union[Var[int], int]] = None,
595
+ title: Optional[Union[Var[str], str]] = None,
234
596
  style: Optional[Style] = None,
235
597
  key: Optional[Any] = None,
236
598
  id: Optional[Any] = None,
@@ -342,30 +704,211 @@ class HStack(Stack):
342
704
  ],
343
705
  ]
344
706
  ] = None,
345
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
707
+ access_key: Optional[Union[Var[str], str]] = None,
346
708
  auto_capitalize: Optional[
347
- Union[Var[Union[bool, int, str]], bool, int, str]
709
+ Union[
710
+ Literal["characters", "none", "off", "on", "sentences", "words"],
711
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
712
+ ]
348
713
  ] = None,
349
714
  content_editable: Optional[
350
- Union[Var[Union[bool, int, str]], bool, int, str]
351
- ] = None,
352
- context_menu: Optional[
353
- Union[Var[Union[bool, int, str]], bool, int, str]
715
+ Union[
716
+ Literal["inherit", "plaintext-only", False, True],
717
+ Var[Literal["inherit", "plaintext-only", False, True]],
718
+ ]
354
719
  ] = None,
355
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
356
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
720
+ context_menu: Optional[Union[Var[str], str]] = None,
721
+ dir: Optional[Union[Var[str], str]] = None,
722
+ draggable: Optional[Union[Var[bool], bool]] = None,
357
723
  enter_key_hint: Optional[
358
- Union[Var[Union[bool, int, str]], bool, int, str]
724
+ Union[
725
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
726
+ Var[
727
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
728
+ ],
729
+ ]
730
+ ] = None,
731
+ hidden: Optional[Union[Var[bool], bool]] = None,
732
+ input_mode: Optional[
733
+ Union[
734
+ Literal[
735
+ "decimal",
736
+ "email",
737
+ "none",
738
+ "numeric",
739
+ "search",
740
+ "tel",
741
+ "text",
742
+ "url",
743
+ ],
744
+ Var[
745
+ Literal[
746
+ "decimal",
747
+ "email",
748
+ "none",
749
+ "numeric",
750
+ "search",
751
+ "tel",
752
+ "text",
753
+ "url",
754
+ ]
755
+ ],
756
+ ]
757
+ ] = None,
758
+ item_prop: Optional[Union[Var[str], str]] = None,
759
+ lang: Optional[Union[Var[str], str]] = None,
760
+ role: Optional[
761
+ Union[
762
+ Literal[
763
+ "alert",
764
+ "alertdialog",
765
+ "application",
766
+ "article",
767
+ "banner",
768
+ "button",
769
+ "cell",
770
+ "checkbox",
771
+ "columnheader",
772
+ "combobox",
773
+ "complementary",
774
+ "contentinfo",
775
+ "definition",
776
+ "dialog",
777
+ "directory",
778
+ "document",
779
+ "feed",
780
+ "figure",
781
+ "form",
782
+ "grid",
783
+ "gridcell",
784
+ "group",
785
+ "heading",
786
+ "img",
787
+ "link",
788
+ "list",
789
+ "listbox",
790
+ "listitem",
791
+ "log",
792
+ "main",
793
+ "marquee",
794
+ "math",
795
+ "menu",
796
+ "menubar",
797
+ "menuitem",
798
+ "menuitemcheckbox",
799
+ "menuitemradio",
800
+ "navigation",
801
+ "none",
802
+ "note",
803
+ "option",
804
+ "presentation",
805
+ "progressbar",
806
+ "radio",
807
+ "radiogroup",
808
+ "region",
809
+ "row",
810
+ "rowgroup",
811
+ "rowheader",
812
+ "scrollbar",
813
+ "search",
814
+ "searchbox",
815
+ "separator",
816
+ "slider",
817
+ "spinbutton",
818
+ "status",
819
+ "switch",
820
+ "tab",
821
+ "table",
822
+ "tablist",
823
+ "tabpanel",
824
+ "term",
825
+ "textbox",
826
+ "timer",
827
+ "toolbar",
828
+ "tooltip",
829
+ "tree",
830
+ "treegrid",
831
+ "treeitem",
832
+ ],
833
+ Var[
834
+ Literal[
835
+ "alert",
836
+ "alertdialog",
837
+ "application",
838
+ "article",
839
+ "banner",
840
+ "button",
841
+ "cell",
842
+ "checkbox",
843
+ "columnheader",
844
+ "combobox",
845
+ "complementary",
846
+ "contentinfo",
847
+ "definition",
848
+ "dialog",
849
+ "directory",
850
+ "document",
851
+ "feed",
852
+ "figure",
853
+ "form",
854
+ "grid",
855
+ "gridcell",
856
+ "group",
857
+ "heading",
858
+ "img",
859
+ "link",
860
+ "list",
861
+ "listbox",
862
+ "listitem",
863
+ "log",
864
+ "main",
865
+ "marquee",
866
+ "math",
867
+ "menu",
868
+ "menubar",
869
+ "menuitem",
870
+ "menuitemcheckbox",
871
+ "menuitemradio",
872
+ "navigation",
873
+ "none",
874
+ "note",
875
+ "option",
876
+ "presentation",
877
+ "progressbar",
878
+ "radio",
879
+ "radiogroup",
880
+ "region",
881
+ "row",
882
+ "rowgroup",
883
+ "rowheader",
884
+ "scrollbar",
885
+ "search",
886
+ "searchbox",
887
+ "separator",
888
+ "slider",
889
+ "spinbutton",
890
+ "status",
891
+ "switch",
892
+ "tab",
893
+ "table",
894
+ "tablist",
895
+ "tabpanel",
896
+ "term",
897
+ "textbox",
898
+ "timer",
899
+ "toolbar",
900
+ "tooltip",
901
+ "tree",
902
+ "treegrid",
903
+ "treeitem",
904
+ ]
905
+ ],
906
+ ]
359
907
  ] = None,
360
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
361
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
362
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
363
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
364
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
365
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
366
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
367
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
368
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
908
+ slot: Optional[Union[Var[str], str]] = None,
909
+ spell_check: Optional[Union[Var[bool], bool]] = None,
910
+ tab_index: Optional[Union[Var[int], int]] = None,
911
+ title: Optional[Union[Var[str], str]] = None,
369
912
  style: Optional[Style] = None,
370
913
  key: Optional[Any] = None,
371
914
  id: Optional[Any] = None,