reflex 0.7.0a5__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 (127) 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 +268 -85
  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.pyi +874 -90
  24. reflex/components/core/upload.py +3 -5
  25. reflex/components/core/upload.pyi +2 -4
  26. reflex/components/datadisplay/code.py +36 -10
  27. reflex/components/datadisplay/code.pyi +1 -1
  28. reflex/components/datadisplay/dataeditor.py +1 -3
  29. reflex/components/datadisplay/dataeditor.pyi +1 -3
  30. reflex/components/el/elements/base.py +95 -17
  31. reflex/components/el/elements/base.pyi +278 -19
  32. reflex/components/el/elements/forms.py +124 -102
  33. reflex/components/el/elements/forms.pyi +2787 -365
  34. reflex/components/el/elements/inline.py +24 -15
  35. reflex/components/el/elements/inline.pyi +5655 -546
  36. reflex/components/el/elements/media.py +79 -95
  37. reflex/components/el/elements/media.pyi +5167 -565
  38. reflex/components/el/elements/metadata.py +19 -17
  39. reflex/components/el/elements/metadata.pyi +841 -89
  40. reflex/components/el/elements/other.py +3 -5
  41. reflex/components/el/elements/other.pyi +1404 -137
  42. reflex/components/el/elements/scripts.py +10 -13
  43. reflex/components/el/elements/scripts.pyi +634 -65
  44. reflex/components/el/elements/sectioning.pyi +3001 -286
  45. reflex/components/el/elements/tables.py +14 -35
  46. reflex/components/el/elements/tables.pyi +2029 -218
  47. reflex/components/el/elements/typography.py +10 -13
  48. reflex/components/el/elements/typography.pyi +3014 -297
  49. reflex/components/lucide/icon.py +22 -6
  50. reflex/components/markdown/markdown.py +30 -10
  51. reflex/components/markdown/markdown.pyi +3 -2
  52. reflex/components/plotly/plotly.py +1 -3
  53. reflex/components/plotly/plotly.pyi +1 -3
  54. reflex/components/radix/primitives/form.pyi +624 -93
  55. reflex/components/radix/themes/color_mode.py +1 -1
  56. reflex/components/radix/themes/color_mode.pyi +213 -31
  57. reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
  58. reflex/components/radix/themes/components/badge.pyi +199 -18
  59. reflex/components/radix/themes/components/button.pyi +213 -31
  60. reflex/components/radix/themes/components/callout.pyi +1000 -95
  61. reflex/components/radix/themes/components/card.pyi +199 -18
  62. reflex/components/radix/themes/components/context_menu.py +79 -1
  63. reflex/components/radix/themes/components/context_menu.pyi +320 -1
  64. reflex/components/radix/themes/components/dialog.pyi +199 -18
  65. reflex/components/radix/themes/components/hover_card.pyi +199 -18
  66. reflex/components/radix/themes/components/icon_button.pyi +213 -31
  67. reflex/components/radix/themes/components/inset.pyi +199 -18
  68. reflex/components/radix/themes/components/popover.pyi +199 -18
  69. reflex/components/radix/themes/components/table.pyi +1437 -154
  70. reflex/components/radix/themes/components/text_area.py +2 -2
  71. reflex/components/radix/themes/components/text_area.pyi +201 -20
  72. reflex/components/radix/themes/components/text_field.py +1 -1
  73. reflex/components/radix/themes/components/text_field.pyi +444 -88
  74. reflex/components/radix/themes/layout/box.pyi +200 -19
  75. reflex/components/radix/themes/layout/center.pyi +199 -18
  76. reflex/components/radix/themes/layout/container.pyi +199 -18
  77. reflex/components/radix/themes/layout/flex.pyi +199 -18
  78. reflex/components/radix/themes/layout/grid.pyi +199 -18
  79. reflex/components/radix/themes/layout/list.pyi +604 -57
  80. reflex/components/radix/themes/layout/section.pyi +199 -18
  81. reflex/components/radix/themes/layout/spacer.pyi +199 -18
  82. reflex/components/radix/themes/layout/stack.pyi +597 -54
  83. reflex/components/radix/themes/typography/blockquote.pyi +200 -19
  84. reflex/components/radix/themes/typography/code.pyi +199 -18
  85. reflex/components/radix/themes/typography/heading.pyi +199 -18
  86. reflex/components/radix/themes/typography/link.pyi +238 -28
  87. reflex/components/radix/themes/typography/text.pyi +1394 -127
  88. reflex/components/react_player/react_player.py +1 -1
  89. reflex/components/react_player/react_player.pyi +1 -3
  90. reflex/components/sonner/toast.py +41 -12
  91. reflex/components/sonner/toast.pyi +20 -6
  92. reflex/components/tags/iter_tag.py +4 -0
  93. reflex/components/tags/tag.py +3 -3
  94. reflex/config.py +187 -28
  95. reflex/constants/__init__.py +2 -0
  96. reflex/constants/base.py +6 -0
  97. reflex/constants/compiler.py +9 -0
  98. reflex/constants/event.py +1 -0
  99. reflex/constants/installer.py +8 -5
  100. reflex/constants/utils.py +1 -3
  101. reflex/event.py +7 -16
  102. reflex/experimental/layout.pyi +597 -54
  103. reflex/py.typed +0 -0
  104. reflex/reflex.py +30 -41
  105. reflex/state.py +49 -44
  106. reflex/style.py +15 -22
  107. reflex/testing.py +2 -0
  108. reflex/utils/build.py +12 -0
  109. reflex/utils/console.py +4 -0
  110. reflex/utils/decorator.py +25 -0
  111. reflex/utils/exec.py +92 -34
  112. reflex/utils/format.py +35 -6
  113. reflex/utils/path_ops.py +16 -1
  114. reflex/utils/prerequisites.py +25 -33
  115. reflex/utils/processes.py +12 -13
  116. reflex/utils/serializers.py +20 -43
  117. reflex/utils/telemetry.py +4 -15
  118. reflex/utils/types.py +36 -66
  119. reflex/vars/base.py +53 -76
  120. reflex/vars/function.py +17 -5
  121. reflex/vars/number.py +1 -1
  122. reflex/vars/sequence.py +80 -4
  123. {reflex-0.7.0a5.dist-info → reflex-0.7.1.dist-info}/METADATA +4 -5
  124. {reflex-0.7.0a5.dist-info → reflex-0.7.1.dist-info}/RECORD +127 -123
  125. {reflex-0.7.0a5.dist-info → reflex-0.7.1.dist-info}/LICENSE +0 -0
  126. {reflex-0.7.0a5.dist-info → reflex-0.7.1.dist-info}/WHEEL +0 -0
  127. {reflex-0.7.0a5.dist-info → reflex-0.7.1.dist-info}/entry_points.txt +0 -0
