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
|
@@ -75,184 +75,6 @@ class BaseList(BaseHTML, MarkdownComponentMap):
|
|
|
75
75
|
]
|
|
76
76
|
| None = None,
|
|
77
77
|
items: Iterable | Var[Iterable] | None = None,
|
|
78
|
-
access_key: Var[str] | str | None = None,
|
|
79
|
-
auto_capitalize: Literal[
|
|
80
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
81
|
-
]
|
|
82
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
83
|
-
| None = None,
|
|
84
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
85
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
86
|
-
| None = None,
|
|
87
|
-
context_menu: Var[str] | str | None = None,
|
|
88
|
-
dir: Var[str] | str | None = None,
|
|
89
|
-
draggable: Var[bool] | bool | None = None,
|
|
90
|
-
enter_key_hint: Literal[
|
|
91
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
92
|
-
]
|
|
93
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
94
|
-
| None = None,
|
|
95
|
-
hidden: Var[bool] | bool | None = None,
|
|
96
|
-
input_mode: Literal[
|
|
97
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
98
|
-
]
|
|
99
|
-
| Var[
|
|
100
|
-
Literal[
|
|
101
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
102
|
-
]
|
|
103
|
-
]
|
|
104
|
-
| None = None,
|
|
105
|
-
item_prop: Var[str] | str | None = None,
|
|
106
|
-
lang: Var[str] | str | None = None,
|
|
107
|
-
role: Literal[
|
|
108
|
-
"alert",
|
|
109
|
-
"alertdialog",
|
|
110
|
-
"application",
|
|
111
|
-
"article",
|
|
112
|
-
"banner",
|
|
113
|
-
"button",
|
|
114
|
-
"cell",
|
|
115
|
-
"checkbox",
|
|
116
|
-
"columnheader",
|
|
117
|
-
"combobox",
|
|
118
|
-
"complementary",
|
|
119
|
-
"contentinfo",
|
|
120
|
-
"definition",
|
|
121
|
-
"dialog",
|
|
122
|
-
"directory",
|
|
123
|
-
"document",
|
|
124
|
-
"feed",
|
|
125
|
-
"figure",
|
|
126
|
-
"form",
|
|
127
|
-
"grid",
|
|
128
|
-
"gridcell",
|
|
129
|
-
"group",
|
|
130
|
-
"heading",
|
|
131
|
-
"img",
|
|
132
|
-
"link",
|
|
133
|
-
"list",
|
|
134
|
-
"listbox",
|
|
135
|
-
"listitem",
|
|
136
|
-
"log",
|
|
137
|
-
"main",
|
|
138
|
-
"marquee",
|
|
139
|
-
"math",
|
|
140
|
-
"menu",
|
|
141
|
-
"menubar",
|
|
142
|
-
"menuitem",
|
|
143
|
-
"menuitemcheckbox",
|
|
144
|
-
"menuitemradio",
|
|
145
|
-
"navigation",
|
|
146
|
-
"none",
|
|
147
|
-
"note",
|
|
148
|
-
"option",
|
|
149
|
-
"presentation",
|
|
150
|
-
"progressbar",
|
|
151
|
-
"radio",
|
|
152
|
-
"radiogroup",
|
|
153
|
-
"region",
|
|
154
|
-
"row",
|
|
155
|
-
"rowgroup",
|
|
156
|
-
"rowheader",
|
|
157
|
-
"scrollbar",
|
|
158
|
-
"search",
|
|
159
|
-
"searchbox",
|
|
160
|
-
"separator",
|
|
161
|
-
"slider",
|
|
162
|
-
"spinbutton",
|
|
163
|
-
"status",
|
|
164
|
-
"switch",
|
|
165
|
-
"tab",
|
|
166
|
-
"table",
|
|
167
|
-
"tablist",
|
|
168
|
-
"tabpanel",
|
|
169
|
-
"term",
|
|
170
|
-
"textbox",
|
|
171
|
-
"timer",
|
|
172
|
-
"toolbar",
|
|
173
|
-
"tooltip",
|
|
174
|
-
"tree",
|
|
175
|
-
"treegrid",
|
|
176
|
-
"treeitem",
|
|
177
|
-
]
|
|
178
|
-
| Var[
|
|
179
|
-
Literal[
|
|
180
|
-
"alert",
|
|
181
|
-
"alertdialog",
|
|
182
|
-
"application",
|
|
183
|
-
"article",
|
|
184
|
-
"banner",
|
|
185
|
-
"button",
|
|
186
|
-
"cell",
|
|
187
|
-
"checkbox",
|
|
188
|
-
"columnheader",
|
|
189
|
-
"combobox",
|
|
190
|
-
"complementary",
|
|
191
|
-
"contentinfo",
|
|
192
|
-
"definition",
|
|
193
|
-
"dialog",
|
|
194
|
-
"directory",
|
|
195
|
-
"document",
|
|
196
|
-
"feed",
|
|
197
|
-
"figure",
|
|
198
|
-
"form",
|
|
199
|
-
"grid",
|
|
200
|
-
"gridcell",
|
|
201
|
-
"group",
|
|
202
|
-
"heading",
|
|
203
|
-
"img",
|
|
204
|
-
"link",
|
|
205
|
-
"list",
|
|
206
|
-
"listbox",
|
|
207
|
-
"listitem",
|
|
208
|
-
"log",
|
|
209
|
-
"main",
|
|
210
|
-
"marquee",
|
|
211
|
-
"math",
|
|
212
|
-
"menu",
|
|
213
|
-
"menubar",
|
|
214
|
-
"menuitem",
|
|
215
|
-
"menuitemcheckbox",
|
|
216
|
-
"menuitemradio",
|
|
217
|
-
"navigation",
|
|
218
|
-
"none",
|
|
219
|
-
"note",
|
|
220
|
-
"option",
|
|
221
|
-
"presentation",
|
|
222
|
-
"progressbar",
|
|
223
|
-
"radio",
|
|
224
|
-
"radiogroup",
|
|
225
|
-
"region",
|
|
226
|
-
"row",
|
|
227
|
-
"rowgroup",
|
|
228
|
-
"rowheader",
|
|
229
|
-
"scrollbar",
|
|
230
|
-
"search",
|
|
231
|
-
"searchbox",
|
|
232
|
-
"separator",
|
|
233
|
-
"slider",
|
|
234
|
-
"spinbutton",
|
|
235
|
-
"status",
|
|
236
|
-
"switch",
|
|
237
|
-
"tab",
|
|
238
|
-
"table",
|
|
239
|
-
"tablist",
|
|
240
|
-
"tabpanel",
|
|
241
|
-
"term",
|
|
242
|
-
"textbox",
|
|
243
|
-
"timer",
|
|
244
|
-
"toolbar",
|
|
245
|
-
"tooltip",
|
|
246
|
-
"tree",
|
|
247
|
-
"treegrid",
|
|
248
|
-
"treeitem",
|
|
249
|
-
]
|
|
250
|
-
]
|
|
251
|
-
| None = None,
|
|
252
|
-
slot: Var[str] | str | None = None,
|
|
253
|
-
spell_check: Var[bool] | bool | None = None,
|
|
254
|
-
tab_index: Var[int] | int | None = None,
|
|
255
|
-
title: Var[str] | str | None = None,
|
|
256
78
|
style: Sequence[Mapping[str, Any]]
|
|
257
79
|
| Mapping[str, Any]
|
|
258
80
|
| Var[Mapping[str, Any]]
|
|
@@ -287,22 +109,6 @@ class BaseList(BaseHTML, MarkdownComponentMap):
|
|
|
287
109
|
*children: The children of the component.
|
|
288
110
|
list_style_type: The style of the list. Default to "none".
|
|
289
111
|
items: A list of items to add to the list.
|
|
290
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
291
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
292
|
-
content_editable: Indicates whether the element's content is editable.
|
|
293
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
294
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
295
|
-
draggable: Defines whether the element can be dragged.
|
|
296
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
297
|
-
hidden: Defines whether the element is hidden.
|
|
298
|
-
input_mode: Defines the type of the element.
|
|
299
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
300
|
-
lang: Defines the language used in the element.
|
|
301
|
-
role: Defines the role of the element.
|
|
302
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
303
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
304
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
305
|
-
title: Defines a tooltip for the element.
|
|
306
112
|
style: The style of the component.
|
|
307
113
|
key: A unique key for the component.
|
|
308
114
|
id: The id for the component.
|
|
@@ -360,184 +166,6 @@ class UnorderedList(BaseList, Ul):
|
|
|
360
166
|
]
|
|
361
167
|
| None = None,
|
|
362
168
|
items: Iterable | Var[Iterable] | None = None,
|
|
363
|
-
access_key: Var[str] | str | None = None,
|
|
364
|
-
auto_capitalize: Literal[
|
|
365
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
366
|
-
]
|
|
367
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
368
|
-
| None = None,
|
|
369
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
370
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
371
|
-
| None = None,
|
|
372
|
-
context_menu: Var[str] | str | None = None,
|
|
373
|
-
dir: Var[str] | str | None = None,
|
|
374
|
-
draggable: Var[bool] | bool | None = None,
|
|
375
|
-
enter_key_hint: Literal[
|
|
376
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
377
|
-
]
|
|
378
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
379
|
-
| None = None,
|
|
380
|
-
hidden: Var[bool] | bool | None = None,
|
|
381
|
-
input_mode: Literal[
|
|
382
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
383
|
-
]
|
|
384
|
-
| Var[
|
|
385
|
-
Literal[
|
|
386
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
387
|
-
]
|
|
388
|
-
]
|
|
389
|
-
| None = None,
|
|
390
|
-
item_prop: Var[str] | str | None = None,
|
|
391
|
-
lang: Var[str] | str | None = None,
|
|
392
|
-
role: Literal[
|
|
393
|
-
"alert",
|
|
394
|
-
"alertdialog",
|
|
395
|
-
"application",
|
|
396
|
-
"article",
|
|
397
|
-
"banner",
|
|
398
|
-
"button",
|
|
399
|
-
"cell",
|
|
400
|
-
"checkbox",
|
|
401
|
-
"columnheader",
|
|
402
|
-
"combobox",
|
|
403
|
-
"complementary",
|
|
404
|
-
"contentinfo",
|
|
405
|
-
"definition",
|
|
406
|
-
"dialog",
|
|
407
|
-
"directory",
|
|
408
|
-
"document",
|
|
409
|
-
"feed",
|
|
410
|
-
"figure",
|
|
411
|
-
"form",
|
|
412
|
-
"grid",
|
|
413
|
-
"gridcell",
|
|
414
|
-
"group",
|
|
415
|
-
"heading",
|
|
416
|
-
"img",
|
|
417
|
-
"link",
|
|
418
|
-
"list",
|
|
419
|
-
"listbox",
|
|
420
|
-
"listitem",
|
|
421
|
-
"log",
|
|
422
|
-
"main",
|
|
423
|
-
"marquee",
|
|
424
|
-
"math",
|
|
425
|
-
"menu",
|
|
426
|
-
"menubar",
|
|
427
|
-
"menuitem",
|
|
428
|
-
"menuitemcheckbox",
|
|
429
|
-
"menuitemradio",
|
|
430
|
-
"navigation",
|
|
431
|
-
"none",
|
|
432
|
-
"note",
|
|
433
|
-
"option",
|
|
434
|
-
"presentation",
|
|
435
|
-
"progressbar",
|
|
436
|
-
"radio",
|
|
437
|
-
"radiogroup",
|
|
438
|
-
"region",
|
|
439
|
-
"row",
|
|
440
|
-
"rowgroup",
|
|
441
|
-
"rowheader",
|
|
442
|
-
"scrollbar",
|
|
443
|
-
"search",
|
|
444
|
-
"searchbox",
|
|
445
|
-
"separator",
|
|
446
|
-
"slider",
|
|
447
|
-
"spinbutton",
|
|
448
|
-
"status",
|
|
449
|
-
"switch",
|
|
450
|
-
"tab",
|
|
451
|
-
"table",
|
|
452
|
-
"tablist",
|
|
453
|
-
"tabpanel",
|
|
454
|
-
"term",
|
|
455
|
-
"textbox",
|
|
456
|
-
"timer",
|
|
457
|
-
"toolbar",
|
|
458
|
-
"tooltip",
|
|
459
|
-
"tree",
|
|
460
|
-
"treegrid",
|
|
461
|
-
"treeitem",
|
|
462
|
-
]
|
|
463
|
-
| Var[
|
|
464
|
-
Literal[
|
|
465
|
-
"alert",
|
|
466
|
-
"alertdialog",
|
|
467
|
-
"application",
|
|
468
|
-
"article",
|
|
469
|
-
"banner",
|
|
470
|
-
"button",
|
|
471
|
-
"cell",
|
|
472
|
-
"checkbox",
|
|
473
|
-
"columnheader",
|
|
474
|
-
"combobox",
|
|
475
|
-
"complementary",
|
|
476
|
-
"contentinfo",
|
|
477
|
-
"definition",
|
|
478
|
-
"dialog",
|
|
479
|
-
"directory",
|
|
480
|
-
"document",
|
|
481
|
-
"feed",
|
|
482
|
-
"figure",
|
|
483
|
-
"form",
|
|
484
|
-
"grid",
|
|
485
|
-
"gridcell",
|
|
486
|
-
"group",
|
|
487
|
-
"heading",
|
|
488
|
-
"img",
|
|
489
|
-
"link",
|
|
490
|
-
"list",
|
|
491
|
-
"listbox",
|
|
492
|
-
"listitem",
|
|
493
|
-
"log",
|
|
494
|
-
"main",
|
|
495
|
-
"marquee",
|
|
496
|
-
"math",
|
|
497
|
-
"menu",
|
|
498
|
-
"menubar",
|
|
499
|
-
"menuitem",
|
|
500
|
-
"menuitemcheckbox",
|
|
501
|
-
"menuitemradio",
|
|
502
|
-
"navigation",
|
|
503
|
-
"none",
|
|
504
|
-
"note",
|
|
505
|
-
"option",
|
|
506
|
-
"presentation",
|
|
507
|
-
"progressbar",
|
|
508
|
-
"radio",
|
|
509
|
-
"radiogroup",
|
|
510
|
-
"region",
|
|
511
|
-
"row",
|
|
512
|
-
"rowgroup",
|
|
513
|
-
"rowheader",
|
|
514
|
-
"scrollbar",
|
|
515
|
-
"search",
|
|
516
|
-
"searchbox",
|
|
517
|
-
"separator",
|
|
518
|
-
"slider",
|
|
519
|
-
"spinbutton",
|
|
520
|
-
"status",
|
|
521
|
-
"switch",
|
|
522
|
-
"tab",
|
|
523
|
-
"table",
|
|
524
|
-
"tablist",
|
|
525
|
-
"tabpanel",
|
|
526
|
-
"term",
|
|
527
|
-
"textbox",
|
|
528
|
-
"timer",
|
|
529
|
-
"toolbar",
|
|
530
|
-
"tooltip",
|
|
531
|
-
"tree",
|
|
532
|
-
"treegrid",
|
|
533
|
-
"treeitem",
|
|
534
|
-
]
|
|
535
|
-
]
|
|
536
|
-
| None = None,
|
|
537
|
-
slot: Var[str] | str | None = None,
|
|
538
|
-
spell_check: Var[bool] | bool | None = None,
|
|
539
|
-
tab_index: Var[int] | int | None = None,
|
|
540
|
-
title: Var[str] | str | None = None,
|
|
541
169
|
style: Sequence[Mapping[str, Any]]
|
|
542
170
|
| Mapping[str, Any]
|
|
543
171
|
| Var[Mapping[str, Any]]
|
|
@@ -572,22 +200,6 @@ class UnorderedList(BaseList, Ul):
|
|
|
572
200
|
*children: The children of the component.
|
|
573
201
|
list_style_type: The style of the list. Default to "none".
|
|
574
202
|
items: A list of items to add to the list.
|
|
575
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
576
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
577
|
-
content_editable: Indicates whether the element's content is editable.
|
|
578
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
579
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
580
|
-
draggable: Defines whether the element can be dragged.
|
|
581
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
582
|
-
hidden: Defines whether the element is hidden.
|
|
583
|
-
input_mode: Defines the type of the element.
|
|
584
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
585
|
-
lang: Defines the language used in the element.
|
|
586
|
-
role: Defines the role of the element.
|
|
587
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
588
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
589
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
590
|
-
title: Defines a tooltip for the element.
|
|
591
203
|
style: The style of the component.
|
|
592
204
|
key: A unique key for the component.
|
|
593
205
|
id: The id for the component.
|
|
@@ -643,189 +255,6 @@ class OrderedList(BaseList, Ol):
|
|
|
643
255
|
]
|
|
644
256
|
| None = None,
|
|
645
257
|
items: Iterable | Var[Iterable] | None = None,
|
|
646
|
-
reversed: Var[bool] | bool | None = None,
|
|
647
|
-
start: Var[int] | int | None = None,
|
|
648
|
-
type: Literal["1", "A", "I", "a", "i"]
|
|
649
|
-
| Var[Literal["1", "A", "I", "a", "i"]]
|
|
650
|
-
| None = None,
|
|
651
|
-
access_key: Var[str] | str | None = None,
|
|
652
|
-
auto_capitalize: Literal[
|
|
653
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
654
|
-
]
|
|
655
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
656
|
-
| None = None,
|
|
657
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
658
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
659
|
-
| None = None,
|
|
660
|
-
context_menu: Var[str] | str | None = None,
|
|
661
|
-
dir: Var[str] | str | None = None,
|
|
662
|
-
draggable: Var[bool] | bool | None = None,
|
|
663
|
-
enter_key_hint: Literal[
|
|
664
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
665
|
-
]
|
|
666
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
667
|
-
| None = None,
|
|
668
|
-
hidden: Var[bool] | bool | None = None,
|
|
669
|
-
input_mode: Literal[
|
|
670
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
671
|
-
]
|
|
672
|
-
| Var[
|
|
673
|
-
Literal[
|
|
674
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
675
|
-
]
|
|
676
|
-
]
|
|
677
|
-
| None = None,
|
|
678
|
-
item_prop: Var[str] | str | None = None,
|
|
679
|
-
lang: Var[str] | str | None = None,
|
|
680
|
-
role: Literal[
|
|
681
|
-
"alert",
|
|
682
|
-
"alertdialog",
|
|
683
|
-
"application",
|
|
684
|
-
"article",
|
|
685
|
-
"banner",
|
|
686
|
-
"button",
|
|
687
|
-
"cell",
|
|
688
|
-
"checkbox",
|
|
689
|
-
"columnheader",
|
|
690
|
-
"combobox",
|
|
691
|
-
"complementary",
|
|
692
|
-
"contentinfo",
|
|
693
|
-
"definition",
|
|
694
|
-
"dialog",
|
|
695
|
-
"directory",
|
|
696
|
-
"document",
|
|
697
|
-
"feed",
|
|
698
|
-
"figure",
|
|
699
|
-
"form",
|
|
700
|
-
"grid",
|
|
701
|
-
"gridcell",
|
|
702
|
-
"group",
|
|
703
|
-
"heading",
|
|
704
|
-
"img",
|
|
705
|
-
"link",
|
|
706
|
-
"list",
|
|
707
|
-
"listbox",
|
|
708
|
-
"listitem",
|
|
709
|
-
"log",
|
|
710
|
-
"main",
|
|
711
|
-
"marquee",
|
|
712
|
-
"math",
|
|
713
|
-
"menu",
|
|
714
|
-
"menubar",
|
|
715
|
-
"menuitem",
|
|
716
|
-
"menuitemcheckbox",
|
|
717
|
-
"menuitemradio",
|
|
718
|
-
"navigation",
|
|
719
|
-
"none",
|
|
720
|
-
"note",
|
|
721
|
-
"option",
|
|
722
|
-
"presentation",
|
|
723
|
-
"progressbar",
|
|
724
|
-
"radio",
|
|
725
|
-
"radiogroup",
|
|
726
|
-
"region",
|
|
727
|
-
"row",
|
|
728
|
-
"rowgroup",
|
|
729
|
-
"rowheader",
|
|
730
|
-
"scrollbar",
|
|
731
|
-
"search",
|
|
732
|
-
"searchbox",
|
|
733
|
-
"separator",
|
|
734
|
-
"slider",
|
|
735
|
-
"spinbutton",
|
|
736
|
-
"status",
|
|
737
|
-
"switch",
|
|
738
|
-
"tab",
|
|
739
|
-
"table",
|
|
740
|
-
"tablist",
|
|
741
|
-
"tabpanel",
|
|
742
|
-
"term",
|
|
743
|
-
"textbox",
|
|
744
|
-
"timer",
|
|
745
|
-
"toolbar",
|
|
746
|
-
"tooltip",
|
|
747
|
-
"tree",
|
|
748
|
-
"treegrid",
|
|
749
|
-
"treeitem",
|
|
750
|
-
]
|
|
751
|
-
| Var[
|
|
752
|
-
Literal[
|
|
753
|
-
"alert",
|
|
754
|
-
"alertdialog",
|
|
755
|
-
"application",
|
|
756
|
-
"article",
|
|
757
|
-
"banner",
|
|
758
|
-
"button",
|
|
759
|
-
"cell",
|
|
760
|
-
"checkbox",
|
|
761
|
-
"columnheader",
|
|
762
|
-
"combobox",
|
|
763
|
-
"complementary",
|
|
764
|
-
"contentinfo",
|
|
765
|
-
"definition",
|
|
766
|
-
"dialog",
|
|
767
|
-
"directory",
|
|
768
|
-
"document",
|
|
769
|
-
"feed",
|
|
770
|
-
"figure",
|
|
771
|
-
"form",
|
|
772
|
-
"grid",
|
|
773
|
-
"gridcell",
|
|
774
|
-
"group",
|
|
775
|
-
"heading",
|
|
776
|
-
"img",
|
|
777
|
-
"link",
|
|
778
|
-
"list",
|
|
779
|
-
"listbox",
|
|
780
|
-
"listitem",
|
|
781
|
-
"log",
|
|
782
|
-
"main",
|
|
783
|
-
"marquee",
|
|
784
|
-
"math",
|
|
785
|
-
"menu",
|
|
786
|
-
"menubar",
|
|
787
|
-
"menuitem",
|
|
788
|
-
"menuitemcheckbox",
|
|
789
|
-
"menuitemradio",
|
|
790
|
-
"navigation",
|
|
791
|
-
"none",
|
|
792
|
-
"note",
|
|
793
|
-
"option",
|
|
794
|
-
"presentation",
|
|
795
|
-
"progressbar",
|
|
796
|
-
"radio",
|
|
797
|
-
"radiogroup",
|
|
798
|
-
"region",
|
|
799
|
-
"row",
|
|
800
|
-
"rowgroup",
|
|
801
|
-
"rowheader",
|
|
802
|
-
"scrollbar",
|
|
803
|
-
"search",
|
|
804
|
-
"searchbox",
|
|
805
|
-
"separator",
|
|
806
|
-
"slider",
|
|
807
|
-
"spinbutton",
|
|
808
|
-
"status",
|
|
809
|
-
"switch",
|
|
810
|
-
"tab",
|
|
811
|
-
"table",
|
|
812
|
-
"tablist",
|
|
813
|
-
"tabpanel",
|
|
814
|
-
"term",
|
|
815
|
-
"textbox",
|
|
816
|
-
"timer",
|
|
817
|
-
"toolbar",
|
|
818
|
-
"tooltip",
|
|
819
|
-
"tree",
|
|
820
|
-
"treegrid",
|
|
821
|
-
"treeitem",
|
|
822
|
-
]
|
|
823
|
-
]
|
|
824
|
-
| None = None,
|
|
825
|
-
slot: Var[str] | str | None = None,
|
|
826
|
-
spell_check: Var[bool] | bool | None = None,
|
|
827
|
-
tab_index: Var[int] | int | None = None,
|
|
828
|
-
title: Var[str] | str | None = None,
|
|
829
258
|
style: Sequence[Mapping[str, Any]]
|
|
830
259
|
| Mapping[str, Any]
|
|
831
260
|
| Var[Mapping[str, Any]]
|
|
@@ -860,25 +289,6 @@ class OrderedList(BaseList, Ol):
|
|
|
860
289
|
*children: The children of the component.
|
|
861
290
|
list_style_type: The style of the list. Default to "none".
|
|
862
291
|
items: A list of items to add to the list.
|
|
863
|
-
reversed: Reverses the order of the list.
|
|
864
|
-
start: Specifies the start value of the first list item in an ordered list.
|
|
865
|
-
type: Specifies the kind of marker to use in the list (letters or numbers).
|
|
866
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
867
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
868
|
-
content_editable: Indicates whether the element's content is editable.
|
|
869
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
870
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
871
|
-
draggable: Defines whether the element can be dragged.
|
|
872
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
873
|
-
hidden: Defines whether the element is hidden.
|
|
874
|
-
input_mode: Defines the type of the element.
|
|
875
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
876
|
-
lang: Defines the language used in the element.
|
|
877
|
-
role: Defines the role of the element.
|
|
878
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
879
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
880
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
881
|
-
title: Defines a tooltip for the element.
|
|
882
292
|
style: The style of the component.
|
|
883
293
|
key: A unique key for the component.
|
|
884
294
|
id: The id for the component.
|
|
@@ -896,184 +306,6 @@ class ListItem(Li, MarkdownComponentMap):
|
|
|
896
306
|
def create(
|
|
897
307
|
cls,
|
|
898
308
|
*children,
|
|
899
|
-
access_key: Var[str] | str | None = None,
|
|
900
|
-
auto_capitalize: Literal[
|
|
901
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
902
|
-
]
|
|
903
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
904
|
-
| None = None,
|
|
905
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
906
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
907
|
-
| None = None,
|
|
908
|
-
context_menu: Var[str] | str | None = None,
|
|
909
|
-
dir: Var[str] | str | None = None,
|
|
910
|
-
draggable: Var[bool] | bool | None = None,
|
|
911
|
-
enter_key_hint: Literal[
|
|
912
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
913
|
-
]
|
|
914
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
915
|
-
| None = None,
|
|
916
|
-
hidden: Var[bool] | bool | None = None,
|
|
917
|
-
input_mode: Literal[
|
|
918
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
919
|
-
]
|
|
920
|
-
| Var[
|
|
921
|
-
Literal[
|
|
922
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
923
|
-
]
|
|
924
|
-
]
|
|
925
|
-
| None = None,
|
|
926
|
-
item_prop: Var[str] | str | None = None,
|
|
927
|
-
lang: Var[str] | str | None = None,
|
|
928
|
-
role: Literal[
|
|
929
|
-
"alert",
|
|
930
|
-
"alertdialog",
|
|
931
|
-
"application",
|
|
932
|
-
"article",
|
|
933
|
-
"banner",
|
|
934
|
-
"button",
|
|
935
|
-
"cell",
|
|
936
|
-
"checkbox",
|
|
937
|
-
"columnheader",
|
|
938
|
-
"combobox",
|
|
939
|
-
"complementary",
|
|
940
|
-
"contentinfo",
|
|
941
|
-
"definition",
|
|
942
|
-
"dialog",
|
|
943
|
-
"directory",
|
|
944
|
-
"document",
|
|
945
|
-
"feed",
|
|
946
|
-
"figure",
|
|
947
|
-
"form",
|
|
948
|
-
"grid",
|
|
949
|
-
"gridcell",
|
|
950
|
-
"group",
|
|
951
|
-
"heading",
|
|
952
|
-
"img",
|
|
953
|
-
"link",
|
|
954
|
-
"list",
|
|
955
|
-
"listbox",
|
|
956
|
-
"listitem",
|
|
957
|
-
"log",
|
|
958
|
-
"main",
|
|
959
|
-
"marquee",
|
|
960
|
-
"math",
|
|
961
|
-
"menu",
|
|
962
|
-
"menubar",
|
|
963
|
-
"menuitem",
|
|
964
|
-
"menuitemcheckbox",
|
|
965
|
-
"menuitemradio",
|
|
966
|
-
"navigation",
|
|
967
|
-
"none",
|
|
968
|
-
"note",
|
|
969
|
-
"option",
|
|
970
|
-
"presentation",
|
|
971
|
-
"progressbar",
|
|
972
|
-
"radio",
|
|
973
|
-
"radiogroup",
|
|
974
|
-
"region",
|
|
975
|
-
"row",
|
|
976
|
-
"rowgroup",
|
|
977
|
-
"rowheader",
|
|
978
|
-
"scrollbar",
|
|
979
|
-
"search",
|
|
980
|
-
"searchbox",
|
|
981
|
-
"separator",
|
|
982
|
-
"slider",
|
|
983
|
-
"spinbutton",
|
|
984
|
-
"status",
|
|
985
|
-
"switch",
|
|
986
|
-
"tab",
|
|
987
|
-
"table",
|
|
988
|
-
"tablist",
|
|
989
|
-
"tabpanel",
|
|
990
|
-
"term",
|
|
991
|
-
"textbox",
|
|
992
|
-
"timer",
|
|
993
|
-
"toolbar",
|
|
994
|
-
"tooltip",
|
|
995
|
-
"tree",
|
|
996
|
-
"treegrid",
|
|
997
|
-
"treeitem",
|
|
998
|
-
]
|
|
999
|
-
| Var[
|
|
1000
|
-
Literal[
|
|
1001
|
-
"alert",
|
|
1002
|
-
"alertdialog",
|
|
1003
|
-
"application",
|
|
1004
|
-
"article",
|
|
1005
|
-
"banner",
|
|
1006
|
-
"button",
|
|
1007
|
-
"cell",
|
|
1008
|
-
"checkbox",
|
|
1009
|
-
"columnheader",
|
|
1010
|
-
"combobox",
|
|
1011
|
-
"complementary",
|
|
1012
|
-
"contentinfo",
|
|
1013
|
-
"definition",
|
|
1014
|
-
"dialog",
|
|
1015
|
-
"directory",
|
|
1016
|
-
"document",
|
|
1017
|
-
"feed",
|
|
1018
|
-
"figure",
|
|
1019
|
-
"form",
|
|
1020
|
-
"grid",
|
|
1021
|
-
"gridcell",
|
|
1022
|
-
"group",
|
|
1023
|
-
"heading",
|
|
1024
|
-
"img",
|
|
1025
|
-
"link",
|
|
1026
|
-
"list",
|
|
1027
|
-
"listbox",
|
|
1028
|
-
"listitem",
|
|
1029
|
-
"log",
|
|
1030
|
-
"main",
|
|
1031
|
-
"marquee",
|
|
1032
|
-
"math",
|
|
1033
|
-
"menu",
|
|
1034
|
-
"menubar",
|
|
1035
|
-
"menuitem",
|
|
1036
|
-
"menuitemcheckbox",
|
|
1037
|
-
"menuitemradio",
|
|
1038
|
-
"navigation",
|
|
1039
|
-
"none",
|
|
1040
|
-
"note",
|
|
1041
|
-
"option",
|
|
1042
|
-
"presentation",
|
|
1043
|
-
"progressbar",
|
|
1044
|
-
"radio",
|
|
1045
|
-
"radiogroup",
|
|
1046
|
-
"region",
|
|
1047
|
-
"row",
|
|
1048
|
-
"rowgroup",
|
|
1049
|
-
"rowheader",
|
|
1050
|
-
"scrollbar",
|
|
1051
|
-
"search",
|
|
1052
|
-
"searchbox",
|
|
1053
|
-
"separator",
|
|
1054
|
-
"slider",
|
|
1055
|
-
"spinbutton",
|
|
1056
|
-
"status",
|
|
1057
|
-
"switch",
|
|
1058
|
-
"tab",
|
|
1059
|
-
"table",
|
|
1060
|
-
"tablist",
|
|
1061
|
-
"tabpanel",
|
|
1062
|
-
"term",
|
|
1063
|
-
"textbox",
|
|
1064
|
-
"timer",
|
|
1065
|
-
"toolbar",
|
|
1066
|
-
"tooltip",
|
|
1067
|
-
"tree",
|
|
1068
|
-
"treegrid",
|
|
1069
|
-
"treeitem",
|
|
1070
|
-
]
|
|
1071
|
-
]
|
|
1072
|
-
| None = None,
|
|
1073
|
-
slot: Var[str] | str | None = None,
|
|
1074
|
-
spell_check: Var[bool] | bool | None = None,
|
|
1075
|
-
tab_index: Var[int] | int | None = None,
|
|
1076
|
-
title: Var[str] | str | None = None,
|
|
1077
309
|
style: Sequence[Mapping[str, Any]]
|
|
1078
310
|
| Mapping[str, Any]
|
|
1079
311
|
| Var[Mapping[str, Any]]
|
|
@@ -1106,22 +338,6 @@ class ListItem(Li, MarkdownComponentMap):
|
|
|
1106
338
|
|
|
1107
339
|
Args:
|
|
1108
340
|
*children: The children of the component.
|
|
1109
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1110
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1111
|
-
content_editable: Indicates whether the element's content is editable.
|
|
1112
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1113
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1114
|
-
draggable: Defines whether the element can be dragged.
|
|
1115
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
1116
|
-
hidden: Defines whether the element is hidden.
|
|
1117
|
-
input_mode: Defines the type of the element.
|
|
1118
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
1119
|
-
lang: Defines the language used in the element.
|
|
1120
|
-
role: Defines the role of the element.
|
|
1121
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1122
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1123
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
1124
|
-
title: Defines a tooltip for the element.
|
|
1125
341
|
style: The style of the component.
|
|
1126
342
|
key: A unique key for the component.
|
|
1127
343
|
id: The id for the component.
|
|
@@ -1180,184 +396,6 @@ class List(ComponentNamespace):
|
|
|
1180
396
|
]
|
|
1181
397
|
| None = None,
|
|
1182
398
|
items: Iterable | Var[Iterable] | None = None,
|
|
1183
|
-
access_key: Var[str] | str | None = None,
|
|
1184
|
-
auto_capitalize: Literal[
|
|
1185
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
1186
|
-
]
|
|
1187
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
1188
|
-
| None = None,
|
|
1189
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
1190
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
1191
|
-
| None = None,
|
|
1192
|
-
context_menu: Var[str] | str | None = None,
|
|
1193
|
-
dir: Var[str] | str | None = None,
|
|
1194
|
-
draggable: Var[bool] | bool | None = None,
|
|
1195
|
-
enter_key_hint: Literal[
|
|
1196
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
1197
|
-
]
|
|
1198
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
1199
|
-
| None = None,
|
|
1200
|
-
hidden: Var[bool] | bool | None = None,
|
|
1201
|
-
input_mode: Literal[
|
|
1202
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
1203
|
-
]
|
|
1204
|
-
| Var[
|
|
1205
|
-
Literal[
|
|
1206
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
1207
|
-
]
|
|
1208
|
-
]
|
|
1209
|
-
| None = None,
|
|
1210
|
-
item_prop: Var[str] | str | None = None,
|
|
1211
|
-
lang: Var[str] | str | None = None,
|
|
1212
|
-
role: Literal[
|
|
1213
|
-
"alert",
|
|
1214
|
-
"alertdialog",
|
|
1215
|
-
"application",
|
|
1216
|
-
"article",
|
|
1217
|
-
"banner",
|
|
1218
|
-
"button",
|
|
1219
|
-
"cell",
|
|
1220
|
-
"checkbox",
|
|
1221
|
-
"columnheader",
|
|
1222
|
-
"combobox",
|
|
1223
|
-
"complementary",
|
|
1224
|
-
"contentinfo",
|
|
1225
|
-
"definition",
|
|
1226
|
-
"dialog",
|
|
1227
|
-
"directory",
|
|
1228
|
-
"document",
|
|
1229
|
-
"feed",
|
|
1230
|
-
"figure",
|
|
1231
|
-
"form",
|
|
1232
|
-
"grid",
|
|
1233
|
-
"gridcell",
|
|
1234
|
-
"group",
|
|
1235
|
-
"heading",
|
|
1236
|
-
"img",
|
|
1237
|
-
"link",
|
|
1238
|
-
"list",
|
|
1239
|
-
"listbox",
|
|
1240
|
-
"listitem",
|
|
1241
|
-
"log",
|
|
1242
|
-
"main",
|
|
1243
|
-
"marquee",
|
|
1244
|
-
"math",
|
|
1245
|
-
"menu",
|
|
1246
|
-
"menubar",
|
|
1247
|
-
"menuitem",
|
|
1248
|
-
"menuitemcheckbox",
|
|
1249
|
-
"menuitemradio",
|
|
1250
|
-
"navigation",
|
|
1251
|
-
"none",
|
|
1252
|
-
"note",
|
|
1253
|
-
"option",
|
|
1254
|
-
"presentation",
|
|
1255
|
-
"progressbar",
|
|
1256
|
-
"radio",
|
|
1257
|
-
"radiogroup",
|
|
1258
|
-
"region",
|
|
1259
|
-
"row",
|
|
1260
|
-
"rowgroup",
|
|
1261
|
-
"rowheader",
|
|
1262
|
-
"scrollbar",
|
|
1263
|
-
"search",
|
|
1264
|
-
"searchbox",
|
|
1265
|
-
"separator",
|
|
1266
|
-
"slider",
|
|
1267
|
-
"spinbutton",
|
|
1268
|
-
"status",
|
|
1269
|
-
"switch",
|
|
1270
|
-
"tab",
|
|
1271
|
-
"table",
|
|
1272
|
-
"tablist",
|
|
1273
|
-
"tabpanel",
|
|
1274
|
-
"term",
|
|
1275
|
-
"textbox",
|
|
1276
|
-
"timer",
|
|
1277
|
-
"toolbar",
|
|
1278
|
-
"tooltip",
|
|
1279
|
-
"tree",
|
|
1280
|
-
"treegrid",
|
|
1281
|
-
"treeitem",
|
|
1282
|
-
]
|
|
1283
|
-
| Var[
|
|
1284
|
-
Literal[
|
|
1285
|
-
"alert",
|
|
1286
|
-
"alertdialog",
|
|
1287
|
-
"application",
|
|
1288
|
-
"article",
|
|
1289
|
-
"banner",
|
|
1290
|
-
"button",
|
|
1291
|
-
"cell",
|
|
1292
|
-
"checkbox",
|
|
1293
|
-
"columnheader",
|
|
1294
|
-
"combobox",
|
|
1295
|
-
"complementary",
|
|
1296
|
-
"contentinfo",
|
|
1297
|
-
"definition",
|
|
1298
|
-
"dialog",
|
|
1299
|
-
"directory",
|
|
1300
|
-
"document",
|
|
1301
|
-
"feed",
|
|
1302
|
-
"figure",
|
|
1303
|
-
"form",
|
|
1304
|
-
"grid",
|
|
1305
|
-
"gridcell",
|
|
1306
|
-
"group",
|
|
1307
|
-
"heading",
|
|
1308
|
-
"img",
|
|
1309
|
-
"link",
|
|
1310
|
-
"list",
|
|
1311
|
-
"listbox",
|
|
1312
|
-
"listitem",
|
|
1313
|
-
"log",
|
|
1314
|
-
"main",
|
|
1315
|
-
"marquee",
|
|
1316
|
-
"math",
|
|
1317
|
-
"menu",
|
|
1318
|
-
"menubar",
|
|
1319
|
-
"menuitem",
|
|
1320
|
-
"menuitemcheckbox",
|
|
1321
|
-
"menuitemradio",
|
|
1322
|
-
"navigation",
|
|
1323
|
-
"none",
|
|
1324
|
-
"note",
|
|
1325
|
-
"option",
|
|
1326
|
-
"presentation",
|
|
1327
|
-
"progressbar",
|
|
1328
|
-
"radio",
|
|
1329
|
-
"radiogroup",
|
|
1330
|
-
"region",
|
|
1331
|
-
"row",
|
|
1332
|
-
"rowgroup",
|
|
1333
|
-
"rowheader",
|
|
1334
|
-
"scrollbar",
|
|
1335
|
-
"search",
|
|
1336
|
-
"searchbox",
|
|
1337
|
-
"separator",
|
|
1338
|
-
"slider",
|
|
1339
|
-
"spinbutton",
|
|
1340
|
-
"status",
|
|
1341
|
-
"switch",
|
|
1342
|
-
"tab",
|
|
1343
|
-
"table",
|
|
1344
|
-
"tablist",
|
|
1345
|
-
"tabpanel",
|
|
1346
|
-
"term",
|
|
1347
|
-
"textbox",
|
|
1348
|
-
"timer",
|
|
1349
|
-
"toolbar",
|
|
1350
|
-
"tooltip",
|
|
1351
|
-
"tree",
|
|
1352
|
-
"treegrid",
|
|
1353
|
-
"treeitem",
|
|
1354
|
-
]
|
|
1355
|
-
]
|
|
1356
|
-
| None = None,
|
|
1357
|
-
slot: Var[str] | str | None = None,
|
|
1358
|
-
spell_check: Var[bool] | bool | None = None,
|
|
1359
|
-
tab_index: Var[int] | int | None = None,
|
|
1360
|
-
title: Var[str] | str | None = None,
|
|
1361
399
|
style: Sequence[Mapping[str, Any]]
|
|
1362
400
|
| Mapping[str, Any]
|
|
1363
401
|
| Var[Mapping[str, Any]]
|
|
@@ -1392,22 +430,6 @@ class List(ComponentNamespace):
|
|
|
1392
430
|
*children: The children of the component.
|
|
1393
431
|
list_style_type: The style of the list. Default to "none".
|
|
1394
432
|
items: A list of items to add to the list.
|
|
1395
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1396
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1397
|
-
content_editable: Indicates whether the element's content is editable.
|
|
1398
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1399
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1400
|
-
draggable: Defines whether the element can be dragged.
|
|
1401
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
1402
|
-
hidden: Defines whether the element is hidden.
|
|
1403
|
-
input_mode: Defines the type of the element.
|
|
1404
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
1405
|
-
lang: Defines the language used in the element.
|
|
1406
|
-
role: Defines the role of the element.
|
|
1407
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1408
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1409
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
1410
|
-
title: Defines a tooltip for the element.
|
|
1411
433
|
style: The style of the component.
|
|
1412
434
|
key: A unique key for the component.
|
|
1413
435
|
id: The id for the component.
|