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
@@ -34,32 +34,218 @@ class TableRoot(elements.Table, RadixThemesComponent):
34
34
  variant: Optional[
35
35
  Union[Literal["ghost", "surface"], Var[Literal["ghost", "surface"]]]
36
36
  ] = None,
37
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
38
- summary: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
39
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
37
+ align: Optional[
38
+ Union[
39
+ Literal["center", "left", "right"],
40
+ Var[Literal["center", "left", "right"]],
41
+ ]
42
+ ] = None,
43
+ summary: Optional[Union[Var[str], str]] = None,
44
+ access_key: Optional[Union[Var[str], str]] = None,
40
45
  auto_capitalize: Optional[
41
- Union[Var[Union[bool, int, str]], bool, int, str]
46
+ Union[
47
+ Literal["characters", "none", "off", "on", "sentences", "words"],
48
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
49
+ ]
42
50
  ] = None,
43
51
  content_editable: Optional[
44
- Union[Var[Union[bool, int, str]], bool, int, str]
45
- ] = None,
46
- context_menu: Optional[
47
- Union[Var[Union[bool, int, str]], bool, int, str]
52
+ Union[
53
+ Literal["inherit", "plaintext-only", False, True],
54
+ Var[Literal["inherit", "plaintext-only", False, True]],
55
+ ]
48
56
  ] = None,
49
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
50
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
57
+ context_menu: Optional[Union[Var[str], str]] = None,
58
+ dir: Optional[Union[Var[str], str]] = None,
59
+ draggable: Optional[Union[Var[bool], bool]] = None,
51
60
  enter_key_hint: Optional[
52
- Union[Var[Union[bool, int, str]], bool, int, str]
53
- ] = None,
54
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
55
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
56
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
57
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
58
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
59
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
60
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
61
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
62
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
61
+ Union[
62
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
63
+ Var[
64
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
65
+ ],
66
+ ]
67
+ ] = None,
68
+ hidden: Optional[Union[Var[bool], bool]] = None,
69
+ input_mode: Optional[
70
+ Union[
71
+ Literal[
72
+ "decimal",
73
+ "email",
74
+ "none",
75
+ "numeric",
76
+ "search",
77
+ "tel",
78
+ "text",
79
+ "url",
80
+ ],
81
+ Var[
82
+ Literal[
83
+ "decimal",
84
+ "email",
85
+ "none",
86
+ "numeric",
87
+ "search",
88
+ "tel",
89
+ "text",
90
+ "url",
91
+ ]
92
+ ],
93
+ ]
94
+ ] = None,
95
+ item_prop: Optional[Union[Var[str], str]] = None,
96
+ lang: Optional[Union[Var[str], str]] = None,
97
+ role: Optional[
98
+ Union[
99
+ Literal[
100
+ "alert",
101
+ "alertdialog",
102
+ "application",
103
+ "article",
104
+ "banner",
105
+ "button",
106
+ "cell",
107
+ "checkbox",
108
+ "columnheader",
109
+ "combobox",
110
+ "complementary",
111
+ "contentinfo",
112
+ "definition",
113
+ "dialog",
114
+ "directory",
115
+ "document",
116
+ "feed",
117
+ "figure",
118
+ "form",
119
+ "grid",
120
+ "gridcell",
121
+ "group",
122
+ "heading",
123
+ "img",
124
+ "link",
125
+ "list",
126
+ "listbox",
127
+ "listitem",
128
+ "log",
129
+ "main",
130
+ "marquee",
131
+ "math",
132
+ "menu",
133
+ "menubar",
134
+ "menuitem",
135
+ "menuitemcheckbox",
136
+ "menuitemradio",
137
+ "navigation",
138
+ "none",
139
+ "note",
140
+ "option",
141
+ "presentation",
142
+ "progressbar",
143
+ "radio",
144
+ "radiogroup",
145
+ "region",
146
+ "row",
147
+ "rowgroup",
148
+ "rowheader",
149
+ "scrollbar",
150
+ "search",
151
+ "searchbox",
152
+ "separator",
153
+ "slider",
154
+ "spinbutton",
155
+ "status",
156
+ "switch",
157
+ "tab",
158
+ "table",
159
+ "tablist",
160
+ "tabpanel",
161
+ "term",
162
+ "textbox",
163
+ "timer",
164
+ "toolbar",
165
+ "tooltip",
166
+ "tree",
167
+ "treegrid",
168
+ "treeitem",
169
+ ],
170
+ Var[
171
+ Literal[
172
+ "alert",
173
+ "alertdialog",
174
+ "application",
175
+ "article",
176
+ "banner",
177
+ "button",
178
+ "cell",
179
+ "checkbox",
180
+ "columnheader",
181
+ "combobox",
182
+ "complementary",
183
+ "contentinfo",
184
+ "definition",
185
+ "dialog",
186
+ "directory",
187
+ "document",
188
+ "feed",
189
+ "figure",
190
+ "form",
191
+ "grid",
192
+ "gridcell",
193
+ "group",
194
+ "heading",
195
+ "img",
196
+ "link",
197
+ "list",
198
+ "listbox",
199
+ "listitem",
200
+ "log",
201
+ "main",
202
+ "marquee",
203
+ "math",
204
+ "menu",
205
+ "menubar",
206
+ "menuitem",
207
+ "menuitemcheckbox",
208
+ "menuitemradio",
209
+ "navigation",
210
+ "none",
211
+ "note",
212
+ "option",
213
+ "presentation",
214
+ "progressbar",
215
+ "radio",
216
+ "radiogroup",
217
+ "region",
218
+ "row",
219
+ "rowgroup",
220
+ "rowheader",
221
+ "scrollbar",
222
+ "search",
223
+ "searchbox",
224
+ "separator",
225
+ "slider",
226
+ "spinbutton",
227
+ "status",
228
+ "switch",
229
+ "tab",
230
+ "table",
231
+ "tablist",
232
+ "tabpanel",
233
+ "term",
234
+ "textbox",
235
+ "timer",
236
+ "toolbar",
237
+ "tooltip",
238
+ "tree",
239
+ "treegrid",
240
+ "treeitem",
241
+ ]
242
+ ],
243
+ ]
244
+ ] = None,
245
+ slot: Optional[Union[Var[str], str]] = None,
246
+ spell_check: Optional[Union[Var[bool], bool]] = None,
247
+ tab_index: Optional[Union[Var[int], int]] = None,
248
+ title: Optional[Union[Var[str], str]] = None,
63
249
  style: Optional[Style] = None,