@@ -202,30 +202,211 @@ class Text(elements.Span, RadixThemesComponent, MarkdownComponentMap):
202
202
  ]
203
203
  ] = None,
204
204
  high_contrast: Optional[Union[Var[bool], bool]] = None,
205
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
205
+ access_key: Optional[Union[Var[str], str]] = None,
206
206
  auto_capitalize: Optional[
207
- Union[Var[Union[bool, int, str]], bool, int, str]
207
+ Union[
208
+ Literal["characters", "none", "off", "on", "sentences", "words"],
209
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
210
+ ]
208
211
  ] = None,
209
212
  content_editable: Optional[
210
- Union[Var[Union[bool, int, str]], bool, int, str]
211
- ] = None,
212
- context_menu: Optional[
213
- Union[Var[Union[bool, int, str]], bool, int, str]
213
+ Union[
214
+ Literal["inherit", "plaintext-only", False, True],
215
+ Var[Literal["inherit", "plaintext-only", False, True]],
216
+ ]
214
217
  ] = None,
215
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
216
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
218
+ context_menu: Optional[Union[Var[str], str]] = None,
219
+ dir: Optional[Union[Var[str], str]] = None,
220
+ draggable: Optional[Union[Var[bool], bool]] = None,
217
221
  enter_key_hint: Optional[
218
- Union[Var[Union[bool, int, str]], bool, int, str]
222
+ Union[
223
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
224
+ Var[
225
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
226
+ ],
227
+ ]
228
+ ] = None,
229
+ hidden: Optional[Union[Var[bool], bool]] = None,
230
+ input_mode: Optional[
231
+ Union[
232
+ Literal[
233
+ "decimal",
234
+ "email",
235
+ "none",
236
+ "numeric",
237
+ "search",
238
+ "tel",
239
+ "text",
240
+ "url",
241
+ ],
242
+ Var[
243
+ Literal[
244
+ "decimal",
245
+ "email",
246
+ "none",
247
+ "numeric",
248
+ "search",
249
+ "tel",
250
+ "text",
251
+ "url",
252
+ ]
253
+ ],
254
+ ]
255
+ ] = None,
256
+ item_prop: Optional[Union[Var[str], str]] = None,
257
+ lang: Optional[Union[Var[str], str]] = None,
258
+ role: Optional[
259
+ Union[
260
+ Literal[
261
+ "alert",
262
+ "alertdialog",
263
+ "application",
264
+ "article",
265
+ "banner",
266
+ "button",
267
+ "cell",
268
+ "checkbox",
269
+ "columnheader",
270
+ "combobox",
271
+ "complementary",
272
+ "contentinfo",
273
+ "definition",
274
+ "dialog",
275
+ "directory",
276
+ "document",
277
+ "feed",
278
+ "figure",
279
+ "form",
280
+ "grid",
281
+ "gridcell",
282
+ "group",
283
+ "heading",
284
+ "img",
285
+ "link",
286
+ "list",
287
+ "listbox",
288
+ "listitem",
289
+ "log",
290
+ "main",
291
+ "marquee",
292
+ "math",
293
+ "menu",
294
+ "menubar",
295
+ "menuitem",
296
+ "menuitemcheckbox",
297
+ "menuitemradio",
298
+ "navigation",
299
+ "none",
300
+ "note",
301
+ "option",
302
+ "presentation",
303
+ "progressbar",
304
+ "radio",
305
+ "radiogroup",
306
+ "region",
307
+ "row",
308
+ "rowgroup",
309
+ "rowheader",
310
+ "scrollbar",
311
+ "search",
312
+ "searchbox",
313
+ "separator",
314
+ "slider",
315
+ "spinbutton",
316
+ "status",
317
+ "switch",
318
+ "tab",
319
+ "table",
320
+ "tablist",
321
+ "tabpanel",
322
+ "term",
323
+ "textbox",
324
+ "timer",
325
+ "toolbar",
326
+ "tooltip",
327
+ "tree",
328
+ "treegrid",
329
+ "treeitem",
330
+ ],
331
+ Var[
332
+ Literal[
333
+ "alert",
334
+ "alertdialog",
335
+ "application",
336
+ "article",
337
+ "banner",
338
+ "button",
339
+ "cell",
340
+ "checkbox",
341
+ "columnheader",
342
+ "combobox",
343
+ "complementary",
344
+ "contentinfo",
345
+ "definition",
346
+ "dialog",
347
+ "directory",
348
+ "document",
349
+ "feed",
350
+ "figure",
351
+ "form",
352
+ "grid",
353
+ "gridcell",
354
+ "group",
355
+ "heading",
356
+ "img",
357
+ "link",
358
+ "list",
359
+ "listbox",
360
+ "listitem",
361
+ "log",
362
+ "main",
363
+ "marquee",
364
+ "math",
365
+ "menu",
366
+ "menubar",
367
+ "menuitem",
368
+ "menuitemcheckbox",
369
+ "menuitemradio",
370
+ "navigation",
371
+ "none",
372
+ "note",
373
+ "option",
374
+ "presentation",
375
+ "progressbar",
376
+ "radio",
377
+ "radiogroup",
378
+ "region",
379
+ "row",
380
+ "rowgroup",
381
+ "rowheader",
382
+ "scrollbar",
383
+ "search",
384
+ "searchbox",
385
+ "separator",
386
+ "slider",
387
+ "spinbutton",
388
+ "status",
389
+ "switch",
390
+ "tab",
391
+ "table",
392
+ "tablist",
393
+ "tabpanel",
394
+ "term",
395
+ "textbox",
396
+ "timer",
397
+ "toolbar",
398
+ "tooltip",
399
+ "tree",
400
+ "treegrid",
401
+ "treeitem",
402
+ ]
403
+ ],
404
+ ]
219
405
  ] = None,
220
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
221
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
222
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
223
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
224
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
225
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
226
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
227
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
228
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
406
+ slot: Optional[Union[Var[str], str]] = None,
407
+ spell_check: Optional[Union[Var[bool], bool]] = None,
408
+ tab_index: Optional[Union[Var[int], int]] = None,
409
+ title: Optional[Union[Var[str], str]] = None,
229
410
  style: Optional[Style] = None,
230
411
  key: Optional[Any] = None,
231
412
  id: Optional[Any] = None,
