reflex 0.8.15a1__py3-none-any.whl → 0.8.16a1__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 (139) 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/datadisplay/code.pyi +1 -0
  22. reflex/components/datadisplay/dataeditor.py +4 -6
  23. reflex/components/datadisplay/shiki_code_block.py +106 -110
  24. reflex/components/dynamic.py +4 -6
  25. reflex/components/el/elements/__init__.py +5 -7
  26. reflex/components/el/elements/__init__.pyi +5 -7
  27. reflex/components/el/elements/base.py +1 -1
  28. reflex/components/el/elements/base.pyi +1 -195
  29. reflex/components/el/elements/forms.py +7 -9
  30. reflex/components/el/elements/forms.pyi +12 -3112
  31. reflex/components/el/elements/inline.pyi +0 -5481
  32. reflex/components/el/elements/media.pyi +0 -10280
  33. reflex/components/el/elements/metadata.pyi +1 -835
  34. reflex/components/el/elements/other.pyi +1 -1365
  35. reflex/components/el/elements/scripts.pyi +1 -625
  36. reflex/components/el/elements/sectioning.pyi +1 -2911
  37. reflex/components/el/elements/tables.pyi +1 -1973
  38. reflex/components/el/elements/typography.pyi +1 -3125
  39. reflex/components/lucide/icon.py +4 -4
  40. reflex/components/lucide/icon.pyi +0 -4
  41. reflex/components/markdown/markdown.py +15 -19
  42. reflex/components/markdown/markdown.pyi +1 -0
  43. reflex/components/moment/moment.pyi +0 -49
  44. reflex/components/props.py +3 -3
  45. reflex/components/radix/primitives/accordion.py +4 -6
  46. reflex/components/radix/primitives/accordion.pyi +0 -14
  47. reflex/components/radix/primitives/base.pyi +0 -5
  48. reflex/components/radix/primitives/dialog.py +2 -0
  49. reflex/components/radix/primitives/dialog.pyi +1 -233
  50. reflex/components/radix/primitives/drawer.pyi +0 -18
  51. reflex/components/radix/primitives/form.pyi +30 -632
  52. reflex/components/radix/primitives/progress.pyi +0 -10
  53. reflex/components/radix/primitives/slider.pyi +0 -10
  54. reflex/components/radix/themes/color_mode.pyi +1 -284
  55. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  56. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  57. reflex/components/radix/themes/components/avatar.pyi +0 -80
  58. reflex/components/radix/themes/components/badge.pyi +1 -270
  59. reflex/components/radix/themes/components/button.pyi +1 -274
  60. reflex/components/radix/themes/components/callout.pyi +0 -1197
  61. reflex/components/radix/themes/components/card.pyi +1 -209
  62. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  63. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  64. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  65. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  66. reflex/components/radix/themes/components/data_list.pyi +1 -107
  67. reflex/components/radix/themes/components/dialog.pyi +1 -210
  68. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  69. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  70. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  71. reflex/components/radix/themes/components/inset.pyi +0 -252
  72. reflex/components/radix/themes/components/popover.pyi +1 -234
  73. reflex/components/radix/themes/components/progress.pyi +1 -84
  74. reflex/components/radix/themes/components/radio.pyi +1 -72
  75. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  76. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  77. reflex/components/radix/themes/components/select.pyi +1 -376
  78. reflex/components/radix/themes/components/separator.pyi +0 -77
  79. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  80. reflex/components/radix/themes/components/slider.py +3 -5
  81. reflex/components/radix/themes/components/spinner.pyi +0 -5
  82. reflex/components/radix/themes/components/switch.pyi +0 -89
  83. reflex/components/radix/themes/components/table.pyi +0 -1453
  84. reflex/components/radix/themes/components/text_area.pyi +7 -282
  85. reflex/components/radix/themes/components/text_field.pyi +6 -392
  86. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  87. reflex/components/radix/themes/layout/box.pyi +1 -195
  88. reflex/components/radix/themes/layout/center.pyi +0 -194
  89. reflex/components/radix/themes/layout/container.pyi +0 -178
  90. reflex/components/radix/themes/layout/flex.pyi +0 -194
  91. reflex/components/radix/themes/layout/grid.pyi +0 -194
  92. reflex/components/radix/themes/layout/list.pyi +0 -978
  93. reflex/components/radix/themes/layout/section.pyi +0 -194
  94. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  95. reflex/components/radix/themes/layout/stack.pyi +0 -582
  96. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  97. reflex/components/radix/themes/typography/code.pyi +0 -194
  98. reflex/components/radix/themes/typography/heading.pyi +0 -194
  99. reflex/components/radix/themes/typography/link.pyi +0 -237
  100. reflex/components/radix/themes/typography/text.pyi +0 -1360
  101. reflex/components/react_router/dom.pyi +0 -237
  102. reflex/components/recharts/cartesian.py +12 -18
  103. reflex/components/recharts/general.py +12 -18
  104. reflex/constants/installer.py +5 -5
  105. reflex/custom_components/custom_components.py +6 -5
  106. reflex/environment.py +30 -7
  107. reflex/event.py +14 -12
  108. reflex/experimental/client_state.py +11 -12
  109. reflex/istate/data.py +8 -10
  110. reflex/istate/manager/__init__.py +3 -0
  111. reflex/istate/manager/disk.py +151 -5
  112. reflex/model.py +1 -1
  113. reflex/plugins/_screenshot.py +2 -2
  114. reflex/plugins/shared_tailwind.py +9 -14
  115. reflex/reflex.py +7 -9
  116. reflex/state.py +30 -37
  117. reflex/style.py +6 -6
  118. reflex/testing.py +54 -30
  119. reflex/utils/codespaces.py +31 -2
  120. reflex/utils/compat.py +1 -0
  121. reflex/utils/decorator.py +3 -3
  122. reflex/utils/format.py +18 -22
  123. reflex/utils/prerequisites.py +1 -1
  124. reflex/utils/pyi_generator.py +51 -57
  125. reflex/utils/serializers.py +1 -1
  126. reflex/utils/telemetry.py +1 -1
  127. reflex/utils/templates.py +4 -4
  128. reflex/utils/types.py +11 -4
  129. reflex/vars/base.py +26 -29
  130. reflex/vars/color.py +6 -8
  131. reflex/vars/dep_tracking.py +5 -3
  132. reflex/vars/function.py +3 -3
  133. reflex/vars/object.py +9 -13
  134. reflex/vars/sequence.py +18 -24
  135. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
  136. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/RECORD +139 -139
  137. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
  138. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
  139. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.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.components.el import elements