64
250
  key: Optional[Any] = None,
65
251
  id: Optional[Any] = None,
@@ -129,31 +315,211 @@ class TableHeader(elements.Thead, RadixThemesComponent):
129
315
  def create( # type: ignore
130
316
  cls,
131
317
  *children,
132
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
133
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
318
+ access_key: Optional[Union[Var[str], str]] = None,
134
319
  auto_capitalize: Optional[
135
- Union[Var[Union[bool, int, str]], bool, int, str]
320
+ Union[
321
+ Literal["characters", "none", "off", "on", "sentences", "words"],
322
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
323
+ ]
136
324
  ] = None,
137
325
  content_editable: Optional[
138
- Union[Var[Union[bool, int, str]], bool, int, str]
139
- ] = None,
140
- context_menu: Optional[
141
- Union[Var[Union[bool, int, str]], bool, int, str]
326
+ Union[
327
+ Literal["inherit", "plaintext-only", False, True],
328
+ Var[Literal["inherit", "plaintext-only", False, True]],
329
+ ]
142
330
  ] = None,
143
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
144
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
331
+ context_menu: Optional[Union[Var[str], str]] = None,
332
+ dir: Optional[Union[Var[str], str]] = None,
333
+ draggable: Optional[Union[Var[bool], bool]] = None,
145
334
  enter_key_hint: Optional[
146
- Union[Var[Union[bool, int, str]], bool, int, str]
147
- ] = None,
148
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
149
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
150
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
151
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
152
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
153
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
154
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
155
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
156
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
335
+ Union[
336
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
337
+ Var[
338
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
339
+ ],
340
+ ]
341
+ ] = None,
342
+ hidden: Optional[Union[Var[bool], bool]] = None,
343
+ input_mode: Optional[
344
+ Union[
345
+ Literal[
346
+ "decimal",
347
+ "email",
348
+ "none",
349
+ "numeric",
350
+ "search",
351
+ "tel",
352
+ "text",
353
+ "url",
354
+ ],
355
+ Var[
356
+ Literal[
357
+ "decimal",
358
+ "email",
359
+ "none",
360
+ "numeric",
361
+ "search",
362
+ "tel",
363
+ "text",
364
+ "url",
365
+ ]
366
+ ],
367
+ ]
368
+ ] = None,
369
+ item_prop: Optional[Union[Var[str], str]] = None,
370
+ lang: Optional[Union[Var[str], str]] = None,
371
+ role: Optional[
372
+ Union[
373
+ Literal[
374
+ "alert",
375
+ "alertdialog",
376
+ "application",
377
+ "article",
378
+ "banner",
379
+ "button",
380
+ "cell",
381
+ "checkbox",
382
+ "columnheader",
383
+ "combobox",
384
+ "complementary",
385
+ "contentinfo",
386
+ "definition",
387
+ "dialog",
388
+ "directory",
389
+ "document",
390
+ "feed",
391
+ "figure",
392
+ "form",
393
+ "grid",
394
+ "gridcell",
395
+ "group",
396
+ "heading",
397
+ "img",
398
+ "link",
399
+ "list",
400
+ "listbox",
401
+ "listitem",
402
+ "log",
403
+ "main",
404
+ "marquee",
405
+ "math",
406
+ "menu",
407
+ "menubar",
408
+ "menuitem",
409
+ "menuitemcheckbox",
410
+ "menuitemradio",
411
+ "navigation",
412
+ "none",
413
+ "note",
414
+ "option",
415
+ "presentation",
416
+ "progressbar",
417
+ "radio",
418
+ "radiogroup",
419
+ "region",
420
+ "row",
421
+ "rowgroup",
422
+ "rowheader",
423
+ "scrollbar",
424
+ "search",
425
+ "searchbox",
426
+ "separator",
427
+ "slider",
428
+ "spinbutton",
429
+ "status",
430
+ "switch",
431
+ "tab",
432
+ "table",
433
+ "tablist",
434
+ "tabpanel",
435
+ "term",
436
+ "textbox",
437
+ "timer",
438
+ "toolbar",
439
+ "tooltip",
440
+ "tree",
441
+ "treegrid",
442
+ "treeitem",
443
+ ],
444
+ Var[
445
+ Literal[
446
+ "alert",
447
+ "alertdialog",
448
+ "application",
449
+ "article",
450
+ "banner",
451
+ "button",
452
+ "cell",
453
+ "checkbox",
454
+ "columnheader",
455
+ "combobox",
456
+ "complementary",
457
+ "contentinfo",
458
+ "definition",
459
+ "dialog",
460
+ "directory",
461
+ "document",
462
+ "feed",
463
+ "figure",
464
+ "form",
465
+ "grid",
466
+ "gridcell",
467
+ "group",
468
+ "heading",
469
+ "img",
470
+ "link",
471
+ "list",
472
+ "listbox",
473
+ "listitem",
474
+ "log",
475
+ "main",
476
+ "marquee",
477
+ "math",
478
+ "menu",
479
+ "menubar",
480
+ "menuitem",
481
+ "menuitemcheckbox",
482
+ "menuitemradio",
483
+ "navigation",
484
+ "none",
485
+ "note",
486
+ "option",
487
+ "presentation",
488
+ "progressbar",
489
+ "radio",
490
+ "radiogroup",
491
+ "region",
492
+ "row",
493
+ "rowgroup",
494
+ "rowheader",
495
+ "scrollbar",
496
+ "search",
497
+ "searchbox",
498
+ "separator",
499
+ "slider",
500
+ "spinbutton",
501
+ "status",
502
+ "switch",
503
+ "tab",
504
+ "table",
505
+ "tablist",
506
+ "tabpanel",
507
+ "term",
508
+ "textbox",
509
+ "timer",
510
+ "toolbar",
511
+ "tooltip",
512
+ "tree",
513
+ "treegrid",
514
+ "treeitem",
515
+ ]
516
+ ],
517
+ ]
518
+ ] = None,
519
+ slot: Optional[Union[Var[str], str]] = None,
520
+ spell_check: Optional[Union[Var[bool], bool]] = None,
521
+ tab_index: Optional[Union[Var[int], int]] = None,
522
+ title: Optional[Union[Var[str], str]] = None,
157
523
  style: Optional[Style] = None,