@@ -459,30 +640,211 @@ class Span(Text):
459
640
  ]
460
641
  ] = None,
461
642
  high_contrast: Optional[Union[Var[bool], bool]] = None,
462
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
643
+ access_key: Optional[Union[Var[str], str]] = None,
463
644
  auto_capitalize: Optional[
464
- Union[Var[Union[bool, int, str]], bool, int, str]
645
+ Union[
646
+ Literal["characters", "none", "off", "on", "sentences", "words"],
647
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
648
+ ]
465
649
  ] = None,
466
650
  content_editable: Optional[
467
- Union[Var[Union[bool, int, str]], bool, int, str]
468
- ] = None,
469
- context_menu: Optional[
470
- Union[Var[Union[bool, int, str]], bool, int, str]
651
+ Union[
652
+ Literal["inherit", "plaintext-only", False, True],
653
+ Var[Literal["inherit", "plaintext-only", False, True]],
654
+ ]
471
655
  ] = None,
472
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
473
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
656
+ context_menu: Optional[Union[Var[str], str]] = None,
657
+ dir: Optional[Union[Var[str], str]] = None,
658
+ draggable: Optional[Union[Var[bool], bool]] = None,
474
659
  enter_key_hint: Optional[
475
- Union[Var[Union[bool, int, str]], bool, int, str]
660
+ Union[
661
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
662
+ Var[
663
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
664
+ ],
665
+ ]
476
666
  ] = None,
477
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
478
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
479
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
480
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
481
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
482
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
483
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
484
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
485
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
667
+ hidden: Optional[Union[Var[bool], bool]] = None,
668
+ input_mode: Optional[
669
+ Union[
670
+ Literal[
671
+ "decimal",
672
+ "email",
673
+ "none",
674
+ "numeric",
675
+ "search",
676
+ "tel",
677
+ "text",
678
+ "url",
679
+ ],
680
+ Var[
681
+ Literal[
682
+ "decimal",
683
+ "email",
684
+ "none",
685
+ "numeric",
686
+ "search",
687
+ "tel",
688
+ "text",
689
+ "url",
690
+ ]
691
+ ],
692
+ ]
693
+ ] = None,
694
+ item_prop: Optional[Union[Var[str], str]] = None,
695
+ lang: Optional[Union[Var[str], str]] = None,
696
+ role: Optional[
697
+ Union[
698
+ Literal[
699
+ "alert",
700
+ "alertdialog",
701
+ "application",
702
+ "article",
703
+ "banner",
704
+ "button",
705
+ "cell",
706
+ "checkbox",
707
+ "columnheader",
708
+ "combobox",
709
+ "complementary",
710
+ "contentinfo",
711
+ "definition",
712
+ "dialog",
713
+ "directory",
714
+ "document",
715
+ "feed",
716
+ "figure",
717
+ "form",
718
+ "grid",
719
+ "gridcell",
720
+ "group",
721
+ "heading",
722
+ "img",
723
+ "link",
724
+ "list",
725
+ "listbox",
726
+ "listitem",
727
+ "log",
728
+ "main",
729
+ "marquee",
730
+ "math",
731
+ "menu",
732
+ "menubar",
733
+ "menuitem",
734
+ "menuitemcheckbox",
735
+ "menuitemradio",
736
+ "navigation",
737
+ "none",
738
+ "note",
739
+ "option",
740
+ "presentation",
741
+ "progressbar",
742
+ "radio",
743
+ "radiogroup",
744
+ "region",
745
+ "row",
746
+ "rowgroup",
747
+ "rowheader",
748
+ "scrollbar",
749
+ "search",
750
+ "searchbox",
751
+ "separator",
752
+ "slider",
753
+ "spinbutton",
754
+ "status",
755
+ "switch",
756
+ "tab",
757
+ "table",
758
+ "tablist",
759
+ "tabpanel",
760
+ "term",
761
+ "textbox",
762
+ "timer",
763
+ "toolbar",
764
+ "tooltip",
765
+ "tree",
766
+ "treegrid",
767
+ "treeitem",
768
+ ],
769
+ Var[
770
+ Literal[
771
+ "alert",
772
+ "alertdialog",
773
+ "application",
774
+ "article",
775
+ "banner",
776
+ "button",
777
+ "cell",
778
+ "checkbox",
779
+ "columnheader",
780
+ "combobox",
781
+ "complementary",
782
+ "contentinfo",
783
+ "definition",
784
+ "dialog",
785
+ "directory",
786
+ "document",
787
+ "feed",
788
+ "figure",
789
+ "form",
790
+ "grid",
791
+ "gridcell",
792
+ "group",
793
+ "heading",
794
+ "img",
795
+ "link",
796
+ "list",
797
+ "listbox",
798
+ "listitem",
799
+ "log",
800
+ "main",
801
+ "marquee",
802
+ "math",
803
+ "menu",
804
+ "menubar",
805
+ "menuitem",
806
+ "menuitemcheckbox",
807
+ "menuitemradio",
808
+ "navigation",
809
+ "none",
810
+ "note",
811
+ "option",
812
+ "presentation",
813
+ "progressbar",
814
+ "radio",
815
+ "radiogroup",
816
+ "region",
817
+ "row",
818
+ "rowgroup",
819
+ "rowheader",
820
+ "scrollbar",
821
+ "search",
822
+ "searchbox",
823
+ "separator",
824
+ "slider",
825
+ "spinbutton",
826
+ "status",
827
+ "switch",
828
+ "tab",
829
+ "table",
830
+ "tablist",
831
+ "tabpanel",
832
+ "term",
833
+ "textbox",
834
+ "timer",
835
+ "toolbar",
836
+ "tooltip",
837
+ "tree",
838
+ "treegrid",
839
+ "treeitem",
840
+ ]
841
+ ],
842
+ ]
843
+ ] = None,
844
+ slot: Optional[Union[Var[str], str]] = None,
845
+ spell_check: Optional[Union[Var[bool], bool]] = None,
846
+ tab_index: Optional[Union[Var[int], int]] = None,
847
+ title: Optional[Union[Var[str], str]] = None,
486
848
  style: Optional[Style] = None,
487
849
  key: Optional[Any] = None,
488
850
  id: Optional[Any] = None,