@@ -68,188 +68,6 @@ class Description(elements.Meta):
68
68
  cls,
69
69
  *children,
70
70
  name: Var[str] | str | None = None,
71
- char_set: Var[str] | str | None = None,
72
- content: Var[str] | str | None = None,
73
- http_equiv: Var[str] | str | None = None,
74
- property: Var[str] | str | None = None,
75
- access_key: Var[str] | str | None = None,
76
- auto_capitalize: Literal[
77
- "characters", "none", "off", "on", "sentences", "words"
78
- ]
79
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
80
- | None = None,
81
- content_editable: Literal["inherit", "plaintext-only", False, True]
82
- | Var[Literal["inherit", "plaintext-only", False, True]]
83
- | None = None,
84
- context_menu: Var[str] | str | None = None,
85
- dir: Var[str] | str | None = None,
86
- draggable: Var[bool] | bool | None = None,
87
- enter_key_hint: Literal[
88
- "done", "enter", "go", "next", "previous", "search", "send"
89
- ]
90
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
91
- | None = None,
92
- hidden: Var[bool] | bool | None = None,
93
- input_mode: Literal[
94
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
95
- ]
96
- | Var[
97
- Literal[
98
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
99
- ]
100
- ]
101
- | None = None,
102
- item_prop: Var[str] | str | None = None,
103
- lang: Var[str] | str | None = None,
104
- role: Literal[
105
- "alert",
106
- "alertdialog",
107
- "application",
108
- "article",
109
- "banner",
110
- "button",
111
- "cell",
112
- "checkbox",
113
- "columnheader",
114
- "combobox",
115
- "complementary",
116
- "contentinfo",
117
- "definition",
118
- "dialog",
119
- "directory",
120
- "document",
121
- "feed",
122
- "figure",
123
- "form",
124
- "grid",
125
- "gridcell",
126
- "group",
127
- "heading",
128
- "img",
129
- "link",
130
- "list",
131
- "listbox",
132
- "listitem",
133
- "log",
134
- "main",
135
- "marquee",
136
- "math",
137
- "menu",
138
- "menubar",
139
- "menuitem",
140
- "menuitemcheckbox",
141
- "menuitemradio",
142
- "navigation",
143
- "none",
144
- "note",
145
- "option",
146
- "presentation",
147
- "progressbar",
148
- "radio",
149
- "radiogroup",
150
- "region",
151
- "row",
152
- "rowgroup",
153
- "rowheader",
154
- "scrollbar",
155
- "search",
156
- "searchbox",
157
- "separator",
158
- "slider",
159
- "spinbutton",
160
- "status",
161
- "switch",
162
- "tab",
163
- "table",
164
- "tablist",
165
- "tabpanel",
166
- "term",
167
- "textbox",
168
- "timer",
169
- "toolbar",
170
- "tooltip",
171
- "tree",
172
- "treegrid",
173
- "treeitem",
174
- ]
175
- | Var[
176
- Literal[
177
- "alert",
178
- "alertdialog",
179
- "application",
180
- "article",
181
- "banner",
182
- "button",
183
- "cell",
184
- "checkbox",
185
- "columnheader",
186
- "combobox",
187
- "complementary",
188
- "contentinfo",
189
- "definition",
190
- "dialog",
191
- "directory",
192
- "document",
193
- "feed",
194
- "figure",
195
- "form",
196
- "grid",
197
- "gridcell",
198
- "group",
199
- "heading",
200
- "img",
201
- "link",
202
- "list",
203
- "listbox",
204
- "listitem",
205
- "log",
206
- "main",
207
- "marquee",
208
- "math",
209
- "menu",
210
- "menubar",
211
- "menuitem",
212
- "menuitemcheckbox",
213
- "menuitemradio",
214
- "navigation",
215
- "none",
216
- "note",
217
- "option",
218
- "presentation",
219
- "progressbar",
220
- "radio",
221
- "radiogroup",
222
- "region",
223
- "row",
224
- "rowgroup",
225
- "rowheader",
226
- "scrollbar",
227
- "search",
228
- "searchbox",
229
- "separator",
230
- "slider",
231
- "spinbutton",
232
- "status",
233
- "switch",
234
- "tab",
235
- "table",
236
- "tablist",
237
- "tabpanel",
238
- "term",
239
- "textbox",
240
- "timer",
241
- "toolbar",
242
- "tooltip",
243
- "tree",
244
- "treegrid",
245
- "treeitem",
246
- ]
247
- ]
248
- | None = None,
249
- slot: Var[str] | str | None = None,
250
- spell_check: Var[bool] | bool | None = None,
251
- tab_index: Var[int] | int | None = None,
252
- title: Var[str] | str | None = None,
253
71
  style: Sequence[Mapping[str, Any]]
