reflex 0.5.5a1__py3-none-any.whl → 0.5.6__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/jinja/web/pages/_app.js.jinja2 +0 -1
- reflex/.templates/jinja/web/utils/context.js.jinja2 +2 -0
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +20 -2
- reflex/.templates/web/utils/helpers/paste.js +59 -0
- reflex/__init__.py +9 -1
- reflex/__init__.pyi +89 -87
- reflex/app.py +64 -126
- reflex/app_mixins/__init__.py +5 -0
- reflex/app_mixins/lifespan.py +57 -0
- reflex/app_mixins/middleware.py +93 -0
- reflex/app_mixins/mixin.py +14 -0
- reflex/compiler/compiler.py +6 -1
- reflex/components/__init__.pyi +0 -2
- reflex/components/base/__init__.pyi +1 -3
- reflex/components/base/app_wrap.pyi +21 -22
- reflex/components/base/body.pyi +21 -20
- reflex/components/base/document.pyi +85 -85
- reflex/components/base/fragment.pyi +21 -20
- reflex/components/base/head.pyi +37 -36
- reflex/components/base/link.pyi +37 -37
- reflex/components/base/meta.pyi +69 -70
- reflex/components/base/script.py +6 -2
- reflex/components/base/script.pyi +31 -27
- reflex/components/chakra/base.pyi +54 -56
- reflex/components/chakra/datadisplay/badge.pyi +21 -21
- reflex/components/chakra/datadisplay/code.pyi +21 -20
- reflex/components/chakra/datadisplay/divider.pyi +21 -22
- reflex/components/chakra/datadisplay/keyboard_key.pyi +21 -20
- reflex/components/chakra/datadisplay/list.pyi +69 -71
- reflex/components/chakra/datadisplay/stat.pyi +101 -102
- reflex/components/chakra/datadisplay/table.pyi +149 -153
- reflex/components/chakra/datadisplay/tag.pyi +85 -89
- reflex/components/chakra/disclosure/accordion.pyi +87 -93
- reflex/components/chakra/disclosure/tabs.pyi +85 -90
- reflex/components/chakra/disclosure/transition.pyi +104 -105
- reflex/components/chakra/disclosure/visuallyhidden.pyi +21 -20
- reflex/components/chakra/feedback/alert.pyi +69 -70
- reflex/components/chakra/feedback/circularprogress.pyi +38 -40
- reflex/components/chakra/feedback/progress.pyi +22 -23
- reflex/components/chakra/feedback/skeleton.pyi +53 -53
- reflex/components/chakra/feedback/spinner.pyi +21 -21
- reflex/components/chakra/forms/button.pyi +37 -42
- reflex/components/chakra/forms/checkbox.pyi +38 -39
- reflex/components/chakra/forms/colormodeswitch.pyi +72 -71
- reflex/components/chakra/forms/date_picker.pyi +24 -24
- reflex/components/chakra/forms/date_time_picker.pyi +24 -24
- reflex/components/chakra/forms/editable.pyi +73 -74
- reflex/components/chakra/forms/email.pyi +24 -24
- reflex/components/chakra/forms/form.pyi +112 -141
- reflex/components/chakra/forms/iconbutton.pyi +21 -22
- reflex/components/chakra/forms/input.pyi +104 -111
- reflex/components/chakra/forms/numberinput.pyi +87 -91
- reflex/components/chakra/forms/password.pyi +24 -24
- reflex/components/chakra/forms/pininput.pyi +39 -45
- reflex/components/chakra/forms/radio.pyi +38 -43
- reflex/components/chakra/forms/rangeslider.pyi +72 -76
- reflex/components/chakra/forms/select.pyi +39 -44
- reflex/components/chakra/forms/slider.pyi +88 -91
- reflex/components/chakra/forms/switch.pyi +22 -23
- reflex/components/chakra/forms/textarea.pyi +24 -27
- reflex/components/chakra/forms/time_picker.pyi +24 -24
- reflex/components/chakra/layout/aspect_ratio.pyi +21 -21
- reflex/components/chakra/layout/box.pyi +21 -22
- reflex/components/chakra/layout/card.pyi +69 -73
- reflex/components/chakra/layout/center.pyi +53 -52
- reflex/components/chakra/layout/container.pyi +21 -21
- reflex/components/chakra/layout/flex.pyi +23 -26
- reflex/components/chakra/layout/grid.pyi +53 -54
- reflex/components/chakra/layout/spacer.pyi +21 -20
- reflex/components/chakra/layout/stack.pyi +62 -60
- reflex/components/chakra/layout/wrap.pyi +37 -38
- reflex/components/chakra/media/avatar.pyi +54 -55
- reflex/components/chakra/media/icon.pyi +37 -38
- reflex/components/chakra/media/image.pyi +24 -26
- reflex/components/chakra/navigation/breadcrumb.pyi +69 -71
- reflex/components/chakra/navigation/link.pyi +20 -21
- reflex/components/chakra/navigation/linkoverlay.pyi +37 -37
- reflex/components/chakra/navigation/stepper.pyi +149 -151
- reflex/components/chakra/overlay/alertdialog.pyi +121 -124
- reflex/components/chakra/overlay/drawer.pyi +121 -126
- reflex/components/chakra/overlay/menu.pyi +135 -141
- reflex/components/chakra/overlay/modal.pyi +121 -124
- reflex/components/chakra/overlay/popover.pyi +151 -156
- reflex/components/chakra/overlay/tooltip.pyi +23 -24
- reflex/components/chakra/typography/heading.pyi +21 -21
- reflex/components/chakra/typography/highlight.pyi +21 -23
- reflex/components/chakra/typography/span.pyi +21 -21
- reflex/components/chakra/typography/text.pyi +21 -21
- reflex/components/component.py +6 -2
- reflex/components/core/__init__.py +2 -0
- reflex/components/core/__init__.pyi +9 -7
- reflex/components/core/banner.pyi +118 -146
- reflex/components/core/breakpoints.py +95 -0
- reflex/components/core/client_side_routing.pyi +37 -39
- reflex/components/core/clipboard.py +95 -0
- reflex/components/core/clipboard.pyi +102 -0
- reflex/components/core/debounce.pyi +23 -28
- reflex/components/core/foreach.py +3 -2
- reflex/components/core/html.pyi +38 -55
- reflex/components/core/upload.py +1 -1
- reflex/components/core/upload.pyi +74 -91
- reflex/components/datadisplay/__init__.pyi +2 -3
- reflex/components/datadisplay/code.py +3 -3
- reflex/components/datadisplay/code.pyi +22 -31
- reflex/components/datadisplay/dataeditor.pyi +41 -45
- reflex/components/el/__init__.pyi +131 -135
- reflex/components/el/element.pyi +21 -20
- reflex/components/el/elements/__init__.pyi +131 -132
- reflex/components/el/elements/base.pyi +38 -55
- reflex/components/el/elements/forms.pyi +558 -878
- reflex/components/el/elements/inline.pyi +941 -1403
- reflex/components/el/elements/media.pyi +645 -994
- reflex/components/el/elements/metadata.pyi +186 -268
- reflex/components/el/elements/other.pyi +239 -353
- reflex/components/el/elements/scripts.pyi +113 -171
- reflex/components/el/elements/sectioning.pyi +500 -739
- reflex/components/el/elements/tables.pyi +355 -551
- reflex/components/el/elements/typography.pyi +510 -760
- reflex/components/gridjs/datatable.pyi +38 -42
- reflex/components/lucide/icon.pyi +37 -38
- reflex/components/markdown/markdown.pyi +23 -36
- reflex/components/moment/moment.pyi +23 -25
- reflex/components/next/base.pyi +21 -20
- reflex/components/next/image.pyi +25 -27
- reflex/components/next/link.pyi +21 -21
- reflex/components/next/video.pyi +22 -22
- reflex/components/plotly/plotly.pyi +42 -45
- reflex/components/radix/__init__.pyi +26 -30
- reflex/components/radix/primitives/__init__.pyi +0 -2
- reflex/components/radix/primitives/accordion.pyi +119 -127
- reflex/components/radix/primitives/base.pyi +37 -40
- reflex/components/radix/primitives/drawer.pyi +175 -179
- reflex/components/radix/primitives/form.pyi +250 -336
- reflex/components/radix/primitives/progress.pyi +92 -96
- reflex/components/radix/primitives/slider.pyi +87 -89
- reflex/components/radix/themes/__init__.pyi +0 -2
- reflex/components/radix/themes/base.pyi +118 -121
- reflex/components/radix/themes/color_mode.pyi +103 -117
- reflex/components/radix/themes/components/__init__.pyi +12 -14
- reflex/components/radix/themes/components/alert_dialog.py +2 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +150 -157
- reflex/components/radix/themes/components/aspect_ratio.pyi +22 -22
- reflex/components/radix/themes/components/avatar.py +2 -1
- reflex/components/radix/themes/components/avatar.pyi +32 -23
- reflex/components/radix/themes/components/badge.py +2 -1
- reflex/components/radix/themes/components/badge.pyi +50 -57
- reflex/components/radix/themes/components/button.py +2 -1
- reflex/components/radix/themes/components/button.pyi +60 -79
- reflex/components/radix/themes/components/callout.py +2 -1
- reflex/components/radix/themes/components/callout.pyi +201 -258
- reflex/components/radix/themes/components/card.py +2 -1
- reflex/components/radix/themes/components/card.pyi +48 -56
- reflex/components/radix/themes/components/checkbox.py +2 -1
- reflex/components/radix/themes/components/checkbox.pyi +68 -62
- reflex/components/radix/themes/components/checkbox_cards.py +8 -3
- reflex/components/radix/themes/components/checkbox_cards.pyi +87 -44
- reflex/components/radix/themes/components/checkbox_group.py +2 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +49 -40
- reflex/components/radix/themes/components/context_menu.py +2 -1
- reflex/components/radix/themes/components/context_menu.pyi +153 -147
- reflex/components/radix/themes/components/data_list.py +8 -7
- reflex/components/radix/themes/components/data_list.pyi +116 -78
- reflex/components/radix/themes/components/dialog.py +2 -1
- reflex/components/radix/themes/components/dialog.pyi +154 -161
- reflex/components/radix/themes/components/dropdown_menu.py +2 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +169 -163
- reflex/components/radix/themes/components/hover_card.py +2 -1
- reflex/components/radix/themes/components/hover_card.pyi +97 -107
- reflex/components/radix/themes/components/icon_button.py +2 -1
- reflex/components/radix/themes/components/icon_button.pyi +59 -82
- reflex/components/radix/themes/components/inset.py +10 -9
- reflex/components/radix/themes/components/inset.pyi +109 -61
- reflex/components/radix/themes/components/popover.py +2 -1
- reflex/components/radix/themes/components/popover.pyi +105 -112
- reflex/components/radix/themes/components/progress.py +2 -1
- reflex/components/radix/themes/components/progress.pyi +32 -24
- reflex/components/radix/themes/components/radio.py +2 -1
- reflex/components/radix/themes/components/radio.pyi +32 -23
- reflex/components/radix/themes/components/radio_cards.py +51 -3
- reflex/components/radix/themes/components/radio_cards.pyi +120 -44
- reflex/components/radix/themes/components/radio_group.py +5 -2
- reflex/components/radix/themes/components/radio_group.pyi +82 -77
- reflex/components/radix/themes/components/scroll_area.pyi +21 -21
- reflex/components/radix/themes/components/segmented_control.py +2 -1
- reflex/components/radix/themes/components/segmented_control.pyi +52 -46
- reflex/components/radix/themes/components/select.py +2 -1
- reflex/components/radix/themes/components/select.pyi +188 -164
- reflex/components/radix/themes/components/separator.py +5 -2
- reflex/components/radix/themes/components/separator.pyi +40 -24
- reflex/components/radix/themes/components/skeleton.py +7 -6
- reflex/components/radix/themes/components/skeleton.pyi +40 -26
- reflex/components/radix/themes/components/slider.py +2 -1
- reflex/components/radix/themes/components/slider.pyi +40 -31
- reflex/components/radix/themes/components/spinner.py +2 -1
- reflex/components/radix/themes/components/spinner.pyi +31 -22
- reflex/components/radix/themes/components/switch.py +2 -1
- reflex/components/radix/themes/components/switch.pyi +33 -25
- reflex/components/radix/themes/components/table.py +2 -1
- reflex/components/radix/themes/components/table.pyi +265 -404
- reflex/components/radix/themes/components/tabs.py +14 -1
- reflex/components/radix/themes/components/tabs.pyi +113 -92
- reflex/components/radix/themes/components/text_area.py +3 -2
- reflex/components/radix/themes/components/text_area.pyi +64 -66
- reflex/components/radix/themes/components/text_field.py +2 -1
- reflex/components/radix/themes/components/text_field.pyi +116 -140
- reflex/components/radix/themes/components/tooltip.pyi +32 -37
- reflex/components/radix/themes/layout/__init__.pyi +4 -7
- reflex/components/radix/themes/layout/base.py +10 -9
- reflex/components/radix/themes/layout/base.pyi +121 -31
- reflex/components/radix/themes/layout/box.pyi +39 -53
- reflex/components/radix/themes/layout/center.pyi +89 -58
- reflex/components/radix/themes/layout/container.py +4 -1
- reflex/components/radix/themes/layout/container.pyi +51 -58
- reflex/components/radix/themes/layout/flex.py +6 -5
- reflex/components/radix/themes/layout/flex.pyi +91 -61
- reflex/components/radix/themes/layout/grid.py +9 -8
- reflex/components/radix/themes/layout/grid.pyi +116 -64
- reflex/components/radix/themes/layout/list.pyi +173 -233
- reflex/components/radix/themes/layout/section.py +4 -1
- reflex/components/radix/themes/layout/section.pyi +50 -57
- reflex/components/radix/themes/layout/spacer.pyi +89 -58
- reflex/components/radix/themes/layout/stack.pyi +160 -160
- reflex/components/radix/themes/typography/__init__.pyi +0 -2
- reflex/components/radix/themes/typography/blockquote.py +3 -2
- reflex/components/radix/themes/typography/blockquote.pyi +58 -59
- reflex/components/radix/themes/typography/code.py +3 -2
- reflex/components/radix/themes/typography/code.pyi +57 -58
- reflex/components/radix/themes/typography/heading.py +5 -4
- reflex/components/radix/themes/typography/heading.pyi +71 -60
- reflex/components/radix/themes/typography/link.py +4 -3
- reflex/components/radix/themes/typography/link.pyi +74 -82
- reflex/components/radix/themes/typography/text.py +5 -4
- reflex/components/radix/themes/typography/text.pyi +330 -364
- reflex/components/react_player/audio.pyi +37 -36
- reflex/components/react_player/react_player.pyi +37 -38
- reflex/components/react_player/video.pyi +37 -36
- reflex/components/recharts/__init__.pyi +41 -42
- reflex/components/recharts/cartesian.pyi +384 -400
- reflex/components/recharts/charts.pyi +224 -231
- reflex/components/recharts/general.pyi +89 -96
- reflex/components/recharts/polar.pyi +97 -104
- reflex/components/recharts/recharts.pyi +37 -37
- reflex/components/sonner/toast.pyi +22 -27
- reflex/components/suneditor/editor.pyi +53 -58
- reflex/config.py +6 -0
- reflex/constants/event.py +1 -0
- reflex/experimental/layout.pyi +140 -194
- reflex/model.py +14 -2
- reflex/state.py +55 -45
- reflex/style.py +24 -13
- reflex/utils/codespaces.py +94 -0
- reflex/utils/compat.py +21 -0
- reflex/utils/exceptions.py +4 -0
- reflex/utils/format.py +25 -4
- reflex/utils/prerequisites.py +0 -12
- reflex/utils/pyi_generator.py +88 -61
- reflex/utils/types.py +83 -5
- reflex/vars.py +62 -5
- reflex/vars.pyi +23 -11
- {reflex-0.5.5a1.dist-info → reflex-0.5.6.dist-info}/METADATA +5 -6
- {reflex-0.5.5a1.dist-info → reflex-0.5.6.dist-info}/RECORD +264 -255
- {reflex-0.5.5a1.dist-info → reflex-0.5.6.dist-info}/LICENSE +0 -0
- {reflex-0.5.5a1.dist-info → reflex-0.5.6.dist-info}/WHEEL +0 -0
- {reflex-0.5.5a1.dist-info → reflex-0.5.6.dist-info}/entry_points.txt +0 -0
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
"""Stub file for reflex/components/radix/themes/layout/list.py"""
|
|
2
|
+
|
|
2
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
5
|
# ------------------------------------------------------
|
|
6
|
+
from typing import Any, Callable, Dict, Iterable, Literal, Optional, Union, overload
|
|
5
7
|
|
|
6
|
-
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
|
-
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
|
-
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
|
-
from reflex.style import Style
|
|
10
|
-
from typing import Any, Iterable, Literal, Optional, Union
|
|
11
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
12
|
-
from reflex.components.core.foreach import Foreach
|
|
13
9
|
from reflex.components.el.elements.typography import Li, Ol, Ul
|
|
14
|
-
from reflex.
|
|
15
|
-
from reflex.
|
|
16
|
-
from reflex.vars import Var
|
|
10
|
+
from reflex.event import EventHandler, EventSpec
|
|
11
|
+
from reflex.style import Style
|
|
12
|
+
from reflex.vars import BaseVar, Var
|
|
17
13
|
|
|
18
14
|
LiteralListStyleTypeUnordered = Literal["none", "disc", "circle", "square"]
|
|
19
15
|
LiteralListStyleTypeOrdered = Literal[
|
|
@@ -44,7 +40,6 @@ class BaseList(Component):
|
|
|
44
40
|
Union[
|
|
45
41
|
Var[
|
|
46
42
|
Union[
|
|
47
|
-
Literal["none", "disc", "circle", "square"],
|
|
48
43
|
Literal[
|
|
49
44
|
"none",
|
|
50
45
|
"decimal",
|
|
@@ -61,26 +56,25 @@ class BaseList(Component):
|
|
|
61
56
|
"hiragana",
|
|
62
57
|
"katakana",
|
|
63
58
|
],
|
|
59
|
+
Literal["none", "disc", "circle", "square"],
|
|
64
60
|
]
|
|
65
61
|
],
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"katakana",
|
|
83
|
-
],
|
|
62
|
+
Literal["none", "disc", "circle", "square"],
|
|
63
|
+
Literal[
|
|
64
|
+
"none",
|
|
65
|
+
"decimal",
|
|
66
|
+
"decimal-leading-zero",
|
|
67
|
+
"lower-roman",
|
|
68
|
+
"upper-roman",
|
|
69
|
+
"lower-greek",
|
|
70
|
+
"lower-latin",
|
|
71
|
+
"upper-latin",
|
|
72
|
+
"armenian",
|
|
73
|
+
"georgian",
|
|
74
|
+
"lower-alpha",
|
|
75
|
+
"upper-alpha",
|
|
76
|
+
"hiragana",
|
|
77
|
+
"katakana",
|
|
84
78
|
],
|
|
85
79
|
]
|
|
86
80
|
] = None,
|
|
@@ -91,51 +85,51 @@ class BaseList(Component):
|
|
|
91
85
|
autofocus: Optional[bool] = None,
|
|
92
86
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
93
87
|
on_blur: Optional[
|
|
94
|
-
Union[EventHandler, EventSpec, list,
|
|
88
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
95
89
|
] = None,
|
|
96
90
|
on_click: Optional[
|
|
97
|
-
Union[EventHandler, EventSpec, list,
|
|
91
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
98
92
|
] = None,
|
|
99
93
|
on_context_menu: Optional[
|
|
100
|
-
Union[EventHandler, EventSpec, list,
|
|
94
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
101
95
|
] = None,
|
|
102
96
|
on_double_click: Optional[
|
|
103
|
-
Union[EventHandler, EventSpec, list,
|
|
97
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
104
98
|
] = None,
|
|
105
99
|
on_focus: Optional[
|
|
106
|
-
Union[EventHandler, EventSpec, list,
|
|
100
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
107
101
|
] = None,
|
|
108
102
|
on_mount: Optional[
|
|
109
|
-
Union[EventHandler, EventSpec, list,
|
|
103
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
110
104
|
] = None,
|
|
111
105
|
on_mouse_down: Optional[
|
|
112
|
-
Union[EventHandler, EventSpec, list,
|
|
106
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
113
107
|
] = None,
|
|
114
108
|
on_mouse_enter: Optional[
|
|
115
|
-
Union[EventHandler, EventSpec, list,
|
|
109
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
116
110
|
] = None,
|
|
117
111
|
on_mouse_leave: Optional[
|
|
118
|
-
Union[EventHandler, EventSpec, list,
|
|
112
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
119
113
|
] = None,
|
|
120
114
|
on_mouse_move: Optional[
|
|
121
|
-
Union[EventHandler, EventSpec, list,
|
|
115
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
122
116
|
] = None,
|
|
123
117
|
on_mouse_out: Optional[
|
|
124
|
-
Union[EventHandler, EventSpec, list,
|
|
118
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
125
119
|
] = None,
|
|
126
120
|
on_mouse_over: Optional[
|
|
127
|
-
Union[EventHandler, EventSpec, list,
|
|
121
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
128
122
|
] = None,
|
|
129
123
|
on_mouse_up: Optional[
|
|
130
|
-
Union[EventHandler, EventSpec, list,
|
|
124
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
131
125
|
] = None,
|
|
132
126
|
on_scroll: Optional[
|
|
133
|
-
Union[EventHandler, EventSpec, list,
|
|
127
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
134
128
|
] = None,
|
|
135
129
|
on_unmount: Optional[
|
|
136
|
-
Union[EventHandler, EventSpec, list,
|
|
130
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
137
131
|
] = None,
|
|
138
|
-
**props
|
|
132
|
+
**props,
|
|
139
133
|
) -> "BaseList":
|
|
140
134
|
"""Create a list component.
|
|
141
135
|
|
|
@@ -167,46 +161,30 @@ class UnorderedList(BaseList, Ul):
|
|
|
167
161
|
*children,
|
|
168
162
|
items: Optional[Union[Var[Iterable], Iterable]] = None,
|
|
169
163
|
list_style_type: Optional[LiteralListStyleTypeUnordered] = "disc",
|
|
170
|
-
access_key: Optional[
|
|
171
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
172
|
-
] = None,
|
|
164
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
173
165
|
auto_capitalize: Optional[
|
|
174
|
-
Union[Var[Union[
|
|
166
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
175
167
|
] = None,
|
|
176
168
|
content_editable: Optional[
|
|
177
|
-
Union[Var[Union[
|
|
169
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
178
170
|
] = None,
|
|
179
171
|
context_menu: Optional[
|
|
180
|
-
Union[Var[Union[
|
|
181
|
-
] = None,
|
|
182
|
-
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
183
|
-
draggable: Optional[
|
|
184
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
172
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
185
173
|
] = None,
|
|
174
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
175
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
186
176
|
enter_key_hint: Optional[
|
|
187
|
-
Union[Var[Union[
|
|
188
|
-
] = None,
|
|
189
|
-
hidden: Optional[
|
|
190
|
-
|
|
191
|
-
] = None,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
] = None,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
] = None,
|
|
198
|
-
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
199
|
-
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
200
|
-
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
201
|
-
spell_check: Optional[
|
|
202
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
203
|
-
] = None,
|
|
204
|
-
tab_index: Optional[
|
|
205
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
206
|
-
] = None,
|
|
207
|
-
title: Optional[
|
|
208
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
209
|
-
] = None,
|
|
177
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
178
|
+
] = None,
|
|
179
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
180
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
181
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
182
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
183
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
184
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
185
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
186
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
187
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
210
188
|
style: Optional[Style] = None,
|
|
211
189
|
key: Optional[Any] = None,
|
|
212
190
|
id: Optional[Any] = None,
|
|
@@ -214,51 +192,51 @@ class UnorderedList(BaseList, Ul):
|
|
|
214
192
|
autofocus: Optional[bool] = None,
|
|
215
193
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
216
194
|
on_blur: Optional[
|
|
217
|
-
Union[EventHandler, EventSpec, list,
|
|
195
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
218
196
|
] = None,
|
|
219
197
|
on_click: Optional[
|
|
220
|
-
Union[EventHandler, EventSpec, list,
|
|
198
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
221
199
|
] = None,
|
|
222
200
|
on_context_menu: Optional[
|
|
223
|
-
Union[EventHandler, EventSpec, list,
|
|
201
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
224
202
|
] = None,
|
|
225
203
|
on_double_click: Optional[
|
|
226
|
-
Union[EventHandler, EventSpec, list,
|
|
204
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
227
205
|
] = None,
|
|
228
206
|
on_focus: Optional[
|
|
229
|
-
Union[EventHandler, EventSpec, list,
|
|
207
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
230
208
|
] = None,
|
|
231
209
|
on_mount: Optional[
|
|
232
|
-
Union[EventHandler, EventSpec, list,
|
|
210
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
233
211
|
] = None,
|
|
234
212
|
on_mouse_down: Optional[
|
|
235
|
-
Union[EventHandler, EventSpec, list,
|
|
213
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
236
214
|
] = None,
|
|
237
215
|
on_mouse_enter: Optional[
|
|
238
|
-
Union[EventHandler, EventSpec, list,
|
|
216
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
239
217
|
] = None,
|
|
240
218
|
on_mouse_leave: Optional[
|
|
241
|
-
Union[EventHandler, EventSpec, list,
|
|
219
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
242
220
|
] = None,
|
|
243
221
|
on_mouse_move: Optional[
|
|
244
|
-
Union[EventHandler, EventSpec, list,
|
|
222
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
245
223
|
] = None,
|
|
246
224
|
on_mouse_out: Optional[
|
|
247
|
-
Union[EventHandler, EventSpec, list,
|
|
225
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
248
226
|
] = None,
|
|
249
227
|
on_mouse_over: Optional[
|
|
250
|
-
Union[EventHandler, EventSpec, list,
|
|
228
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
251
229
|
] = None,
|
|
252
230
|
on_mouse_up: Optional[
|
|
253
|
-
Union[EventHandler, EventSpec, list,
|
|
231
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
254
232
|
] = None,
|
|
255
233
|
on_scroll: Optional[
|
|
256
|
-
Union[EventHandler, EventSpec, list,
|
|
234
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
257
235
|
] = None,
|
|
258
236
|
on_unmount: Optional[
|
|
259
|
-
Union[EventHandler, EventSpec, list,
|
|
237
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
260
238
|
] = None,
|
|
261
|
-
**props
|
|
239
|
+
**props,
|
|
262
240
|
) -> "UnorderedList":
|
|
263
241
|
"""Create a unordered list component.
|
|
264
242
|
|
|
@@ -304,53 +282,33 @@ class OrderedList(BaseList, Ol):
|
|
|
304
282
|
*children,
|
|
305
283
|
items: Optional[Union[Var[Iterable], Iterable]] = None,
|
|
306
284
|
list_style_type: Optional[LiteralListStyleTypeOrdered] = "decimal",
|
|
307
|
-
reversed: Optional[
|
|
308
|
-
|
|
309
|
-
] = None,
|
|
310
|
-
|
|
311
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
312
|
-
] = None,
|
|
313
|
-
type: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
314
|
-
access_key: Optional[
|
|
315
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
316
|
-
] = None,
|
|
285
|
+
reversed: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
286
|
+
start: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
287
|
+
type: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
288
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
317
289
|
auto_capitalize: Optional[
|
|
318
|
-
Union[Var[Union[
|
|
290
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
319
291
|
] = None,
|
|
320
292
|
content_editable: Optional[
|
|
321
|
-
Union[Var[Union[
|
|
293
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
322
294
|
] = None,
|
|
323
295
|
context_menu: Optional[
|
|
324
|
-
Union[Var[Union[
|
|
325
|
-
] = None,
|
|
326
|
-
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
327
|
-
draggable: Optional[
|
|
328
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
296
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
329
297
|
] = None,
|
|
298
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
299
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
330
300
|
enter_key_hint: Optional[
|
|
331
|
-
Union[Var[Union[
|
|
332
|
-
] = None,
|
|
333
|
-
hidden: Optional[
|
|
334
|
-
|
|
335
|
-
] = None,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
] = None,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
] = None,
|
|
342
|
-
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
343
|
-
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
344
|
-
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
345
|
-
spell_check: Optional[
|
|
346
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
347
|
-
] = None,
|
|
348
|
-
tab_index: Optional[
|
|
349
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
350
|
-
] = None,
|
|
351
|
-
title: Optional[
|
|
352
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
353
|
-
] = None,
|
|
301
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
302
|
+
] = None,
|
|
303
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
304
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
305
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
306
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
307
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
308
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
309
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
310
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
311
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
354
312
|
style: Optional[Style] = None,
|
|
355
313
|
key: Optional[Any] = None,
|
|
356
314
|
id: Optional[Any] = None,
|
|
@@ -358,51 +316,51 @@ class OrderedList(BaseList, Ol):
|
|
|
358
316
|
autofocus: Optional[bool] = None,
|
|
359
317
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
360
318
|
on_blur: Optional[
|
|
361
|
-
Union[EventHandler, EventSpec, list,
|
|
319
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
362
320
|
] = None,
|
|
363
321
|
on_click: Optional[
|
|
364
|
-
Union[EventHandler, EventSpec, list,
|
|
322
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
365
323
|
] = None,
|
|
366
324
|
on_context_menu: Optional[
|
|
367
|
-
Union[EventHandler, EventSpec, list,
|
|
325
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
368
326
|
] = None,
|
|
369
327
|
on_double_click: Optional[
|
|
370
|
-
Union[EventHandler, EventSpec, list,
|
|
328
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
371
329
|
] = None,
|
|
372
330
|
on_focus: Optional[
|
|
373
|
-
Union[EventHandler, EventSpec, list,
|
|
331
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
374
332
|
] = None,
|
|
375
333
|
on_mount: Optional[
|
|
376
|
-
Union[EventHandler, EventSpec, list,
|
|
334
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
377
335
|
] = None,
|
|
378
336
|
on_mouse_down: Optional[
|
|
379
|
-
Union[EventHandler, EventSpec, list,
|
|
337
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
380
338
|
] = None,
|
|
381
339
|
on_mouse_enter: Optional[
|
|
382
|
-
Union[EventHandler, EventSpec, list,
|
|
340
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
383
341
|
] = None,
|
|
384
342
|
on_mouse_leave: Optional[
|
|
385
|
-
Union[EventHandler, EventSpec, list,
|
|
343
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
386
344
|
] = None,
|
|
387
345
|
on_mouse_move: Optional[
|
|
388
|
-
Union[EventHandler, EventSpec, list,
|
|
346
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
389
347
|
] = None,
|
|
390
348
|
on_mouse_out: Optional[
|
|
391
|
-
Union[EventHandler, EventSpec, list,
|
|
349
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
392
350
|
] = None,
|
|
393
351
|
on_mouse_over: Optional[
|
|
394
|
-
Union[EventHandler, EventSpec, list,
|
|
352
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
395
353
|
] = None,
|
|
396
354
|
on_mouse_up: Optional[
|
|
397
|
-
Union[EventHandler, EventSpec, list,
|
|
355
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
398
356
|
] = None,
|
|
399
357
|
on_scroll: Optional[
|
|
400
|
-
Union[EventHandler, EventSpec, list,
|
|
358
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
401
359
|
] = None,
|
|
402
360
|
on_unmount: Optional[
|
|
403
|
-
Union[EventHandler, EventSpec, list,
|
|
361
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
404
362
|
] = None,
|
|
405
|
-
**props
|
|
363
|
+
**props,
|
|
406
364
|
) -> "OrderedList":
|
|
407
365
|
"""Create an ordered list component.
|
|
408
366
|
|
|
@@ -449,46 +407,30 @@ class ListItem(Li):
|
|
|
449
407
|
def create( # type: ignore
|
|
450
408
|
cls,
|
|
451
409
|
*children,
|
|
452
|
-
access_key: Optional[
|
|
453
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
454
|
-
] = None,
|
|
410
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
455
411
|
auto_capitalize: Optional[
|
|
456
|
-
Union[Var[Union[
|
|
412
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
457
413
|
] = None,
|
|
458
414
|
content_editable: Optional[
|
|
459
|
-
Union[Var[Union[
|
|
415
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
460
416
|
] = None,
|
|
461
417
|
context_menu: Optional[
|
|
462
|
-
Union[Var[Union[
|
|
463
|
-
] = None,
|
|
464
|
-
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
465
|
-
draggable: Optional[
|
|
466
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
418
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
467
419
|
] = None,
|
|
420
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
421
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
468
422
|
enter_key_hint: Optional[
|
|
469
|
-
Union[Var[Union[
|
|
470
|
-
] = None,
|
|
471
|
-
hidden: Optional[
|
|
472
|
-
|
|
473
|
-
] = None,
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
] = None,
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
] = None,
|
|
480
|
-
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
481
|
-
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
482
|
-
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
483
|
-
spell_check: Optional[
|
|
484
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
485
|
-
] = None,
|
|
486
|
-
tab_index: Optional[
|
|
487
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
488
|
-
] = None,
|
|
489
|
-
title: Optional[
|
|
490
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
491
|
-
] = None,
|
|
423
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
424
|
+
] = None,
|
|
425
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
426
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
427
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
428
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
429
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
430
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
431
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
432
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
433
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
492
434
|
style: Optional[Style] = None,
|
|
493
435
|
key: Optional[Any] = None,
|
|
494
436
|
id: Optional[Any] = None,
|
|
@@ -496,51 +438,51 @@ class ListItem(Li):
|
|
|
496
438
|
autofocus: Optional[bool] = None,
|
|
497
439
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
498
440
|
on_blur: Optional[
|
|
499
|
-
Union[EventHandler, EventSpec, list,
|
|
441
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
500
442
|
] = None,
|
|
501
443
|
on_click: Optional[
|
|
502
|
-
Union[EventHandler, EventSpec, list,
|
|
444
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
503
445
|
] = None,
|
|
504
446
|
on_context_menu: Optional[
|
|
505
|
-
Union[EventHandler, EventSpec, list,
|
|
447
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
506
448
|
] = None,
|
|
507
449
|
on_double_click: Optional[
|
|
508
|
-
Union[EventHandler, EventSpec, list,
|
|
450
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
509
451
|
] = None,
|
|
510
452
|
on_focus: Optional[
|
|
511
|
-
Union[EventHandler, EventSpec, list,
|
|
453
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
512
454
|
] = None,
|
|
513
455
|
on_mount: Optional[
|
|
514
|
-
Union[EventHandler, EventSpec, list,
|
|
456
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
515
457
|
] = None,
|
|
516
458
|
on_mouse_down: Optional[
|
|
517
|
-
Union[EventHandler, EventSpec, list,
|
|
459
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
518
460
|
] = None,
|
|
519
461
|
on_mouse_enter: Optional[
|
|
520
|
-
Union[EventHandler, EventSpec, list,
|
|
462
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
521
463
|
] = None,
|
|
522
464
|
on_mouse_leave: Optional[
|
|
523
|
-
Union[EventHandler, EventSpec, list,
|
|
465
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
524
466
|
] = None,
|
|
525
467
|
on_mouse_move: Optional[
|
|
526
|
-
Union[EventHandler, EventSpec, list,
|
|
468
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
527
469
|
] = None,
|
|
528
470
|
on_mouse_out: Optional[
|
|
529
|
-
Union[EventHandler, EventSpec, list,
|
|
471
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
530
472
|
] = None,
|
|
531
473
|
on_mouse_over: Optional[
|
|
532
|
-
Union[EventHandler, EventSpec, list,
|
|
474
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
533
475
|
] = None,
|
|
534
476
|
on_mouse_up: Optional[
|
|
535
|
-
Union[EventHandler, EventSpec, list,
|
|
477
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
536
478
|
] = None,
|
|
537
479
|
on_scroll: Optional[
|
|
538
|
-
Union[EventHandler, EventSpec, list,
|
|
480
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
539
481
|
] = None,
|
|
540
482
|
on_unmount: Optional[
|
|
541
|
-
Union[EventHandler, EventSpec, list,
|
|
483
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
542
484
|
] = None,
|
|
543
|
-
**props
|
|
485
|
+
**props,
|
|
544
486
|
) -> "ListItem":
|
|
545
487
|
"""Create a list item component.
|
|
546
488
|
|
|
@@ -589,7 +531,6 @@ class List(ComponentNamespace):
|
|
|
589
531
|
Union[
|
|
590
532
|
Var[
|
|
591
533
|
Union[
|
|
592
|
-
Literal["none", "disc", "circle", "square"],
|
|
593
534
|
Literal[
|
|
594
535
|
"none",
|
|
595
536
|
"decimal",
|
|
@@ -606,26 +547,25 @@ class List(ComponentNamespace):
|
|
|
606
547
|
"hiragana",
|
|
607
548
|
"katakana",
|
|
608
549
|
],
|
|
550
|
+
Literal["none", "disc", "circle", "square"],
|
|
609
551
|
]
|
|
610
552
|
],
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
"katakana",
|
|
628
|
-
],
|
|
553
|
+
Literal["none", "disc", "circle", "square"],
|
|
554
|
+
Literal[
|
|
555
|
+
"none",
|
|
556
|
+
"decimal",
|
|
557
|
+
"decimal-leading-zero",
|
|
558
|
+
"lower-roman",
|
|
559
|
+
"upper-roman",
|
|
560
|
+
"lower-greek",
|
|
561
|
+
"lower-latin",
|
|
562
|
+
"upper-latin",
|
|
563
|
+
"armenian",
|
|
564
|
+
"georgian",
|
|
565
|
+
"lower-alpha",
|
|
566
|
+
"upper-alpha",
|
|
567
|
+
"hiragana",
|
|
568
|
+
"katakana",
|
|
629
569
|
],
|
|
630
570
|
]
|
|
631
571
|
] = None,
|
|
@@ -636,51 +576,51 @@ class List(ComponentNamespace):
|
|
|
636
576
|
autofocus: Optional[bool] = None,
|
|
637
577
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
638
578
|
on_blur: Optional[
|
|
639
|
-
Union[EventHandler, EventSpec, list,
|
|
579
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
640
580
|
] = None,
|
|
641
581
|
on_click: Optional[
|
|
642
|
-
Union[EventHandler, EventSpec, list,
|
|
582
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
643
583
|
] = None,
|
|
644
584
|
on_context_menu: Optional[
|
|
645
|
-
Union[EventHandler, EventSpec, list,
|
|
585
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
646
586
|
] = None,
|
|
647
587
|
on_double_click: Optional[
|
|
648
|
-
Union[EventHandler, EventSpec, list,
|
|
588
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
649
589
|
] = None,
|
|
650
590
|
on_focus: Optional[
|
|
651
|
-
Union[EventHandler, EventSpec, list,
|
|
591
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
652
592
|
] = None,
|
|
653
593
|
on_mount: Optional[
|
|
654
|
-
Union[EventHandler, EventSpec, list,
|
|
594
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
655
595
|
] = None,
|
|
656
596
|
on_mouse_down: Optional[
|
|
657
|
-
Union[EventHandler, EventSpec, list,
|
|
597
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
658
598
|
] = None,
|
|
659
599
|
on_mouse_enter: Optional[
|
|
660
|
-
Union[EventHandler, EventSpec, list,
|
|
600
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
661
601
|
] = None,
|
|
662
602
|
on_mouse_leave: Optional[
|
|
663
|
-
Union[EventHandler, EventSpec, list,
|
|
603
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
664
604
|
] = None,
|
|
665
605
|
on_mouse_move: Optional[
|
|
666
|
-
Union[EventHandler, EventSpec, list,
|
|
606
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
667
607
|
] = None,
|
|
668
608
|
on_mouse_out: Optional[
|
|
669
|
-
Union[EventHandler, EventSpec, list,
|
|
609
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
670
610
|
] = None,
|
|
671
611
|
on_mouse_over: Optional[
|
|
672
|
-
Union[EventHandler, EventSpec, list,
|
|
612
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
673
613
|
] = None,
|
|
674
614
|
on_mouse_up: Optional[
|
|
675
|
-
Union[EventHandler, EventSpec, list,
|
|
615
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
676
616
|
] = None,
|
|
677
617
|
on_scroll: Optional[
|
|
678
|
-
Union[EventHandler, EventSpec, list,
|
|
618
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
679
619
|
] = None,
|
|
680
620
|
on_unmount: Optional[
|
|
681
|
-
Union[EventHandler, EventSpec, list,
|
|
621
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
682
622
|
] = None,
|
|
683
|
-
**props
|
|
623
|
+
**props,
|
|
684
624
|
) -> "BaseList":
|
|
685
625
|
"""Create a list component.
|
|
686
626
|
|