@@ -556,30 +918,211 @@ class Em(elements.Em, RadixThemesComponent):
556
918
  def create( # type: ignore
557
919
  cls,
558
920
  *children,
559
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
921
+ access_key: Optional[Union[Var[str], str]] = None,
560
922
  auto_capitalize: Optional[
561
- Union[Var[Union[bool, int, str]], bool, int, str]
923
+ Union[
924
+ Literal["characters", "none", "off", "on", "sentences", "words"],
925
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
926
+ ]
562
927
  ] = None,
563
928
  content_editable: Optional[
564
- Union[Var[Union[bool, int, str]], bool, int, str]
565
- ] = None,
566
- context_menu: Optional[
567
- Union[Var[Union[bool, int, str]], bool, int, str]
929
+ Union[
930
+ Literal["inherit", "plaintext-only", False, True],
931
+ Var[Literal["inherit", "plaintext-only", False, True]],
932
+ ]
568
933
  ] = None,
569
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
570
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
934
+ context_menu: Optional[Union[Var[str], str]] = None,
935
+ dir: Optional[Union[Var[str], str]] = None,
936
+ draggable: Optional[Union[Var[bool], bool]] = None,
571
937
  enter_key_hint: Optional[
572
- Union[Var[Union[bool, int, str]], bool, int, str]
938
+ Union[
939
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
940
+ Var[
941
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
942
+ ],
943
+ ]
944
+ ] = None,
945
+ hidden: Optional[Union[Var[bool], bool]] = None,
946
+ input_mode: Optional[
947
+ Union[
948
+ Literal[
949
+ "decimal",
950
+ "email",
951
+ "none",
952
+ "numeric",
953
+ "search",
954
+ "tel",
955
+ "text",
956
+ "url",
957
+ ],
958
+ Var[
959
+ Literal[
960
+ "decimal",
961
+ "email",
962
+ "none",
963
+ "numeric",
964
+ "search",
965
+ "tel",
966
+ "text",
967
+ "url",
968
+ ]
969
+ ],
970
+ ]
573
971
  ] = None,
574
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
575
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
576
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
577
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
578
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
579
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
580
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
581
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
582
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
972
+ item_prop: Optional[Union[Var[str], str]] = None,
973
+ lang: Optional[Union[Var[str], str]] = None,
974
+ role: Optional[
975
+ Union[
976
+ Literal[
977
+ "alert",
978
+ "alertdialog",
979
+ "application",
980
+ "article",
981
+ "banner",
982
+ "button",
983
+ "cell",
984
+ "checkbox",
985
+ "columnheader",
986
+ "combobox",
987
+ "complementary",
988
+ "contentinfo",
989
+ "definition",
990
+ "dialog",
991
+ "directory",
992
+ "document",
993
+ "feed",
994
+ "figure",
995
+ "form",
996
+ "grid",
997
+ "gridcell",
998
+ "group",
999
+ "heading",
1000
+ "img",
1001
+ "link",
1002
+ "list",
1003
+ "listbox",
1004
+ "listitem",
1005
+ "log",
1006
+ "main",
1007
+ "marquee",
1008
+ "math",
1009
+ "menu",
1010
+ "menubar",
1011
+ "menuitem",
1012
+ "menuitemcheckbox",
1013
+ "menuitemradio",
1014
+ "navigation",
1015
+ "none",
1016
+ "note",
1017
+ "option",
1018
+ "presentation",
1019
+ "progressbar",
1020
+ "radio",
1021
+ "radiogroup",
1022
+ "region",
1023
+ "row",
1024
+ "rowgroup",
1025
+ "rowheader",
1026
+ "scrollbar",
1027
+ "search",
1028
+ "searchbox",
1029
+ "separator",
1030
+ "slider",
1031
+ "spinbutton",
1032
+ "status",
1033
+ "switch",
1034
+ "tab",
1035
+ "table",
1036
+ "tablist",
1037
+ "tabpanel",
1038
+ "term",
1039
+ "textbox",
1040
+ "timer",
1041
+ "toolbar",
1042
+ "tooltip",
1043
+ "tree",
1044
+ "treegrid",
1045
+ "treeitem",
1046
+ ],
1047
+ Var[
1048
+ Literal[
1049
+ "alert",
1050
+ "alertdialog",
1051
+ "application",
1052
+ "article",
1053
+ "banner",
1054
+ "button",
1055
+ "cell",
1056
+ "checkbox",
1057
+ "columnheader",
1058
+ "combobox",
1059
+ "complementary",
1060
+ "contentinfo",
1061
+ "definition",
1062
+ "dialog",
1063
+ "directory",
1064
+ "document",
1065
+ "feed",
1066
+ "figure",
1067
+ "form",
1068
+ "grid",
1069
+ "gridcell",
1070
+ "group",
1071
+ "heading",
1072
+ "img",
1073
+ "link",
1074
+ "list",
1075
+ "listbox",
1076
+ "listitem",
1077
+ "log",
1078
+ "main",
1079
+ "marquee",
1080
+ "math",
1081
+ "menu",
1082
+ "menubar",
1083
+ "menuitem",
1084
+ "menuitemcheckbox",
1085
+ "menuitemradio",
1086
+ "navigation",
1087
+ "none",
1088
+ "note",
1089
+ "option",
1090
+ "presentation",
1091
+ "progressbar",
1092
+ "radio",
1093
+ "radiogroup",
1094
+ "region",
1095
+ "row",
1096
+ "rowgroup",
1097
+ "rowheader",
1098
+ "scrollbar",
1099
+ "search",
1100
+ "searchbox",
1101
+ "separator",
1102
+ "slider",
1103
+ "spinbutton",
1104
+ "status",
1105
+ "switch",
1106
+ "tab",
1107
+ "table",
1108
+ "tablist",
1109
+ "tabpanel",
1110
+ "term",
1111
+ "textbox",
1112
+ "timer",
1113
+ "toolbar",
1114
+ "tooltip",
1115
+ "tree",
1116
+ "treegrid",
1117
+ "treeitem",
1118
+ ]
1119
+ ],
1120
+ ]
1121
+ ] = None,
1122
+ slot: Optional[Union[Var[str], str]] = None,
1123
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1124
+ tab_index: Optional[Union[Var[int], int]] = None,
1125
+ title: Optional[Union[Var[str], str]] = None,
583
1126
  style: Optional[Style] = None,
584
1127
  key: Optional[Any] = None,
585
1128
  id: Optional[Any] = None,
@@ -651,30 +1194,211 @@ class Kbd(elements.Kbd, RadixThemesComponent):
651
1194
  Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
652
1195
  ]
653
1196
  ] = None,
654
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1197
+ access_key: Optional[Union[Var[str], str]] = None,
655
1198
  auto_capitalize: Optional[
656
- Union[Var[Union[bool, int, str]], bool, int, str]
1199
+ Union[
1200
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1201
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1202
+ ]
657
1203
  ] = None,