158
524
  key: Optional[Any] = None,
159
525
  id: Optional[Any] = None,
@@ -184,7 +550,6 @@ class TableHeader(elements.Thead, RadixThemesComponent):
184
550
 
185
551
  Args:
186
552
  *children: Child components.
187
- align: Alignment of the content within the table header
188
553
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
189
554
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
190
555
  content_editable: Indicates whether the element's content is editable.
@@ -226,30 +591,211 @@ class TableRow(elements.Tr, RadixThemesComponent):
226
591
  Var[Literal["baseline", "center", "end", "start"]],
227
592
  ]
228
593
  ] = None,
229
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
594
+ access_key: Optional[Union[Var[str], str]] = None,
230
595
  auto_capitalize: Optional[
231
- Union[Var[Union[bool, int, str]], bool, int, str]
596
+ Union[
597
+ Literal["characters", "none", "off", "on", "sentences", "words"],
598
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
599
+ ]
232
600
  ] = None,
233
601
  content_editable: Optional[
234
- Union[Var[Union[bool, int, str]], bool, int, str]
235
- ] = None,
236
- context_menu: Optional[
237
- Union[Var[Union[bool, int, str]], bool, int, str]
602
+ Union[
603
+ Literal["inherit", "plaintext-only", False, True],
604
+ Var[Literal["inherit", "plaintext-only", False, True]],
605
+ ]
238
606
  ] = None,
239
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
240
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
607
+ context_menu: Optional[Union[Var[str], str]] = None,
608
+ dir: Optional[Union[Var[str], str]] = None,
609
+ draggable: Optional[Union[Var[bool], bool]] = None,
241
610
  enter_key_hint: Optional[
242
- Union[Var[Union[bool, int, str]], bool, int, str]
243
- ] = None,
244
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
245
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
246
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
247
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
248
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
249
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
250
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
251
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
252
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
611
+ Union[
612
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
613
+ Var[
614
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
615
+ ],
616
+ ]
617
+ ] = None,
618
+ hidden: Optional[Union[Var[bool], bool]] = None,
619
+ input_mode: Optional[
620
+ Union[
621
+ Literal[
622
+ "decimal",
623
+ "email",
624
+ "none",
625
+ "numeric",
626
+ "search",
627
+ "tel",
628
+ "text",
629
+ "url",
630
+ ],
631
+ Var[
632
+ Literal[
633
+ "decimal",
634
+ "email",
635
+ "none",
636
+ "numeric",
637
+ "search",
638
+ "tel",
639
+ "text",
640
+ "url",
641
+ ]
642
+ ],
643
+ ]
644
+ ] = None,
645
+ item_prop: Optional[Union[Var[str], str]] = None,
646
+ lang: Optional[Union[Var[str], str]] = None,
647
+ role: Optional[
648
+ Union[
649
+ Literal[
650
+ "alert",
651
+ "alertdialog",
652
+ "application",
653
+ "article",
654
+ "banner",
655
+ "button",
656
+ "cell",
657
+ "checkbox",
658
+ "columnheader",
659
+ "combobox",
660
+ "complementary",
661
+ "contentinfo",
662
+ "definition",
663
+ "dialog",
664
+ "directory",
665
+ "document",
666
+ "feed",
667
+ "figure",
668
+ "form",
669
+ "grid",
670
+ "gridcell",
671
+ "group",
672
+ "heading",
673
+ "img",
674
+ "link",
675
+ "list",
676
+ "listbox",
677
+ "listitem",
678
+ "log",
679
+ "main",
680
+ "marquee",
681
+ "math",
682
+ "menu",
683
+ "menubar",
684
+ "menuitem",
685
+ "menuitemcheckbox",
686
+ "menuitemradio",
687
+ "navigation",
688
+ "none",
689
+ "note",
690
+ "option",
691
+ "presentation",
692
+ "progressbar",
693
+ "radio",
694
+ "radiogroup",
695
+ "region",
696
+ "row",
697
+ "rowgroup",
698
+ "rowheader",
699
+ "scrollbar",
700
+ "search",
701
+ "searchbox",
702
+ "separator",
703
+ "slider",
704
+ "spinbutton",
705
+ "status",
706
+ "switch",
707
+ "tab",
708
+ "table",
709
+ "tablist",
710
+ "tabpanel",
711
+ "term",
712
+ "textbox",
713
+ "timer",
714
+ "toolbar",
715
+ "tooltip",
716
+ "tree",
717
+ "treegrid",
718
+ "treeitem",
719
+ ],
720
+ Var[
721
+ Literal[
722
+ "alert",
723
+ "alertdialog",
724
+ "application",
725
+ "article",
726
+ "banner",
727
+ "button",
728
+ "cell",
729
+ "checkbox",
730
+ "columnheader",
731
+ "combobox",
732
+ "complementary",
733
+ "contentinfo",
734
+ "definition",
735
+ "dialog",
736
+ "directory",
737
+ "document",
738
+ "feed",
739
+ "figure",
740
+ "form",
741
+ "grid",
742
+ "gridcell",
743
+ "group",
744
+ "heading",
745
+ "img",
746
+ "link",
747
+ "list",
748
+ "listbox",
749
+ "listitem",
750
+ "log",
751
+ "main",
752
+ "marquee",
753
+ "math",
754
+ "menu",
755
+ "menubar",
756
+ "menuitem",
757
+ "menuitemcheckbox",
758
+ "menuitemradio",
759
+ "navigation",
760
+ "none",
761
+ "note",
762
+ "option",
763
+ "presentation",
764
+ "progressbar",
765
+ "radio",
766
+ "radiogroup",
767
+ "region",
768
+ "row",
769
+ "rowgroup",
770
+ "rowheader",
771
+ "scrollbar",
772
+ "search",
773
+ "searchbox",
774
+ "separator",
775
+ "slider",
776
+ "spinbutton",
777
+ "status",
778
+ "switch",
779
+ "tab",
780
+ "table",
781
+ "tablist",
782
+ "tabpanel",
783
+ "term",
784
+ "textbox",
785
+ "timer",
786
+ "toolbar",
787
+ "tooltip",
788
+ "tree",
789
+ "treegrid",
790
+ "treeitem",
791
+ ]
792
+ ],
793
+ ]
794
+ ] = None,
795
+ slot: Optional[Union[Var[str], str]] = None,
796
+ spell_check: Optional[Union[Var[bool], bool]] = None,
797
+ tab_index: Optional[Union[Var[int], int]] = None,
798
+ title: Optional[Union[Var[str], str]] = None,
253
799
  style: Optional[Style] = None,