254
72
  | Mapping[str, Any]
255
73
  | Var[Mapping[str, Any]]
@@ -283,26 +101,6 @@ class Description(elements.Meta):
283
101
  Args:
284
102
  *children: The children of the component.
285
103
  name: Specifies a name for the metadata
286
- char_set: Specifies the character encoding for the HTML document
287
- content: Defines the content of the metadata
288
- http_equiv: Provides an HTTP header for the information/value of the content attribute
289
- property: The type of metadata value.
290
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
291
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
292
- content_editable: Indicates whether the element's content is editable.
293
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
294
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
295
- draggable: Defines whether the element can be dragged.
296
- enter_key_hint: Hints what media types the media element is able to play.
297
- hidden: Defines whether the element is hidden.
298
- input_mode: Defines the type of the element.
299
- item_prop: Defines the name of the element for metadata purposes.
300
- lang: Defines the language used in the element.
301
- role: Defines the role of the element.
302
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
303
- spell_check: Defines whether the element may be checked for spelling errors.
304
- tab_index: Defines the position of the current element in the tabbing order.
305
- title: Defines a tooltip for the element.
306
104
  style: The style of the component.
307
105
  key: A unique key for the component.
308
106
  id: The id for the component.
@@ -321,188 +119,6 @@ class Image(elements.Meta):
321
119
  cls,
322
120
  *children,
323
121
  property: Var[str] | str | None = None,
