reflex 0.7.0a5__py3-none-any.whl → 0.7.1a2__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/components/reflex/radix_themes_color_mode_provider.js +3 -1
- reflex/__init__.py +1 -0
- reflex/__init__.pyi +1 -0
- reflex/app.py +255 -81
- reflex/base.py +4 -10
- reflex/compiler/compiler.py +46 -12
- reflex/compiler/templates.py +1 -2
- reflex/compiler/utils.py +23 -14
- reflex/components/base/bare.py +109 -16
- reflex/components/component.py +179 -124
- reflex/components/core/__init__.py +1 -0
- reflex/components/core/__init__.pyi +1 -0
- reflex/components/core/auto_scroll.py +111 -0
- reflex/components/core/auto_scroll.pyi +284 -0
- reflex/components/core/banner.py +40 -9
- reflex/components/core/banner.pyi +400 -87
- reflex/components/core/breakpoints.py +1 -1
- reflex/components/core/cond.py +0 -8
- reflex/components/core/foreach.py +12 -2
- reflex/components/core/html.pyi +200 -19
- reflex/components/core/match.py +4 -4
- reflex/components/core/sticky.pyi +874 -90
- reflex/components/core/upload.py +3 -5
- reflex/components/core/upload.pyi +2 -4
- reflex/components/datadisplay/code.py +36 -10
- reflex/components/datadisplay/code.pyi +1 -1
- reflex/components/datadisplay/dataeditor.py +1 -3
- reflex/components/datadisplay/dataeditor.pyi +1 -3
- reflex/components/el/elements/base.py +95 -17
- reflex/components/el/elements/base.pyi +278 -19
- reflex/components/el/elements/forms.py +124 -102
- reflex/components/el/elements/forms.pyi +2787 -365
- reflex/components/el/elements/inline.py +24 -15
- reflex/components/el/elements/inline.pyi +5655 -546
- reflex/components/el/elements/media.py +79 -95
- reflex/components/el/elements/media.pyi +5167 -565
- reflex/components/el/elements/metadata.py +19 -17
- reflex/components/el/elements/metadata.pyi +841 -89
- reflex/components/el/elements/other.py +3 -5
- reflex/components/el/elements/other.pyi +1404 -137
- reflex/components/el/elements/scripts.py +10 -13
- reflex/components/el/elements/scripts.pyi +634 -65
- reflex/components/el/elements/sectioning.pyi +3001 -286
- reflex/components/el/elements/tables.py +14 -35
- reflex/components/el/elements/tables.pyi +2029 -218
- reflex/components/el/elements/typography.py +10 -13
- reflex/components/el/elements/typography.pyi +3014 -297
- reflex/components/lucide/icon.py +22 -6
- reflex/components/markdown/markdown.py +30 -10
- reflex/components/markdown/markdown.pyi +3 -2
- reflex/components/plotly/plotly.py +1 -3
- reflex/components/plotly/plotly.pyi +1 -3
- reflex/components/radix/primitives/form.pyi +624 -93
- reflex/components/radix/themes/color_mode.py +1 -1
- reflex/components/radix/themes/color_mode.pyi +213 -31
- reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
- reflex/components/radix/themes/components/badge.pyi +199 -18
- reflex/components/radix/themes/components/button.pyi +213 -31
- reflex/components/radix/themes/components/callout.pyi +1000 -95
- reflex/components/radix/themes/components/card.pyi +199 -18
- reflex/components/radix/themes/components/context_menu.py +79 -1
- reflex/components/radix/themes/components/context_menu.pyi +320 -1
- reflex/components/radix/themes/components/dialog.pyi +199 -18
- reflex/components/radix/themes/components/hover_card.pyi +199 -18
- reflex/components/radix/themes/components/icon_button.pyi +213 -31
- reflex/components/radix/themes/components/inset.pyi +199 -18
- reflex/components/radix/themes/components/popover.pyi +199 -18
- reflex/components/radix/themes/components/table.pyi +1437 -154
- reflex/components/radix/themes/components/text_area.py +2 -2
- reflex/components/radix/themes/components/text_area.pyi +201 -20
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +444 -88
- reflex/components/radix/themes/layout/box.pyi +200 -19
- reflex/components/radix/themes/layout/center.pyi +199 -18
- reflex/components/radix/themes/layout/container.pyi +199 -18
- reflex/components/radix/themes/layout/flex.pyi +199 -18
- reflex/components/radix/themes/layout/grid.pyi +199 -18
- reflex/components/radix/themes/layout/list.pyi +604 -57
- reflex/components/radix/themes/layout/section.pyi +199 -18
- reflex/components/radix/themes/layout/spacer.pyi +199 -18
- reflex/components/radix/themes/layout/stack.pyi +597 -54
- reflex/components/radix/themes/typography/blockquote.pyi +200 -19
- reflex/components/radix/themes/typography/code.pyi +199 -18
- reflex/components/radix/themes/typography/heading.pyi +199 -18
- reflex/components/radix/themes/typography/link.pyi +238 -28
- reflex/components/radix/themes/typography/text.pyi +1394 -127
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +1 -3
- reflex/components/sonner/toast.py +41 -12
- reflex/components/sonner/toast.pyi +20 -6
- reflex/components/tags/iter_tag.py +4 -0
- reflex/components/tags/tag.py +3 -3
- reflex/config.py +187 -28
- reflex/constants/__init__.py +2 -0
- reflex/constants/base.py +6 -0
- reflex/constants/compiler.py +9 -0
- reflex/constants/event.py +1 -0
- reflex/constants/installer.py +4 -5
- reflex/constants/utils.py +1 -3
- reflex/event.py +7 -16
- reflex/experimental/layout.pyi +597 -54
- reflex/py.typed +0 -0
- reflex/reflex.py +30 -41
- reflex/state.py +49 -44
- reflex/style.py +15 -22
- reflex/testing.py +2 -0
- reflex/utils/build.py +12 -0
- reflex/utils/console.py +4 -0
- reflex/utils/decorator.py +25 -0
- reflex/utils/exec.py +92 -34
- reflex/utils/format.py +35 -6
- reflex/utils/path_ops.py +16 -1
- reflex/utils/prerequisites.py +34 -8
- reflex/utils/processes.py +12 -13
- reflex/utils/serializers.py +20 -43
- reflex/utils/telemetry.py +4 -15
- reflex/utils/types.py +36 -66
- reflex/vars/base.py +53 -76
- reflex/vars/function.py +17 -5
- reflex/vars/number.py +1 -1
- reflex/vars/sequence.py +80 -4
- {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/METADATA +4 -5
- {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/RECORD +126 -122
- {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a5.dist-info → reflex-0.7.1a2.dist-info}/entry_points.txt +0 -0
|
@@ -172,30 +172,211 @@ class UnorderedList(BaseList, Ul):
|
|
|
172
172
|
]
|
|
173
173
|
] = None,
|
|
174
174
|
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
|
175
|
-
access_key: Optional[Union[Var[
|
|
175
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
176
176
|
auto_capitalize: Optional[
|
|
177
|
-
Union[
|
|
177
|
+
Union[
|
|
178
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
179
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
180
|
+
]
|
|
178
181
|
] = None,
|
|
179
182
|
content_editable: Optional[
|
|
180
|
-
Union[
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
Union[
|
|
184
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
185
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
186
|
+
]
|
|
184
187
|
] = None,
|
|
185
|
-
|
|
186
|
-
|
|
188
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
189
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
190
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
187
191
|
enter_key_hint: Optional[
|
|
188
|
-
Union[
|
|
192
|
+
Union[
|
|
193
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
194
|
+
Var[
|
|
195
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
196
|
+
],
|
|
197
|
+
]
|
|
198
|
+
] = None,
|
|
199
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
200
|
+
input_mode: Optional[
|
|
201
|
+
Union[
|
|
202
|
+
Literal[
|
|
203
|
+
"decimal",
|
|
204
|
+
"email",
|
|
205
|
+
"none",
|
|
206
|
+
"numeric",
|
|
207
|
+
"search",
|
|
208
|
+
"tel",
|
|
209
|
+
"text",
|
|
210
|
+
"url",
|
|
211
|
+
],
|
|
212
|
+
Var[
|
|
213
|
+
Literal[
|
|
214
|
+
"decimal",
|
|
215
|
+
"email",
|
|
216
|
+
"none",
|
|
217
|
+
"numeric",
|
|
218
|
+
"search",
|
|
219
|
+
"tel",
|
|
220
|
+
"text",
|
|
221
|
+
"url",
|
|
222
|
+
]
|
|
223
|
+
],
|
|
224
|
+
]
|
|
225
|
+
] = None,
|
|
226
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
227
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
228
|
+
role: Optional[
|
|
229
|
+
Union[
|
|
230
|
+
Literal[
|
|
231
|
+
"alert",
|
|
232
|
+
"alertdialog",
|
|
233
|
+
"application",
|
|
234
|
+
"article",
|
|
235
|
+
"banner",
|
|
236
|
+
"button",
|
|
237
|
+
"cell",
|
|
238
|
+
"checkbox",
|
|
239
|
+
"columnheader",
|
|
240
|
+
"combobox",
|
|
241
|
+
"complementary",
|
|
242
|
+
"contentinfo",
|
|
243
|
+
"definition",
|
|
244
|
+
"dialog",
|
|
245
|
+
"directory",
|
|
246
|
+
"document",
|
|
247
|
+
"feed",
|
|
248
|
+
"figure",
|
|
249
|
+
"form",
|
|
250
|
+
"grid",
|
|
251
|
+
"gridcell",
|
|
252
|
+
"group",
|
|
253
|
+
"heading",
|
|
254
|
+
"img",
|
|
255
|
+
"link",
|
|
256
|
+
"list",
|
|
257
|
+
"listbox",
|
|
258
|
+
"listitem",
|
|
259
|
+
"log",
|
|
260
|
+
"main",
|
|
261
|
+
"marquee",
|
|
262
|
+
"math",
|
|
263
|
+
"menu",
|
|
264
|
+
"menubar",
|
|
265
|
+
"menuitem",
|
|
266
|
+
"menuitemcheckbox",
|
|
267
|
+
"menuitemradio",
|
|
268
|
+
"navigation",
|
|
269
|
+
"none",
|
|
270
|
+
"note",
|
|
271
|
+
"option",
|
|
272
|
+
"presentation",
|
|
273
|
+
"progressbar",
|
|
274
|
+
"radio",
|
|
275
|
+
"radiogroup",
|
|
276
|
+
"region",
|
|
277
|
+
"row",
|
|
278
|
+
"rowgroup",
|
|
279
|
+
"rowheader",
|
|
280
|
+
"scrollbar",
|
|
281
|
+
"search",
|
|
282
|
+
"searchbox",
|
|
283
|
+
"separator",
|
|
284
|
+
"slider",
|
|
285
|
+
"spinbutton",
|
|
286
|
+
"status",
|
|
287
|
+
"switch",
|
|
288
|
+
"tab",
|
|
289
|
+
"table",
|
|
290
|
+
"tablist",
|
|
291
|
+
"tabpanel",
|
|
292
|
+
"term",
|
|
293
|
+
"textbox",
|
|
294
|
+
"timer",
|
|
295
|
+
"toolbar",
|
|
296
|
+
"tooltip",
|
|
297
|
+
"tree",
|
|
298
|
+
"treegrid",
|
|
299
|
+
"treeitem",
|
|
300
|
+
],
|
|
301
|
+
Var[
|
|
302
|
+
Literal[
|
|
303
|
+
"alert",
|
|
304
|
+
"alertdialog",
|
|
305
|
+
"application",
|
|
306
|
+
"article",
|
|
307
|
+
"banner",
|
|
308
|
+
"button",
|
|
309
|
+
"cell",
|
|
310
|
+
"checkbox",
|
|
311
|
+
"columnheader",
|
|
312
|
+
"combobox",
|
|
313
|
+
"complementary",
|
|
314
|
+
"contentinfo",
|
|
315
|
+
"definition",
|
|
316
|
+
"dialog",
|
|
317
|
+
"directory",
|
|
318
|
+
"document",
|
|
319
|
+
"feed",
|
|
320
|
+
"figure",
|
|
321
|
+
"form",
|
|
322
|
+
"grid",
|
|
323
|
+
"gridcell",
|
|
324
|
+
"group",
|
|
325
|
+
"heading",
|
|
326
|
+
"img",
|
|
327
|
+
"link",
|
|
328
|
+
"list",
|
|
329
|
+
"listbox",
|
|
330
|
+
"listitem",
|
|
331
|
+
"log",
|
|
332
|
+
"main",
|
|
333
|
+
"marquee",
|
|
334
|
+
"math",
|
|
335
|
+
"menu",
|
|
336
|
+
"menubar",
|
|
337
|
+
"menuitem",
|
|
338
|
+
"menuitemcheckbox",
|
|
339
|
+
"menuitemradio",
|
|
340
|
+
"navigation",
|
|
341
|
+
"none",
|
|
342
|
+
"note",
|
|
343
|
+
"option",
|
|
344
|
+
"presentation",
|
|
345
|
+
"progressbar",
|
|
346
|
+
"radio",
|
|
347
|
+
"radiogroup",
|
|
348
|
+
"region",
|
|
349
|
+
"row",
|
|
350
|
+
"rowgroup",
|
|
351
|
+
"rowheader",
|
|
352
|
+
"scrollbar",
|
|
353
|
+
"search",
|
|
354
|
+
"searchbox",
|
|
355
|
+
"separator",
|
|
356
|
+
"slider",
|
|
357
|
+
"spinbutton",
|
|
358
|
+
"status",
|
|
359
|
+
"switch",
|
|
360
|
+
"tab",
|
|
361
|
+
"table",
|
|
362
|
+
"tablist",
|
|
363
|
+
"tabpanel",
|
|
364
|
+
"term",
|
|
365
|
+
"textbox",
|
|
366
|
+
"timer",
|
|
367
|
+
"toolbar",
|
|
368
|
+
"tooltip",
|
|
369
|
+
"tree",
|
|
370
|
+
"treegrid",
|
|
371
|
+
"treeitem",
|
|
372
|
+
]
|
|
373
|
+
],
|
|
374
|
+
]
|
|
189
375
|
] = None,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
195
|
-
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
196
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
197
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
198
|
-
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
376
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
377
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
378
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
379
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
199
380
|
style: Optional[Style] = None,
|
|
200
381
|
key: Optional[Any] = None,
|
|
201
382
|
id: Optional[Any] = None,
|
|
@@ -303,33 +484,218 @@ class OrderedList(BaseList, Ol):
|
|
|
303
484
|
]
|
|
304
485
|
] = None,
|
|
305
486
|
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
|
306
|
-
reversed: Optional[Union[Var[
|
|
307
|
-
start: Optional[Union[Var[
|
|
308
|
-
type: Optional[
|
|
309
|
-
|
|
487
|
+
reversed: Optional[Union[Var[bool], bool]] = None,
|
|
488
|
+
start: Optional[Union[Var[int], int]] = None,
|
|
489
|
+
type: Optional[
|
|
490
|
+
Union[
|
|
491
|
+
Literal["1", "A", "I", "a", "i"], Var[Literal["1", "A", "I", "a", "i"]]
|
|
492
|
+
]
|
|
493
|
+
] = None,
|
|
494
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
310
495
|
auto_capitalize: Optional[
|
|
311
|
-
Union[
|
|
496
|
+
Union[
|
|
497
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
498
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
499
|
+
]
|
|
312
500
|
] = None,
|
|
313
501
|
content_editable: Optional[
|
|
314
|
-
Union[
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
502
|
+
Union[
|
|
503
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
504
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
505
|
+
]
|
|
318
506
|
] = None,
|
|
319
|
-
|
|
320
|
-
|
|
507
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
508
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
509
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
321
510
|
enter_key_hint: Optional[
|
|
322
|
-
Union[
|
|
511
|
+
Union[
|
|
512
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
513
|
+
Var[
|
|
514
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
515
|
+
],
|
|
516
|
+
]
|
|
323
517
|
] = None,
|
|
324
|
-
hidden: Optional[Union[Var[
|
|
325
|
-
input_mode: Optional[
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
518
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
519
|
+
input_mode: Optional[
|
|
520
|
+
Union[
|
|
521
|
+
Literal[
|
|
522
|
+
"decimal",
|
|
523
|
+
"email",
|
|
524
|
+
"none",
|
|
525
|
+
"numeric",
|
|
526
|
+
"search",
|
|
527
|
+
"tel",
|
|
528
|
+
"text",
|
|
529
|
+
"url",
|
|
530
|
+
],
|
|
531
|
+
Var[
|
|
532
|
+
Literal[
|
|
533
|
+
"decimal",
|
|
534
|
+
"email",
|
|
535
|
+
"none",
|
|
536
|
+
"numeric",
|
|
537
|
+
"search",
|
|
538
|
+
"tel",
|
|
539
|
+
"text",
|
|
540
|
+
"url",
|
|
541
|
+
]
|
|
542
|
+
],
|
|
543
|
+
]
|
|
544
|
+
] = None,
|
|
545
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
546
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
547
|
+
role: Optional[
|
|
548
|
+
Union[
|
|
549
|
+
Literal[
|
|
550
|
+
"alert",
|
|
551
|
+
"alertdialog",
|
|
552
|
+
"application",
|
|
553
|
+
"article",
|
|
554
|
+
"banner",
|
|
555
|
+
"button",
|
|
556
|
+
"cell",
|
|
557
|
+
"checkbox",
|
|
558
|
+
"columnheader",
|
|
559
|
+
"combobox",
|
|
560
|
+
"complementary",
|
|
561
|
+
"contentinfo",
|
|
562
|
+
"definition",
|
|
563
|
+
"dialog",
|
|
564
|
+
"directory",
|
|
565
|
+
"document",
|
|
566
|
+
"feed",
|
|
567
|
+
"figure",
|
|
568
|
+
"form",
|
|
569
|
+
"grid",
|
|
570
|
+
"gridcell",
|
|
571
|
+
"group",
|
|
572
|
+
"heading",
|
|
573
|
+
"img",
|
|
574
|
+
"link",
|
|
575
|
+
"list",
|
|
576
|
+
"listbox",
|
|
577
|
+
"listitem",
|
|
578
|
+
"log",
|
|
579
|
+
"main",
|
|
580
|
+
"marquee",
|
|
581
|
+
"math",
|
|
582
|
+
"menu",
|
|
583
|
+
"menubar",
|
|
584
|
+
"menuitem",
|
|
585
|
+
"menuitemcheckbox",
|
|
586
|
+
"menuitemradio",
|
|
587
|
+
"navigation",
|
|
588
|
+
"none",
|
|
589
|
+
"note",
|
|
590
|
+
"option",
|
|
591
|
+
"presentation",
|
|
592
|
+
"progressbar",
|
|
593
|
+
"radio",
|
|
594
|
+
"radiogroup",
|
|
595
|
+
"region",
|
|
596
|
+
"row",
|
|
597
|
+
"rowgroup",
|
|
598
|
+
"rowheader",
|
|
599
|
+
"scrollbar",
|
|
600
|
+
"search",
|
|
601
|
+
"searchbox",
|
|
602
|
+
"separator",
|
|
603
|
+
"slider",
|
|
604
|
+
"spinbutton",
|
|
605
|
+
"status",
|
|
606
|
+
"switch",
|
|
607
|
+
"tab",
|
|
608
|
+
"table",
|
|
609
|
+
"tablist",
|
|
610
|
+
"tabpanel",
|
|
611
|
+
"term",
|
|
612
|
+
"textbox",
|
|
613
|
+
"timer",
|
|
614
|
+
"toolbar",
|
|
615
|
+
"tooltip",
|
|
616
|
+
"tree",
|
|
617
|
+
"treegrid",
|
|
618
|
+
"treeitem",
|
|
619
|
+
],
|
|
620
|
+
Var[
|
|
621
|
+
Literal[
|
|
622
|
+
"alert",
|
|
623
|
+
"alertdialog",
|
|
624
|
+
"application",
|
|
625
|
+
"article",
|
|
626
|
+
"banner",
|
|
627
|
+
"button",
|
|
628
|
+
"cell",
|
|
629
|
+
"checkbox",
|
|
630
|
+
"columnheader",
|
|
631
|
+
"combobox",
|
|
632
|
+
"complementary",
|
|
633
|
+
"contentinfo",
|
|
634
|
+
"definition",
|
|
635
|
+
"dialog",
|
|
636
|
+
"directory",
|
|
637
|
+
"document",
|
|
638
|
+
"feed",
|
|
639
|
+
"figure",
|
|
640
|
+
"form",
|
|
641
|
+
"grid",
|
|
642
|
+
"gridcell",
|
|
643
|
+
"group",
|
|
644
|
+
"heading",
|
|
645
|
+
"img",
|
|
646
|
+
"link",
|
|
647
|
+
"list",
|
|
648
|
+
"listbox",
|
|
649
|
+
"listitem",
|
|
650
|
+
"log",
|
|
651
|
+
"main",
|
|
652
|
+
"marquee",
|
|
653
|
+
"math",
|
|
654
|
+
"menu",
|
|
655
|
+
"menubar",
|
|
656
|
+
"menuitem",
|
|
657
|
+
"menuitemcheckbox",
|
|
658
|
+
"menuitemradio",
|
|
659
|
+
"navigation",
|
|
660
|
+
"none",
|
|
661
|
+
"note",
|
|
662
|
+
"option",
|
|
663
|
+
"presentation",
|
|
664
|
+
"progressbar",
|
|
665
|
+
"radio",
|
|
666
|
+
"radiogroup",
|
|
667
|
+
"region",
|
|
668
|
+
"row",
|
|
669
|
+
"rowgroup",
|
|
670
|
+
"rowheader",
|
|
671
|
+
"scrollbar",
|
|
672
|
+
"search",
|
|
673
|
+
"searchbox",
|
|
674
|
+
"separator",
|
|
675
|
+
"slider",
|
|
676
|
+
"spinbutton",
|
|
677
|
+
"status",
|
|
678
|
+
"switch",
|
|
679
|
+
"tab",
|
|
680
|
+
"table",
|
|
681
|
+
"tablist",
|
|
682
|
+
"tabpanel",
|
|
683
|
+
"term",
|
|
684
|
+
"textbox",
|
|
685
|
+
"timer",
|
|
686
|
+
"toolbar",
|
|
687
|
+
"tooltip",
|
|
688
|
+
"tree",
|
|
689
|
+
"treegrid",
|
|
690
|
+
"treeitem",
|
|
691
|
+
]
|
|
692
|
+
],
|
|
693
|
+
]
|
|
694
|
+
] = None,
|
|
695
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
696
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
697
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
698
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
333
699
|
style: Optional[Style] = None,
|
|
334
700
|
key: Optional[Any] = None,
|
|
335
701
|
id: Optional[Any] = None,
|
|
@@ -397,30 +763,211 @@ class ListItem(Li, MarkdownComponentMap):
|
|
|
397
763
|
def create( # type: ignore
|
|
398
764
|
cls,
|
|
399
765
|
*children,
|
|
400
|
-
access_key: Optional[Union[Var[
|
|
766
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
401
767
|
auto_capitalize: Optional[
|
|
402
|
-
Union[
|
|
768
|
+
Union[
|
|
769
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
770
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
771
|
+
]
|
|
403
772
|
] = None,
|
|
404
773
|
content_editable: Optional[
|
|
405
|
-
Union[
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
774
|
+
Union[
|
|
775
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
776
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
777
|
+
]
|
|
409
778
|
] = None,
|
|
410
|
-
|
|
411
|
-
|
|
779
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
780
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
781
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
412
782
|
enter_key_hint: Optional[
|
|
413
|
-
Union[
|
|
783
|
+
Union[
|
|
784
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
785
|
+
Var[
|
|
786
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
787
|
+
],
|
|
788
|
+
]
|
|
789
|
+
] = None,
|
|
790
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
791
|
+
input_mode: Optional[
|
|
792
|
+
Union[
|
|
793
|
+
Literal[
|
|
794
|
+
"decimal",
|
|
795
|
+
"email",
|
|
796
|
+
"none",
|
|
797
|
+
"numeric",
|
|
798
|
+
"search",
|
|
799
|
+
"tel",
|
|
800
|
+
"text",
|
|
801
|
+
"url",
|
|
802
|
+
],
|
|
803
|
+
Var[
|
|
804
|
+
Literal[
|
|
805
|
+
"decimal",
|
|
806
|
+
"email",
|
|
807
|
+
"none",
|
|
808
|
+
"numeric",
|
|
809
|
+
"search",
|
|
810
|
+
"tel",
|
|
811
|
+
"text",
|
|
812
|
+
"url",
|
|
813
|
+
]
|
|
814
|
+
],
|
|
815
|
+
]
|
|
816
|
+
] = None,
|
|
817
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
818
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
819
|
+
role: Optional[
|
|
820
|
+
Union[
|
|
821
|
+
Literal[
|
|
822
|
+
"alert",
|
|
823
|
+
"alertdialog",
|
|
824
|
+
"application",
|
|
825
|
+
"article",
|
|
826
|
+
"banner",
|
|
827
|
+
"button",
|
|
828
|
+
"cell",
|
|
829
|
+
"checkbox",
|
|
830
|
+
"columnheader",
|
|
831
|
+
"combobox",
|
|
832
|
+
"complementary",
|
|
833
|
+
"contentinfo",
|
|
834
|
+
"definition",
|
|
835
|
+
"dialog",
|
|
836
|
+
"directory",
|
|
837
|
+
"document",
|
|
838
|
+
"feed",
|
|
839
|
+
"figure",
|
|
840
|
+
"form",
|
|
841
|
+
"grid",
|
|
842
|
+
"gridcell",
|
|
843
|
+
"group",
|
|
844
|
+
"heading",
|
|
845
|
+
"img",
|
|
846
|
+
"link",
|
|
847
|
+
"list",
|
|
848
|
+
"listbox",
|
|
849
|
+
"listitem",
|
|
850
|
+
"log",
|
|
851
|
+
"main",
|
|
852
|
+
"marquee",
|
|
853
|
+
"math",
|
|
854
|
+
"menu",
|
|
855
|
+
"menubar",
|
|
856
|
+
"menuitem",
|
|
857
|
+
"menuitemcheckbox",
|
|
858
|
+
"menuitemradio",
|
|
859
|
+
"navigation",
|
|
860
|
+
"none",
|
|
861
|
+
"note",
|
|
862
|
+
"option",
|
|
863
|
+
"presentation",
|
|
864
|
+
"progressbar",
|
|
865
|
+
"radio",
|
|
866
|
+
"radiogroup",
|
|
867
|
+
"region",
|
|
868
|
+
"row",
|
|
869
|
+
"rowgroup",
|
|
870
|
+
"rowheader",
|
|
871
|
+
"scrollbar",
|
|
872
|
+
"search",
|
|
873
|
+
"searchbox",
|
|
874
|
+
"separator",
|
|
875
|
+
"slider",
|
|
876
|
+
"spinbutton",
|
|
877
|
+
"status",
|
|
878
|
+
"switch",
|
|
879
|
+
"tab",
|
|
880
|
+
"table",
|
|
881
|
+
"tablist",
|
|
882
|
+
"tabpanel",
|
|
883
|
+
"term",
|
|
884
|
+
"textbox",
|
|
885
|
+
"timer",
|
|
886
|
+
"toolbar",
|
|
887
|
+
"tooltip",
|
|
888
|
+
"tree",
|
|
889
|
+
"treegrid",
|
|
890
|
+
"treeitem",
|
|
891
|
+
],
|
|
892
|
+
Var[
|
|
893
|
+
Literal[
|
|
894
|
+
"alert",
|
|
895
|
+
"alertdialog",
|
|
896
|
+
"application",
|
|
897
|
+
"article",
|
|
898
|
+
"banner",
|
|
899
|
+
"button",
|
|
900
|
+
"cell",
|
|
901
|
+
"checkbox",
|
|
902
|
+
"columnheader",
|
|
903
|
+
"combobox",
|
|
904
|
+
"complementary",
|
|
905
|
+
"contentinfo",
|
|
906
|
+
"definition",
|
|
907
|
+
"dialog",
|
|
908
|
+
"directory",
|
|
909
|
+
"document",
|
|
910
|
+
"feed",
|
|
911
|
+
"figure",
|
|
912
|
+
"form",
|
|
913
|
+
"grid",
|
|
914
|
+
"gridcell",
|
|
915
|
+
"group",
|
|
916
|
+
"heading",
|
|
917
|
+
"img",
|
|
918
|
+
"link",
|
|
919
|
+
"list",
|
|
920
|
+
"listbox",
|
|
921
|
+
"listitem",
|
|
922
|
+
"log",
|
|
923
|
+
"main",
|
|
924
|
+
"marquee",
|
|
925
|
+
"math",
|
|
926
|
+
"menu",
|
|
927
|
+
"menubar",
|
|
928
|
+
"menuitem",
|
|
929
|
+
"menuitemcheckbox",
|
|
930
|
+
"menuitemradio",
|
|
931
|
+
"navigation",
|
|
932
|
+
"none",
|
|
933
|
+
"note",
|
|
934
|
+
"option",
|
|
935
|
+
"presentation",
|
|
936
|
+
"progressbar",
|
|
937
|
+
"radio",
|
|
938
|
+
"radiogroup",
|
|
939
|
+
"region",
|
|
940
|
+
"row",
|
|
941
|
+
"rowgroup",
|
|
942
|
+
"rowheader",
|
|
943
|
+
"scrollbar",
|
|
944
|
+
"search",
|
|
945
|
+
"searchbox",
|
|
946
|
+
"separator",
|
|
947
|
+
"slider",
|
|
948
|
+
"spinbutton",
|
|
949
|
+
"status",
|
|
950
|
+
"switch",
|
|
951
|
+
"tab",
|
|
952
|
+
"table",
|
|
953
|
+
"tablist",
|
|
954
|
+
"tabpanel",
|
|
955
|
+
"term",
|
|
956
|
+
"textbox",
|
|
957
|
+
"timer",
|
|
958
|
+
"toolbar",
|
|
959
|
+
"tooltip",
|
|
960
|
+
"tree",
|
|
961
|
+
"treegrid",
|
|
962
|
+
"treeitem",
|
|
963
|
+
]
|
|
964
|
+
],
|
|
965
|
+
]
|
|
414
966
|
] = None,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
420
|
-
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
421
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
422
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
423
|
-
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
967
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
968
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
969
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
970
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
424
971
|
style: Optional[Style] = None,
|
|
425
972
|
key: Optional[Any] = None,
|
|
426
973
|
id: Optional[Any] = None,
|