254
800
  key: Optional[Any] = None,
255
801
  id: Optional[Any] = None,
@@ -280,7 +826,7 @@ class TableRow(elements.Tr, RadixThemesComponent):
280
826
 
281
827
  Args:
282
828
  *children: Child components.
283
- align: Alignment of the content within the table row
829
+ align: The alignment of the row
284
830
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
285
831
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
286
832
  content_editable: Indicates whether the element's content is editable.
@@ -328,35 +874,221 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
328
874
  max_width: Optional[
329
875
  Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
330
876
  ] = None,
331
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
332
- col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
333
- headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
334
- row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
335
- scope: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
336
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
877
+ align: Optional[
878
+ Union[
879
+ Literal["center", "char", "justify", "left", "right"],
880
+ Var[Literal["center", "char", "justify", "left", "right"]],
881
+ ]
882
+ ] = None,
883
+ col_span: Optional[Union[Var[int], int]] = None,
884
+ headers: Optional[Union[Var[str], str]] = None,
885
+ row_span: Optional[Union[Var[int], int]] = None,
886
+ scope: Optional[Union[Var[str], str]] = None,
887
+ access_key: Optional[Union[Var[str], str]] = None,
337
888
  auto_capitalize: Optional[
338
- Union[Var[Union[bool, int, str]], bool, int, str]
889
+ Union[
890
+ Literal["characters", "none", "off", "on", "sentences", "words"],
891
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
892
+ ]
339
893
  ] = None,
340
894
  content_editable: Optional[
341
- Union[Var[Union[bool, int, str]], bool, int, str]
342
- ] = None,
343
- context_menu: Optional[
344
- Union[Var[Union[bool, int, str]], bool, int, str]
895
+ Union[
896
+ Literal["inherit", "plaintext-only", False, True],
897
+ Var[Literal["inherit", "plaintext-only", False, True]],
898
+ ]
345
899
  ] = None,
346
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
347
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
900
+ context_menu: Optional[Union[Var[str], str]] = None,
901
+ dir: Optional[Union[Var[str], str]] = None,
902
+ draggable: Optional[Union[Var[bool], bool]] = None,
348
903
  enter_key_hint: Optional[
349
- Union[Var[Union[bool, int, str]], bool, int, str]
350
- ] = None,
351
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
352
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
353
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
354
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
355
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
356
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
357
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
358
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
359
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
904
+ Union[
905
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
906
+ Var[
907
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
908
+ ],
909
+ ]
910
+ ] = None,
911
+ hidden: Optional[Union[Var[bool], bool]] = None,
912
+ input_mode: Optional[
913
+ Union[
914
+ Literal[
915
+ "decimal",
916
+ "email",
917
+ "none",
918
+ "numeric",
919
+ "search",
920
+ "tel",
921
+ "text",
922
+ "url",
923
+ ],
924
+ Var[
925
+ Literal[
926
+ "decimal",
927
+ "email",
928
+ "none",
929
+ "numeric",
930
+ "search",
931
+ "tel",
932
+ "text",
933
+ "url",
934
+ ]
935
+ ],
936
+ ]
937
+ ] = None,
938
+ item_prop: Optional[Union[Var[str], str]] = None,
939
+ lang: Optional[Union[Var[str], str]] = None,
940
+ role: Optional[
941
+ Union[
942
+ Literal[
943
+ "alert",
944
+ "alertdialog",
945
+ "application",
946
+ "article",
947
+ "banner",
948
+ "button",
949
+ "cell",
950
+ "checkbox",
951
+ "columnheader",
952
+ "combobox",
953
+ "complementary",
954
+ "contentinfo",
955
+ "definition",
956
+ "dialog",
957
+ "directory",
958
+ "document",
959
+ "feed",
960
+ "figure",
961
+ "form",
962
+ "grid",
963
+ "gridcell",
964
+ "group",
965
+ "heading",
966
+ "img",
967
+ "link",
968
+ "list",
969
+ "listbox",
970
+ "listitem",
971
+ "log",
972
+ "main",
973
+ "marquee",
974
+ "math",
975
+ "menu",
976
+ "menubar",
977
+ "menuitem",
978
+ "menuitemcheckbox",
979
+ "menuitemradio",
980
+ "navigation",
981
+ "none",
982
+ "note",
983
+ "option",
984
+ "presentation",
985
+ "progressbar",
986
+ "radio",
987
+ "radiogroup",
988
+ "region",
989
+ "row",
990
+ "rowgroup",
991
+ "rowheader",
992
+ "scrollbar",
993
+ "search",
994
+ "searchbox",
995
+ "separator",
996
+ "slider",
997
+ "spinbutton",
998
+ "status",
999
+ "switch",
1000
+ "tab",
1001
+ "table",
1002
+ "tablist",
1003
+ "tabpanel",
1004
+ "term",
1005
+ "textbox",
1006
+ "timer",
1007
+ "toolbar",
1008
+ "tooltip",
1009
+ "tree",
1010
+ "treegrid",
1011
+ "treeitem",
1012
+ ],
1013
+ Var[
1014
+ Literal[
1015
+ "alert",
1016
+ "alertdialog",
1017
+ "application",
1018
+ "article",
1019
+ "banner",
1020
+ "button",
1021
+ "cell",
1022
+ "checkbox",
1023
+ "columnheader",
1024
+ "combobox",
1025
+ "complementary",
1026
+ "contentinfo",
1027
+ "definition",
1028
+ "dialog",
1029
+ "directory",
1030
+ "document",
1031
+ "feed",
1032
+ "figure",
1033
+ "form",
1034
+ "grid",
1035
+ "gridcell",
1036
+ "group",
1037
+ "heading",
1038
+ "img",
1039
+ "link",
1040
+ "list",
1041
+ "listbox",
1042
+ "listitem",
1043
+ "log",
1044
+ "main",
1045
+ "marquee",
1046
+ "math",
1047
+ "menu",
1048
+ "menubar",
1049
+ "menuitem",
1050
+ "menuitemcheckbox",
1051
+ "menuitemradio",
1052
+ "navigation",
1053
+ "none",
1054
+ "note",
1055
+ "option",
1056
+ "presentation",
1057
+ "progressbar",
1058
+ "radio",
1059
+ "radiogroup",
1060
+ "region",
1061
+ "row",
1062
+ "rowgroup",
1063
+ "rowheader",
1064
+ "scrollbar",
1065
+ "search",
1066
+ "searchbox",
1067
+ "separator",
1068
+ "slider",
1069
+ "spinbutton",
1070
+ "status",
1071
+ "switch",
1072
+ "tab",
1073
+ "table",
1074
+ "tablist",
1075
+ "tabpanel",
1076
+ "term",
1077
+ "textbox",
1078
+ "timer",
1079
+ "toolbar",
1080
+ "tooltip",
1081
+ "tree",
1082
+ "treegrid",
1083
+ "treeitem",
1084
+ ]
1085
+ ],
1086
+ ]
1087
+ ] = None,
1088
+ slot: Optional[Union[Var[str], str]] = None,
1089
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1090
+ tab_index: Optional[Union[Var[int], int]] = None,
1091
+ title: Optional[Union[Var[str], str]] = None,
360
1092
  style: Optional[Style] = None,
