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
|
@@ -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
|
|
@@ -17,184 +17,6 @@ class Box(elements.Div, RadixThemesComponent):
|
|
|
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]]
|
|
@@ -230,22 +52,6 @@ class Box(elements.Div, RadixThemesComponent):
|
|
|
230
52
|
|
|
231
53
|
Args:
|
|
232
54
|
*children: Child components.
|
|
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
55
|
style: The style of the component.
|
|
250
56
|
key: A unique key for the component.
|
|
251
57
|
id: The id for the component.
|
|
@@ -60,184 +60,6 @@ class Center(Flex):
|
|
|
60
60
|
| Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
61
61
|
]
|
|
62
62
|
| None = None,
|
|
63
|
-
access_key: Var[str] | str | None = None,
|
|
64
|
-
auto_capitalize: Literal[
|
|
65
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
66
|
-
]
|
|
67
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
68
|
-
| None = None,
|
|
69
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
70
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
71
|
-
| None = None,
|
|
72
|
-
context_menu: Var[str] | str | None = None,
|
|
73
|
-
dir: Var[str] | str | None = None,
|
|
74
|
-
draggable: Var[bool] | bool | None = None,
|
|
75
|
-
enter_key_hint: Literal[
|
|
76
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
77
|
-
]
|
|
78
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
79
|
-
| None = None,
|
|
80
|
-
hidden: Var[bool] | bool | None = None,
|
|
81
|
-
input_mode: Literal[
|
|
82
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
83
|
-
]
|
|
84
|
-
| Var[
|
|
85
|
-
Literal[
|
|
86
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
87
|
-
]
|
|
88
|
-
]
|
|
89
|
-
| None = None,
|
|
90
|
-
item_prop: Var[str] | str | None = None,
|
|
91
|
-
lang: Var[str] | str | None = None,
|
|
92
|
-
role: Literal[
|
|
93
|
-
"alert",
|
|
94
|
-
"alertdialog",
|
|
95
|
-
"application",
|
|
96
|
-
"article",
|
|
97
|
-
"banner",
|
|
98
|
-
"button",
|
|
99
|
-
"cell",
|
|
100
|
-
"checkbox",
|
|
101
|
-
"columnheader",
|
|
102
|
-
"combobox",
|
|
103
|
-
"complementary",
|
|
104
|
-
"contentinfo",
|
|
105
|
-
"definition",
|
|
106
|
-
"dialog",
|
|
107
|
-
"directory",
|
|
108
|
-
"document",
|
|
109
|
-
"feed",
|
|
110
|
-
"figure",
|
|
111
|
-
"form",
|
|
112
|
-
"grid",
|
|
113
|
-
"gridcell",
|
|
114
|
-
"group",
|
|
115
|
-
"heading",
|
|
116
|
-
"img",
|
|
117
|
-
"link",
|
|
118
|
-
"list",
|
|
119
|
-
"listbox",
|
|
120
|
-
"listitem",
|
|
121
|
-
"log",
|
|
122
|
-
"main",
|
|
123
|
-
"marquee",
|
|
124
|
-
"math",
|
|
125
|
-
"menu",
|
|
126
|
-
"menubar",
|
|
127
|
-
"menuitem",
|
|
128
|
-
"menuitemcheckbox",
|
|
129
|
-
"menuitemradio",
|
|
130
|
-
"navigation",
|
|
131
|
-
"none",
|
|
132
|
-
"note",
|
|
133
|
-
"option",
|
|
134
|
-
"presentation",
|
|
135
|
-
"progressbar",
|
|
136
|
-
"radio",
|
|
137
|
-
"radiogroup",
|
|
138
|
-
"region",
|
|
139
|
-
"row",
|
|
140
|
-
"rowgroup",
|
|
141
|
-
"rowheader",
|
|
142
|
-
"scrollbar",
|
|
143
|
-
"search",
|
|
144
|
-
"searchbox",
|
|
145
|
-
"separator",
|
|
146
|
-
"slider",
|
|
147
|
-
"spinbutton",
|
|
148
|
-
"status",
|
|
149
|
-
"switch",
|
|
150
|
-
"tab",
|
|
151
|
-
"table",
|
|
152
|
-
"tablist",
|
|
153
|
-
"tabpanel",
|
|
154
|
-
"term",
|
|
155
|
-
"textbox",
|
|
156
|
-
"timer",
|
|
157
|
-
"toolbar",
|
|
158
|
-
"tooltip",
|
|
159
|
-
"tree",
|
|
160
|
-
"treegrid",
|
|
161
|
-
"treeitem",
|
|
162
|
-
]
|
|
163
|
-
| Var[
|
|
164
|
-
Literal[
|
|
165
|
-
"alert",
|
|
166
|
-
"alertdialog",
|
|
167
|
-
"application",
|
|
168
|
-
"article",
|
|
169
|
-
"banner",
|
|
170
|
-
"button",
|
|
171
|
-
"cell",
|
|
172
|
-
"checkbox",
|
|
173
|
-
"columnheader",
|
|
174
|
-
"combobox",
|
|
175
|
-
"complementary",
|
|
176
|
-
"contentinfo",
|
|
177
|
-
"definition",
|
|
178
|
-
"dialog",
|
|
179
|
-
"directory",
|
|
180
|
-
"document",
|
|
181
|
-
"feed",
|
|
182
|
-
"figure",
|
|
183
|
-
"form",
|
|
184
|
-
"grid",
|
|
185
|
-
"gridcell",
|
|
186
|
-
"group",
|
|
187
|
-
"heading",
|
|
188
|
-
"img",
|
|
189
|
-
"link",
|
|
190
|
-
"list",
|
|
191
|
-
"listbox",
|
|
192
|
-
"listitem",
|
|
193
|
-
"log",
|
|
194
|
-
"main",
|
|
195
|
-
"marquee",
|
|
196
|
-
"math",
|
|
197
|
-
"menu",
|
|
198
|
-
"menubar",
|
|
199
|
-
"menuitem",
|
|
200
|
-
"menuitemcheckbox",
|
|
201
|
-
"menuitemradio",
|
|
202
|
-
"navigation",
|
|
203
|
-
"none",
|
|
204
|
-
"note",
|
|
205
|
-
"option",
|
|
206
|
-
"presentation",
|
|
207
|
-
"progressbar",
|
|
208
|
-
"radio",
|
|
209
|
-
"radiogroup",
|
|
210
|
-
"region",
|
|
211
|
-
"row",
|
|
212
|
-
"rowgroup",
|
|
213
|
-
"rowheader",
|
|
214
|
-
"scrollbar",
|
|
215
|
-
"search",
|
|
216
|
-
"searchbox",
|
|
217
|
-
"separator",
|
|
218
|
-
"slider",
|
|
219
|
-
"spinbutton",
|
|
220
|
-
"status",
|
|
221
|
-
"switch",
|
|
222
|
-
"tab",
|
|
223
|
-
"table",
|
|
224
|
-
"tablist",
|
|
225
|
-
"tabpanel",
|
|
226
|
-
"term",
|
|
227
|
-
"textbox",
|
|
228
|
-
"timer",
|
|
229
|
-
"toolbar",
|
|
230
|
-
"tooltip",
|
|
231
|
-
"tree",
|
|
232
|
-
"treegrid",
|
|
233
|
-
"treeitem",
|
|
234
|
-
]
|
|
235
|
-
]
|
|
236
|
-
| None = None,
|
|
237
|
-
slot: Var[str] | str | None = None,
|
|
238
|
-
spell_check: Var[bool] | bool | None = None,
|
|
239
|
-
tab_index: Var[int] | int | None = None,
|
|
240
|
-
title: Var[str] | str | None = None,
|
|
241
63
|
style: Sequence[Mapping[str, Any]]
|
|
242
64
|
| Mapping[str, Any]
|
|
243
65
|
| Var[Mapping[str, Any]]
|
|
@@ -279,22 +101,6 @@ class Center(Flex):
|
|
|
279
101
|
justify: Alignment of children along the cross axis: "start" | "center" | "end" | "between"
|
|
280
102
|
wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"
|
|
281
103
|
spacing: Gap between children: "0" - "9"
|
|
282
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
283
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
284
|
-
content_editable: Indicates whether the element's content is editable.
|
|
285
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
286
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
287
|
-
draggable: Defines whether the element can be dragged.
|
|
288
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
289
|
-
hidden: Defines whether the element is hidden.
|
|
290
|
-
input_mode: Defines the type of the element.
|
|
291
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
292
|
-
lang: Defines the language used in the element.
|
|
293
|
-
role: Defines the role of the element.
|
|
294
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
295
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
296
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
297
|
-
title: Defines a tooltip for the element.
|
|
298
104
|
style: The style of the component.
|
|
299
105
|
key: A unique key for the component.
|
|
300
106
|
id: The id for the component.
|
|
@@ -27,184 +27,6 @@ class Container(elements.Div, RadixThemesComponent):
|
|
|
27
27
|
Breakpoints[str, Literal["1", "2", "3", "4"]] | Literal["1", "2", "3", "4"]
|
|
28
28
|
]
|
|
29
29
|
| None = None,
|
|
30
|
-
access_key: Var[str] | str | None = None,
|
|
31
|
-
auto_capitalize: Literal[
|
|
32
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
33
|
-
]
|
|
34
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
35
|
-
| None = None,
|
|
36
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
37
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
38
|
-
| None = None,
|
|
39
|
-
context_menu: Var[str] | str | None = None,
|
|
40
|
-
dir: Var[str] | str | None = None,
|
|
41
|
-
draggable: Var[bool] | bool | None = None,
|
|
42
|
-
enter_key_hint: Literal[
|
|
43
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
44
|
-
]
|
|
45
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
46
|
-
| None = None,
|
|
47
|
-
hidden: Var[bool] | bool | None = None,
|
|
48
|
-
input_mode: Literal[
|
|
49
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
50
|
-
]
|
|
51
|
-
| Var[
|
|
52
|
-
Literal[
|
|
53
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
54
|
-
]
|
|
55
|
-
]
|
|
56
|
-
| None = None,
|
|
57
|
-
item_prop: Var[str] | str | None = None,
|
|
58
|
-
lang: Var[str] | str | None = None,
|
|
59
|
-
role: Literal[
|
|
60
|
-
"alert",
|
|
61
|
-
"alertdialog",
|
|
62
|
-
"application",
|
|
63
|
-
"article",
|
|
64
|
-
"banner",
|
|
65
|
-
"button",
|
|
66
|
-
"cell",
|
|
67
|
-
"checkbox",
|
|
68
|
-
"columnheader",
|
|
69
|
-
"combobox",
|
|
70
|
-
"complementary",
|
|
71
|
-
"contentinfo",
|
|
72
|
-
"definition",
|
|
73
|
-
"dialog",
|
|
74
|
-
"directory",
|
|
75
|
-
"document",
|
|
76
|
-
"feed",
|
|
77
|
-
"figure",
|
|
78
|
-
"form",
|
|
79
|
-
"grid",
|
|
80
|
-
"gridcell",
|
|
81
|
-
"group",
|
|
82
|
-
"heading",
|
|
83
|
-
"img",
|
|
84
|
-
"link",
|
|
85
|
-
"list",
|
|
86
|
-
"listbox",
|
|
87
|
-
"listitem",
|
|
88
|
-
"log",
|
|
89
|
-
"main",
|
|
90
|
-
"marquee",
|
|
91
|
-
"math",
|
|
92
|
-
"menu",
|
|
93
|
-
"menubar",
|
|
94
|
-
"menuitem",
|
|
95
|
-
"menuitemcheckbox",
|
|
96
|
-
"menuitemradio",
|
|
97
|
-
"navigation",
|
|
98
|
-
"none",
|
|
99
|
-
"note",
|
|
100
|
-
"option",
|
|
101
|
-
"presentation",
|
|
102
|
-
"progressbar",
|
|
103
|
-
"radio",
|
|
104
|
-
"radiogroup",
|
|
105
|
-
"region",
|
|
106
|
-
"row",
|
|
107
|
-
"rowgroup",
|
|
108
|
-
"rowheader",
|
|
109
|
-
"scrollbar",
|
|
110
|
-
"search",
|
|
111
|
-
"searchbox",
|
|
112
|
-
"separator",
|
|
113
|
-
"slider",
|
|
114
|
-
"spinbutton",
|
|
115
|
-
"status",
|
|
116
|
-
"switch",
|
|
117
|
-
"tab",
|
|
118
|
-
"table",
|
|
119
|
-
"tablist",
|
|
120
|
-
"tabpanel",
|
|
121
|
-
"term",
|
|
122
|
-
"textbox",
|
|
123
|
-
"timer",
|
|
124
|
-
"toolbar",
|
|
125
|
-
"tooltip",
|
|
126
|
-
"tree",
|
|
127
|
-
"treegrid",
|
|
128
|
-
"treeitem",
|
|
129
|
-
]
|
|
130
|
-
| Var[
|
|
131
|
-
Literal[
|
|
132
|
-
"alert",
|
|
133
|
-
"alertdialog",
|
|
134
|
-
"application",
|
|
135
|
-
"article",
|
|
136
|
-
"banner",
|
|
137
|
-
"button",
|
|
138
|
-
"cell",
|
|
139
|
-
"checkbox",
|
|
140
|
-
"columnheader",
|
|
141
|
-
"combobox",
|
|
142
|
-
"complementary",
|
|
143
|
-
"contentinfo",
|
|
144
|
-
"definition",
|
|
145
|
-
"dialog",
|
|
146
|
-
"directory",
|
|
147
|
-
"document",
|
|
148
|
-
"feed",
|
|
149
|
-
"figure",
|
|
150
|
-
"form",
|
|
151
|
-
"grid",
|
|
152
|
-
"gridcell",
|
|
153
|
-
"group",
|
|
154
|
-
"heading",
|
|
155
|
-
"img",
|
|
156
|
-
"link",
|
|
157
|
-
"list",
|
|
158
|
-
"listbox",
|
|
159
|
-
"listitem",
|
|
160
|
-
"log",
|
|
161
|
-
"main",
|
|
162
|
-
"marquee",
|
|
163
|
-
"math",
|
|
164
|
-
"menu",
|
|
165
|
-
"menubar",
|
|
166
|
-
"menuitem",
|
|
167
|
-
"menuitemcheckbox",
|
|
168
|
-
"menuitemradio",
|
|
169
|
-
"navigation",
|
|
170
|
-
"none",
|
|
171
|
-
"note",
|
|
172
|
-
"option",
|
|
173
|
-
"presentation",
|
|
174
|
-
"progressbar",
|
|
175
|
-
"radio",
|
|
176
|
-
"radiogroup",
|
|
177
|
-
"region",
|
|
178
|
-
"row",
|
|
179
|
-
"rowgroup",
|
|
180
|
-
"rowheader",
|
|
181
|
-
"scrollbar",
|
|
182
|
-
"search",
|
|
183
|
-
"searchbox",
|
|
184
|
-
"separator",
|
|
185
|
-
"slider",
|
|
186
|
-
"spinbutton",
|
|
187
|
-
"status",
|
|
188
|
-
"switch",
|
|
189
|
-
"tab",
|
|
190
|
-
"table",
|
|
191
|
-
"tablist",
|
|
192
|
-
"tabpanel",
|
|
193
|
-
"term",
|
|
194
|
-
"textbox",
|
|
195
|
-
"timer",
|
|
196
|
-
"toolbar",
|
|
197
|
-
"tooltip",
|
|
198
|
-
"tree",
|
|
199
|
-
"treegrid",
|
|
200
|
-
"treeitem",
|
|
201
|
-
]
|
|
202
|
-
]
|
|
203
|
-
| None = None,
|
|
204
|
-
slot: Var[str] | str | None = None,
|
|
205
|
-
spell_check: Var[bool] | bool | None = None,
|
|
206
|
-
tab_index: Var[int] | int | None = None,
|
|
207
|
-
title: Var[str] | str | None = None,
|
|
208
30
|
style: Sequence[Mapping[str, Any]]
|
|
209
31
|
| Mapping[str, Any]
|
|
210
32
|
| Var[Mapping[str, Any]]
|