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
|
@@ -20,252 +20,6 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
|
|
|
20
20
|
def create(
|
|
21
21
|
cls,
|
|
22
22
|
*children,
|
|
23
|
-
as_child: Var[bool] | bool | None = None,
|
|
24
|
-
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
25
|
-
| Literal["1", "2", "3"]
|
|
26
|
-
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
27
|
-
| None = None,
|
|
28
|
-
variant: Literal["outline", "soft", "surface"]
|
|
29
|
-
| Var[Literal["outline", "soft", "surface"]]
|
|
30
|
-
| None = None,
|
|
31
|
-
color_scheme: Literal[
|
|
32
|
-
"amber",
|
|
33
|
-
"blue",
|
|
34
|
-
"bronze",
|
|
35
|
-
"brown",
|
|
36
|
-
"crimson",
|
|
37
|
-
"cyan",
|
|
38
|
-
"gold",
|
|
39
|
-
"grass",
|
|
40
|
-
"gray",
|
|
41
|
-
"green",
|
|
42
|
-
"indigo",
|
|
43
|
-
"iris",
|
|
44
|
-
"jade",
|
|
45
|
-
"lime",
|
|
46
|
-
"mint",
|
|
47
|
-
"orange",
|
|
48
|
-
"pink",
|
|
49
|
-
"plum",
|
|
50
|
-
"purple",
|
|
51
|
-
"red",
|
|
52
|
-
"ruby",
|
|
53
|
-
"sky",
|
|
54
|
-
"teal",
|
|
55
|
-
"tomato",
|
|
56
|
-
"violet",
|
|
57
|
-
"yellow",
|
|
58
|
-
]
|
|
59
|
-
| Var[
|
|
60
|
-
Literal[
|
|
61
|
-
"amber",
|
|
62
|
-
"blue",
|
|
63
|
-
"bronze",
|
|
64
|
-
"brown",
|
|
65
|
-
"crimson",
|
|
66
|
-
"cyan",
|
|
67
|
-
"gold",
|
|
68
|
-
"grass",
|
|
69
|
-
"gray",
|
|
70
|
-
"green",
|
|
71
|
-
"indigo",
|
|
72
|
-
"iris",
|
|
73
|
-
"jade",
|
|
74
|
-
"lime",
|
|
75
|
-
"mint",
|
|
76
|
-
"orange",
|
|
77
|
-
"pink",
|
|
78
|
-
"plum",
|
|
79
|
-
"purple",
|
|
80
|
-
"red",
|
|
81
|
-
"ruby",
|
|
82
|
-
"sky",
|
|
83
|
-
"teal",
|
|
84
|
-
"tomato",
|
|
85
|
-
"violet",
|
|
86
|
-
"yellow",
|
|
87
|
-
]
|
|
88
|
-
]
|
|
89
|
-
| None = None,
|
|
90
|
-
high_contrast: Var[bool] | bool | None = None,
|
|
91
|
-
access_key: Var[str] | str | None = None,
|
|
92
|
-
auto_capitalize: Literal[
|
|
93
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
94
|
-
]
|
|
95
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
96
|
-
| None = None,
|
|
97
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
98
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
99
|
-
| None = None,
|
|
100
|
-
context_menu: Var[str] | str | None = None,
|
|
101
|
-
dir: Var[str] | str | None = None,
|
|
102
|
-
draggable: Var[bool] | bool | None = None,
|
|
103
|
-
enter_key_hint: Literal[
|
|
104
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
105
|
-
]
|
|
106
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
107
|
-
| None = None,
|
|
108
|
-
hidden: Var[bool] | bool | None = None,
|
|
109
|
-
input_mode: Literal[
|
|
110
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
111
|
-
]
|
|
112
|
-
| Var[
|
|
113
|
-
Literal[
|
|
114
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
115
|
-
]
|
|
116
|
-
]
|
|
117
|
-
| None = None,
|
|
118
|
-
item_prop: Var[str] | str | None = None,
|
|
119
|
-
lang: Var[str] | str | None = None,
|
|
120
|
-
role: 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
|
-
| Var[
|
|
192
|
-
Literal[
|
|
193
|
-
"alert",
|
|
194
|
-
"alertdialog",
|
|
195
|
-
"application",
|
|
196
|
-
"article",
|
|
197
|
-
"banner",
|
|
198
|
-
"button",
|
|
199
|
-
"cell",
|
|
200
|
-
"checkbox",
|
|
201
|
-
"columnheader",
|
|
202
|
-
"combobox",
|
|
203
|
-
"complementary",
|
|
204
|
-
"contentinfo",
|
|
205
|
-
"definition",
|
|
206
|
-
"dialog",
|
|
207
|
-
"directory",
|
|
208
|
-
"document",
|
|
209
|
-
"feed",
|
|
210
|
-
"figure",
|
|
211
|
-
"form",
|
|
212
|
-
"grid",
|
|
213
|
-
"gridcell",
|
|
214
|
-
"group",
|
|
215
|
-
"heading",
|
|
216
|
-
"img",
|
|
217
|
-
"link",
|
|
218
|
-
"list",
|
|
219
|
-
"listbox",
|
|
220
|
-
"listitem",
|
|
221
|
-
"log",
|
|
222
|
-
"main",
|
|
223
|
-
"marquee",
|
|
224
|
-
"math",
|
|
225
|
-
"menu",
|
|
226
|
-
"menubar",
|
|
227
|
-
"menuitem",
|
|
228
|
-
"menuitemcheckbox",
|
|
229
|
-
"menuitemradio",
|
|
230
|
-
"navigation",
|
|
231
|
-
"none",
|
|
232
|
-
"note",
|
|
233
|
-
"option",
|
|
234
|
-
"presentation",
|
|
235
|
-
"progressbar",
|
|
236
|
-
"radio",
|
|
237
|
-
"radiogroup",
|
|
238
|
-
"region",
|
|
239
|
-
"row",
|
|
240
|
-
"rowgroup",
|
|
241
|
-
"rowheader",
|
|
242
|
-
"scrollbar",
|
|
243
|
-
"search",
|
|
244
|
-
"searchbox",
|
|
245
|
-
"separator",
|
|
246
|
-
"slider",
|
|
247
|
-
"spinbutton",
|
|
248
|
-
"status",
|
|
249
|
-
"switch",
|
|
250
|
-
"tab",
|
|
251
|
-
"table",
|
|
252
|
-
"tablist",
|
|
253
|
-
"tabpanel",
|
|
254
|
-
"term",
|
|
255
|
-
"textbox",
|
|
256
|
-
"timer",
|
|
257
|
-
"toolbar",
|
|
258
|
-
"tooltip",
|
|
259
|
-
"tree",
|
|
260
|
-
"treegrid",
|
|
261
|
-
"treeitem",
|
|
262
|
-
]
|
|
263
|
-
]
|
|
264
|
-
| None = None,
|
|
265
|
-
slot: Var[str] | str | None = None,
|
|
266
|
-
spell_check: Var[bool] | bool | None = None,
|
|
267
|
-
tab_index: Var[int] | int | None = None,
|
|
268
|
-
title: Var[str] | str | None = None,
|
|
269
23
|
style: Sequence[Mapping[str, Any]]
|
|
270
24
|
| Mapping[str, Any]
|
|
271
25
|
| Var[Mapping[str, Any]]
|
|
@@ -301,27 +55,6 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
|
|
|
301
55
|
|
|
302
56
|
Args:
|
|
303
57
|
*children: Child components.
|
|
304
|
-
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
305
|
-
size: Size "1" - "3"
|
|
306
|
-
variant: Variant of button: "soft" | "surface" | "outline"
|
|
307
|
-
color_scheme: Override theme color for button
|
|
308
|
-
high_contrast: Whether to render the button with higher contrast color against background
|
|
309
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
310
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
311
|
-
content_editable: Indicates whether the element's content is editable.
|
|
312
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
313
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
314
|
-
draggable: Defines whether the element can be dragged.
|
|
315
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
316
|
-
hidden: Defines whether the element is hidden.
|
|
317
|
-
input_mode: Defines the type of the element.
|
|
318
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
319
|
-
lang: Defines the language used in the element.
|
|
320
|
-
role: Defines the role of the element.
|
|
321
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
322
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
323
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
324
|
-
title: Defines a tooltip for the element.
|
|
325
58
|
style: The style of the component.
|
|
326
59
|
key: A unique key for the component.
|
|
327
60
|
id: The id for the component.
|
|
@@ -339,184 +72,6 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
|
|
|
339
72
|
def create(
|
|
340
73
|
cls,
|
|
341
74
|
*children,
|
|
342
|
-
access_key: Var[str] | str | None = None,
|
|
343
|
-
auto_capitalize: Literal[
|
|
344
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
345
|
-
]
|
|
346
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
347
|
-
| None = None,
|
|
348
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
349
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
350
|
-
| None = None,
|
|
351
|
-
context_menu: Var[str] | str | None = None,
|
|
352
|
-
dir: Var[str] | str | None = None,
|
|
353
|
-
draggable: Var[bool] | bool | None = None,
|
|
354
|
-
enter_key_hint: Literal[
|
|
355
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
356
|
-
]
|
|
357
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
358
|
-
| None = None,
|
|
359
|
-
hidden: Var[bool] | bool | None = None,
|
|
360
|
-
input_mode: Literal[
|
|
361
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
362
|
-
]
|
|
363
|
-
| Var[
|
|
364
|
-
Literal[
|
|
365
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
366
|
-
]
|
|
367
|
-
]
|
|
368
|
-
| None = None,
|
|
369
|
-
item_prop: Var[str] | str | None = None,
|
|
370
|
-
lang: Var[str] | str | None = None,
|
|
371
|
-
role: Literal[
|
|
372
|
-
"alert",
|
|
373
|
-
"alertdialog",
|
|
374
|
-
"application",
|
|
375
|
-
"article",
|
|
376
|
-
"banner",
|
|
377
|
-
"button",
|
|
378
|
-
"cell",
|
|
379
|
-
"checkbox",
|
|
380
|
-
"columnheader",
|
|
381
|
-
"combobox",
|
|
382
|
-
"complementary",
|
|
383
|
-
"contentinfo",
|
|
384
|
-
"definition",
|
|
385
|
-
"dialog",
|
|
386
|
-
"directory",
|
|
387
|
-
"document",
|
|
388
|
-
"feed",
|
|
389
|
-
"figure",
|
|
390
|
-
"form",
|
|
391
|
-
"grid",
|
|
392
|
-
"gridcell",
|
|
393
|
-
"group",
|
|
394
|
-
"heading",
|
|
395
|
-
"img",
|
|
396
|
-
"link",
|
|
397
|
-
"list",
|
|
398
|
-
"listbox",
|
|
399
|
-
"listitem",
|
|
400
|
-
"log",
|
|
401
|
-
"main",
|
|
402
|
-
"marquee",
|
|
403
|
-
"math",
|
|
404
|
-
"menu",
|
|
405
|
-
"menubar",
|
|
406
|
-
"menuitem",
|
|
407
|
-
"menuitemcheckbox",
|
|
408
|
-
"menuitemradio",
|
|
409
|
-
"navigation",
|
|
410
|
-
"none",
|
|
411
|
-
"note",
|
|
412
|
-
"option",
|
|
413
|
-
"presentation",
|
|
414
|
-
"progressbar",
|
|
415
|
-
"radio",
|
|
416
|
-
"radiogroup",
|
|
417
|
-
"region",
|
|
418
|
-
"row",
|
|
419
|
-
"rowgroup",
|
|
420
|
-
"rowheader",
|
|
421
|
-
"scrollbar",
|
|
422
|
-
"search",
|
|
423
|
-
"searchbox",
|
|
424
|
-
"separator",
|
|
425
|
-
"slider",
|
|
426
|
-
"spinbutton",
|
|
427
|
-
"status",
|
|
428
|
-
"switch",
|
|
429
|
-
"tab",
|
|
430
|
-
"table",
|
|
431
|
-
"tablist",
|
|
432
|
-
"tabpanel",
|
|
433
|
-
"term",
|
|
434
|
-
"textbox",
|
|
435
|
-
"timer",
|
|
436
|
-
"toolbar",
|
|
437
|
-
"tooltip",
|
|
438
|
-
"tree",
|
|
439
|
-
"treegrid",
|
|
440
|
-
"treeitem",
|
|
441
|
-
]
|
|
442
|
-
| Var[
|
|
443
|
-
Literal[
|
|
444
|
-
"alert",
|
|
445
|
-
"alertdialog",
|
|
446
|
-
"application",
|
|
447
|
-
"article",
|
|
448
|
-
"banner",
|
|
449
|
-
"button",
|
|
450
|
-
"cell",
|
|
451
|
-
"checkbox",
|
|
452
|
-
"columnheader",
|
|
453
|
-
"combobox",
|
|
454
|
-
"complementary",
|
|
455
|
-
"contentinfo",
|
|
456
|
-
"definition",
|
|
457
|
-
"dialog",
|
|
458
|
-
"directory",
|
|
459
|
-
"document",
|
|
460
|
-
"feed",
|
|
461
|
-
"figure",
|
|
462
|
-
"form",
|
|
463
|
-
"grid",
|
|
464
|
-
"gridcell",
|
|
465
|
-
"group",
|
|
466
|
-
"heading",
|
|
467
|
-
"img",
|
|
468
|
-
"link",
|
|
469
|
-
"list",
|
|
470
|
-
"listbox",
|
|
471
|
-
"listitem",
|
|
472
|
-
"log",
|
|
473
|
-
"main",
|
|
474
|
-
"marquee",
|
|
475
|
-
"math",
|
|
476
|
-
"menu",
|
|
477
|
-
"menubar",
|
|
478
|
-
"menuitem",
|
|
479
|
-
"menuitemcheckbox",
|
|
480
|
-
"menuitemradio",
|
|
481
|
-
"navigation",
|
|
482
|
-
"none",
|
|
483
|
-
"note",
|
|
484
|
-
"option",
|
|
485
|
-
"presentation",
|
|
486
|
-
"progressbar",
|
|
487
|
-
"radio",
|
|
488
|
-
"radiogroup",
|
|
489
|
-
"region",
|
|
490
|
-
"row",
|
|
491
|
-
"rowgroup",
|
|
492
|
-
"rowheader",
|
|
493
|
-
"scrollbar",
|
|
494
|
-
"search",
|
|
495
|
-
"searchbox",
|
|
496
|
-
"separator",
|
|
497
|
-
"slider",
|
|
498
|
-
"spinbutton",
|
|
499
|
-
"status",
|
|
500
|
-
"switch",
|
|
501
|
-
"tab",
|
|
502
|
-
"table",
|
|
503
|
-
"tablist",
|
|
504
|
-
"tabpanel",
|
|
505
|
-
"term",
|
|
506
|
-
"textbox",
|
|
507
|
-
"timer",
|
|
508
|
-
"toolbar",
|
|
509
|
-
"tooltip",
|
|
510
|
-
"tree",
|
|
511
|
-
"treegrid",
|
|
512
|
-
"treeitem",
|
|
513
|
-
]
|
|
514
|
-
]
|
|
515
|
-
| None = None,
|
|
516
|
-
slot: Var[str] | str | None = None,
|
|
517
|
-
spell_check: Var[bool] | bool | None = None,
|
|
518
|
-
tab_index: Var[int] | int | None = None,
|
|
519
|
-
title: Var[str] | str | None = None,
|
|
520
75
|
style: Sequence[Mapping[str, Any]]
|
|
521
76
|
| Mapping[str, Any]
|
|
522
77
|
| Var[Mapping[str, Any]]
|
|
@@ -552,22 +107,6 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
|
|
|
552
107
|
|
|
553
108
|
Args:
|
|
554
109
|
*children: Child components.
|
|
555
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
556
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
557
|
-
content_editable: Indicates whether the element's content is editable.
|
|
558
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
559
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
560
|
-
draggable: Defines whether the element can be dragged.
|
|
561
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
562
|
-
hidden: Defines whether the element is hidden.
|
|
563
|
-
input_mode: Defines the type of the element.
|
|
564
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
565
|
-
lang: Defines the language used in the element.
|
|
566
|
-
role: Defines the role of the element.
|
|
567
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
568
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
569
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
570
|
-
title: Defines a tooltip for the element.
|
|
571
110
|
style: The style of the component.
|
|
572
111
|
key: A unique key for the component.
|
|
573
112
|
id: The id for the component.
|
|
@@ -585,184 +124,6 @@ class CalloutText(elements.P, RadixThemesComponent):
|
|
|
585
124
|
def create(
|
|
586
125
|
cls,
|
|
587
126
|
*children,
|
|
588
|
-
access_key: Var[str] | str | None = None,
|
|
589
|
-
auto_capitalize: Literal[
|
|
590
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
591
|
-
]
|
|
592
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
593
|
-
| None = None,
|
|
594
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
595
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
596
|
-
| None = None,
|
|
597
|
-
context_menu: Var[str] | str | None = None,
|
|
598
|
-
dir: Var[str] | str | None = None,
|
|
599
|
-
draggable: Var[bool] | bool | None = None,
|
|
600
|
-
enter_key_hint: Literal[
|
|
601
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
602
|
-
]
|
|
603
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
604
|
-
| None = None,
|
|
605
|
-
hidden: Var[bool] | bool | None = None,
|
|
606
|
-
input_mode: Literal[
|
|
607
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
608
|
-
]
|
|
609
|
-
| Var[
|
|
610
|
-
Literal[
|
|
611
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
612
|
-
]
|
|
613
|
-
]
|
|
614
|
-
| None = None,
|
|
615
|
-
item_prop: Var[str] | str | None = None,
|
|
616
|
-
lang: Var[str] | str | None = None,
|
|
617
|
-
role: Literal[
|
|
618
|
-
"alert",
|
|
619
|
-
"alertdialog",
|
|
620
|
-
"application",
|
|
621
|
-
"article",
|
|
622
|
-
"banner",
|
|
623
|
-
"button",
|
|
624
|
-
"cell",
|
|
625
|
-
"checkbox",
|
|
626
|
-
"columnheader",
|
|
627
|
-
"combobox",
|
|
628
|
-
"complementary",
|
|
629
|
-
"contentinfo",
|
|
630
|
-
"definition",
|
|
631
|
-
"dialog",
|
|
632
|
-
"directory",
|
|
633
|
-
"document",
|
|
634
|
-
"feed",
|
|
635
|
-
"figure",
|
|
636
|
-
"form",
|
|
637
|
-
"grid",
|
|
638
|
-
"gridcell",
|
|
639
|
-
"group",
|
|
640
|
-
"heading",
|
|
641
|
-
"img",
|
|
642
|
-
"link",
|
|
643
|
-
"list",
|
|
644
|
-
"listbox",
|
|
645
|
-
"listitem",
|
|
646
|
-
"log",
|
|
647
|
-
"main",
|
|
648
|
-
"marquee",
|
|
649
|
-
"math",
|
|
650
|
-
"menu",
|
|
651
|
-
"menubar",
|
|
652
|
-
"menuitem",
|
|
653
|
-
"menuitemcheckbox",
|
|
654
|
-
"menuitemradio",
|
|
655
|
-
"navigation",
|
|
656
|
-
"none",
|
|
657
|
-
"note",
|
|
658
|
-
"option",
|
|
659
|
-
"presentation",
|
|
660
|
-
"progressbar",
|
|
661
|
-
"radio",
|
|
662
|
-
"radiogroup",
|
|
663
|
-
"region",
|
|
664
|
-
"row",
|
|
665
|
-
"rowgroup",
|
|
666
|
-
"rowheader",
|
|
667
|
-
"scrollbar",
|
|
668
|
-
"search",
|
|
669
|
-
"searchbox",
|
|
670
|
-
"separator",
|
|
671
|
-
"slider",
|
|
672
|
-
"spinbutton",
|
|
673
|
-
"status",
|
|
674
|
-
"switch",
|
|
675
|
-
"tab",
|
|
676
|
-
"table",
|
|
677
|
-
"tablist",
|
|
678
|
-
"tabpanel",
|
|
679
|
-
"term",
|
|
680
|
-
"textbox",
|
|
681
|
-
"timer",
|
|
682
|
-
"toolbar",
|
|
683
|
-
"tooltip",
|
|
684
|
-
"tree",
|
|
685
|
-
"treegrid",
|
|
686
|
-
"treeitem",
|
|
687
|
-
]
|
|
688
|
-
| Var[
|
|
689
|
-
Literal[
|
|
690
|
-
"alert",
|
|
691
|
-
"alertdialog",
|
|
692
|
-
"application",
|
|
693
|
-
"article",
|
|
694
|
-
"banner",
|
|
695
|
-
"button",
|
|
696
|
-
"cell",
|
|
697
|
-
"checkbox",
|
|
698
|
-
"columnheader",
|
|
699
|
-
"combobox",
|
|
700
|
-
"complementary",
|
|
701
|
-
"contentinfo",
|
|
702
|
-
"definition",
|
|
703
|
-
"dialog",
|
|
704
|
-
"directory",
|
|
705
|
-
"document",
|
|
706
|
-
"feed",
|
|
707
|
-
"figure",
|
|
708
|
-
"form",
|
|
709
|
-
"grid",
|
|
710
|
-
"gridcell",
|
|
711
|
-
"group",
|
|
712
|
-
"heading",
|
|
713
|
-
"img",
|
|
714
|
-
"link",
|
|
715
|
-
"list",
|
|
716
|
-
"listbox",
|
|
717
|
-
"listitem",
|
|
718
|
-
"log",
|
|
719
|
-
"main",
|
|
720
|
-
"marquee",
|
|
721
|
-
"math",
|
|
722
|
-
"menu",
|
|
723
|
-
"menubar",
|
|
724
|
-
"menuitem",
|
|
725
|
-
"menuitemcheckbox",
|
|
726
|
-
"menuitemradio",
|
|
727
|
-
"navigation",
|
|
728
|
-
"none",
|
|
729
|
-
"note",
|
|
730
|
-
"option",
|
|
731
|
-
"presentation",
|
|
732
|
-
"progressbar",
|
|
733
|
-
"radio",
|
|
734
|
-
"radiogroup",
|
|
735
|
-
"region",
|
|
736
|
-
"row",
|
|
737
|
-
"rowgroup",
|
|
738
|
-
"rowheader",
|
|
739
|
-
"scrollbar",
|
|
740
|
-
"search",
|
|
741
|
-
"searchbox",
|
|
742
|
-
"separator",
|
|
743
|
-
"slider",
|
|
744
|
-
"spinbutton",
|
|
745
|
-
"status",
|
|
746
|
-
"switch",
|
|
747
|
-
"tab",
|
|
748
|
-
"table",
|
|
749
|
-
"tablist",
|
|
750
|
-
"tabpanel",
|
|
751
|
-
"term",
|
|
752
|
-
"textbox",
|
|
753
|
-
"timer",
|
|
754
|
-
"toolbar",
|
|
755
|
-
"tooltip",
|
|
756
|
-
"tree",
|
|
757
|
-
"treegrid",
|
|
758
|
-
"treeitem",
|
|
759
|
-
]
|
|
760
|
-
]
|
|
761
|
-
| None = None,
|
|
762
|
-
slot: Var[str] | str | None = None,
|
|
763
|
-
spell_check: Var[bool] | bool | None = None,
|
|
764
|
-
tab_index: Var[int] | int | None = None,
|
|
765
|
-
title: Var[str] | str | None = None,
|
|
766
127
|
style: Sequence[Mapping[str, Any]]
|
|
767
128
|
| Mapping[str, Any]
|
|
768
129
|
| Var[Mapping[str, Any]]
|
|
@@ -798,22 +159,6 @@ class CalloutText(elements.P, RadixThemesComponent):
|
|
|
798
159
|
|
|
799
160
|
Args:
|
|
800
161
|
*children: Child components.
|
|
801
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
802
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
803
|
-
content_editable: Indicates whether the element's content is editable.
|
|
804
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
805
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
806
|
-
draggable: Defines whether the element can be dragged.
|
|
807
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
808
|
-
hidden: Defines whether the element is hidden.
|
|
809
|
-
input_mode: Defines the type of the element.
|
|
810
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
811
|
-
lang: Defines the language used in the element.
|
|
812
|
-
role: Defines the role of the element.
|
|
813
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
814
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
815
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
816
|
-
title: Defines a tooltip for the element.
|
|
817
162
|
style: The style of the component.
|
|
818
163
|
key: A unique key for the component.
|
|
819
164
|
id: The id for the component.
|
|
@@ -831,254 +176,6 @@ class Callout(CalloutRoot):
|
|
|
831
176
|
def create(
|
|
832
177
|
cls,
|
|
833
178
|
*children,
|
|
834
|
-
text: Var[str] | str | None = None,
|
|
835
|
-
icon: Var[str] | str | None = None,
|
|
836
|
-
as_child: Var[bool] | bool | None = None,
|
|
837
|
-
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
838
|
-
| Literal["1", "2", "3"]
|
|
839
|
-
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
840
|
-
| None = None,
|
|
841
|
-
variant: Literal["outline", "soft", "surface"]
|
|
842
|
-
| Var[Literal["outline", "soft", "surface"]]
|
|
843
|
-
| None = None,
|
|
844
|
-
color_scheme: Literal[
|
|
845
|
-
"amber",
|
|
846
|
-
"blue",
|
|
847
|
-
"bronze",
|
|
848
|
-
"brown",
|
|
849
|
-
"crimson",
|
|
850
|
-
"cyan",
|
|
851
|
-
"gold",
|
|
852
|
-
"grass",
|
|
853
|
-
"gray",
|
|
854
|
-
"green",
|
|
855
|
-
"indigo",
|
|
856
|
-
"iris",
|
|
857
|
-
"jade",
|
|
858
|
-
"lime",
|
|
859
|
-
"mint",
|
|
860
|
-
"orange",
|
|
861
|
-
"pink",
|
|
862
|
-
"plum",
|
|
863
|
-
"purple",
|
|
864
|
-
"red",
|
|
865
|
-
"ruby",
|
|
866
|
-
"sky",
|
|
867
|
-
"teal",
|
|
868
|
-
"tomato",
|
|
869
|
-
"violet",
|
|
870
|
-
"yellow",
|
|
871
|
-
]
|
|
872
|
-
| Var[
|
|
873
|
-
Literal[
|
|
874
|
-
"amber",
|
|
875
|
-
"blue",
|
|
876
|
-
"bronze",
|
|
877
|
-
"brown",
|
|
878
|
-
"crimson",
|
|
879
|
-
"cyan",
|
|
880
|
-
"gold",
|
|
881
|
-
"grass",
|
|
882
|
-
"gray",
|
|
883
|
-
"green",
|
|
884
|
-
"indigo",
|
|
885
|
-
"iris",
|
|
886
|
-
"jade",
|
|
887
|
-
"lime",
|
|
888
|
-
"mint",
|
|
889
|
-
"orange",
|
|
890
|
-
"pink",
|
|
891
|
-
"plum",
|
|
892
|
-
"purple",
|
|
893
|
-
"red",
|
|
894
|
-
"ruby",
|
|
895
|
-
"sky",
|
|
896
|
-
"teal",
|
|
897
|
-
"tomato",
|
|
898
|
-
"violet",
|
|
899
|
-
"yellow",
|
|
900
|
-
]
|
|
901
|
-
]
|
|
902
|
-
| None = None,
|
|
903
|
-
high_contrast: Var[bool] | bool | None = None,
|
|
904
|
-
access_key: Var[str] | str | None = None,
|
|
905
|
-
auto_capitalize: Literal[
|
|
906
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
907
|
-
]
|
|
908
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
909
|
-
| None = None,
|
|
910
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
911
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
912
|
-
| None = None,
|
|
913
|
-
context_menu: Var[str] | str | None = None,
|
|
914
|
-
dir: Var[str] | str | None = None,
|
|
915
|
-
draggable: Var[bool] | bool | None = None,
|
|
916
|
-
enter_key_hint: Literal[
|
|
917
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
918
|
-
]
|
|
919
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
920
|
-
| None = None,
|
|
921
|
-
hidden: Var[bool] | bool | None = None,
|
|
922
|
-
input_mode: Literal[
|
|
923
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
924
|
-
]
|
|
925
|
-
| Var[
|
|
926
|
-
Literal[
|
|
927
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
928
|
-
]
|
|
929
|
-
]
|
|
930
|
-
| None = None,
|
|
931
|
-
item_prop: Var[str] | str | None = None,
|
|
932
|
-
lang: Var[str] | str | None = None,
|
|
933
|
-
role: Literal[
|
|
934
|
-
"alert",
|
|
935
|
-
"alertdialog",
|
|
936
|
-
"application",
|
|
937
|
-
"article",
|
|
938
|
-
"banner",
|
|
939
|
-
"button",
|
|
940
|
-
"cell",
|
|
941
|
-
"checkbox",
|
|
942
|
-
"columnheader",
|
|
943
|
-
"combobox",
|
|
944
|
-
"complementary",
|
|
945
|
-
"contentinfo",
|
|
946
|
-
"definition",
|
|
947
|
-
"dialog",
|
|
948
|
-
"directory",
|
|
949
|
-
"document",
|
|
950
|
-
"feed",
|
|
951
|
-
"figure",
|
|
952
|
-
"form",
|
|
953
|
-
"grid",
|
|
954
|
-
"gridcell",
|
|
955
|
-
"group",
|
|
956
|
-
"heading",
|
|
957
|
-
"img",
|
|
958
|
-
"link",
|
|
959
|
-
"list",
|
|
960
|
-
"listbox",
|
|
961
|
-
"listitem",
|
|
962
|
-
"log",
|
|
963
|
-
"main",
|
|
964
|
-
"marquee",
|
|
965
|
-
"math",
|
|
966
|
-
"menu",
|
|
967
|
-
"menubar",
|
|
968
|
-
"menuitem",
|
|
969
|
-
"menuitemcheckbox",
|
|
970
|
-
"menuitemradio",
|
|
971
|
-
"navigation",
|
|
972
|
-
"none",
|
|
973
|
-
"note",
|
|
974
|
-
"option",
|
|
975
|
-
"presentation",
|
|
976
|
-
"progressbar",
|
|
977
|
-
"radio",
|
|
978
|
-
"radiogroup",
|
|
979
|
-
"region",
|
|
980
|
-
"row",
|
|
981
|
-
"rowgroup",
|
|
982
|
-
"rowheader",
|
|
983
|
-
"scrollbar",
|
|
984
|
-
"search",
|
|
985
|
-
"searchbox",
|
|
986
|
-
"separator",
|
|
987
|
-
"slider",
|
|
988
|
-
"spinbutton",
|
|
989
|
-
"status",
|
|
990
|
-
"switch",
|
|
991
|
-
"tab",
|
|
992
|
-
"table",
|
|
993
|
-
"tablist",
|
|
994
|
-
"tabpanel",
|
|
995
|
-
"term",
|
|
996
|
-
"textbox",
|
|
997
|
-
"timer",
|
|
998
|
-
"toolbar",
|
|
999
|
-
"tooltip",
|
|
1000
|
-
"tree",
|
|
1001
|
-
"treegrid",
|
|
1002
|
-
"treeitem",
|
|
1003
|
-
]
|
|
1004
|
-
| Var[
|
|
1005
|
-
Literal[
|
|
1006
|
-
"alert",
|
|
1007
|
-
"alertdialog",
|
|
1008
|
-
"application",
|
|
1009
|
-
"article",
|
|
1010
|
-
"banner",
|
|
1011
|
-
"button",
|
|
1012
|
-
"cell",
|
|
1013
|
-
"checkbox",
|
|
1014
|
-
"columnheader",
|
|
1015
|
-
"combobox",
|
|
1016
|
-
"complementary",
|
|
1017
|
-
"contentinfo",
|
|
1018
|
-
"definition",
|
|
1019
|
-
"dialog",
|
|
1020
|
-
"directory",
|
|
1021
|
-
"document",
|
|
1022
|
-
"feed",
|
|
1023
|
-
"figure",
|
|
1024
|
-
"form",
|
|
1025
|
-
"grid",
|
|
1026
|
-
"gridcell",
|
|
1027
|
-
"group",
|
|
1028
|
-
"heading",
|
|
1029
|
-
"img",
|
|
1030
|
-
"link",
|
|
1031
|
-
"list",
|
|
1032
|
-
"listbox",
|
|
1033
|
-
"listitem",
|
|
1034
|
-
"log",
|
|
1035
|
-
"main",
|
|
1036
|
-
"marquee",
|
|
1037
|
-
"math",
|
|
1038
|
-
"menu",
|
|
1039
|
-
"menubar",
|
|
1040
|
-
"menuitem",
|
|
1041
|
-
"menuitemcheckbox",
|
|
1042
|
-
"menuitemradio",
|
|
1043
|
-
"navigation",
|
|
1044
|
-
"none",
|
|
1045
|
-
"note",
|
|
1046
|
-
"option",
|
|
1047
|
-
"presentation",
|
|
1048
|
-
"progressbar",
|
|
1049
|
-
"radio",
|
|
1050
|
-
"radiogroup",
|
|
1051
|
-
"region",
|
|
1052
|
-
"row",
|
|
1053
|
-
"rowgroup",
|
|
1054
|
-
"rowheader",
|
|
1055
|
-
"scrollbar",
|
|
1056
|
-
"search",
|
|
1057
|
-
"searchbox",
|
|
1058
|
-
"separator",
|
|
1059
|
-
"slider",
|
|
1060
|
-
"spinbutton",
|
|
1061
|
-
"status",
|
|
1062
|
-
"switch",
|
|
1063
|
-
"tab",
|
|
1064
|
-
"table",
|
|
1065
|
-
"tablist",
|
|
1066
|
-
"tabpanel",
|
|
1067
|
-
"term",
|
|
1068
|
-
"textbox",
|
|
1069
|
-
"timer",
|
|
1070
|
-
"toolbar",
|
|
1071
|
-
"tooltip",
|
|
1072
|
-
"tree",
|
|
1073
|
-
"treegrid",
|
|
1074
|
-
"treeitem",
|
|
1075
|
-
]
|
|
1076
|
-
]
|
|
1077
|
-
| None = None,
|
|
1078
|
-
slot: Var[str] | str | None = None,
|
|
1079
|
-
spell_check: Var[bool] | bool | None = None,
|
|
1080
|
-
tab_index: Var[int] | int | None = None,
|
|
1081
|
-
title: Var[str] | str | None = None,
|
|
1082
179
|
style: Sequence[Mapping[str, Any]]
|
|
1083
180
|
| Mapping[str, Any]
|
|
1084
181
|
| Var[Mapping[str, Any]]
|
|
@@ -1111,29 +208,6 @@ class Callout(CalloutRoot):
|
|
|
1111
208
|
|
|
1112
209
|
Args:
|
|
1113
210
|
text: The text of the callout.
|
|
1114
|
-
text: The text of the callout.
|
|
1115
|
-
icon: The icon of the callout.
|
|
1116
|
-
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
1117
|
-
size: Size "1" - "3"
|
|
1118
|
-
variant: Variant of button: "soft" | "surface" | "outline"
|
|
1119
|
-
color_scheme: Override theme color for button
|
|
1120
|
-
high_contrast: Whether to render the button with higher contrast color against background
|
|
1121
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1122
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1123
|
-
content_editable: Indicates whether the element's content is editable.
|
|
1124
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1125
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1126
|
-
draggable: Defines whether the element can be dragged.
|
|
1127
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
1128
|
-
hidden: Defines whether the element is hidden.
|
|
1129
|
-
input_mode: Defines the type of the element.
|
|
1130
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
1131
|
-
lang: Defines the language used in the element.
|
|
1132
|
-
role: Defines the role of the element.
|
|
1133
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1134
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1135
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
1136
|
-
title: Defines a tooltip for the element.
|
|
1137
211
|
style: The style of the component.
|
|
1138
212
|
key: A unique key for the component.
|
|
1139
213
|
id: The id for the component.
|
|
@@ -1154,254 +228,6 @@ class CalloutNamespace(ComponentNamespace):
|
|
|
1154
228
|
@staticmethod
|
|
1155
229
|
def __call__(
|
|
1156
230
|
*children,
|
|
1157
|
-
text: Var[str] | str | None = None,
|
|
1158
|
-
icon: Var[str] | str | None = None,
|
|
1159
|
-
as_child: Var[bool] | bool | None = None,
|
|
1160
|
-
size: Breakpoints[str, Literal["1", "2", "3"]]
|
|
1161
|
-
| Literal["1", "2", "3"]
|
|
1162
|
-
| Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
|
|
1163
|
-
| None = None,
|
|
1164
|
-
variant: Literal["outline", "soft", "surface"]
|
|
1165
|
-
| Var[Literal["outline", "soft", "surface"]]
|
|
1166
|
-
| None = None,
|
|
1167
|
-
color_scheme: Literal[
|
|
1168
|
-
"amber",
|
|
1169
|
-
"blue",
|
|
1170
|
-
"bronze",
|
|
1171
|
-
"brown",
|
|
1172
|
-
"crimson",
|
|
1173
|
-
"cyan",
|
|
1174
|
-
"gold",
|
|
1175
|
-
"grass",
|
|
1176
|
-
"gray",
|
|
1177
|
-
"green",
|
|
1178
|
-
"indigo",
|
|
1179
|
-
"iris",
|
|
1180
|
-
"jade",
|
|
1181
|
-
"lime",
|
|
1182
|
-
"mint",
|
|
1183
|
-
"orange",
|
|
1184
|
-
"pink",
|
|
1185
|
-
"plum",
|
|
1186
|
-
"purple",
|
|
1187
|
-
"red",
|
|
1188
|
-
"ruby",
|
|
1189
|
-
"sky",
|
|
1190
|
-
"teal",
|
|
1191
|
-
"tomato",
|
|
1192
|
-
"violet",
|
|
1193
|
-
"yellow",
|
|
1194
|
-
]
|
|
1195
|
-
| Var[
|
|
1196
|
-
Literal[
|
|
1197
|
-
"amber",
|
|
1198
|
-
"blue",
|
|
1199
|
-
"bronze",
|
|
1200
|
-
"brown",
|
|
1201
|
-
"crimson",
|
|
1202
|
-
"cyan",
|
|
1203
|
-
"gold",
|
|
1204
|
-
"grass",
|
|
1205
|
-
"gray",
|
|
1206
|
-
"green",
|
|
1207
|
-
"indigo",
|
|
1208
|
-
"iris",
|
|
1209
|
-
"jade",
|
|
1210
|
-
"lime",
|
|
1211
|
-
"mint",
|
|
1212
|
-
"orange",
|
|
1213
|
-
"pink",
|
|
1214
|
-
"plum",
|
|
1215
|
-
"purple",
|
|
1216
|
-
"red",
|
|
1217
|
-
"ruby",
|
|
1218
|
-
"sky",
|
|
1219
|
-
"teal",
|
|
1220
|
-
"tomato",
|
|
1221
|
-
"violet",
|
|
1222
|
-
"yellow",
|
|
1223
|
-
]
|
|
1224
|
-
]
|
|
1225
|
-
| None = None,
|
|
1226
|
-
high_contrast: Var[bool] | bool | None = None,
|
|
1227
|
-
access_key: Var[str] | str | None = None,
|
|
1228
|
-
auto_capitalize: Literal[
|
|
1229
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
1230
|
-
]
|
|
1231
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
1232
|
-
| None = None,
|
|
1233
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
1234
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
1235
|
-
| None = None,
|
|
1236
|
-
context_menu: Var[str] | str | None = None,
|
|
1237
|
-
dir: Var[str] | str | None = None,
|
|
1238
|
-
draggable: Var[bool] | bool | None = None,
|
|
1239
|
-
enter_key_hint: Literal[
|
|
1240
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
1241
|
-
]
|
|
1242
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
1243
|
-
| None = None,
|
|
1244
|
-
hidden: Var[bool] | bool | None = None,
|
|
1245
|
-
input_mode: Literal[
|
|
1246
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
1247
|
-
]
|
|
1248
|
-
| Var[
|
|
1249
|
-
Literal[
|
|
1250
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
1251
|
-
]
|
|
1252
|
-
]
|
|
1253
|
-
| None = None,
|
|
1254
|
-
item_prop: Var[str] | str | None = None,
|
|
1255
|
-
lang: Var[str] | str | None = None,
|
|
1256
|
-
role: Literal[
|
|
1257
|
-
"alert",
|
|
1258
|
-
"alertdialog",
|
|
1259
|
-
"application",
|
|
1260
|
-
"article",
|
|
1261
|
-
"banner",
|
|
1262
|
-
"button",
|
|
1263
|
-
"cell",
|
|
1264
|
-
"checkbox",
|
|
1265
|
-
"columnheader",
|
|
1266
|
-
"combobox",
|
|
1267
|
-
"complementary",
|
|
1268
|
-
"contentinfo",
|
|
1269
|
-
"definition",
|
|
1270
|
-
"dialog",
|
|
1271
|
-
"directory",
|
|
1272
|
-
"document",
|
|
1273
|
-
"feed",
|
|
1274
|
-
"figure",
|
|
1275
|
-
"form",
|
|
1276
|
-
"grid",
|
|
1277
|
-
"gridcell",
|
|
1278
|
-
"group",
|
|
1279
|
-
"heading",
|
|
1280
|
-
"img",
|
|
1281
|
-
"link",
|
|
1282
|
-
"list",
|
|
1283
|
-
"listbox",
|
|
1284
|
-
"listitem",
|
|
1285
|
-
"log",
|
|
1286
|
-
"main",
|
|
1287
|
-
"marquee",
|
|
1288
|
-
"math",
|
|
1289
|
-
"menu",
|
|
1290
|
-
"menubar",
|
|
1291
|
-
"menuitem",
|
|
1292
|
-
"menuitemcheckbox",
|
|
1293
|
-
"menuitemradio",
|
|
1294
|
-
"navigation",
|
|
1295
|
-
"none",
|
|
1296
|
-
"note",
|
|
1297
|
-
"option",
|
|
1298
|
-
"presentation",
|
|
1299
|
-
"progressbar",
|
|
1300
|
-
"radio",
|
|
1301
|
-
"radiogroup",
|
|
1302
|
-
"region",
|
|
1303
|
-
"row",
|
|
1304
|
-
"rowgroup",
|
|
1305
|
-
"rowheader",
|
|
1306
|
-
"scrollbar",
|
|
1307
|
-
"search",
|
|
1308
|
-
"searchbox",
|
|
1309
|
-
"separator",
|
|
1310
|
-
"slider",
|
|
1311
|
-
"spinbutton",
|
|
1312
|
-
"status",
|
|
1313
|
-
"switch",
|
|
1314
|
-
"tab",
|
|
1315
|
-
"table",
|
|
1316
|
-
"tablist",
|
|
1317
|
-
"tabpanel",
|
|
1318
|
-
"term",
|
|
1319
|
-
"textbox",
|
|
1320
|
-
"timer",
|
|
1321
|
-
"toolbar",
|
|
1322
|
-
"tooltip",
|
|
1323
|
-
"tree",
|
|
1324
|
-
"treegrid",
|
|
1325
|
-
"treeitem",
|
|
1326
|
-
]
|
|
1327
|
-
| Var[
|
|
1328
|
-
Literal[
|
|
1329
|
-
"alert",
|
|
1330
|
-
"alertdialog",
|
|
1331
|
-
"application",
|
|
1332
|
-
"article",
|
|
1333
|
-
"banner",
|
|
1334
|
-
"button",
|
|
1335
|
-
"cell",
|
|
1336
|
-
"checkbox",
|
|
1337
|
-
"columnheader",
|
|
1338
|
-
"combobox",
|
|
1339
|
-
"complementary",
|
|
1340
|
-
"contentinfo",
|
|
1341
|
-
"definition",
|
|
1342
|
-
"dialog",
|
|
1343
|
-
"directory",
|
|
1344
|
-
"document",
|
|
1345
|
-
"feed",
|
|
1346
|
-
"figure",
|
|
1347
|
-
"form",
|
|
1348
|
-
"grid",
|
|
1349
|
-
"gridcell",
|
|
1350
|
-
"group",
|
|
1351
|
-
"heading",
|
|
1352
|
-
"img",
|
|
1353
|
-
"link",
|
|
1354
|
-
"list",
|
|
1355
|
-
"listbox",
|
|
1356
|
-
"listitem",
|
|
1357
|
-
"log",
|
|
1358
|
-
"main",
|
|
1359
|
-
"marquee",
|
|
1360
|
-
"math",
|
|
1361
|
-
"menu",
|
|
1362
|
-
"menubar",
|
|
1363
|
-
"menuitem",
|
|
1364
|
-
"menuitemcheckbox",
|
|
1365
|
-
"menuitemradio",
|
|
1366
|
-
"navigation",
|
|
1367
|
-
"none",
|
|
1368
|
-
"note",
|
|
1369
|
-
"option",
|
|
1370
|
-
"presentation",
|
|
1371
|
-
"progressbar",
|
|
1372
|
-
"radio",
|
|
1373
|
-
"radiogroup",
|
|
1374
|
-
"region",
|
|
1375
|
-
"row",
|
|
1376
|
-
"rowgroup",
|
|
1377
|
-
"rowheader",
|
|
1378
|
-
"scrollbar",
|
|
1379
|
-
"search",
|
|
1380
|
-
"searchbox",
|
|
1381
|
-
"separator",
|
|
1382
|
-
"slider",
|
|
1383
|
-
"spinbutton",
|
|
1384
|
-
"status",
|
|
1385
|
-
"switch",
|
|
1386
|
-
"tab",
|
|
1387
|
-
"table",
|
|
1388
|
-
"tablist",
|
|
1389
|
-
"tabpanel",
|
|
1390
|
-
"term",
|
|
1391
|
-
"textbox",
|
|
1392
|
-
"timer",
|
|
1393
|
-
"toolbar",
|
|
1394
|
-
"tooltip",
|
|
1395
|
-
"tree",
|
|
1396
|
-
"treegrid",
|
|
1397
|
-
"treeitem",
|
|
1398
|
-
]
|
|
1399
|
-
]
|
|
1400
|
-
| None = None,
|
|
1401
|
-
slot: Var[str] | str | None = None,
|
|
1402
|
-
spell_check: Var[bool] | bool | None = None,
|
|
1403
|
-
tab_index: Var[int] | int | None = None,
|
|
1404
|
-
title: Var[str] | str | None = None,
|
|
1405
231
|
style: Sequence[Mapping[str, Any]]
|
|
1406
232
|
| Mapping[str, Any]
|
|
1407
233
|
| Var[Mapping[str, Any]]
|
|
@@ -1434,29 +260,6 @@ class CalloutNamespace(ComponentNamespace):
|
|
|
1434
260
|
|
|
1435
261
|
Args:
|
|
1436
262
|
text: The text of the callout.
|
|
1437
|
-
text: The text of the callout.
|
|
1438
|
-
icon: The icon of the callout.
|
|
1439
|
-
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
1440
|
-
size: Size "1" - "3"
|
|
1441
|
-
variant: Variant of button: "soft" | "surface" | "outline"
|
|
1442
|
-
color_scheme: Override theme color for button
|
|
1443
|
-
high_contrast: Whether to render the button with higher contrast color against background
|
|
1444
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1445
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1446
|
-
content_editable: Indicates whether the element's content is editable.
|
|
1447
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1448
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1449
|
-
draggable: Defines whether the element can be dragged.
|
|
1450
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
1451
|
-
hidden: Defines whether the element is hidden.
|
|
1452
|
-
input_mode: Defines the type of the element.
|
|
1453
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
1454
|
-
lang: Defines the language used in the element.
|
|
1455
|
-
role: Defines the role of the element.
|
|
1456
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1457
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1458
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
1459
|
-
title: Defines a tooltip for the element.
|
|
1460
263
|
style: The style of the component.
|
|
1461
264
|
key: A unique key for the component.
|
|
1462
265
|
id: The id for the component.
|