361
1093
  key: Optional[Any] = None,
362
1094
  id: Optional[Any] = None,
@@ -430,31 +1162,211 @@ class TableBody(elements.Tbody, RadixThemesComponent):
430
1162
  def create( # type: ignore
431
1163
  cls,
432
1164
  *children,
433
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
434
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1165
+ access_key: Optional[Union[Var[str], str]] = None,
435
1166
  auto_capitalize: Optional[
436
- Union[Var[Union[bool, int, str]], bool, int, str]
1167
+ Union[
1168
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1169
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1170
+ ]
437
1171
  ] = None,
438
1172
  content_editable: Optional[
439
- Union[Var[Union[bool, int, str]], bool, int, str]
440
- ] = None,
441
- context_menu: Optional[
442
- Union[Var[Union[bool, int, str]], bool, int, str]
1173
+ Union[
1174
+ Literal["inherit", "plaintext-only", False, True],
1175
+ Var[Literal["inherit", "plaintext-only", False, True]],
1176
+ ]
443
1177
  ] = None,
444
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
445
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1178
+ context_menu: Optional[Union[Var[str], str]] = None,
1179
+ dir: Optional[Union[Var[str], str]] = None,
1180
+ draggable: Optional[Union[Var[bool], bool]] = None,
446
1181
  enter_key_hint: Optional[
447
- Union[Var[Union[bool, int, str]], bool, int, str]
448
- ] = None,
449
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
450
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
451
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
452
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
453
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
454
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
455
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
456
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
457
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1182
+ Union[
1183
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1184
+ Var[
1185
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1186
+ ],
1187
+ ]
1188
+ ] = None,
1189
+ hidden: Optional[Union[Var[bool], bool]] = None,
1190
+ input_mode: Optional[
1191
+ Union[
1192
+ Literal[
1193
+ "decimal",
1194
+ "email",
1195
+ "none",
1196
+ "numeric",
1197
+ "search",
1198
+ "tel",
1199
+ "text",
1200
+ "url",
1201
+ ],
1202
+ Var[
1203
+ Literal[
1204
+ "decimal",
1205
+ "email",
1206
+ "none",
1207
+ "numeric",
1208
+ "search",
1209
+ "tel",
1210
+ "text",
1211
+ "url",
1212
+ ]
1213
+ ],
1214
+ ]
1215
+ ] = None,
1216
+ item_prop: Optional[Union[Var[str], str]] = None,
1217
+ lang: Optional[Union[Var[str], str]] = None,
1218
+ role: Optional[
1219
+ Union[
1220
+ Literal[
1221
+ "alert",
1222
+ "alertdialog",
1223
+ "application",
1224
+ "article",
1225
+ "banner",
1226
+ "button",
1227
+ "cell",
1228
+ "checkbox",
1229
+ "columnheader",
1230
+ "combobox",
1231
+ "complementary",
1232
+ "contentinfo",
1233
+ "definition",
1234
+ "dialog",
1235
+ "directory",
1236
+ "document",
1237
+ "feed",
1238
+ "figure",
1239
+ "form",
1240
+ "grid",
1241
+ "gridcell",
1242
+ "group",
1243
+ "heading",
1244
+ "img",
1245
+ "link",
1246
+ "list",
1247
+ "listbox",
1248
+ "listitem",
1249
+ "log",
1250
+ "main",
1251
+ "marquee",
1252
+ "math",
1253
+ "menu",
1254
+ "menubar",
1255
+ "menuitem",
1256
+ "menuitemcheckbox",
1257
+ "menuitemradio",
1258
+ "navigation",
1259
+ "none",
1260
+ "note",
1261
+ "option",
1262
+ "presentation",
1263
+ "progressbar",
1264
+ "radio",
1265
+ "radiogroup",
1266
+ "region",
1267
+ "row",
1268
+ "rowgroup",
1269
+ "rowheader",
1270
+ "scrollbar",
1271
+ "search",
1272
+ "searchbox",
1273
+ "separator",
1274
+ "slider",
1275
+ "spinbutton",
1276
+ "status",
1277
+ "switch",
1278
+ "tab",
1279
+ "table",
1280
+ "tablist",
1281
+ "tabpanel",
1282
+ "term",
1283
+ "textbox",
1284
+ "timer",
1285
+ "toolbar",
1286
+ "tooltip",
1287
+ "tree",
1288
+ "treegrid",
1289
+ "treeitem",
1290
+ ],
1291
+ Var[
1292
+ Literal[
1293
+ "alert",
1294
+ "alertdialog",
1295
+ "application",
1296
+ "article",
1297
+ "banner",
1298
+ "button",
1299
+ "cell",
1300
+ "checkbox",
1301
+ "columnheader",
1302
+ "combobox",
1303
+ "complementary",
1304
+ "contentinfo",
1305
+ "definition",
1306
+ "dialog",
1307
+ "directory",
1308
+ "document",
1309
+ "feed",
1310
+ "figure",
1311
+ "form",
1312
+ "grid",
1313
+ "gridcell",
1314
+ "group",
1315
+ "heading",
1316
+ "img",
1317
+ "link",
1318
+ "list",
1319
+ "listbox",
1320
+ "listitem",
1321
+ "log",
1322
+ "main",
1323
+ "marquee",
1324
+ "math",
1325
+ "menu",
1326
+ "menubar",
1327
+ "menuitem",
1328
+ "menuitemcheckbox",
1329
+ "menuitemradio",
1330
+ "navigation",
1331
+ "none",
1332
+ "note",
1333
+ "option",
1334
+ "presentation",
1335
+ "progressbar",
1336
+ "radio",
1337
+ "radiogroup",
1338
+ "region",
1339
+ "row",
1340
+ "rowgroup",
1341
+ "rowheader",
1342
+ "scrollbar",
1343
+ "search",
1344
+ "searchbox",
1345
+ "separator",
1346
+ "slider",
1347
+ "spinbutton",
1348
+ "status",
1349
+ "switch",
1350
+ "tab",
1351
+ "table",
1352
+ "tablist",
1353
+ "tabpanel",
1354
+ "term",
1355
+ "textbox",
1356
+ "timer",
1357
+ "toolbar",
1358
+ "tooltip",
1359
+ "tree",
1360
+ "treegrid",
1361
+ "treeitem",
1362
+ ]
1363
+ ],
1364
+ ]
1365
+ ] = None,
1366
+ slot: Optional[Union[Var[str], str]] = None,
1367
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1368
+ tab_index: Optional[Union[Var[int], int]] = None,
1369
+ title: Optional[Union[Var[str], str]] = None,
458
1370
  style: Optional[Style] = None,