658
1204
  content_editable: Optional[
659
- Union[Var[Union[bool, int, str]], bool, int, str]
660
- ] = None,
661
- context_menu: Optional[
662
- Union[Var[Union[bool, int, str]], bool, int, str]
1205
+ Union[
1206
+ Literal["inherit", "plaintext-only", False, True],
1207
+ Var[Literal["inherit", "plaintext-only", False, True]],
1208
+ ]
663
1209
  ] = None,
664
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
665
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1210
+ context_menu: Optional[Union[Var[str], str]] = None,
1211
+ dir: Optional[Union[Var[str], str]] = None,
1212
+ draggable: Optional[Union[Var[bool], bool]] = None,
666
1213
  enter_key_hint: Optional[
667
- Union[Var[Union[bool, int, str]], bool, int, str]
1214
+ Union[
1215
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1216
+ Var[
1217
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1218
+ ],
1219
+ ]
668
1220
  ] = None,
669
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
670
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
671
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
672
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
673
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
674
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
675
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
676
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
677
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1221
+ hidden: Optional[Union[Var[bool], bool]] = None,
1222
+ input_mode: Optional[
1223
+ Union[
1224
+ Literal[
1225
+ "decimal",
1226
+ "email",
1227
+ "none",
1228
+ "numeric",
1229
+ "search",
1230
+ "tel",
1231
+ "text",
1232
+ "url",
1233
+ ],
1234
+ Var[
1235
+ Literal[
1236
+ "decimal",
1237
+ "email",
1238
+ "none",
1239
+ "numeric",
1240
+ "search",
1241
+ "tel",
1242
+ "text",
1243
+ "url",
1244
+ ]
1245
+ ],
1246
+ ]
1247
+ ] = None,
1248
+ item_prop: Optional[Union[Var[str], str]] = None,
1249
+ lang: Optional[Union[Var[str], str]] = None,
1250
+ role: Optional[
1251
+ Union[
1252
+ Literal[
1253
+ "alert",
1254
+ "alertdialog",
1255
+ "application",
1256
+ "article",
1257
+ "banner",
1258
+ "button",
1259
+ "cell",
1260
+ "checkbox",
1261
+ "columnheader",
1262
+ "combobox",
1263
+ "complementary",
1264
+ "contentinfo",
1265
+ "definition",
1266
+ "dialog",
1267
+ "directory",
1268
+ "document",
1269
+ "feed",
1270
+ "figure",
1271
+ "form",
1272
+ "grid",
1273
+ "gridcell",
1274
+ "group",
1275
+ "heading",
1276
+ "img",
1277
+ "link",
1278
+ "list",
1279
+ "listbox",
1280
+ "listitem",
1281
+ "log",
1282
+ "main",
1283
+ "marquee",
1284
+ "math",
1285
+ "menu",
1286
+ "menubar",
1287
+ "menuitem",
1288
+ "menuitemcheckbox",
1289
+ "menuitemradio",
1290
+ "navigation",
1291
+ "none",
1292
+ "note",
1293
+ "option",
1294
+ "presentation",
1295
+ "progressbar",
1296
+ "radio",
1297
+ "radiogroup",
1298
+ "region",
1299
+ "row",
1300
+ "rowgroup",
1301
+ "rowheader",
1302
+ "scrollbar",
1303
+ "search",
1304
+ "searchbox",
1305
+ "separator",
1306
+ "slider",
1307
+ "spinbutton",
1308
+ "status",
1309
+ "switch",
1310
+ "tab",
1311
+ "table",
1312
+ "tablist",
1313
+ "tabpanel",
1314
+ "term",
1315
+ "textbox",
1316
+ "timer",
1317
+ "toolbar",
1318
+ "tooltip",
1319
+ "tree",
1320
+ "treegrid",
1321
+ "treeitem",
1322
+ ],
1323
+ Var[
1324
+ Literal[
1325
+ "alert",
1326
+ "alertdialog",
1327
+ "application",
1328
+ "article",
1329
+ "banner",
1330
+ "button",
1331
+ "cell",
1332
+ "checkbox",
1333
+ "columnheader",
1334
+ "combobox",
1335
+ "complementary",
1336
+ "contentinfo",
1337
+ "definition",
1338
+ "dialog",
1339
+ "directory",
1340
+ "document",
1341
+ "feed",
1342
+ "figure",
1343
+ "form",
1344
+ "grid",
1345
+ "gridcell",
1346
+ "group",
1347
+ "heading",
1348
+ "img",
1349
+ "link",
1350
+ "list",
1351
+ "listbox",
1352
+ "listitem",
1353
+ "log",
1354
+ "main",
1355
+ "marquee",
1356
+ "math",
1357
+ "menu",
1358
+ "menubar",
1359
+ "menuitem",
1360
+ "menuitemcheckbox",
1361
+ "menuitemradio",
1362
+ "navigation",
1363
+ "none",
1364
+ "note",
1365
+ "option",
1366
+ "presentation",
1367
+ "progressbar",
1368
+ "radio",
1369
+ "radiogroup",
1370
+ "region",
1371
+ "row",
1372
+ "rowgroup",
1373
+ "rowheader",
1374
+ "scrollbar",
1375
+ "search",
1376
+ "searchbox",
1377
+ "separator",
1378
+ "slider",
1379
+ "spinbutton",
1380
+ "status",
1381
+ "switch",
1382
+ "tab",
1383
+ "table",
1384
+ "tablist",
1385
+ "tabpanel",
1386
+ "term",
1387
+ "textbox",
1388
+ "timer",
1389
+ "toolbar",
1390
+ "tooltip",
1391
+ "tree",
1392
+ "treegrid",
1393
+ "treeitem",
1394
+ ]
1395
+ ],
1396
+ ]
1397
+ ] = None,
1398
+ slot: Optional[Union[Var[str], str]] = None,
1399
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1400
+ tab_index: Optional[Union[Var[int], int]] = None,
1401
+ title: Optional[Union[Var[str], str]] = None,
678
1402
  style: Optional[Style] = None,
679
1403
  key: Optional[Any] = None,
680
1404
  id: Optional[Any] = None,
