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.
- reflex/.templates/web/utils/state.js +68 -8
- reflex/app.py +45 -51
- 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/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 +31 -2
- 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 +11 -4
- 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.15a1.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
- {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/RECORD +139 -139
- {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
- {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/licenses/LICENSE +0 -0
reflex/components/base/body.pyi
CHANGED
|
@@ -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.components.el import elements
|
|
@@ -16,184 +16,6 @@ class Body(elements.Body):
|
|
|
16
16
|
def create(
|
|
17
17
|
cls,
|
|
18
18
|
*children,
|
|
19
|
-
access_key: Var[str] | str | None = None,
|
|
20
|
-
auto_capitalize: Literal[
|
|
21
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
22
|
-
]
|
|
23
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
24
|
-
| None = None,
|
|
25
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
26
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
27
|
-
| None = None,
|
|
28
|
-
context_menu: Var[str] | str | None = None,
|
|
29
|
-
dir: Var[str] | str | None = None,
|
|
30
|
-
draggable: Var[bool] | bool | None = None,
|
|
31
|
-
enter_key_hint: Literal[
|
|
32
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
33
|
-
]
|
|
34
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
35
|
-
| None = None,
|
|
36
|
-
hidden: Var[bool] | bool | None = None,
|
|
37
|
-
input_mode: Literal[
|
|
38
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
39
|
-
]
|
|
40
|
-
| Var[
|
|
41
|
-
Literal[
|
|
42
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
43
|
-
]
|
|
44
|
-
]
|
|
45
|
-
| None = None,
|
|
46
|
-
item_prop: Var[str] | str | None = None,
|
|
47
|
-
lang: Var[str] | str | None = None,
|
|
48
|
-
role: Literal[
|
|
49
|
-
"alert",
|
|
50
|
-
"alertdialog",
|
|
51
|
-
"application",
|
|
52
|
-
"article",
|
|
53
|
-
"banner",
|
|
54
|
-
"button",
|
|
55
|
-
"cell",
|
|
56
|
-
"checkbox",
|
|
57
|
-
"columnheader",
|
|
58
|
-
"combobox",
|
|
59
|
-
"complementary",
|
|
60
|
-
"contentinfo",
|
|
61
|
-
"definition",
|
|
62
|
-
"dialog",
|
|
63
|
-
"directory",
|
|
64
|
-
"document",
|
|
65
|
-
"feed",
|
|
66
|
-
"figure",
|
|
67
|
-
"form",
|
|
68
|
-
"grid",
|
|
69
|
-
"gridcell",
|
|
70
|
-
"group",
|
|
71
|
-
"heading",
|
|
72
|
-
"img",
|
|
73
|
-
"link",
|
|
74
|
-
"list",
|
|
75
|
-
"listbox",
|
|
76
|
-
"listitem",
|
|
77
|
-
"log",
|
|
78
|
-
"main",
|
|
79
|
-
"marquee",
|
|
80
|
-
"math",
|
|
81
|
-
"menu",
|
|
82
|
-
"menubar",
|
|
83
|
-
"menuitem",
|
|
84
|
-
"menuitemcheckbox",
|
|
85
|
-
"menuitemradio",
|
|
86
|
-
"navigation",
|
|
87
|
-
"none",
|
|
88
|
-
"note",
|
|
89
|
-
"option",
|
|
90
|
-
"presentation",
|
|
91
|
-
"progressbar",
|
|
92
|
-
"radio",
|
|
93
|
-
"radiogroup",
|
|
94
|
-
"region",
|
|
95
|
-
"row",
|
|
96
|
-
"rowgroup",
|
|
97
|
-
"rowheader",
|
|
98
|
-
"scrollbar",
|
|
99
|
-
"search",
|
|
100
|
-
"searchbox",
|
|
101
|
-
"separator",
|
|
102
|
-
"slider",
|
|
103
|
-
"spinbutton",
|
|
104
|
-
"status",
|
|
105
|
-
"switch",
|
|
106
|
-
"tab",
|
|
107
|
-
"table",
|
|
108
|
-
"tablist",
|
|
109
|
-
"tabpanel",
|
|
110
|
-
"term",
|
|
111
|
-
"textbox",
|
|
112
|
-
"timer",
|
|
113
|
-
"toolbar",
|
|
114
|
-
"tooltip",
|
|
115
|
-
"tree",
|
|
116
|
-
"treegrid",
|
|
117
|
-
"treeitem",
|
|
118
|
-
]
|
|
119
|
-
| Var[
|
|
120
|
-
Literal[
|
|
121
|
-
"alert",
|
|
122
|
-
"alertdialog",
|
|
123
|
-
"application",
|
|
124
|
-
"article",
|
|
125
|
-
"banner",
|
|
126
|
-
"button",
|
|
127
|
-
"cell",
|
|
128
|
-
"checkbox",
|
|
129
|
-
"columnheader",
|
|
130
|
-
"combobox",
|
|
131
|
-
"complementary",
|
|
132
|
-
"contentinfo",
|
|
133
|
-
"definition",
|
|
134
|
-
"dialog",
|
|
135
|
-
"directory",
|
|
136
|
-
"document",
|
|
137
|
-
"feed",
|
|
138
|
-
"figure",
|
|
139
|
-
"form",
|
|
140
|
-
"grid",
|
|
141
|
-
"gridcell",
|
|
142
|
-
"group",
|
|
143
|
-
"heading",
|
|
144
|
-
"img",
|
|
145
|
-
"link",
|
|
146
|
-
"list",
|
|
147
|
-
"listbox",
|
|
148
|
-
"listitem",
|
|
149
|
-
"log",
|
|
150
|
-
"main",
|
|
151
|
-
"marquee",
|
|
152
|
-
"math",
|
|
153
|
-
"menu",
|
|
154
|
-
"menubar",
|
|
155
|
-
"menuitem",
|
|
156
|
-
"menuitemcheckbox",
|
|
157
|
-
"menuitemradio",
|
|
158
|
-
"navigation",
|
|
159
|
-
"none",
|
|
160
|
-
"note",
|
|
161
|
-
"option",
|
|
162
|
-
"presentation",
|
|
163
|
-
"progressbar",
|
|
164
|
-
"radio",
|
|
165
|
-
"radiogroup",
|
|
166
|
-
"region",
|
|
167
|
-
"row",
|
|
168
|
-
"rowgroup",
|
|
169
|
-
"rowheader",
|
|
170
|
-
"scrollbar",
|
|
171
|
-
"search",
|
|
172
|
-
"searchbox",
|
|
173
|
-
"separator",
|
|
174
|
-
"slider",
|
|
175
|
-
"spinbutton",
|
|
176
|
-
"status",
|
|
177
|
-
"switch",
|
|
178
|
-
"tab",
|
|
179
|
-
"table",
|
|
180
|
-
"tablist",
|
|
181
|
-
"tabpanel",
|
|
182
|
-
"term",
|
|
183
|
-
"textbox",
|
|
184
|
-
"timer",
|
|
185
|
-
"toolbar",
|
|
186
|
-
"tooltip",
|
|
187
|
-
"tree",
|
|
188
|
-
"treegrid",
|
|
189
|
-
"treeitem",
|
|
190
|
-
]
|
|
191
|
-
]
|
|
192
|
-
| None = None,
|
|
193
|
-
slot: Var[str] | str | None = None,
|
|
194
|
-
spell_check: Var[bool] | bool | None = None,
|
|
195
|
-
tab_index: Var[int] | int | None = None,
|
|
196
|
-
title: Var[str] | str | None = None,
|
|
197
19
|
style: Sequence[Mapping[str, Any]]
|
|
198
20
|
| Mapping[str, Any]
|
|
199
21
|
| Var[Mapping[str, Any]]
|
|
@@ -226,22 +48,6 @@ class Body(elements.Body):
|
|
|
226
48
|
|
|
227
49
|
Args:
|
|
228
50
|
*children: The children of the component.
|
|
229
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
230
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
231
|
-
content_editable: Indicates whether the element's content is editable.
|
|
232
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
233
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
234
|
-
draggable: Defines whether the element can be dragged.
|
|
235
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
236
|
-
hidden: Defines whether the element is hidden.
|
|
237
|
-
input_mode: Defines the type of the element.
|
|
238
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
239
|
-
lang: Defines the language used in the element.
|
|
240
|
-
role: Defines the role of the element.
|
|
241
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
242
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
243
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
244
|
-
title: Defines a tooltip for the element.
|
|
245
51
|
style: The style of the component.
|
|
246
52
|
key: A unique key for the component.
|
|
247
53
|
id: The id for the component.
|
reflex/components/base/link.pyi
CHANGED
|
@@ -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.components.el.elements.base import BaseHTML
|
|
@@ -16,186 +16,6 @@ class RawLink(BaseHTML):
|
|
|
16
16
|
def create(
|
|
17
17
|
cls,
|
|
18
18
|
*children,
|
|
19
|
-
href: Var[str] | str | None = None,
|
|
20
|
-
rel: Var[str] | str | None = None,
|
|
21
|
-
access_key: Var[str] | str | None = None,
|
|
22
|
-
auto_capitalize: Literal[
|
|
23
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
24
|
-
]
|
|
25
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
26
|
-
| None = None,
|
|
27
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
28
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
29
|
-
| None = None,
|
|
30
|
-
context_menu: Var[str] | str | None = None,
|
|
31
|
-
dir: Var[str] | str | None = None,
|
|
32
|
-
draggable: Var[bool] | bool | None = None,
|
|
33
|
-
enter_key_hint: Literal[
|
|
34
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
35
|
-
]
|
|
36
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
37
|
-
| None = None,
|
|
38
|
-
hidden: Var[bool] | bool | None = None,
|
|
39
|
-
input_mode: Literal[
|
|
40
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
41
|
-
]
|
|
42
|
-
| Var[
|
|
43
|
-
Literal[
|
|
44
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
45
|
-
]
|
|
46
|
-
]
|
|
47
|
-
| None = None,
|
|
48
|
-
item_prop: Var[str] | str | None = None,
|
|
49
|
-
lang: Var[str] | str | None = None,
|
|
50
|
-
role: Literal[
|
|
51
|
-
"alert",
|
|
52
|
-
"alertdialog",
|
|
53
|
-
"application",
|
|
54
|
-
"article",
|
|
55
|
-
"banner",
|
|
56
|
-
"button",
|
|
57
|
-
"cell",
|
|
58
|
-
"checkbox",
|
|
59
|
-
"columnheader",
|
|
60
|
-
"combobox",
|
|
61
|
-
"complementary",
|
|
62
|
-
"contentinfo",
|
|
63
|
-
"definition",
|
|
64
|
-
"dialog",
|
|
65
|
-
"directory",
|
|
66
|
-
"document",
|
|
67
|
-
"feed",
|
|
68
|
-
"figure",
|
|
69
|
-
"form",
|
|
70
|
-
"grid",
|
|
71
|
-
"gridcell",
|
|
72
|
-
"group",
|
|
73
|
-
"heading",
|
|
74
|
-
"img",
|
|
75
|
-
"link",
|
|
76
|
-
"list",
|
|
77
|
-
"listbox",
|
|
78
|
-
"listitem",
|
|
79
|
-
"log",
|
|
80
|
-
"main",
|
|
81
|
-
"marquee",
|
|
82
|
-
"math",
|
|
83
|
-
"menu",
|
|
84
|
-
"menubar",
|
|
85
|
-
"menuitem",
|
|
86
|
-
"menuitemcheckbox",
|
|
87
|
-
"menuitemradio",
|
|
88
|
-
"navigation",
|
|
89
|
-
"none",
|
|
90
|
-
"note",
|
|
91
|
-
"option",
|
|
92
|
-
"presentation",
|
|
93
|
-
"progressbar",
|
|
94
|
-
"radio",
|
|
95
|
-
"radiogroup",
|
|
96
|
-
"region",
|
|
97
|
-
"row",
|
|
98
|
-
"rowgroup",
|
|
99
|
-
"rowheader",
|
|
100
|
-
"scrollbar",
|
|
101
|
-
"search",
|
|
102
|
-
"searchbox",
|
|
103
|
-
"separator",
|
|
104
|
-
"slider",
|
|
105
|
-
"spinbutton",
|
|
106
|
-
"status",
|
|
107
|
-
"switch",
|
|
108
|
-
"tab",
|
|
109
|
-
"table",
|
|
110
|
-
"tablist",
|
|
111
|
-
"tabpanel",
|
|
112
|
-
"term",
|
|
113
|
-
"textbox",
|
|
114
|
-
"timer",
|
|
115
|
-
"toolbar",
|
|
116
|
-
"tooltip",
|
|
117
|
-
"tree",
|
|
118
|
-
"treegrid",
|
|
119
|
-
"treeitem",
|
|
120
|
-
]
|
|
121
|
-
| Var[
|
|
122
|
-
Literal[
|
|
123
|
-
"alert",
|
|
124
|
-
"alertdialog",
|
|
125
|
-
"application",
|
|
126
|
-
"article",
|
|
127
|
-
"banner",
|
|
128
|
-
"button",
|
|
129
|
-
"cell",
|
|
130
|
-
"checkbox",
|
|
131
|
-
"columnheader",
|
|
132
|
-
"combobox",
|
|
133
|
-
"complementary",
|
|
134
|
-
"contentinfo",
|
|
135
|
-
"definition",
|
|
136
|
-
"dialog",
|
|
137
|
-
"directory",
|
|
138
|
-
"document",
|
|
139
|
-
"feed",
|
|
140
|
-
"figure",
|
|
141
|
-
"form",
|
|
142
|
-
"grid",
|
|
143
|
-
"gridcell",
|
|
144
|
-
"group",
|
|
145
|
-
"heading",
|
|
146
|
-
"img",
|
|
147
|
-
"link",
|
|
148
|
-
"list",
|
|
149
|
-
"listbox",
|
|
150
|
-
"listitem",
|
|
151
|
-
"log",
|
|
152
|
-
"main",
|
|
153
|
-
"marquee",
|
|
154
|
-
"math",
|
|
155
|
-
"menu",
|
|
156
|
-
"menubar",
|
|
157
|
-
"menuitem",
|
|
158
|
-
"menuitemcheckbox",
|
|
159
|
-
"menuitemradio",
|
|
160
|
-
"navigation",
|
|
161
|
-
"none",
|
|
162
|
-
"note",
|
|
163
|
-
"option",
|
|
164
|
-
"presentation",
|
|
165
|
-
"progressbar",
|
|
166
|
-
"radio",
|
|
167
|
-
"radiogroup",
|
|
168
|
-
"region",
|
|
169
|
-
"row",
|
|
170
|
-
"rowgroup",
|
|
171
|
-
"rowheader",
|
|
172
|
-
"scrollbar",
|
|
173
|
-
"search",
|
|
174
|
-
"searchbox",
|
|
175
|
-
"separator",
|
|
176
|
-
"slider",
|
|
177
|
-
"spinbutton",
|
|
178
|
-
"status",
|
|
179
|
-
"switch",
|
|
180
|
-
"tab",
|
|
181
|
-
"table",
|
|
182
|
-
"tablist",
|
|
183
|
-
"tabpanel",
|
|
184
|
-
"term",
|
|
185
|
-
"textbox",
|
|
186
|
-
"timer",
|
|
187
|
-
"toolbar",
|
|
188
|
-
"tooltip",
|
|
189
|
-
"tree",
|
|
190
|
-
"treegrid",
|
|
191
|
-
"treeitem",
|
|
192
|
-
]
|
|
193
|
-
]
|
|
194
|
-
| None = None,
|
|
195
|
-
slot: Var[str] | str | None = None,
|
|
196
|
-
spell_check: Var[bool] | bool | None = None,
|
|
197
|
-
tab_index: Var[int] | int | None = None,
|
|
198
|
-
title: Var[str] | str | None = None,
|
|
199
19
|
style: Sequence[Mapping[str, Any]]
|
|
200
20
|
| Mapping[str, Any]
|
|
201
21
|
| Var[Mapping[str, Any]]
|
|
@@ -228,24 +48,6 @@ class RawLink(BaseHTML):
|
|
|
228
48
|
|
|
229
49
|
Args:
|
|
230
50
|
*children: The children of the component.
|
|
231
|
-
href: The href.
|
|
232
|
-
rel: The type of link.
|
|
233
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
234
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
235
|
-
content_editable: Indicates whether the element's content is editable.
|
|
236
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
237
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
238
|
-
draggable: Defines whether the element can be dragged.
|
|
239
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
240
|
-
hidden: Defines whether the element is hidden.
|
|
241
|
-
input_mode: Defines the type of the element.
|
|
242
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
243
|
-
lang: Defines the language used in the element.
|
|
244
|
-
role: Defines the role of the element.
|
|
245
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
246
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
247
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
248
|
-
title: Defines a tooltip for the element.
|
|
249
51
|
style: The style of the component.
|
|
250
52
|
key: A unique key for the component.
|
|
251
53
|
id: The id for the component.
|
|
@@ -263,191 +65,6 @@ class ScriptTag(BaseHTML):
|
|
|
263
65
|
def create(
|
|
264
66
|
cls,
|
|
265
67
|
*children,
|
|
266
|
-
type_: Var[str] | str | None = None,
|
|
267
|
-
source: Var[str] | str | None = None,
|
|
268
|
-
integrity: Var[str] | str | None = None,
|
|
269
|
-
crossorigin: Var[str] | str | None = None,
|
|
270
|
-
referrer_policy: Var[str] | str | None = None,
|
|
271
|
-
is_async: Var[bool] | bool | None = None,
|
|
272
|
-
defer: Var[bool] | bool | None = None,
|
|
273
|
-
access_key: Var[str] | str | None = None,
|
|
274
|
-
auto_capitalize: Literal[
|
|
275
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
276
|
-
]
|
|
277
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
278
|
-
| None = None,
|
|
279
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
280
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
281
|
-
| None = None,
|
|
282
|
-
context_menu: Var[str] | str | None = None,
|
|
283
|
-
dir: Var[str] | str | None = None,
|
|
284
|
-
draggable: Var[bool] | bool | None = None,
|
|
285
|
-
enter_key_hint: Literal[
|
|
286
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
287
|
-
]
|
|
288
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
289
|
-
| None = None,
|
|
290
|
-
hidden: Var[bool] | bool | None = None,
|
|
291
|
-
input_mode: Literal[
|
|
292
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
293
|
-
]
|
|
294
|
-
| Var[
|
|
295
|
-
Literal[
|
|
296
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
297
|
-
]
|
|
298
|
-
]
|
|
299
|
-
| None = None,
|
|
300
|
-
item_prop: Var[str] | str | None = None,
|
|
301
|
-
lang: Var[str] | str | None = None,
|
|
302
|
-
role: Literal[
|
|
303
|
-
"alert",
|
|
304
|
-
"alertdialog",
|
|
305
|
-
"application",
|
|
306
|
-
"article",
|
|
307
|
-
"banner",
|
|
308
|
-
"button",
|
|
309
|
-
"cell",
|
|
310
|
-
"checkbox",
|
|
311
|
-
"columnheader",
|
|
312
|
-
"combobox",
|
|
313
|
-
"complementary",
|
|
314
|
-
"contentinfo",
|
|
315
|
-
"definition",
|
|
316
|
-
"dialog",
|
|
317
|
-
"directory",
|
|
318
|
-
"document",
|
|
319
|
-
"feed",
|
|
320
|
-
"figure",
|
|
321
|
-
"form",
|
|
322
|
-
"grid",
|
|
323
|
-
"gridcell",
|
|
324
|
-
"group",
|
|
325
|
-
"heading",
|
|
326
|
-
"img",
|
|
327
|
-
"link",
|
|
328
|
-
"list",
|
|
329
|
-
"listbox",
|
|
330
|
-
"listitem",
|
|
331
|
-
"log",
|
|
332
|
-
"main",
|
|
333
|
-
"marquee",
|
|
334
|
-
"math",
|
|
335
|
-
"menu",
|
|
336
|
-
"menubar",
|
|
337
|
-
"menuitem",
|
|
338
|
-
"menuitemcheckbox",
|
|
339
|
-
"menuitemradio",
|
|
340
|
-
"navigation",
|
|
341
|
-
"none",
|
|
342
|
-
"note",
|
|
343
|
-
"option",
|
|
344
|
-
"presentation",
|
|
345
|
-
"progressbar",
|
|
346
|
-
"radio",
|
|
347
|
-
"radiogroup",
|
|
348
|
-
"region",
|
|
349
|
-
"row",
|
|
350
|
-
"rowgroup",
|
|
351
|
-
"rowheader",
|
|
352
|
-
"scrollbar",
|
|
353
|
-
"search",
|
|
354
|
-
"searchbox",
|
|
355
|
-
"separator",
|
|
356
|
-
"slider",
|
|
357
|
-
"spinbutton",
|
|
358
|
-
"status",
|
|
359
|
-
"switch",
|
|
360
|
-
"tab",
|
|
361
|
-
"table",
|
|
362
|
-
"tablist",
|
|
363
|
-
"tabpanel",
|
|
364
|
-
"term",
|
|
365
|
-
"textbox",
|
|
366
|
-
"timer",
|
|
367
|
-
"toolbar",
|
|
368
|
-
"tooltip",
|
|
369
|
-
"tree",
|
|
370
|
-
"treegrid",
|
|
371
|
-
"treeitem",
|
|
372
|
-
]
|
|
373
|
-
| Var[
|
|
374
|
-
Literal[
|
|
375
|
-
"alert",
|
|
376
|
-
"alertdialog",
|
|
377
|
-
"application",
|
|
378
|
-
"article",
|
|
379
|
-
"banner",
|
|
380
|
-
"button",
|
|
381
|
-
"cell",
|
|
382
|
-
"checkbox",
|
|
383
|
-
"columnheader",
|
|
384
|
-
"combobox",
|
|
385
|
-
"complementary",
|
|
386
|
-
"contentinfo",
|
|
387
|
-
"definition",
|
|
388
|
-
"dialog",
|
|
389
|
-
"directory",
|
|
390
|
-
"document",
|
|
391
|
-
"feed",
|
|
392
|
-
"figure",
|
|
393
|
-
"form",
|
|
394
|
-
"grid",
|
|
395
|
-
"gridcell",
|
|
396
|
-
"group",
|
|
397
|
-
"heading",
|
|
398
|
-
"img",
|
|
399
|
-
"link",
|
|
400
|
-
"list",
|
|
401
|
-
"listbox",
|
|
402
|
-
"listitem",
|
|
403
|
-
"log",
|
|
404
|
-
"main",
|
|
405
|
-
"marquee",
|
|
406
|
-
"math",
|
|
407
|
-
"menu",
|
|
408
|
-
"menubar",
|
|
409
|
-
"menuitem",
|
|
410
|
-
"menuitemcheckbox",
|
|
411
|
-
"menuitemradio",
|
|
412
|
-
"navigation",
|
|
413
|
-
"none",
|
|
414
|
-
"note",
|
|
415
|
-
"option",
|
|
416
|
-
"presentation",
|
|
417
|
-
"progressbar",
|
|
418
|
-
"radio",
|
|
419
|
-
"radiogroup",
|
|
420
|
-
"region",
|
|
421
|
-
"row",
|
|
422
|
-
"rowgroup",
|
|
423
|
-
"rowheader",
|
|
424
|
-
"scrollbar",
|
|
425
|
-
"search",
|
|
426
|
-
"searchbox",
|
|
427
|
-
"separator",
|
|
428
|
-
"slider",
|
|
429
|
-
"spinbutton",
|
|
430
|
-
"status",
|
|
431
|
-
"switch",
|
|
432
|
-
"tab",
|
|
433
|
-
"table",
|
|
434
|
-
"tablist",
|
|
435
|
-
"tabpanel",
|
|
436
|
-
"term",
|
|
437
|
-
"textbox",
|
|
438
|
-
"timer",
|
|
439
|
-
"toolbar",
|
|
440
|
-
"tooltip",
|
|
441
|
-
"tree",
|
|
442
|
-
"treegrid",
|
|
443
|
-
"treeitem",
|
|
444
|
-
]
|
|
445
|
-
]
|
|
446
|
-
| None = None,
|
|
447
|
-
slot: Var[str] | str | None = None,
|
|
448
|
-
spell_check: Var[bool] | bool | None = None,
|
|
449
|
-
tab_index: Var[int] | int | None = None,
|
|
450
|
-
title: Var[str] | str | None = None,
|
|
451
68
|
style: Sequence[Mapping[str, Any]]
|
|
452
69
|
| Mapping[str, Any]
|
|
453
70
|
| Var[Mapping[str, Any]]
|
|
@@ -480,29 +97,6 @@ class ScriptTag(BaseHTML):
|
|
|
480
97
|
|
|
481
98
|
Args:
|
|
482
99
|
*children: The children of the component.
|
|
483
|
-
type_: The type of script represented.
|
|
484
|
-
source: The URI of an external script.
|
|
485
|
-
integrity: Metadata to verify the content of the script.
|
|
486
|
-
crossorigin: Whether to allow cross-origin requests.
|
|
487
|
-
referrer_policy: Indicates which referrer to send when fetching the script.
|
|
488
|
-
is_async: Whether to asynchronously load the script.
|
|
489
|
-
defer: Whether to defer loading the script.
|
|
490
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
491
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
492
|
-
content_editable: Indicates whether the element's content is editable.
|
|
493
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
494
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
495
|
-
draggable: Defines whether the element can be dragged.
|
|
496
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
497
|
-
hidden: Defines whether the element is hidden.
|
|
498
|
-
input_mode: Defines the type of the element.
|
|
499
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
500
|
-
lang: Defines the language used in the element.
|
|
501
|
-
role: Defines the role of the element.
|
|
502
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
503
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
504
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
505
|
-
title: Defines a tooltip for the element.
|
|
506
100
|
style: The style of the component.
|
|
507
101
|
key: A unique key for the component.
|
|
508
102
|
id: The id for the component.
|