459
1371
  key: Optional[Any] = None,
460
1372
  id: Optional[Any] = None,
@@ -485,7 +1397,6 @@ class TableBody(elements.Tbody, RadixThemesComponent):
485
1397
 
486
1398
  Args:
487
1399
  *children: Child components.
488
- align: Alignment of the content within the table body
489
1400
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
490
1401
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
491
1402
  content_editable: Indicates whether the element's content is editable.
@@ -533,34 +1444,220 @@ class TableCell(elements.Td, CommonPaddingProps, RadixThemesComponent):
533
1444
  max_width: Optional[
534
1445
  Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
535
1446
  ] = None,
536
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
537
- col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
538
- headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
539
- row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
540
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1447
+ align: Optional[
1448
+ Union[
1449
+ Literal["center", "char", "justify", "left", "right"],
1450
+ Var[Literal["center", "char", "justify", "left", "right"]],
1451
+ ]
1452
+ ] = None,
1453
+ col_span: Optional[Union[Var[int], int]] = None,
1454
+ headers: Optional[Union[Var[str], str]] = None,
1455
+ row_span: Optional[Union[Var[int], int]] = None,
1456
+ access_key: Optional[Union[Var[str], str]] = None,
541
1457
  auto_capitalize: Optional[
542
- Union[Var[Union[bool, int, str]], bool, int, str]
1458
+ Union[
1459
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1460
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1461
+ ]
543
1462
  ] = None,
544
1463
  content_editable: Optional[
545
- Union[Var[Union[bool, int, str]], bool, int, str]
546
- ] = None,
547
- context_menu: Optional[
548
- Union[Var[Union[bool, int, str]], bool, int, str]
1464
+ Union[
1465
+ Literal["inherit", "plaintext-only", False, True],
1466
+ Var[Literal["inherit", "plaintext-only", False, True]],
1467
+ ]
549
1468
  ] = None,
