reflex 0.8.15a1__py3-none-any.whl → 0.8.16__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 (140) hide show
  1. reflex/.templates/web/utils/state.js +68 -8
  2. reflex/app.py +45 -51
  3. reflex/app_mixins/lifespan.py +12 -5
  4. reflex/base.py +1 -0
  5. reflex/compiler/compiler.py +4 -6
  6. reflex/compiler/templates.py +25 -31
  7. reflex/compiler/utils.py +6 -5
  8. reflex/components/base/body.pyi +1 -195
  9. reflex/components/base/link.pyi +1 -407
  10. reflex/components/base/meta.pyi +1 -405
  11. reflex/components/base/script.pyi +1 -237
  12. reflex/components/component.py +41 -46
  13. reflex/components/core/auto_scroll.pyi +1 -195
  14. reflex/components/core/banner.pyi +1 -391
  15. reflex/components/core/breakpoints.py +14 -18
  16. reflex/components/core/html.pyi +1 -197
  17. reflex/components/core/match.py +2 -2
  18. reflex/components/core/sticky.py +11 -15
  19. reflex/components/core/sticky.pyi +0 -788
  20. reflex/components/core/upload.py +1 -3
  21. reflex/components/core/window_events.pyi +6 -5
  22. reflex/components/datadisplay/code.pyi +1 -0
  23. reflex/components/datadisplay/dataeditor.py +4 -6
  24. reflex/components/datadisplay/shiki_code_block.py +106 -110
  25. reflex/components/dynamic.py +4 -6
  26. reflex/components/el/elements/__init__.py +5 -7
  27. reflex/components/el/elements/__init__.pyi +5 -7
  28. reflex/components/el/elements/base.py +1 -1
  29. reflex/components/el/elements/base.pyi +1 -195
  30. reflex/components/el/elements/forms.py +7 -9
  31. reflex/components/el/elements/forms.pyi +12 -3112
  32. reflex/components/el/elements/inline.pyi +0 -5481
  33. reflex/components/el/elements/media.pyi +0 -10280
  34. reflex/components/el/elements/metadata.pyi +1 -835
  35. reflex/components/el/elements/other.pyi +1 -1365
  36. reflex/components/el/elements/scripts.pyi +1 -625
  37. reflex/components/el/elements/sectioning.pyi +1 -2911
  38. reflex/components/el/elements/tables.pyi +1 -1973
  39. reflex/components/el/elements/typography.pyi +1 -3125
  40. reflex/components/lucide/icon.py +4 -4
  41. reflex/components/lucide/icon.pyi +0 -4
  42. reflex/components/markdown/markdown.py +15 -19
  43. reflex/components/markdown/markdown.pyi +1 -0
  44. reflex/components/moment/moment.pyi +0 -49
  45. reflex/components/props.py +3 -3
  46. reflex/components/radix/primitives/accordion.py +4 -6
  47. reflex/components/radix/primitives/accordion.pyi +0 -14
  48. reflex/components/radix/primitives/base.pyi +0 -5
  49. reflex/components/radix/primitives/dialog.py +2 -0
  50. reflex/components/radix/primitives/dialog.pyi +1 -233
  51. reflex/components/radix/primitives/drawer.pyi +0 -18
  52. reflex/components/radix/primitives/form.pyi +30 -632
  53. reflex/components/radix/primitives/progress.pyi +0 -10
  54. reflex/components/radix/primitives/slider.pyi +0 -10
  55. reflex/components/radix/themes/color_mode.pyi +1 -284
  56. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  57. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  58. reflex/components/radix/themes/components/avatar.pyi +0 -80
  59. reflex/components/radix/themes/components/badge.pyi +1 -270
  60. reflex/components/radix/themes/components/button.pyi +1 -274
  61. reflex/components/radix/themes/components/callout.pyi +0 -1197
  62. reflex/components/radix/themes/components/card.pyi +1 -209
  63. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  64. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  65. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  66. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  67. reflex/components/radix/themes/components/data_list.pyi +1 -107
  68. reflex/components/radix/themes/components/dialog.pyi +1 -210
  69. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  70. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  71. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  72. reflex/components/radix/themes/components/inset.pyi +0 -252
  73. reflex/components/radix/themes/components/popover.pyi +1 -234
  74. reflex/components/radix/themes/components/progress.pyi +1 -84
  75. reflex/components/radix/themes/components/radio.pyi +1 -72
  76. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  77. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  78. reflex/components/radix/themes/components/select.pyi +1 -376
  79. reflex/components/radix/themes/components/separator.pyi +0 -77
  80. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  81. reflex/components/radix/themes/components/slider.py +3 -5
  82. reflex/components/radix/themes/components/spinner.pyi +0 -5
  83. reflex/components/radix/themes/components/switch.pyi +0 -89
  84. reflex/components/radix/themes/components/table.pyi +0 -1453
  85. reflex/components/radix/themes/components/text_area.pyi +7 -282
  86. reflex/components/radix/themes/components/text_field.pyi +6 -392
  87. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  88. reflex/components/radix/themes/layout/box.pyi +1 -195
  89. reflex/components/radix/themes/layout/center.pyi +0 -194
  90. reflex/components/radix/themes/layout/container.pyi +0 -178
  91. reflex/components/radix/themes/layout/flex.pyi +0 -194
  92. reflex/components/radix/themes/layout/grid.pyi +0 -194
  93. reflex/components/radix/themes/layout/list.pyi +0 -978
  94. reflex/components/radix/themes/layout/section.pyi +0 -194
  95. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  96. reflex/components/radix/themes/layout/stack.pyi +0 -582
  97. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  98. reflex/components/radix/themes/typography/code.pyi +0 -194
  99. reflex/components/radix/themes/typography/heading.pyi +0 -194
  100. reflex/components/radix/themes/typography/link.pyi +0 -237
  101. reflex/components/radix/themes/typography/text.pyi +0 -1360
  102. reflex/components/react_router/dom.pyi +0 -237
  103. reflex/components/recharts/cartesian.py +12 -18
  104. reflex/components/recharts/general.py +12 -18
  105. reflex/constants/installer.py +5 -5
  106. reflex/custom_components/custom_components.py +6 -5
  107. reflex/environment.py +30 -7
  108. reflex/event.py +14 -12
  109. reflex/experimental/client_state.py +11 -12
  110. reflex/istate/data.py +8 -10
  111. reflex/istate/manager/__init__.py +3 -0
  112. reflex/istate/manager/disk.py +151 -5
  113. reflex/model.py +1 -1
  114. reflex/plugins/_screenshot.py +2 -2
  115. reflex/plugins/shared_tailwind.py +9 -14
  116. reflex/reflex.py +7 -9
  117. reflex/state.py +30 -37
  118. reflex/style.py +6 -6
  119. reflex/testing.py +54 -30
  120. reflex/utils/codespaces.py +31 -2
  121. reflex/utils/compat.py +1 -0
  122. reflex/utils/decorator.py +3 -3
  123. reflex/utils/format.py +18 -22
  124. reflex/utils/prerequisites.py +1 -1
  125. reflex/utils/pyi_generator.py +51 -57
  126. reflex/utils/serializers.py +1 -1
  127. reflex/utils/telemetry.py +1 -1
  128. reflex/utils/templates.py +4 -4
  129. reflex/utils/types.py +11 -4
  130. reflex/vars/base.py +26 -29
  131. reflex/vars/color.py +6 -8
  132. reflex/vars/dep_tracking.py +5 -3
  133. reflex/vars/function.py +3 -3
  134. reflex/vars/object.py +9 -13
  135. reflex/vars/sequence.py +18 -24
  136. {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/METADATA +1 -1
  137. {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/RECORD +140 -140
  138. {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/WHEEL +0 -0
  139. {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/entry_points.txt +0 -0
  140. {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/licenses/LICENSE +0 -0
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.core.breakpoints import Breakpoints
10
10
  from reflex.event import EventType, PointerEventInfo
@@ -17,184 +17,6 @@ class Canvas(BaseHTML):
17
17
  def create(
18
18
  cls,
19
19
  *children,
20
- access_key: Var[str] | str | None = None,
21
- auto_capitalize: Literal[
22
- "characters", "none", "off", "on", "sentences", "words"
23
- ]
24
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
25
- | None = None,
26
- content_editable: Literal["inherit", "plaintext-only", False, True]
27
- | Var[Literal["inherit", "plaintext-only", False, True]]
28
- | None = None,
29
- context_menu: Var[str] | str | None = None,
30
- dir: Var[str] | str | None = None,
31
- draggable: Var[bool] | bool | None = None,
32
- enter_key_hint: Literal[
33
- "done", "enter", "go", "next", "previous", "search", "send"
34
- ]
35
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
36
- | None = None,
37
- hidden: Var[bool] | bool | None = None,
38
- input_mode: Literal[
39
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
40
- ]
41
- | Var[
42
- Literal[
43
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
44
- ]
45
- ]
46
- | None = None,
47
- item_prop: Var[str] | str | None = None,
48
- lang: Var[str] | str | None = None,
49
- role: Literal[
50
- "alert",
51
- "alertdialog",
52
- "application",
53
- "article",
54
- "banner",
55
- "button",
56
- "cell",
57
- "checkbox",
58
- "columnheader",
59
- "combobox",
60
- "complementary",
61
- "contentinfo",
62
- "definition",
63
- "dialog",
64
- "directory",
65
- "document",
66
- "feed",
67
- "figure",
68
- "form",
69
- "grid",
70
- "gridcell",
71
- "group",
72
- "heading",
73
- "img",
74
- "link",
75
- "list",
76
- "listbox",
77
- "listitem",
78
- "log",
79
- "main",
80
- "marquee",
81
- "math",
82
- "menu",
83
- "menubar",
84
- "menuitem",
85
- "menuitemcheckbox",
86
- "menuitemradio",
87
- "navigation",
88
- "none",
89
- "note",
90
- "option",
91
- "presentation",
92
- "progressbar",
93
- "radio",
94
- "radiogroup",
95
- "region",
96
- "row",
97
- "rowgroup",
98
- "rowheader",
99
- "scrollbar",
100
- "search",
101
- "searchbox",
102
- "separator",
103
- "slider",
104
- "spinbutton",
105
- "status",
106
- "switch",
107
- "tab",
108
- "table",
109
- "tablist",
110
- "tabpanel",
111
- "term",
112
- "textbox",
113
- "timer",
114
- "toolbar",
115
- "tooltip",
116
- "tree",
117
- "treegrid",
118
- "treeitem",
119
- ]
120
- | Var[
121
- Literal[
122
- "alert",
123
- "alertdialog",
124
- "application",
125
- "article",
126
- "banner",
127
- "button",
128
- "cell",
129
- "checkbox",
130
- "columnheader",
131
- "combobox",
132
- "complementary",
133
- "contentinfo",
134
- "definition",
135
- "dialog",
136
- "directory",
137
- "document",
138
- "feed",
139
- "figure",
140
- "form",
141
- "grid",
142
- "gridcell",
143
- "group",
144
- "heading",
145
- "img",
146
- "link",
147
- "list",
148
- "listbox",
149
- "listitem",
150
- "log",
151
- "main",
152
- "marquee",
153
- "math",
154
- "menu",
155
- "menubar",
156
- "menuitem",
157
- "menuitemcheckbox",
158
- "menuitemradio",
159
- "navigation",
160
- "none",
161
- "note",
162
- "option",
163
- "presentation",
164
- "progressbar",
165
- "radio",
166
- "radiogroup",
167
- "region",
168
- "row",
169
- "rowgroup",
170
- "rowheader",
171
- "scrollbar",
172
- "search",
173
- "searchbox",
174
- "separator",
175
- "slider",
176
- "spinbutton",
177
- "status",
178
- "switch",
179
- "tab",
180
- "table",
181
- "tablist",
182
- "tabpanel",
183
- "term",
184
- "textbox",
185
- "timer",
186
- "toolbar",
187
- "tooltip",
188
- "tree",
189
- "treegrid",
190
- "treeitem",
191
- ]
192
- ]
193
- | None = None,
194
- slot: Var[str] | str | None = None,
195
- spell_check: Var[bool] | bool | None = None,
196
- tab_index: Var[int] | int | None = None,
197
- title: Var[str] | str | None = None,
198
20
  style: Sequence[Mapping[str, Any]]
199
21
  | Mapping[str, Any]
200
22
  | Var[Mapping[str, Any]]
@@ -227,22 +49,6 @@ class Canvas(BaseHTML):
227
49
 
228
50
  Args:
229
51
  *children: The children of the component.
230
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
231
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
232
- content_editable: Indicates whether the element's content is editable.
233
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
234
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
235
- draggable: Defines whether the element can be dragged.
236
- enter_key_hint: Hints what media types the media element is able to play.
237
- hidden: Defines whether the element is hidden.
238
- input_mode: Defines the type of the element.
239
- item_prop: Defines the name of the element for metadata purposes.
240
- lang: Defines the language used in the element.
241
- role: Defines the role of the element.
242
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
243
- spell_check: Defines whether the element may be checked for spelling errors.
244
- tab_index: Defines the position of the current element in the tabbing order.
245
- title: Defines a tooltip for the element.
246
52
  style: The style of the component.
247
53
  key: A unique key for the component.
248
54
  id: The id for the component.
@@ -260,184 +66,6 @@ class Noscript(BaseHTML):
260
66
  def create(
261
67
  cls,
262
68
  *children,
263
- access_key: Var[str] | str | None = None,
264
- auto_capitalize: Literal[
265
- "characters", "none", "off", "on", "sentences", "words"
266
- ]
267
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
268
- | None = None,
269
- content_editable: Literal["inherit", "plaintext-only", False, True]
270
- | Var[Literal["inherit", "plaintext-only", False, True]]
271
- | None = None,
272
- context_menu: Var[str] | str | None = None,
273
- dir: Var[str] | str | None = None,
274
- draggable: Var[bool] | bool | None = None,
275
- enter_key_hint: Literal[
276
- "done", "enter", "go", "next", "previous", "search", "send"
277
- ]
278
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
279
- | None = None,
280
- hidden: Var[bool] | bool | None = None,
281
- input_mode: Literal[
282
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
283
- ]
284
- | Var[
285
- Literal[
286
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
287
- ]
288
- ]
289
- | None = None,
290
- item_prop: Var[str] | str | None = None,
291
- lang: Var[str] | str | None = None,
292
- role: Literal[
293
- "alert",
294
- "alertdialog",
295
- "application",
296
- "article",
297
- "banner",
298
- "button",
299
- "cell",
300
- "checkbox",
301
- "columnheader",
302
- "combobox",
303
- "complementary",
304
- "contentinfo",
305
- "definition",
306
- "dialog",
307
- "directory",
308
- "document",
309
- "feed",
310
- "figure",
311
- "form",
312
- "grid",
313
- "gridcell",
314
- "group",
315
- "heading",
316
- "img",
317
- "link",
318
- "list",
319
- "listbox",
320
- "listitem",
321
- "log",
322
- "main",
323
- "marquee",
324
- "math",
325
- "menu",
326
- "menubar",
327
- "menuitem",
328
- "menuitemcheckbox",
329
- "menuitemradio",
330
- "navigation",
331
- "none",
332
- "note",
333
- "option",
334
- "presentation",
335
- "progressbar",
336
- "radio",
337
- "radiogroup",
338
- "region",
339
- "row",
340
- "rowgroup",
341
- "rowheader",
342
- "scrollbar",
343
- "search",
344
- "searchbox",
345
- "separator",
346
- "slider",
347
- "spinbutton",
348
- "status",
349
- "switch",
350
- "tab",
351
- "table",
352
- "tablist",
353
- "tabpanel",
354
- "term",
355
- "textbox",
356
- "timer",
357
- "toolbar",
358
- "tooltip",
359
- "tree",
360
- "treegrid",
361
- "treeitem",
362
- ]
363
- | Var[
364
- Literal[
365
- "alert",
366
- "alertdialog",
367
- "application",
368
- "article",
369
- "banner",
370
- "button",
371
- "cell",
372
- "checkbox",
373
- "columnheader",
374
- "combobox",
375
- "complementary",
376
- "contentinfo",
377
- "definition",
378
- "dialog",
379
- "directory",
380
- "document",
381
- "feed",
382
- "figure",
383
- "form",
384
- "grid",
385
- "gridcell",
386
- "group",
387
- "heading",
388
- "img",
389
- "link",
390
- "list",
391
- "listbox",
392
- "listitem",
393
- "log",
394
- "main",
395
- "marquee",
396
- "math",
397
- "menu",
398
- "menubar",
399
- "menuitem",
400
- "menuitemcheckbox",
401
- "menuitemradio",
402
- "navigation",
403
- "none",
404
- "note",
405
- "option",
406
- "presentation",
407
- "progressbar",
408
- "radio",
409
- "radiogroup",
410
- "region",
411
- "row",
412
- "rowgroup",
413
- "rowheader",
414
- "scrollbar",
415
- "search",
416
- "searchbox",
417
- "separator",
418
- "slider",
419
- "spinbutton",
420
- "status",
421
- "switch",
422
- "tab",
423
- "table",
424
- "tablist",
425
- "tabpanel",
426
- "term",
427
- "textbox",
428
- "timer",
429
- "toolbar",
430
- "tooltip",
431
- "tree",
432
- "treegrid",
433
- "treeitem",
434
- ]
435
- ]
436
- | None = None,
437
- slot: Var[str] | str | None = None,
438
- spell_check: Var[bool] | bool | None = None,
439
- tab_index: Var[int] | int | None = None,
440
- title: Var[str] | str | None = None,
441
69
  style: Sequence[Mapping[str, Any]]
442
70
  | Mapping[str, Any]
443
71
  | Var[Mapping[str, Any]]
@@ -470,22 +98,6 @@ class Noscript(BaseHTML):
470
98
 
471
99
  Args:
472
100
  *children: The children of the component.
473
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
474
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
475
- content_editable: Indicates whether the element's content is editable.
476
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
477
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
478
- draggable: Defines whether the element can be dragged.
479
- enter_key_hint: Hints what media types the media element is able to play.
480
- hidden: Defines whether the element is hidden.
481
- input_mode: Defines the type of the element.
482
- item_prop: Defines the name of the element for metadata purposes.
483
- lang: Defines the language used in the element.
484
- role: Defines the role of the element.
485
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
486
- spell_check: Defines whether the element may be checked for spelling errors.
487
- tab_index: Defines the position of the current element in the tabbing order.
488
- title: Defines a tooltip for the element.
489
101
  style: The style of the component.
490
102
  key: A unique key for the component.
491
103
  id: The id for the component.
@@ -503,218 +115,6 @@ class Script(BaseHTML):
503
115
  def create(
504
116
  cls,
505
117
  *children,
506
- async_: Var[bool] | bool | None = None,
507
- char_set: Var[str] | str | None = None,
508
- cross_origin: Literal["", "anonymous", "use-credentials"]
509
- | Var[Literal["", "anonymous", "use-credentials"]]
510
- | None = None,
511
- defer: Var[bool] | bool | None = None,
512
- integrity: Var[str] | str | None = None,
513
- referrer_policy: Literal[
514
- "",
515
- "no-referrer",
516
- "no-referrer-when-downgrade",
517
- "origin",
518
- "origin-when-cross-origin",
519
- "same-origin",
520
- "strict-origin",
521
- "strict-origin-when-cross-origin",
522
- "unsafe-url",
523
- ]
524
- | Var[
525
- Literal[
526
- "",
527
- "no-referrer",
528
- "no-referrer-when-downgrade",
529
- "origin",
530
- "origin-when-cross-origin",
531
- "same-origin",
532
- "strict-origin",
533
- "strict-origin-when-cross-origin",
534
- "unsafe-url",
535
- ]
536
- ]
537
- | None = None,
538
- src: Var[str] | str | None = None,
539
- type: Var[str] | str | None = None,
540
- access_key: Var[str] | str | None = None,
541
- auto_capitalize: Literal[
542
- "characters", "none", "off", "on", "sentences", "words"
543
- ]
544
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
545
- | None = None,
546
- content_editable: Literal["inherit", "plaintext-only", False, True]
547
- | Var[Literal["inherit", "plaintext-only", False, True]]
548
- | None = None,
549
- context_menu: Var[str] | str | None = None,
550
- dir: Var[str] | str | None = None,
551
- draggable: Var[bool] | bool | None = None,
552
- enter_key_hint: Literal[
553
- "done", "enter", "go", "next", "previous", "search", "send"
554
- ]
555
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
556
- | None = None,
557
- hidden: Var[bool] | bool | None = None,
558
- input_mode: Literal[
559
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
560
- ]
561
- | Var[
562
- Literal[
563
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
564
- ]
565
- ]
566
- | None = None,
567
- item_prop: Var[str] | str | None = None,
568
- lang: Var[str] | str | None = None,
569
- role: Literal[
570
- "alert",
571
- "alertdialog",
572
- "application",
573
- "article",
574
- "banner",
575
- "button",
576
- "cell",
577
- "checkbox",
578
- "columnheader",
579
- "combobox",
580
- "complementary",
581
- "contentinfo",
582
- "definition",
583
- "dialog",
584
- "directory",
585
- "document",
586
- "feed",
587
- "figure",
588
- "form",
589
- "grid",
590
- "gridcell",
591
- "group",
592
- "heading",
593
- "img",
594
- "link",
595
- "list",
596
- "listbox",
597
- "listitem",
598
- "log",
599
- "main",
600
- "marquee",
601
- "math",
602
- "menu",
603
- "menubar",
604
- "menuitem",
605
- "menuitemcheckbox",
606
- "menuitemradio",
607
- "navigation",
608
- "none",
609
- "note",
610
- "option",
611
- "presentation",
612
- "progressbar",
613
- "radio",
614
- "radiogroup",
615
- "region",
616
- "row",
617
- "rowgroup",
618
- "rowheader",
619
- "scrollbar",
620
- "search",
621
- "searchbox",
622
- "separator",
623
- "slider",
624
- "spinbutton",
625
- "status",
626
- "switch",
627
- "tab",
628
- "table",
629
- "tablist",
630
- "tabpanel",
631
- "term",
632
- "textbox",
633
- "timer",
634
- "toolbar",
635
- "tooltip",
636
- "tree",
637
- "treegrid",
638
- "treeitem",
639
- ]
640
- | Var[
641
- Literal[
642
- "alert",
643
- "alertdialog",
644
- "application",
645
- "article",
646
- "banner",
647
- "button",
648
- "cell",
649
- "checkbox",
650
- "columnheader",
651
- "combobox",
652
- "complementary",
653
- "contentinfo",
654
- "definition",
655
- "dialog",
656
- "directory",
657
- "document",
658
- "feed",
659
- "figure",
660
- "form",
661
- "grid",
662
- "gridcell",
663
- "group",
664
- "heading",
665
- "img",
666
- "link",
667
- "list",
668
- "listbox",
669
- "listitem",
670
- "log",
671
- "main",
672
- "marquee",
673
- "math",
674
- "menu",
675
- "menubar",
676
- "menuitem",
677
- "menuitemcheckbox",
678
- "menuitemradio",
679
- "navigation",
680
- "none",
681
- "note",
682
- "option",
683
- "presentation",
684
- "progressbar",
685
- "radio",
686
- "radiogroup",
687
- "region",
688
- "row",
689
- "rowgroup",
690
- "rowheader",
691
- "scrollbar",
692
- "search",
693
- "searchbox",
694
- "separator",
695
- "slider",
696
- "spinbutton",
697
- "status",
698
- "switch",
699
- "tab",
700
- "table",
701
- "tablist",
702
- "tabpanel",
703
- "term",
704
- "textbox",
705
- "timer",
706
- "toolbar",
707
- "tooltip",
708
- "tree",
709
- "treegrid",
710
- "treeitem",
711
- ]
712
- ]
713
- | None = None,
714
- slot: Var[str] | str | None = None,
715
- spell_check: Var[bool] | bool | None = None,
716
- tab_index: Var[int] | int | None = None,
717
- title: Var[str] | str | None = None,
718
118
  style: Sequence[Mapping[str, Any]]
719
119
  | Mapping[str, Any]
720
120
  | Var[Mapping[str, Any]]
@@ -747,30 +147,6 @@ class Script(BaseHTML):
747
147
 
748
148
  Args:
749
149
  *children: The children of the component.
750
- async_: Indicates that the script should be executed asynchronously
751
- char_set: Character encoding of the external script
752
- cross_origin: Configures the CORS requests for the script
753
- defer: Indicates that the script should be executed after the page has finished parsing
754
- integrity: Security feature allowing browsers to verify what they fetch
755
- referrer_policy: Specifies which referrer information to send when fetching the script
756
- src: URL of an external script
757
- type: Specifies the MIME type of the script
758
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
759
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
760
- content_editable: Indicates whether the element's content is editable.
761
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
762
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
763
- draggable: Defines whether the element can be dragged.
764
- enter_key_hint: Hints what media types the media element is able to play.
765
- hidden: Defines whether the element is hidden.
766
- input_mode: Defines the type of the element.
767
- item_prop: Defines the name of the element for metadata purposes.
768
- lang: Defines the language used in the element.
769
- role: Defines the role of the element.
770
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
771
- spell_check: Defines whether the element may be checked for spelling errors.
772
- tab_index: Defines the position of the current element in the tabbing order.
773
- title: Defines a tooltip for the element.
774
150
  style: The style of the component.
775
151
  key: A unique key for the component.
776
152
  id: The id for the component.