@@ -741,31 +1465,212 @@ class Quote(elements.Q, RadixThemesComponent):
741
1465
  def create( # type: ignore
742
1466
  cls,
743
1467
  *children,
744
- cite: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
745
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1468
+ cite: Optional[Union[Var[str], str]] = None,
1469
+ access_key: Optional[Union[Var[str], str]] = None,
746
1470
  auto_capitalize: Optional[
747
- Union[Var[Union[bool, int, str]], bool, int, str]
1471
+ Union[
1472
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1473
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1474
+ ]
748
1475
  ] = None,
749
1476
  content_editable: Optional[
750
- Union[Var[Union[bool, int, str]], bool, int, str]
751
- ] = None,
752
- context_menu: Optional[
753
- Union[Var[Union[bool, int, str]], bool, int, str]
1477
+ Union[
1478
+ Literal["inherit", "plaintext-only", False, True],
1479
+ Var[Literal["inherit", "plaintext-only", False, True]],
1480
+ ]
754
1481
  ] = None,
755
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
756
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1482
+ context_menu: Optional[Union[Var[str], str]] = None,
1483
+ dir: Optional[Union[Var[str], str]] = None,
1484
+ draggable: Optional[Union[Var[bool], bool]] = None,
757
1485
  enter_key_hint: Optional[
758
- Union[Var[Union[bool, int, str]], bool, int, str]
1486
+ Union[
1487
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1488
+ Var[
1489
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1490
+ ],
1491
+ ]
759
1492
  ] = None,
760
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
761
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
762
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
763
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
764
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
765
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
766
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
767
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
768
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1493
+ hidden: Optional[Union[Var[bool], bool]] = None,
1494
+ input_mode: Optional[
1495
+ Union[
1496
+ Literal[
1497
+ "decimal",
1498
+ "email",
1499
+ "none",
1500
+ "numeric",
1501
+ "search",
1502
+ "tel",
1503
+ "text",
1504
+ "url",
1505
+ ],
1506
+ Var[
1507
+ Literal[
1508
+ "decimal",
1509
+ "email",
1510
+ "none",
1511
+ "numeric",
1512
+ "search",
1513
+ "tel",
1514
+ "text",
1515
+ "url",
1516
+ ]
1517
+ ],
1518
+ ]
1519
+ ] = None,
1520
+ item_prop: Optional[Union[Var[str], str]] = None,
1521
+ lang: Optional[Union[Var[str], str]] = None,
1522
+ role: Optional[
1523
+ Union[
1524
+ Literal[
1525
+ "alert",
1526
+ "alertdialog",
1527
+ "application",
1528
+ "article",
1529
+ "banner",
1530
+ "button",
1531
+ "cell",
1532
+ "checkbox",
1533
+ "columnheader",
1534
+ "combobox",
1535
+ "complementary",
1536
+ "contentinfo",
1537
+ "definition",
1538
+ "dialog",
1539
+ "directory",
1540
+ "document",
1541
+ "feed",
1542
+ "figure",
1543
+ "form",
1544
+ "grid",
1545
+ "gridcell",
1546
+ "group",
1547
+ "heading",
1548
+ "img",
1549
+ "link",
1550
+ "list",
1551
+ "listbox",
1552
+ "listitem",
1553
+ "log",
1554
+ "main",
1555
+ "marquee",
1556
+ "math",
1557
+ "menu",
1558
+ "menubar",
1559
+ "menuitem",
1560
+ "menuitemcheckbox",
1561
+ "menuitemradio",
1562
+ "navigation",
1563
+ "none",
1564
+ "note",
1565
+ "option",
1566
+ "presentation",
1567
+ "progressbar",
1568
+ "radio",
1569
+ "radiogroup",
1570
+ "region",
1571
+ "row",
1572
+ "rowgroup",
1573
+ "rowheader",
1574
+ "scrollbar",
1575
+ "search",
1576
+ "searchbox",
1577
+ "separator",
1578
+ "slider",
1579
+ "spinbutton",
1580
+ "status",
1581
+ "switch",
1582
+ "tab",
1583
+ "table",
1584
+ "tablist",
1585
+ "tabpanel",
1586
+ "term",
1587
+ "textbox",
1588
+ "timer",
1589
+ "toolbar",
1590
+ "tooltip",
1591
+ "tree",
1592
+ "treegrid",
1593
+ "treeitem",
1594
+ ],
1595
+ Var[
1596
+ Literal[
1597
+ "alert",
1598
+ "alertdialog",
1599
+ "application",
1600
+ "article",
1601
+ "banner",
1602
+ "button",
1603
+ "cell",
1604
+ "checkbox",
1605
+ "columnheader",
1606
+ "combobox",
1607
+ "complementary",
1608
+ "contentinfo",
1609
+ "definition",
1610
+ "dialog",
1611
+ "directory",
1612
+ "document",
1613
+ "feed",
1614
+ "figure",
1615
+ "form",
1616
+ "grid",
1617
+ "gridcell",
1618
+ "group",
1619
+ "heading",
1620
+ "img",
1621
+ "link",
1622
+ "list",
1623
+ "listbox",
1624
+ "listitem",
1625
+ "log",
1626
+ "main",
1627
+ "marquee",
1628
+ "math",
1629
+ "menu",
1630
+ "menubar",
1631
+ "menuitem",
1632
+ "menuitemcheckbox",
1633
+ "menuitemradio",
1634
+ "navigation",
1635
+ "none",
1636
+ "note",
1637
+ "option",
1638
+ "presentation",
1639
+ "progressbar",
1640
+ "radio",
1641
+ "radiogroup",
1642
+ "region",
1643
+ "row",
1644
+ "rowgroup",
1645
+ "rowheader",
1646
+ "scrollbar",
1647
+ "search",
1648
+ "searchbox",
1649
+ "separator",
1650
+ "slider",
1651
+ "spinbutton",
1652
+ "status",
1653
+ "switch",
1654
+ "tab",
1655
+ "table",
1656
+ "tablist",
1657
+ "tabpanel",
1658
+ "term",
1659
+ "textbox",
1660
+ "timer",
1661
+ "toolbar",
1662
+ "tooltip",
1663
+ "tree",
1664
+ "treegrid",
1665
+ "treeitem",
1666
+ ]
1667
+ ],
1668
+ ]
1669
+ ] = None,
1670
+ slot: Optional[Union[Var[str], str]] = None,
1671
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1672
+ tab_index: Optional[Union[Var[int], int]] = None,
1673
+ title: Optional[Union[Var[str], str]] = None,
769
1674
  style: Optional[Style] = None,
770
1675
  key: Optional[Any] = None,
771
1676
  id: Optional[Any] = None,
@@ -832,30 +1737,211 @@ class Strong(elements.Strong, RadixThemesComponent):
832
1737
  def create( # type: ignore
833
1738
  cls,
834
1739
  *children,
835
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1740
+ access_key: Optional[Union[Var[str], str]] = None,
836
1741
  auto_capitalize: Optional[
837
- Union[Var[Union[bool, int, str]], bool, int, str]
1742
+ Union[
1743
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1744
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1745
+ ]
838
1746
  ] = None,
839
1747
  content_editable: Optional[
840
- Union[Var[Union[bool, int, str]], bool, int, str]
841
- ] = None,
842
- context_menu: Optional[
843
- Union[Var[Union[bool, int, str]], bool, int, str]
1748
+ Union[
1749
+ Literal["inherit", "plaintext-only", False, True],
1750
+ Var[Literal["inherit", "plaintext-only", False, True]],
1751
+ ]
844
1752
  ] = None,
845
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
846
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1753
+ context_menu: Optional[Union[Var[str], str]] = None,
1754
+ dir: Optional[Union[Var[str], str]] = None,
1755
+ draggable: Optional[Union[Var[bool], bool]] = None,
847
1756
  enter_key_hint: Optional[
848
- Union[Var[Union[bool, int, str]], bool, int, str]
1757
+ Union[
1758
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1759
+ Var[
1760
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1761
+ ],
1762
+ ]
1763
+ ] = None,
1764
+ hidden: Optional[Union[Var[bool], bool]] = None,
1765
+ input_mode: Optional[
1766
+ Union[
1767
+ Literal[
1768
+ "decimal",
1769
+ "email",
1770
+ "none",
1771
+ "numeric",
1772
+ "search",
1773
+ "tel",
1774
+ "text",
1775
+ "url",
1776
+ ],
1777
+ Var[
1778
+ Literal[
1779
+ "decimal",
1780
+ "email",
1781
+ "none",
1782
+ "numeric",
1783
+ "search",
1784
+ "tel",
1785
+ "text",
1786
+ "url",
1787
+ ]
1788
+ ],
1789
+ ]
1790
+ ] = None,
1791
+ item_prop: Optional[Union[Var[str], str]] = None,
1792
+ lang: Optional[Union[Var[str], str]] = None,
1793
+ role: Optional[
1794
+ Union[
1795
+ Literal[
1796
+ "alert",
1797
+ "alertdialog",
1798
+ "application",
1799
+ "article",
1800
+ "banner",
1801
+ "button",
1802
+ "cell",
1803
+ "checkbox",
1804
+ "columnheader",
1805
+ "combobox",
1806
+ "complementary",
1807
+ "contentinfo",
1808
+ "definition",
1809
+ "dialog",
1810
+ "directory",
1811
+ "document",
1812
+ "feed",
1813
+ "figure",
1814
+ "form",
1815
+ "grid",
1816
+ "gridcell",
1817
+ "group",
1818
+ "heading",
1819
+ "img",
1820
+ "link",
1821
+ "list",
1822
+ "listbox",
1823
+ "listitem",
1824
+ "log",
1825
+ "main",
1826
+ "marquee",
1827
+ "math",
1828
+ "menu",
1829
+ "menubar",
1830
+ "menuitem",
1831
+ "menuitemcheckbox",
1832
+ "menuitemradio",
1833
+ "navigation",
1834
+ "none",
1835
+ "note",
1836
+ "option",
1837
+ "presentation",
1838
+ "progressbar",
1839
+ "radio",
1840
+ "radiogroup",
1841
+ "region",
1842
+ "row",
1843
+ "rowgroup",
1844
+ "rowheader",
1845
+ "scrollbar",
1846
+ "search",
1847
+ "searchbox",
1848
+ "separator",
1849
+ "slider",
1850
+ "spinbutton",
1851
+ "status",
1852
+ "switch",
1853
+ "tab",
1854
+ "table",
1855
+ "tablist",
1856
+ "tabpanel",
1857
+ "term",
1858
+ "textbox",
1859
+ "timer",
1860
+ "toolbar",
1861
+ "tooltip",
1862
+ "tree",
1863
+ "treegrid",
1864
+ "treeitem",
1865
+ ],
1866
+ Var[
1867
+ Literal[
1868
+ "alert",
1869
+ "alertdialog",
1870
+ "application",
1871
+ "article",
1872
+ "banner",
1873
+ "button",
1874
+ "cell",
1875
+ "checkbox",
1876
+ "columnheader",
1877
+ "combobox",
1878
+ "complementary",
1879
+ "contentinfo",
1880
+ "definition",
1881
+ "dialog",
1882
+ "directory",
1883
+ "document",
1884
+ "feed",
1885
+ "figure",
1886
+ "form",
1887
+ "grid",
1888
+ "gridcell",
1889
+ "group",
1890
+ "heading",
1891
+ "img",
1892
+ "link",
1893
+ "list",
1894
+ "listbox",
1895
+ "listitem",
1896
+ "log",
1897
+ "main",
1898
+ "marquee",
1899
+ "math",
1900
+ "menu",
1901
+ "menubar",
1902
+ "menuitem",
1903
+ "menuitemcheckbox",
1904
+ "menuitemradio",
1905
+ "navigation",
1906
+ "none",
1907
+ "note",
1908
+ "option",
1909
+ "presentation",
1910
+ "progressbar",
1911
+ "radio",
1912
+ "radiogroup",
1913
+ "region",
1914
+ "row",
1915
+ "rowgroup",
1916
+ "rowheader",
1917
+ "scrollbar",
1918
+ "search",
1919
+ "searchbox",
1920
+ "separator",
1921
+ "slider",
1922
+ "spinbutton",
1923
+ "status",
1924
+ "switch",
1925
+ "tab",
1926
+ "table",
1927
+ "tablist",
1928
+ "tabpanel",
1929
+ "term",
1930
+ "textbox",
1931
+ "timer",
1932
+ "toolbar",
1933
+ "tooltip",
1934
+ "tree",
1935
+ "treegrid",
1936
+ "treeitem",
1937
+ ]
1938
+ ],
1939
+ ]
849
1940
  ] = None,
850
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
851
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
852
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
853
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
854
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
855
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
856
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
857
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
858
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1941
+ slot: Optional[Union[Var[str], str]] = None,
1942
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1943
+ tab_index: Optional[Union[Var[int], int]] = None,
1944
+ title: Optional[Union[Var[str], str]] = None,
859
1945
  style: Optional[Style] = None,
860
1946
  key: Optional[Any] = None,
861
1947
  id: Optional[Any] = None,
@@ -1085,30 +2171,211 @@ class TextNamespace(ComponentNamespace):
1085
2171
  ]
1086
2172
  ] = None,