324
- char_set: Var[str] | str | None = None,
325
- content: Var[str] | str | None = None,
326
- http_equiv: Var[str] | str | None = None,
327
- name: Var[str] | str | None = None,
328
- access_key: Var[str] | str | None = None,
329
- auto_capitalize: Literal[
330
- "characters", "none", "off", "on", "sentences", "words"
331
- ]
332
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
333
- | None = None,
334
- content_editable: Literal["inherit", "plaintext-only", False, True]
335
- | Var[Literal["inherit", "plaintext-only", False, True]]
336
- | None = None,
337
- context_menu: Var[str] | str | None = None,
338
- dir: Var[str] | str | None = None,
339
- draggable: Var[bool] | bool | None = None,
340
- enter_key_hint: Literal[
341
- "done", "enter", "go", "next", "previous", "search", "send"
342
- ]
343
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
344
- | None = None,
345
- hidden: Var[bool] | bool | None = None,
346
- input_mode: Literal[
347
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
348
- ]
349
- | Var[
350
- Literal[
351
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
352
- ]
353
- ]
354
- | None = None,
355
- item_prop: Var[str] | str | None = None,
356
- lang: Var[str] | str | None = None,
357
- role: Literal[
358
- "alert",
359
- "alertdialog",
360
- "application",
361
- "article",
362
- "banner",
363
- "button",
364
- "cell",
365
- "checkbox",
366
- "columnheader",
367
- "combobox",
368
- "complementary",
369
- "contentinfo",
370
- "definition",
371
- "dialog",
372
- "directory",
373
- "document",
374
- "feed",
375
- "figure",
376
- "form",
377
- "grid",
378
- "gridcell",
379
- "group",
380
- "heading",
381
- "img",
382
- "link",
383
- "list",
384
- "listbox",
385
- "listitem",
386
- "log",
387
- "main",
388
- "marquee",
389
- "math",
390
- "menu",
391
- "menubar",
392
- "menuitem",
393
- "menuitemcheckbox",
394
- "menuitemradio",
395
- "navigation",
396
- "none",
397
- "note",
398
- "option",
399
- "presentation",
400
- "progressbar",
401
- "radio",
402
- "radiogroup",
403
- "region",
404
- "row",
405
- "rowgroup",
406
- "rowheader",
407
- "scrollbar",
408
- "search",
409
- "searchbox",
410
- "separator",
411
- "slider",
412
- "spinbutton",
413
- "status",
414
- "switch",
415
- "tab",
416
- "table",
417
- "tablist",
418
- "tabpanel",
419
- "term",
420
- "textbox",
421
- "timer",
422
- "toolbar",
423
- "tooltip",
424
- "tree",
425
- "treegrid",
426
- "treeitem",
427
- ]
428
- | Var[
429
- Literal[
430
- "alert",
431
- "alertdialog",
432
- "application",
433
- "article",
434
- "banner",
435
- "button",
436
- "cell",
437
- "checkbox",
438
- "columnheader",
439
- "combobox",
440
- "complementary",
441
- "contentinfo",
442
- "definition",
443
- "dialog",
444
- "directory",
445
- "document",
446
- "feed",
447
- "figure",
448
- "form",
449
- "grid",
450
- "gridcell",
451
- "group",
452
- "heading",
453
- "img",
454
- "link",
455
- "list",
456
- "listbox",
457
- "listitem",
458
- "log",
459
- "main",
460
- "marquee",
461
- "math",
462
- "menu",
463
- "menubar",
464
- "menuitem",
465
- "menuitemcheckbox",
466
- "menuitemradio",
467
- "navigation",
468
- "none",
469
- "note",
470
- "option",
471
- "presentation",
472
- "progressbar",
473
- "radio",
474
- "radiogroup",
475
- "region",
476
- "row",
477
- "rowgroup",
478
- "rowheader",
479
- "scrollbar",
480
- "search",
481
- "searchbox",
482
- "separator",
483
- "slider",
484
- "spinbutton",
485
- "status",
486
- "switch",
487
- "tab",
488
- "table",
489
- "tablist",
490
- "tabpanel",
491
- "term",
492
- "textbox",
493
- "timer",
494
- "toolbar",
495
- "tooltip",
496
- "tree",
497
- "treegrid",
498
- "treeitem",
499
- ]
500
- ]
501
- | None = None,
502
- slot: Var[str] | str | None = None,
503
- spell_check: Var[bool] | bool | None = None,
504
- tab_index: Var[int] | int | None = None,
505
- title: Var[str] | str | None = None,
506
122
  style: Sequence[Mapping[str, Any]]
