reflex 0.8.15a2__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.
- reflex/app.py +40 -46
- reflex/app_mixins/lifespan.py +12 -5
- reflex/base.py +1 -0
- reflex/compiler/compiler.py +4 -6
- reflex/compiler/templates.py +25 -31
- reflex/compiler/utils.py +6 -5
- reflex/components/base/body.pyi +1 -195
- reflex/components/base/link.pyi +1 -407
- reflex/components/base/meta.pyi +1 -405
- reflex/components/base/script.pyi +1 -237
- reflex/components/component.py +41 -46
- reflex/components/core/auto_scroll.pyi +1 -195
- reflex/components/core/banner.pyi +1 -391
- reflex/components/core/breakpoints.py +14 -18
- reflex/components/core/html.pyi +1 -197
- reflex/components/core/match.py +2 -2
- reflex/components/core/sticky.py +11 -15
- reflex/components/core/sticky.pyi +0 -788
- reflex/components/core/upload.py +1 -3
- reflex/components/core/window_events.pyi +6 -5
- reflex/components/datadisplay/code.pyi +1 -0
- reflex/components/datadisplay/dataeditor.py +4 -6
- reflex/components/datadisplay/shiki_code_block.py +106 -110
- reflex/components/dynamic.py +4 -6
- reflex/components/el/elements/__init__.py +5 -7
- reflex/components/el/elements/__init__.pyi +5 -7
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +1 -195
- reflex/components/el/elements/forms.py +7 -9
- reflex/components/el/elements/forms.pyi +12 -3112
- reflex/components/el/elements/inline.pyi +0 -5481
- reflex/components/el/elements/media.pyi +0 -10280
- reflex/components/el/elements/metadata.pyi +1 -835
- reflex/components/el/elements/other.pyi +1 -1365
- reflex/components/el/elements/scripts.pyi +1 -625
- reflex/components/el/elements/sectioning.pyi +1 -2911
- reflex/components/el/elements/tables.pyi +1 -1973
- reflex/components/el/elements/typography.pyi +1 -3125
- reflex/components/lucide/icon.py +4 -4
- reflex/components/lucide/icon.pyi +0 -4
- reflex/components/markdown/markdown.py +15 -19
- reflex/components/markdown/markdown.pyi +1 -0
- reflex/components/moment/moment.pyi +0 -49
- reflex/components/props.py +3 -3
- reflex/components/radix/primitives/accordion.py +4 -6
- reflex/components/radix/primitives/accordion.pyi +0 -14
- reflex/components/radix/primitives/base.pyi +0 -5
- reflex/components/radix/primitives/dialog.py +2 -0
- reflex/components/radix/primitives/dialog.pyi +1 -233
- reflex/components/radix/primitives/drawer.pyi +0 -18
- reflex/components/radix/primitives/form.pyi +30 -632
- reflex/components/radix/primitives/progress.pyi +0 -10
- reflex/components/radix/primitives/slider.pyi +0 -10
- reflex/components/radix/themes/color_mode.pyi +1 -284
- reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
- reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
- reflex/components/radix/themes/components/avatar.pyi +0 -80
- reflex/components/radix/themes/components/badge.pyi +1 -270
- reflex/components/radix/themes/components/button.pyi +1 -274
- reflex/components/radix/themes/components/callout.pyi +0 -1197
- reflex/components/radix/themes/components/card.pyi +1 -209
- reflex/components/radix/themes/components/checkbox.pyi +0 -261
- reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
- reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
- reflex/components/radix/themes/components/context_menu.pyi +13 -321
- reflex/components/radix/themes/components/data_list.pyi +1 -107
- reflex/components/radix/themes/components/dialog.pyi +1 -210
- reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
- reflex/components/radix/themes/components/hover_card.pyi +1 -246
- reflex/components/radix/themes/components/icon_button.pyi +1 -195
- reflex/components/radix/themes/components/inset.pyi +0 -252
- reflex/components/radix/themes/components/popover.pyi +1 -234
- reflex/components/radix/themes/components/progress.pyi +1 -84
- reflex/components/radix/themes/components/radio.pyi +1 -72
- reflex/components/radix/themes/components/radio_cards.pyi +1 -123
- reflex/components/radix/themes/components/scroll_area.pyi +1 -11
- reflex/components/radix/themes/components/select.pyi +1 -376
- reflex/components/radix/themes/components/separator.pyi +0 -77
- reflex/components/radix/themes/components/skeleton.pyi +0 -30
- reflex/components/radix/themes/components/slider.py +3 -5
- reflex/components/radix/themes/components/spinner.pyi +0 -5
- reflex/components/radix/themes/components/switch.pyi +0 -89
- reflex/components/radix/themes/components/table.pyi +0 -1453
- reflex/components/radix/themes/components/text_area.pyi +7 -282
- reflex/components/radix/themes/components/text_field.pyi +6 -392
- reflex/components/radix/themes/components/tooltip.pyi +0 -42
- reflex/components/radix/themes/layout/box.pyi +1 -195
- reflex/components/radix/themes/layout/center.pyi +0 -194
- reflex/components/radix/themes/layout/container.pyi +0 -178
- reflex/components/radix/themes/layout/flex.pyi +0 -194
- reflex/components/radix/themes/layout/grid.pyi +0 -194
- reflex/components/radix/themes/layout/list.pyi +0 -978
- reflex/components/radix/themes/layout/section.pyi +0 -194
- reflex/components/radix/themes/layout/spacer.pyi +0 -194
- reflex/components/radix/themes/layout/stack.pyi +0 -582
- reflex/components/radix/themes/typography/blockquote.pyi +0 -196
- reflex/components/radix/themes/typography/code.pyi +0 -194
- reflex/components/radix/themes/typography/heading.pyi +0 -194
- reflex/components/radix/themes/typography/link.pyi +0 -237
- reflex/components/radix/themes/typography/text.pyi +0 -1360
- reflex/components/react_router/dom.pyi +0 -237
- reflex/components/recharts/cartesian.py +12 -18
- reflex/components/recharts/general.py +12 -18
- reflex/constants/installer.py +5 -5
- reflex/custom_components/custom_components.py +6 -5
- reflex/environment.py +30 -7
- reflex/event.py +14 -12
- reflex/experimental/client_state.py +11 -12
- reflex/istate/data.py +8 -10
- reflex/istate/manager/__init__.py +3 -0
- reflex/istate/manager/disk.py +151 -5
- reflex/model.py +1 -1
- reflex/plugins/_screenshot.py +2 -2
- reflex/plugins/shared_tailwind.py +9 -14
- reflex/reflex.py +7 -9
- reflex/state.py +30 -37
- reflex/style.py +6 -6
- reflex/testing.py +54 -30
- reflex/utils/codespaces.py +1 -1
- reflex/utils/compat.py +1 -0
- reflex/utils/decorator.py +3 -3
- reflex/utils/format.py +18 -22
- reflex/utils/prerequisites.py +1 -1
- reflex/utils/pyi_generator.py +51 -57
- reflex/utils/serializers.py +1 -1
- reflex/utils/telemetry.py +1 -1
- reflex/utils/templates.py +4 -4
- reflex/utils/types.py +3 -3
- reflex/vars/base.py +26 -29
- reflex/vars/color.py +6 -8
- reflex/vars/dep_tracking.py +5 -3
- reflex/vars/function.py +3 -3
- reflex/vars/object.py +9 -13
- reflex/vars/sequence.py +18 -24
- {reflex-0.8.15a2.dist-info → reflex-0.8.16.dist-info}/METADATA +1 -1
- {reflex-0.8.15a2.dist-info → reflex-0.8.16.dist-info}/RECORD +139 -139
- {reflex-0.8.15a2.dist-info → reflex-0.8.16.dist-info}/WHEEL +0 -0
- {reflex-0.8.15a2.dist-info → reflex-0.8.16.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.15a2.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
|
|
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.
|