1087
2173
  high_contrast: Optional[Union[Var[bool], bool]] = None,
1088
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2174
+ access_key: Optional[Union[Var[str], str]] = None,
1089
2175
  auto_capitalize: Optional[
1090
- Union[Var[Union[bool, int, str]], bool, int, str]
2176
+ Union[
2177
+ Literal["characters", "none", "off", "on", "sentences", "words"],
2178
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
2179
+ ]
1091
2180
  ] = None,
1092
2181
  content_editable: Optional[
1093
- Union[Var[Union[bool, int, str]], bool, int, str]
1094
- ] = None,
1095
- context_menu: Optional[
1096
- Union[Var[Union[bool, int, str]], bool, int, str]
2182
+ Union[
2183
+ Literal["inherit", "plaintext-only", False, True],
2184
+ Var[Literal["inherit", "plaintext-only", False, True]],
2185
+ ]
1097
2186
  ] = None,
1098
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1099
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2187
+ context_menu: Optional[Union[Var[str], str]] = None,
2188
+ dir: Optional[Union[Var[str], str]] = None,
2189
+ draggable: Optional[Union[Var[bool], bool]] = None,
1100
2190
  enter_key_hint: Optional[
1101
- Union[Var[Union[bool, int, str]], bool, int, str]
2191
+ Union[
2192
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
2193
+ Var[
2194
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
2195
+ ],
2196
+ ]
2197
+ ] = None,
2198
+ hidden: Optional[Union[Var[bool], bool]] = None,
2199
+ input_mode: Optional[
2200
+ Union[
2201
+ Literal[
2202
+ "decimal",
2203
+ "email",
2204
+ "none",
2205
+ "numeric",
2206
+ "search",
2207
+ "tel",
2208
+ "text",
2209
+ "url",
2210
+ ],
2211
+ Var[
2212
+ Literal[
2213
+ "decimal",
2214
+ "email",
2215
+ "none",
2216
+ "numeric",
2217
+ "search",
2218
+ "tel",
2219
+ "text",
2220
+ "url",
2221
+ ]
2222
+ ],
2223
+ ]
2224
+ ] = None,
2225
+ item_prop: Optional[Union[Var[str], str]] = None,
2226
+ lang: Optional[Union[Var[str], str]] = None,
2227
+ role: Optional[
2228
+ Union[
2229
+ Literal[
2230
+ "alert",
2231
+ "alertdialog",
2232
+ "application",
2233
+ "article",
2234
+ "banner",
2235
+ "button",
2236
+ "cell",
2237
+ "checkbox",
2238
+ "columnheader",
2239
+ "combobox",
2240
+ "complementary",
2241
+ "contentinfo",
2242
+ "definition",
2243
+ "dialog",
2244
+ "directory",
2245
+ "document",
2246
+ "feed",
2247
+ "figure",
2248
+ "form",
2249
+ "grid",
2250
+ "gridcell",
2251
+ "group",
2252
+ "heading",
2253
+ "img",
2254
+ "link",
2255
+ "list",
2256
+ "listbox",
2257
+ "listitem",
2258
+ "log",
2259
+ "main",
2260
+ "marquee",
2261
+ "math",
2262
+ "menu",
2263
+ "menubar",
2264
+ "menuitem",
2265
+ "menuitemcheckbox",
2266
+ "menuitemradio",
2267
+ "navigation",
2268
+ "none",
2269
+ "note",
2270
+ "option",
2271
+ "presentation",
2272
+ "progressbar",
2273
+ "radio",
2274
+ "radiogroup",
2275
+ "region",
2276
+ "row",
2277
+ "rowgroup",
2278
+ "rowheader",
2279
+ "scrollbar",
2280
+ "search",
2281
+ "searchbox",
2282
+ "separator",
2283
+ "slider",
2284
+ "spinbutton",
2285
+ "status",
2286
+ "switch",
2287
+ "tab",
2288
+ "table",
2289
+ "tablist",
2290
+ "tabpanel",
2291
+ "term",
2292
+ "textbox",
2293
+ "timer",
2294
+ "toolbar",
2295
+ "tooltip",
2296
+ "tree",
2297
+ "treegrid",
2298
+ "treeitem",
2299
+ ],
2300
+ Var[
2301
+ Literal[
2302
+ "alert",
2303
+ "alertdialog",
2304
+ "application",
2305
+ "article",
2306
+ "banner",
2307
+ "button",
2308
+ "cell",
2309
+ "checkbox",
2310
+ "columnheader",
2311
+ "combobox",
2312
+ "complementary",
2313
+ "contentinfo",
2314
+ "definition",
2315
+ "dialog",
2316
+ "directory",
2317
+ "document",
2318
+ "feed",
2319
+ "figure",
2320
+ "form",
2321
+ "grid",
2322
+ "gridcell",
2323
+ "group",
2324
+ "heading",
2325
+ "img",
2326
+ "link",
2327
+ "list",
2328
+ "listbox",
2329
+ "listitem",
2330
+ "log",
2331
+ "main",
2332
+ "marquee",
2333
+ "math",
2334
+ "menu",
2335
+ "menubar",
2336
+ "menuitem",
2337
+ "menuitemcheckbox",
2338
+ "menuitemradio",
2339
+ "navigation",
2340
+ "none",
2341
+ "note",
2342
+ "option",
2343
+ "presentation",
2344
+ "progressbar",
2345
+ "radio",
2346
+ "radiogroup",
2347
+ "region",
2348
+ "row",
2349
+ "rowgroup",
2350
+ "rowheader",
2351
+ "scrollbar",
2352
+ "search",
2353
+ "searchbox",
2354
+ "separator",
2355
+ "slider",
2356
+ "spinbutton",
2357
+ "status",
2358
+ "switch",
2359
+ "tab",
2360
+ "table",
2361
+ "tablist",
2362
+ "tabpanel",
2363
+ "term",
2364
+ "textbox",
2365
+ "timer",
2366
+ "toolbar",
2367
+ "tooltip",
2368
+ "tree",
2369
+ "treegrid",
2370
+ "treeitem",
2371
+ ]
2372
+ ],
2373
+ ]
1102
2374
  ] = None,
1103
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1104
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1105
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1106
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1107
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1108
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1109
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1110
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1111
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
2375
+ slot: Optional[Union[Var[str], str]] = None,
2376
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2377
+ tab_index: Optional[Union[Var[int], int]] = None,
2378
+ title: Optional[Union[Var[str], str]] = None,
1112
2379
  style: Optional[Style] = None,
1113
2380
  key: Optional[Any] = None,
1114
2381
  id: Optional[Any] = None,