550
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
551
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1469
+ context_menu: Optional[Union[Var[str], str]] = None,
1470
+ dir: Optional[Union[Var[str], str]] = None,
1471
+ draggable: Optional[Union[Var[bool], bool]] = None,
552
1472
  enter_key_hint: Optional[
553
- Union[Var[Union[bool, int, str]], bool, int, str]
554
- ] = None,
555
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
556
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
557
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
558
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
559
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
560
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
561
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
562
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
563
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1473
+ Union[
1474
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1475
+ Var[
1476
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1477
+ ],
1478
+ ]
1479
+ ] = None,
1480
+ hidden: Optional[Union[Var[bool], bool]] = None,
1481
+ input_mode: Optional[
1482
+ Union[
1483
+ Literal[
1484
+ "decimal",
1485
+ "email",
1486
+ "none",
1487
+ "numeric",
1488
+ "search",
1489
+ "tel",
1490
+ "text",
1491
+ "url",
1492
+ ],
1493
+ Var[
1494
+ Literal[
1495
+ "decimal",
1496
+ "email",
1497
+ "none",
1498
+ "numeric",
1499
+ "search",
1500
+ "tel",
1501
+ "text",
1502
+ "url",
1503
+ ]
1504
+ ],
1505
+ ]
1506
+ ] = None,
1507
+ item_prop: Optional[Union[Var[str], str]] = None,
1508
+ lang: Optional[Union[Var[str], str]] = None,
1509
+ role: Optional[
1510
+ Union[
1511
+ Literal[
1512
+ "alert",
1513
+ "alertdialog",
1514
+ "application",
1515
+ "article",
1516
+ "banner",
1517
+ "button",
1518
+ "cell",
1519
+ "checkbox",
1520
+ "columnheader",
1521
+ "combobox",
1522
+ "complementary",
1523
+ "contentinfo",
1524
+ "definition",
1525
+ "dialog",
1526
+ "directory",
1527
+ "document",
1528
+ "feed",
1529
+ "figure",
1530
+ "form",
1531
+ "grid",
1532
+ "gridcell",
1533
+ "group",
1534
+ "heading",
1535
+ "img",
1536
+ "link",
1537
+ "list",
1538
+ "listbox",
1539
+ "listitem",
1540
+ "log",
1541
+ "main",
1542
+ "marquee",
1543
+ "math",
1544
+ "menu",
1545
+ "menubar",
1546
+ "menuitem",
1547
+ "menuitemcheckbox",
1548
+ "menuitemradio",
1549
+ "navigation",
1550
+ "none",
1551
+ "note",
1552
+ "option",
1553
+ "presentation",
1554
+ "progressbar",
1555
+ "radio",
1556
+ "radiogroup",
1557
+ "region",
1558
+ "row",
1559
+ "rowgroup",
1560
+ "rowheader",
1561
+ "scrollbar",
1562
+ "search",
1563
+ "searchbox",
1564
+ "separator",
1565
+ "slider",
1566
+ "spinbutton",
1567
+ "status",
1568
+ "switch",
1569
+ "tab",
1570
+ "table",
1571
+ "tablist",
1572
+ "tabpanel",
1573
+ "term",
1574
+ "textbox",
1575
+ "timer",
1576
+ "toolbar",
1577
+ "tooltip",
1578
+ "tree",
1579
+ "treegrid",
1580
+ "treeitem",
1581
+ ],
1582
+ Var[
1583
+ Literal[
1584
+ "alert",
1585
+ "alertdialog",
1586
+ "application",
1587
+ "article",
1588
+ "banner",
1589
+ "button",
1590
+ "cell",
1591
+ "checkbox",
1592
+ "columnheader",
1593
+ "combobox",
1594
+ "complementary",
1595
+ "contentinfo",
1596
+ "definition",
1597
+ "dialog",
1598
+ "directory",
1599
+ "document",
1600
+ "feed",
1601
+ "figure",
1602
+ "form",
1603
+ "grid",
1604
+ "gridcell",
1605
+ "group",
1606
+ "heading",
1607
+ "img",
1608
+ "link",
1609
+ "list",
1610
+ "listbox",
1611
+ "listitem",
1612
+ "log",
1613
+ "main",
1614
+ "marquee",
1615
+ "math",
1616
+ "menu",
1617
+ "menubar",
1618
+ "menuitem",
1619
+ "menuitemcheckbox",
1620
+ "menuitemradio",
1621
+ "navigation",
1622
+ "none",
1623
+ "note",
1624
+ "option",
1625
+ "presentation",
1626
+ "progressbar",
1627
+ "radio",
1628
+ "radiogroup",
1629
+ "region",
1630
+ "row",
1631
+ "rowgroup",
1632
+ "rowheader",
1633
+ "scrollbar",
1634
+ "search",
1635
+ "searchbox",
1636
+ "separator",
1637
+ "slider",
1638
+ "spinbutton",
1639
+ "status",
1640
+ "switch",
1641
+ "tab",
1642
+ "table",
1643
+ "tablist",
1644
+ "tabpanel",
1645
+ "term",
1646
+ "textbox",
1647
+ "timer",
1648
+ "toolbar",
1649
+ "tooltip",
1650
+ "tree",
1651
+ "treegrid",
1652
+ "treeitem",
1653
+ ]
1654
+ ],
1655
+ ]
1656
+ ] = None,
1657
+ slot: Optional[Union[Var[str], str]] = None,
1658
+ spell_check: Optional[Union[Var[bool], bool]] = None,
1659
+ tab_index: Optional[Union[Var[int], int]] = None,
1660
+ title: Optional[Union[Var[str], str]] = None,
564
1661
  p: Optional[
565
1662
  Union[
566
1663
  Breakpoints[
@@ -771,35 +1868,221 @@ class TableRowHeaderCell(elements.Th, CommonPaddingProps, RadixThemesComponent):
771
1868
  max_width: Optional[
772
1869
  Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
773
1870
  ] = None,
774
- align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
775
- col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
776
- headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
777
- row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
778
- scope: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
779
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1871
+ align: Optional[
1872
+ Union[
1873
+ Literal["center", "char", "justify", "left", "right"],
1874
+ Var[Literal["center", "char", "justify", "left", "right"]],
1875
+ ]
1876
+ ] = None,
1877
+ col_span: Optional[Union[Var[int], int]] = None,
1878
+ headers: Optional[Union[Var[str], str]] = None,
1879
+ row_span: Optional[Union[Var[int], int]] = None,
1880
+ scope: Optional[Union[Var[str], str]] = None,
1881
+ access_key: Optional[Union[Var[str], str]] = None,
780
1882
  auto_capitalize: Optional[
781
- Union[Var[Union[bool, int, str]], bool, int, str]
1883
+ Union[
1884
+ Literal["characters", "none", "off", "on", "sentences", "words"],
1885
+ Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
1886
+ ]
782
1887
  ] = None,
783
1888
  content_editable: Optional[
784
- Union[Var[Union[bool, int, str]], bool, int, str]
785
- ] = None,
786
- context_menu: Optional[
787
- Union[Var[Union[bool, int, str]], bool, int, str]
1889
+ Union[
1890
+ Literal["inherit", "plaintext-only", False, True],
1891
+ Var[Literal["inherit", "plaintext-only", False, True]],
1892
+ ]
788
1893
  ] = None,
789
- dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
790
- draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1894
+ context_menu: Optional[Union[Var[str], str]] = None,
1895
+ dir: Optional[Union[Var[str], str]] = None,
1896
+ draggable: Optional[Union[Var[bool], bool]] = None,
791
1897
  enter_key_hint: Optional[
792
- Union[Var[Union[bool, int, str]], bool, int, str]
793
- ] = None,
794
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
795
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
796
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
797
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
798
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
799
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
800
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
801
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
802
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
1898
+ Union[
1899
+ Literal["done", "enter", "go", "next", "previous", "search", "send"],
1900
+ Var[
1901
+ Literal["done", "enter", "go", "next", "previous", "search", "send"]
1902
+ ],
1903
+ ]
1904
+ ] = None,
1905
+ hidden: Optional[Union[Var[bool], bool]] = None,
1906
+ input_mode: Optional[
1907
+ Union[
1908
+ Literal[
1909
+ "decimal",
1910
+ "email",
1911
+ "none",
1912
+ "numeric",
1913
+ "search",
1914
+ "tel",
1915
+ "text",
1916
+ "url",
1917
+ ],
1918
+ Var[
1919
+ Literal[
1920
+ "decimal",
1921
+ "email",
1922
+ "none",
1923
+ "numeric",
1924
+ "search",
1925
+ "tel",
1926
+ "text",
1927
+ "url",
1928
+ ]
1929
+ ],
1930
+ ]
1931
+ ] = None,
1932
+ item_prop: Optional[Union[Var[str], str]] = None,
1933
+ lang: Optional[Union[Var[str], str]] = None,
1934
+ role: Optional[
1935
+ Union[
1936
+ Literal[
1937
+ "alert",
1938
+ "alertdialog",
1939
+ "application",
1940
+ "article",
1941
+ "banner",
1942
+ "button",
1943
+ "cell",
1944
+ "checkbox",
1945
+ "columnheader",
1946
+ "combobox",
1947
+ "complementary",
1948
+ "contentinfo",
1949
+ "definition",
1950
+ "dialog",
1951
+ "directory",
1952
+ "document",
1953
+ "feed",
1954
+ "figure",
1955
+ "form",
1956
+ "grid",
1957
+ "gridcell",
1958
+ "group",
1959
+ "heading",
1960
+ "img",
1961
+ "link",
1962
+ "list",
1963
+ "listbox",
1964
+ "listitem",
1965
+ "log",
1966
+ "main",
1967
+ "marquee",
1968
+ "math",
1969
+ "menu",
1970
+ "menubar",
1971
+ "menuitem",
1972
+ "menuitemcheckbox",
1973
+ "menuitemradio",
1974
+ "navigation",
1975
+ "none",
1976
+ "note",
1977
+ "option",
1978
+ "presentation",
1979
+ "progressbar",
1980
+ "radio",
1981
+ "radiogroup",
1982
+ "region",
1983
+ "row",
1984
+ "rowgroup",
1985
+ "rowheader",
1986
+ "scrollbar",
1987
+ "search",
1988
+ "searchbox",
1989
+ "separator",
1990
+ "slider",
1991
+ "spinbutton",
1992
+ "status",
1993
+ "switch",
1994
+ "tab",
1995
+ "table",
1996
+ "tablist",
1997
+ "tabpanel",
1998
+ "term",
1999
+ "textbox",
2000
+ "timer",
2001
+ "toolbar",
2002
+ "tooltip",
2003
+ "tree",
2004
+ "treegrid",
2005
+ "treeitem",
2006
+ ],
2007
+ Var[
2008
+ Literal[
2009
+ "alert",
2010
+ "alertdialog",
2011
+ "application",
2012
+ "article",
2013
+ "banner",
2014
+ "button",
2015
+ "cell",
2016
+ "checkbox",
2017
+ "columnheader",
2018
+ "combobox",
2019
+ "complementary",
2020
+ "contentinfo",
2021
+ "definition",
2022
+ "dialog",
2023
+ "directory",
2024
+ "document",
2025
+ "feed",
2026
+ "figure",
2027
+ "form",
2028
+ "grid",
2029
+ "gridcell",
2030
+ "group",
2031
+ "heading",
2032
+ "img",
2033
+ "link",
2034
+ "list",
2035
+ "listbox",
2036
+ "listitem",
2037
+ "log",
2038
+ "main",
2039
+ "marquee",
2040
+ "math",
2041
+ "menu",
2042
+ "menubar",
2043
+ "menuitem",
2044
+ "menuitemcheckbox",
2045
+ "menuitemradio",
2046
+ "navigation",
2047
+ "none",
2048
+ "note",
2049
+ "option",
2050
+ "presentation",
2051
+ "progressbar",
2052
+ "radio",
2053
+ "radiogroup",
2054
+ "region",
2055
+ "row",
2056
+ "rowgroup",
2057
+ "rowheader",
2058
+ "scrollbar",
2059
+ "search",
2060
+ "searchbox",
2061
+ "separator",
2062
+ "slider",
2063
+ "spinbutton",
2064
+ "status",
2065
+ "switch",
2066
+ "tab",
2067
+ "table",
2068
+ "tablist",
2069
+ "tabpanel",
2070
+ "term",
2071
+ "textbox",
2072
+ "timer",
2073
+ "toolbar",
2074
+ "tooltip",
2075
+ "tree",
2076
+ "treegrid",
2077
+ "treeitem",
2078
+ ]
2079
+ ],
2080
+ ]
2081
+ ] = None,
2082
+ slot: Optional[Union[Var[str], str]] = None,
2083
+ spell_check: Optional[Union[Var[bool], bool]] = None,
2084
+ tab_index: Optional[Union[Var[int], int]] = None,
2085
+ title: Optional[Union[Var[str], str]] = None,
803
2086
  p: Optional[
804
2087
  Union[
805
2088
  Breakpoints[