507
123
  | Mapping[str, Any]
508
124
  | Var[Mapping[str, Any]]
@@ -536,26 +152,6 @@ class Image(elements.Meta):
536
152
  Args:
537
153
  *children: The children of the component.
538
154
  property: The type of metadata value.
539
- char_set: Specifies the character encoding for the HTML document
540
- content: Defines the content of the metadata
541
- http_equiv: Provides an HTTP header for the information/value of the content attribute
542
- name: Specifies a name for the metadata
543
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
544
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
545
- content_editable: Indicates whether the element's content is editable.
546
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
547
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
548
- draggable: Defines whether the element can be dragged.
549
- enter_key_hint: Hints what media types the media element is able to play.
550
- hidden: Defines whether the element is hidden.
551
- input_mode: Defines the type of the element.
552
- item_prop: Defines the name of the element for metadata purposes.
553
- lang: Defines the language used in the element.
554
- role: Defines the role of the element.
555
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
556
- spell_check: Defines whether the element may be checked for spelling errors.
557
- tab_index: Defines the position of the current element in the tabbing order.
558
- title: Defines a tooltip for the element.
559
155
  style: The style of the component.
560
156
  key: A unique key for the component.
561
157
  id: The id for the component.
@@ -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 import el as elements
10
10
  from reflex.components.core.breakpoints import Breakpoints
@@ -16,218 +16,6 @@ class Script(elements.Script):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- async_: Var[bool] | bool | None = None,
20
- char_set: Var[str] | str | None = None,
21
- cross_origin: Literal["", "anonymous", "use-credentials"]
22
- | Var[Literal["", "anonymous", "use-credentials"]]
23
- | None = None,
24
- defer: Var[bool] | bool | None = None,
25
- integrity: Var[str] | str | None = None,
26
- referrer_policy: Literal[
27
- "",
28
- "no-referrer",
29
- "no-referrer-when-downgrade",
30
- "origin",
31
- "origin-when-cross-origin",
32
- "same-origin",
33
- "strict-origin",
34
- "strict-origin-when-cross-origin",
35
- "unsafe-url",
36
- ]
37
- | Var[
38
- Literal[
39
- "",
40
- "no-referrer",
41
- "no-referrer-when-downgrade",
42
- "origin",
43
- "origin-when-cross-origin",
44
- "same-origin",
45
- "strict-origin",
46
- "strict-origin-when-cross-origin",
47
- "unsafe-url",
48
- ]
49
- ]
50
- | None = None,
51
- src: Var[str] | str | None = None,
52
- type: Var[str] | str | None = None,
53
- access_key: Var[str] | str | None = None,
54
- auto_capitalize: Literal[
55
- "characters", "none", "off", "on", "sentences", "words"
56
- ]
57
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
58
- | None = None,
59
- content_editable: Literal["inherit", "plaintext-only", False, True]
60
- | Var[Literal["inherit", "plaintext-only", False, True]]
61
- | None = None,
62
- context_menu: Var[str] | str | None = None,
63
- dir: Var[str] | str | None = None,
64
- draggable: Var[bool] | bool | None = None,
65
- enter_key_hint: Literal[
66
- "done", "enter", "go", "next", "previous", "search", "send"
67
- ]
68
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
69
- | None = None,
70
- hidden: Var[bool] | bool | None = None,
71
- input_mode: Literal[
72
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
73
- ]
74
- | Var[
75
- Literal[
76
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
77
- ]
78
- ]
79
- | None = None,
80
- item_prop: Var[str] | str | None = None,
81
- lang: Var[str] | str | None = None,
82
- role: Literal[
83
- "alert",
84
- "alertdialog",
85
- "application",
86
- "article",
87
- "banner",
88
- "button",
89
- "cell",
90
- "checkbox",
91
- "columnheader",
92
- "combobox",
93
- "complementary",
94
- "contentinfo",
95
- "definition",
96
- "dialog",
97
- "directory",
98
- "document",
99
- "feed",
100
- "figure",
101
- "form",
102
- "grid",
103
- "gridcell",
104
- "group",
105
- "heading",
106
- "img",
107
- "link",
108
- "list",
109
- "listbox",
110
- "listitem",
111
- "log",
112
- "main",
113
- "marquee",
114
- "math",
115
- "menu",
116
- "menubar",
117
- "menuitem",
118
- "menuitemcheckbox",
119
- "menuitemradio",
120
- "navigation",
121
- "none",
122
- "note",
123
- "option",
124
- "presentation",
125
- "progressbar",
126
- "radio",
127
- "radiogroup",
128
- "region",
129
- "row",
130
- "rowgroup",
131
- "rowheader",
132
- "scrollbar",
133
- "search",
134
- "searchbox",
135
- "separator",
136
- "slider",
137
- "spinbutton",
138
- "status",
139
- "switch",
140
- "tab",
141
- "table",
142
- "tablist",
143
- "tabpanel",
144
- "term",
145
- "textbox",
146
- "timer",
147
- "toolbar",
148
- "tooltip",
149
- "tree",
150
- "treegrid",
151
- "treeitem",
152
- ]
153
- | Var[
154
- Literal[
155
- "alert",
156
- "alertdialog",
157
- "application",
158
- "article",
159
- "banner",
160
- "button",
161
- "cell",
162
- "checkbox",
163
- "columnheader",
164
- "combobox",
165
- "complementary",
166
- "contentinfo",
167
- "definition",
168
- "dialog",
169
- "directory",
170
- "document",
171
- "feed",
172
- "figure",
173
- "form",
174
- "grid",
175
- "gridcell",
176
- "group",
177
- "heading",
178
- "img",
179
- "link",
180
- "list",
181
- "listbox",
182
- "listitem",
183
- "log",
184
- "main",
185
- "marquee",
186
- "math",
187
- "menu",
188
- "menubar",
189
- "menuitem",
190
- "menuitemcheckbox",
191
- "menuitemradio",
192
- "navigation",
193
- "none",
194
- "note",
195
- "option",
196
- "presentation",
197
- "progressbar",
198
- "radio",
199
- "radiogroup",
200
- "region",
201
- "row",
202
- "rowgroup",
203
- "rowheader",
204
- "scrollbar",
205
- "search",
206
- "searchbox",
207
- "separator",
208
- "slider",
209
- "spinbutton",
210
- "status",
211
- "switch",
212
- "tab",
213
- "table",
214
- "tablist",
215
- "tabpanel",
216
- "term",
217
- "textbox",
218
- "timer",
219
- "toolbar",
220
- "tooltip",
221
- "tree",
222
- "treegrid",
223
- "treeitem",
224
- ]
225
- ]
226
- | None = None,
227
- slot: Var[str] | str | None = None,
228
- spell_check: Var[bool] | bool | None = None,
229
- tab_index: Var[int] | int | None = None,
230
- title: Var[str] | str | None = None,
231
19
  style: Sequence[Mapping[str, Any]]
232
20
  | Mapping[str, Any]
233
21
  | Var[Mapping[str, Any]]
@@ -260,30 +48,6 @@ class Script(elements.Script):
260
48
 
261
49
  Args:
262
50
  *children: The children of the element.
263
- async_: Indicates that the script should be executed asynchronously
264
- char_set: Character encoding of the external script
265
- cross_origin: Configures the CORS requests for the script
266
- defer: Indicates that the script should be executed after the page has finished parsing
267
- integrity: Security feature allowing browsers to verify what they fetch
268
- referrer_policy: Specifies which referrer information to send when fetching the script
269
- src: URL of an external script
270
- type: Specifies the MIME type of the script
271
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
272
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
273
- content_editable: Indicates whether the element's content is editable.
274
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
275
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
276
- draggable: Defines whether the element can be dragged.
277
- enter_key_hint: Hints what media types the media element is able to play.
278
- hidden: Defines whether the element is hidden.
279
- input_mode: Defines the type of the element.
280
- item_prop: Defines the name of the element for metadata purposes.
281
- lang: Defines the language used in the element.
282
- role: Defines the role of the element.
283
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
284
- spell_check: Defines whether the element may be checked for spelling errors.
285
- tab_index: Defines the position of the current element in the tabbing order.
286
- title: Defines a tooltip for the element.
287
51
  style: The style of the component.
288
52
  key: A unique key for the component.
289
53
  id: The id for the component.