reflex 0.6.0a1__py3-none-any.whl → 0.6.0a3__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/custom_components/pyproject.toml.jinja2 +2 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- reflex/__init__.py +8 -2
- reflex/__init__.pyi +2 -1
- reflex/app.py +10 -4
- reflex/base.py +1 -1
- reflex/compiler/compiler.py +2 -2
- reflex/compiler/utils.py +3 -3
- reflex/components/base/app_wrap.py +2 -2
- reflex/components/base/app_wrap.pyi +17 -27
- reflex/components/base/bare.py +4 -5
- reflex/components/base/body.pyi +17 -27
- reflex/components/base/document.pyi +81 -131
- reflex/components/base/error_boundary.py +6 -7
- reflex/components/base/error_boundary.pyi +20 -33
- reflex/components/base/fragment.pyi +17 -27
- reflex/components/base/head.pyi +33 -53
- reflex/components/base/link.py +1 -1
- reflex/components/base/link.pyi +33 -54
- reflex/components/base/meta.pyi +65 -105
- reflex/components/base/script.py +1 -2
- reflex/components/base/script.pyi +21 -38
- reflex/components/component.py +45 -47
- reflex/components/core/banner.py +23 -27
- reflex/components/core/banner.pyi +134 -171
- reflex/components/core/breakpoints.py +3 -1
- reflex/components/core/client_side_routing.py +2 -3
- reflex/components/core/client_side_routing.pyi +33 -54
- reflex/components/core/clipboard.py +2 -1
- reflex/components/core/clipboard.pyi +20 -33
- reflex/components/core/cond.py +5 -5
- reflex/components/core/debounce.py +5 -5
- reflex/components/core/debounce.pyi +20 -33
- reflex/components/core/foreach.py +3 -4
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +35 -46
- reflex/components/core/match.py +17 -17
- reflex/components/core/upload.py +17 -23
- reflex/components/core/upload.pyi +78 -124
- reflex/components/datadisplay/code.py +9 -10
- reflex/components/datadisplay/code.pyi +302 -412
- reflex/components/datadisplay/dataeditor.py +8 -10
- reflex/components/datadisplay/dataeditor.pyi +40 -53
- reflex/components/el/element.pyi +17 -27
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +34 -45
- reflex/components/el/elements/forms.py +16 -16
- reflex/components/el/elements/forms.pyi +554 -707
- reflex/components/el/elements/inline.py +1 -1
- reflex/components/el/elements/inline.pyi +937 -1218
- reflex/components/el/elements/media.py +1 -1
- reflex/components/el/elements/media.pyi +786 -997
- reflex/components/el/elements/metadata.py +3 -6
- reflex/components/el/elements/metadata.pyi +181 -242
- reflex/components/el/elements/other.py +1 -1
- reflex/components/el/elements/other.pyi +235 -306
- reflex/components/el/elements/scripts.py +1 -1
- reflex/components/el/elements/scripts.pyi +109 -140
- reflex/components/el/elements/sectioning.py +0 -2
- reflex/components/el/elements/sectioning.pyi +496 -647
- reflex/components/el/elements/tables.py +1 -1
- reflex/components/el/elements/tables.pyi +351 -452
- reflex/components/el/elements/typography.py +1 -1
- reflex/components/el/elements/typography.pyi +506 -657
- reflex/components/gridjs/datatable.py +6 -9
- reflex/components/gridjs/datatable.pyi +35 -56
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +33 -54
- reflex/components/markdown/markdown.py +26 -31
- reflex/components/markdown/markdown.pyi +27 -37
- reflex/components/moment/moment.py +13 -12
- reflex/components/moment/moment.pyi +23 -35
- reflex/components/next/base.pyi +17 -27
- reflex/components/next/image.py +1 -1
- reflex/components/next/image.pyi +22 -37
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +17 -28
- reflex/components/next/video.py +1 -1
- reflex/components/next/video.pyi +17 -28
- reflex/components/plotly/plotly.py +12 -13
- reflex/components/plotly/plotly.pyi +39 -54
- reflex/components/props.py +1 -1
- reflex/components/radix/__init__.pyi +1 -0
- reflex/components/radix/primitives/__init__.pyi +1 -0
- reflex/components/radix/primitives/accordion.py +4 -4
- reflex/components/radix/primitives/accordion.pyi +424 -495
- reflex/components/radix/primitives/base.py +1 -1
- reflex/components/radix/primitives/base.pyi +33 -54
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/drawer.pyi +172 -273
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +257 -364
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +231 -282
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +87 -138
- reflex/components/radix/themes/base.py +3 -24
- reflex/components/radix/themes/base.pyi +178 -250
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +187 -220
- reflex/components/radix/themes/components/alert_dialog.py +1 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +136 -207
- reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -28
- reflex/components/radix/themes/components/avatar.py +1 -1
- reflex/components/radix/themes/components/avatar.pyi +70 -81
- reflex/components/radix/themes/components/badge.py +1 -1
- reflex/components/radix/themes/components/badge.pyi +88 -99
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +98 -109
- reflex/components/radix/themes/components/callout.py +1 -1
- reflex/components/radix/themes/components/callout.pyi +322 -373
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +38 -49
- reflex/components/radix/themes/components/checkbox.py +1 -2
- reflex/components/radix/themes/components/checkbox.pyi +208 -245
- reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- reflex/components/radix/themes/components/checkbox_cards.pyi +94 -115
- reflex/components/radix/themes/components/checkbox_group.py +1 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +86 -107
- reflex/components/radix/themes/components/context_menu.py +1 -1
- reflex/components/radix/themes/components/context_menu.pyi +238 -319
- reflex/components/radix/themes/components/data_list.py +1 -1
- reflex/components/radix/themes/components/data_list.pyi +130 -171
- reflex/components/radix/themes/components/dialog.py +1 -1
- reflex/components/radix/themes/components/dialog.pyi +139 -210
- reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +249 -332
- reflex/components/radix/themes/components/hover_card.py +1 -1
- reflex/components/radix/themes/components/hover_card.pyi +90 -131
- reflex/components/radix/themes/components/icon_button.py +2 -3
- reflex/components/radix/themes/components/icon_button.pyi +98 -109
- reflex/components/radix/themes/components/inset.py +1 -1
- reflex/components/radix/themes/components/inset.pyi +47 -58
- reflex/components/radix/themes/components/popover.py +1 -1
- reflex/components/radix/themes/components/popover.pyi +95 -136
- reflex/components/radix/themes/components/progress.py +1 -1
- reflex/components/radix/themes/components/progress.pyi +71 -82
- reflex/components/radix/themes/components/radio.py +1 -1
- reflex/components/radix/themes/components/radio.pyi +69 -80
- reflex/components/radix/themes/components/radio_cards.py +1 -1
- reflex/components/radix/themes/components/radio_cards.pyi +98 -119
- reflex/components/radix/themes/components/radio_group.py +8 -11
- reflex/components/radix/themes/components/radio_group.pyi +228 -271
- reflex/components/radix/themes/components/scroll_area.py +1 -1
- reflex/components/radix/themes/components/scroll_area.pyi +21 -32
- reflex/components/radix/themes/components/segmented_control.py +1 -1
- reflex/components/radix/themes/components/segmented_control.pyi +90 -113
- reflex/components/radix/themes/components/select.py +2 -3
- reflex/components/radix/themes/components/select.pyi +374 -471
- reflex/components/radix/themes/components/separator.py +1 -2
- reflex/components/radix/themes/components/separator.pyi +69 -80
- reflex/components/radix/themes/components/skeleton.py +1 -1
- reflex/components/radix/themes/components/skeleton.pyi +23 -34
- reflex/components/radix/themes/components/slider.py +2 -3
- reflex/components/radix/themes/components/slider.pyi +75 -88
- reflex/components/radix/themes/components/spinner.py +1 -1
- reflex/components/radix/themes/components/spinner.pyi +19 -30
- reflex/components/radix/themes/components/switch.py +1 -1
- reflex/components/radix/themes/components/switch.pyi +71 -84
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +261 -332
- reflex/components/radix/themes/components/tabs.py +1 -1
- reflex/components/radix/themes/components/tabs.pyi +139 -194
- reflex/components/radix/themes/components/text_area.py +1 -1
- reflex/components/radix/themes/components/text_area.pyi +96 -111
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +247 -286
- reflex/components/radix/themes/components/tooltip.py +1 -1
- reflex/components/radix/themes/components/tooltip.pyi +26 -37
- reflex/components/radix/themes/layout/__init__.pyi +1 -0
- reflex/components/radix/themes/layout/base.py +1 -1
- reflex/components/radix/themes/layout/base.pyi +56 -67
- reflex/components/radix/themes/layout/box.pyi +34 -45
- reflex/components/radix/themes/layout/center.pyi +56 -67
- reflex/components/radix/themes/layout/container.py +1 -2
- reflex/components/radix/themes/layout/container.pyi +36 -47
- reflex/components/radix/themes/layout/flex.py +1 -1
- reflex/components/radix/themes/layout/flex.pyi +56 -67
- reflex/components/radix/themes/layout/grid.py +1 -1
- reflex/components/radix/themes/layout/grid.pyi +64 -75
- reflex/components/radix/themes/layout/list.py +5 -6
- reflex/components/radix/themes/layout/list.pyi +193 -244
- reflex/components/radix/themes/layout/section.py +1 -2
- reflex/components/radix/themes/layout/section.pyi +36 -47
- reflex/components/radix/themes/layout/spacer.pyi +56 -67
- reflex/components/radix/themes/layout/stack.py +1 -1
- reflex/components/radix/themes/layout/stack.pyi +128 -159
- reflex/components/radix/themes/typography/blockquote.py +1 -1
- reflex/components/radix/themes/typography/blockquote.pyi +89 -100
- reflex/components/radix/themes/typography/code.py +1 -1
- reflex/components/radix/themes/typography/code.pyi +90 -101
- reflex/components/radix/themes/typography/heading.py +1 -1
- reflex/components/radix/themes/typography/heading.pyi +96 -107
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +102 -113
- reflex/components/radix/themes/typography/text.py +1 -1
- reflex/components/radix/themes/typography/text.pyi +501 -572
- reflex/components/react_player/audio.pyi +33 -60
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +33 -60
- reflex/components/react_player/video.pyi +33 -60
- reflex/components/recharts/cartesian.py +2 -3
- reflex/components/recharts/cartesian.pyi +678 -861
- reflex/components/recharts/charts.py +4 -5
- reflex/components/recharts/charts.pyi +252 -357
- reflex/components/recharts/general.py +1 -2
- reflex/components/recharts/general.pyi +180 -231
- reflex/components/recharts/polar.py +4 -5
- reflex/components/recharts/polar.pyi +144 -181
- reflex/components/recharts/recharts.pyi +33 -53
- reflex/components/sonner/toast.py +16 -17
- reflex/components/sonner/toast.pyi +36 -47
- reflex/components/suneditor/editor.py +2 -3
- reflex/components/suneditor/editor.pyi +55 -78
- reflex/components/tags/cond_tag.py +6 -4
- reflex/components/tags/iter_tag.py +28 -16
- reflex/components/tags/match_tag.py +6 -4
- reflex/components/tags/tag.py +40 -23
- reflex/custom_components/custom_components.py +3 -1
- reflex/event.py +115 -67
- reflex/experimental/client_state.py +18 -18
- reflex/experimental/hooks.py +16 -16
- reflex/experimental/layout.py +5 -5
- reflex/experimental/layout.pyi +136 -187
- reflex/middleware/hydrate_middleware.py +2 -0
- reflex/middleware/middleware.py +3 -3
- reflex/state.py +149 -82
- reflex/style.py +21 -22
- reflex/utils/exceptions.py +20 -0
- reflex/utils/format.py +54 -34
- reflex/utils/imports.py +16 -73
- reflex/utils/prerequisites.py +15 -8
- reflex/utils/pyi_generator.py +13 -8
- reflex/utils/serializers.py +12 -22
- reflex/utils/telemetry.py +3 -2
- reflex/utils/types.py +11 -6
- reflex/{ivars → vars}/__init__.py +6 -2
- reflex/{ivars → vars}/base.py +599 -216
- reflex/{ivars → vars}/function.py +15 -19
- reflex/{ivars → vars}/number.py +41 -20
- reflex/{ivars → vars}/object.py +28 -30
- reflex/{ivars → vars}/sequence.py +53 -42
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/METADATA +4 -6
- reflex-0.6.0a3.dist-info/RECORD +382 -0
- reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +0 -36
- reflex/vars.py +0 -501
- reflex-0.6.0a1.dist-info/RECORD +0 -384
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/LICENSE +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/WHEEL +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/entry_points.txt +0 -0
|
@@ -9,9 +9,8 @@ from reflex.components.component import Component, ComponentNamespace
|
|
|
9
9
|
from reflex.components.lucide.icon import Icon
|
|
10
10
|
from reflex.components.radix.primitives.base import RadixPrimitiveComponent
|
|
11
11
|
from reflex.event import EventHandler, EventSpec
|
|
12
|
-
from reflex.ivars.base import ImmutableVar
|
|
13
12
|
from reflex.style import Style
|
|
14
|
-
from reflex.vars import Var
|
|
13
|
+
from reflex.vars.base import Var
|
|
15
14
|
|
|
16
15
|
LiteralAccordionType = Literal["single", "multiple"]
|
|
17
16
|
LiteralAccordionDir = Literal["ltr", "rtl"]
|
|
@@ -29,70 +28,70 @@ class AccordionComponent(RadixPrimitiveComponent):
|
|
|
29
28
|
*children,
|
|
30
29
|
color_scheme: Optional[
|
|
31
30
|
Union[
|
|
31
|
+
Literal[
|
|
32
|
+
"amber",
|
|
33
|
+
"blue",
|
|
34
|
+
"bronze",
|
|
35
|
+
"brown",
|
|
36
|
+
"crimson",
|
|
37
|
+
"cyan",
|
|
38
|
+
"gold",
|
|
39
|
+
"grass",
|
|
40
|
+
"gray",
|
|
41
|
+
"green",
|
|
42
|
+
"indigo",
|
|
43
|
+
"iris",
|
|
44
|
+
"jade",
|
|
45
|
+
"lime",
|
|
46
|
+
"mint",
|
|
47
|
+
"orange",
|
|
48
|
+
"pink",
|
|
49
|
+
"plum",
|
|
50
|
+
"purple",
|
|
51
|
+
"red",
|
|
52
|
+
"ruby",
|
|
53
|
+
"sky",
|
|
54
|
+
"teal",
|
|
55
|
+
"tomato",
|
|
56
|
+
"violet",
|
|
57
|
+
"yellow",
|
|
58
|
+
],
|
|
32
59
|
Var[
|
|
33
60
|
Literal[
|
|
34
|
-
"
|
|
35
|
-
"red",
|
|
36
|
-
"ruby",
|
|
37
|
-
"crimson",
|
|
38
|
-
"pink",
|
|
39
|
-
"plum",
|
|
40
|
-
"purple",
|
|
41
|
-
"violet",
|
|
42
|
-
"iris",
|
|
43
|
-
"indigo",
|
|
61
|
+
"amber",
|
|
44
62
|
"blue",
|
|
63
|
+
"bronze",
|
|
64
|
+
"brown",
|
|
65
|
+
"crimson",
|
|
45
66
|
"cyan",
|
|
46
|
-
"
|
|
47
|
-
"jade",
|
|
48
|
-
"green",
|
|
67
|
+
"gold",
|
|
49
68
|
"grass",
|
|
50
|
-
"
|
|
69
|
+
"gray",
|
|
70
|
+
"green",
|
|
71
|
+
"indigo",
|
|
72
|
+
"iris",
|
|
73
|
+
"jade",
|
|
74
|
+
"lime",
|
|
75
|
+
"mint",
|
|
51
76
|
"orange",
|
|
77
|
+
"pink",
|
|
78
|
+
"plum",
|
|
79
|
+
"purple",
|
|
80
|
+
"red",
|
|
81
|
+
"ruby",
|
|
52
82
|
"sky",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
83
|
+
"teal",
|
|
84
|
+
"tomato",
|
|
85
|
+
"violet",
|
|
55
86
|
"yellow",
|
|
56
|
-
"amber",
|
|
57
|
-
"gold",
|
|
58
|
-
"bronze",
|
|
59
|
-
"gray",
|
|
60
87
|
]
|
|
61
88
|
],
|
|
62
|
-
Literal[
|
|
63
|
-
"tomato",
|
|
64
|
-
"red",
|
|
65
|
-
"ruby",
|
|
66
|
-
"crimson",
|
|
67
|
-
"pink",
|
|
68
|
-
"plum",
|
|
69
|
-
"purple",
|
|
70
|
-
"violet",
|
|
71
|
-
"iris",
|
|
72
|
-
"indigo",
|
|
73
|
-
"blue",
|
|
74
|
-
"cyan",
|
|
75
|
-
"teal",
|
|
76
|
-
"jade",
|
|
77
|
-
"green",
|
|
78
|
-
"grass",
|
|
79
|
-
"brown",
|
|
80
|
-
"orange",
|
|
81
|
-
"sky",
|
|
82
|
-
"mint",
|
|
83
|
-
"lime",
|
|
84
|
-
"yellow",
|
|
85
|
-
"amber",
|
|
86
|
-
"gold",
|
|
87
|
-
"bronze",
|
|
88
|
-
"gray",
|
|
89
|
-
],
|
|
90
89
|
]
|
|
91
90
|
] = None,
|
|
92
91
|
variant: Optional[
|
|
93
92
|
Union[
|
|
94
|
-
|
|
95
|
-
Literal["classic", "
|
|
93
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
94
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
96
95
|
]
|
|
97
96
|
] = None,
|
|
98
97
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -101,51 +100,41 @@ class AccordionComponent(RadixPrimitiveComponent):
|
|
|
101
100
|
id: Optional[Any] = None,
|
|
102
101
|
class_name: Optional[Any] = None,
|
|
103
102
|
autofocus: Optional[bool] = None,
|
|
104
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
105
|
-
on_blur: Optional[
|
|
106
|
-
|
|
107
|
-
] = None,
|
|
108
|
-
on_click: Optional[
|
|
109
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
110
|
-
] = None,
|
|
103
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
104
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
105
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
111
106
|
on_context_menu: Optional[
|
|
112
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
107
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
113
108
|
] = None,
|
|
114
109
|
on_double_click: Optional[
|
|
115
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
116
|
-
] = None,
|
|
117
|
-
on_focus: Optional[
|
|
118
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
119
|
-
] = None,
|
|
120
|
-
on_mount: Optional[
|
|
121
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
110
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
122
111
|
] = None,
|
|
112
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
113
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
123
114
|
on_mouse_down: Optional[
|
|
124
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
115
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
125
116
|
] = None,
|
|
126
117
|
on_mouse_enter: Optional[
|
|
127
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
118
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
128
119
|
] = None,
|
|
129
120
|
on_mouse_leave: Optional[
|
|
130
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
121
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
131
122
|
] = None,
|
|
132
123
|
on_mouse_move: Optional[
|
|
133
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
124
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
134
125
|
] = None,
|
|
135
126
|
on_mouse_out: Optional[
|
|
136
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
127
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
137
128
|
] = None,
|
|
138
129
|
on_mouse_over: Optional[
|
|
139
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
130
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
140
131
|
] = None,
|
|
141
132
|
on_mouse_up: Optional[
|
|
142
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
143
|
-
] = None,
|
|
144
|
-
on_scroll: Optional[
|
|
145
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
133
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
146
134
|
] = None,
|
|
135
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
147
136
|
on_unmount: Optional[
|
|
148
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
137
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
149
138
|
] = None,
|
|
150
139
|
**props,
|
|
151
140
|
) -> "AccordionComponent":
|
|
@@ -177,25 +166,25 @@ class AccordionRoot(AccordionComponent):
|
|
|
177
166
|
cls,
|
|
178
167
|
*children,
|
|
179
168
|
type: Optional[
|
|
180
|
-
Union[
|
|
169
|
+
Union[Literal["multiple", "single"], Var[Literal["multiple", "single"]]]
|
|
181
170
|
] = None,
|
|
182
|
-
value: Optional[Union[Var[Union[List[str], str]], str
|
|
171
|
+
value: Optional[Union[List[str], Var[Union[List[str], str]], str]] = None,
|
|
183
172
|
default_value: Optional[
|
|
184
|
-
Union[Var[Union[List[str], str]], str
|
|
173
|
+
Union[List[str], Var[Union[List[str], str]], str]
|
|
185
174
|
] = None,
|
|
186
175
|
collapsible: Optional[Union[Var[bool], bool]] = None,
|
|
187
176
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
188
|
-
dir: Optional[Union[
|
|
177
|
+
dir: Optional[Union[Literal["ltr", "rtl"], Var[Literal["ltr", "rtl"]]]] = None,
|
|
189
178
|
orientation: Optional[
|
|
190
179
|
Union[
|
|
191
|
-
|
|
192
|
-
Literal["
|
|
180
|
+
Literal["horizontal", "vertical"],
|
|
181
|
+
Var[Literal["horizontal", "vertical"]],
|
|
193
182
|
]
|
|
194
183
|
] = None,
|
|
195
184
|
radius: Optional[
|
|
196
185
|
Union[
|
|
197
|
-
|
|
198
|
-
Literal["
|
|
186
|
+
Literal["full", "large", "medium", "none", "small"],
|
|
187
|
+
Var[Literal["full", "large", "medium", "none", "small"]],
|
|
199
188
|
]
|
|
200
189
|
] = None,
|
|
201
190
|
duration: Optional[Union[Var[int], int]] = None,
|
|
@@ -203,70 +192,70 @@ class AccordionRoot(AccordionComponent):
|
|
|
203
192
|
show_dividers: Optional[Union[Var[bool], bool]] = None,
|
|
204
193
|
color_scheme: Optional[
|
|
205
194
|
Union[
|
|
195
|
+
Literal[
|
|
196
|
+
"amber",
|
|
197
|
+
"blue",
|
|
198
|
+
"bronze",
|
|
199
|
+
"brown",
|
|
200
|
+
"crimson",
|
|
201
|
+
"cyan",
|
|
202
|
+
"gold",
|
|
203
|
+
"grass",
|
|
204
|
+
"gray",
|
|
205
|
+
"green",
|
|
206
|
+
"indigo",
|
|
207
|
+
"iris",
|
|
208
|
+
"jade",
|
|
209
|
+
"lime",
|
|
210
|
+
"mint",
|
|
211
|
+
"orange",
|
|
212
|
+
"pink",
|
|
213
|
+
"plum",
|
|
214
|
+
"purple",
|
|
215
|
+
"red",
|
|
216
|
+
"ruby",
|
|
217
|
+
"sky",
|
|
218
|
+
"teal",
|
|
219
|
+
"tomato",
|
|
220
|
+
"violet",
|
|
221
|
+
"yellow",
|
|
222
|
+
],
|
|
206
223
|
Var[
|
|
207
224
|
Literal[
|
|
208
|
-
"
|
|
209
|
-
"red",
|
|
210
|
-
"ruby",
|
|
211
|
-
"crimson",
|
|
212
|
-
"pink",
|
|
213
|
-
"plum",
|
|
214
|
-
"purple",
|
|
215
|
-
"violet",
|
|
216
|
-
"iris",
|
|
217
|
-
"indigo",
|
|
225
|
+
"amber",
|
|
218
226
|
"blue",
|
|
227
|
+
"bronze",
|
|
228
|
+
"brown",
|
|
229
|
+
"crimson",
|
|
219
230
|
"cyan",
|
|
220
|
-
"
|
|
221
|
-
"jade",
|
|
222
|
-
"green",
|
|
231
|
+
"gold",
|
|
223
232
|
"grass",
|
|
224
|
-
"
|
|
233
|
+
"gray",
|
|
234
|
+
"green",
|
|
235
|
+
"indigo",
|
|
236
|
+
"iris",
|
|
237
|
+
"jade",
|
|
238
|
+
"lime",
|
|
239
|
+
"mint",
|
|
225
240
|
"orange",
|
|
241
|
+
"pink",
|
|
242
|
+
"plum",
|
|
243
|
+
"purple",
|
|
244
|
+
"red",
|
|
245
|
+
"ruby",
|
|
226
246
|
"sky",
|
|
227
|
-
"
|
|
228
|
-
"
|
|
247
|
+
"teal",
|
|
248
|
+
"tomato",
|
|
249
|
+
"violet",
|
|
229
250
|
"yellow",
|
|
230
|
-
"amber",
|
|
231
|
-
"gold",
|
|
232
|
-
"bronze",
|
|
233
|
-
"gray",
|
|
234
251
|
]
|
|
235
252
|
],
|
|
236
|
-
Literal[
|
|
237
|
-
"tomato",
|
|
238
|
-
"red",
|
|
239
|
-
"ruby",
|
|
240
|
-
"crimson",
|
|
241
|
-
"pink",
|
|
242
|
-
"plum",
|
|
243
|
-
"purple",
|
|
244
|
-
"violet",
|
|
245
|
-
"iris",
|
|
246
|
-
"indigo",
|
|
247
|
-
"blue",
|
|
248
|
-
"cyan",
|
|
249
|
-
"teal",
|
|
250
|
-
"jade",
|
|
251
|
-
"green",
|
|
252
|
-
"grass",
|
|
253
|
-
"brown",
|
|
254
|
-
"orange",
|
|
255
|
-
"sky",
|
|
256
|
-
"mint",
|
|
257
|
-
"lime",
|
|
258
|
-
"yellow",
|
|
259
|
-
"amber",
|
|
260
|
-
"gold",
|
|
261
|
-
"bronze",
|
|
262
|
-
"gray",
|
|
263
|
-
],
|
|
264
253
|
]
|
|
265
254
|
] = None,
|
|
266
255
|
variant: Optional[
|
|
267
256
|
Union[
|
|
268
|
-
|
|
269
|
-
Literal["classic", "
|
|
257
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
258
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
270
259
|
]
|
|
271
260
|
] = None,
|
|
272
261
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -275,54 +264,44 @@ class AccordionRoot(AccordionComponent):
|
|
|
275
264
|
id: Optional[Any] = None,
|
|
276
265
|
class_name: Optional[Any] = None,
|
|
277
266
|
autofocus: Optional[bool] = None,
|
|
278
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
279
|
-
on_blur: Optional[
|
|
280
|
-
|
|
281
|
-
] = None,
|
|
282
|
-
on_click: Optional[
|
|
283
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
284
|
-
] = None,
|
|
267
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
268
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
269
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
285
270
|
on_context_menu: Optional[
|
|
286
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
271
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
287
272
|
] = None,
|
|
288
273
|
on_double_click: Optional[
|
|
289
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
290
|
-
] = None,
|
|
291
|
-
on_focus: Optional[
|
|
292
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
293
|
-
] = None,
|
|
294
|
-
on_mount: Optional[
|
|
295
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
274
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
296
275
|
] = None,
|
|
276
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
277
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
297
278
|
on_mouse_down: Optional[
|
|
298
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
279
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
299
280
|
] = None,
|
|
300
281
|
on_mouse_enter: Optional[
|
|
301
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
282
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
302
283
|
] = None,
|
|
303
284
|
on_mouse_leave: Optional[
|
|
304
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
285
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
305
286
|
] = None,
|
|
306
287
|
on_mouse_move: Optional[
|
|
307
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
288
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
308
289
|
] = None,
|
|
309
290
|
on_mouse_out: Optional[
|
|
310
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
291
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
311
292
|
] = None,
|
|
312
293
|
on_mouse_over: Optional[
|
|
313
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
294
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
314
295
|
] = None,
|
|
315
296
|
on_mouse_up: Optional[
|
|
316
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
317
|
-
] = None,
|
|
318
|
-
on_scroll: Optional[
|
|
319
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
297
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
320
298
|
] = None,
|
|
299
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
321
300
|
on_unmount: Optional[
|
|
322
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
301
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
323
302
|
] = None,
|
|
324
303
|
on_value_change: Optional[
|
|
325
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
304
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
326
305
|
] = None,
|
|
327
306
|
**props,
|
|
328
307
|
) -> "AccordionRoot":
|
|
@@ -363,76 +342,76 @@ class AccordionItem(AccordionComponent):
|
|
|
363
342
|
def create( # type: ignore
|
|
364
343
|
cls,
|
|
365
344
|
*children,
|
|
366
|
-
header: Optional[Union[Component,
|
|
367
|
-
content: Optional[Union[Component,
|
|
345
|
+
header: Optional[Union[Component, Var]] = None,
|
|
346
|
+
content: Optional[Union[Component, Var]] = None,
|
|
368
347
|
value: Optional[Union[Var[str], str]] = None,
|
|
369
348
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
370
349
|
color_scheme: Optional[
|
|
371
350
|
Union[
|
|
351
|
+
Literal[
|
|
352
|
+
"amber",
|
|
353
|
+
"blue",
|
|
354
|
+
"bronze",
|
|
355
|
+
"brown",
|
|
356
|
+
"crimson",
|
|
357
|
+
"cyan",
|
|
358
|
+
"gold",
|
|
359
|
+
"grass",
|
|
360
|
+
"gray",
|
|
361
|
+
"green",
|
|
362
|
+
"indigo",
|
|
363
|
+
"iris",
|
|
364
|
+
"jade",
|
|
365
|
+
"lime",
|
|
366
|
+
"mint",
|
|
367
|
+
"orange",
|
|
368
|
+
"pink",
|
|
369
|
+
"plum",
|
|
370
|
+
"purple",
|
|
371
|
+
"red",
|
|
372
|
+
"ruby",
|
|
373
|
+
"sky",
|
|
374
|
+
"teal",
|
|
375
|
+
"tomato",
|
|
376
|
+
"violet",
|
|
377
|
+
"yellow",
|
|
378
|
+
],
|
|
372
379
|
Var[
|
|
373
380
|
Literal[
|
|
374
|
-
"
|
|
375
|
-
"red",
|
|
376
|
-
"ruby",
|
|
377
|
-
"crimson",
|
|
378
|
-
"pink",
|
|
379
|
-
"plum",
|
|
380
|
-
"purple",
|
|
381
|
-
"violet",
|
|
382
|
-
"iris",
|
|
383
|
-
"indigo",
|
|
381
|
+
"amber",
|
|
384
382
|
"blue",
|
|
383
|
+
"bronze",
|
|
384
|
+
"brown",
|
|
385
|
+
"crimson",
|
|
385
386
|
"cyan",
|
|
386
|
-
"
|
|
387
|
-
"jade",
|
|
388
|
-
"green",
|
|
387
|
+
"gold",
|
|
389
388
|
"grass",
|
|
390
|
-
"
|
|
389
|
+
"gray",
|
|
390
|
+
"green",
|
|
391
|
+
"indigo",
|
|
392
|
+
"iris",
|
|
393
|
+
"jade",
|
|
394
|
+
"lime",
|
|
395
|
+
"mint",
|
|
391
396
|
"orange",
|
|
397
|
+
"pink",
|
|
398
|
+
"plum",
|
|
399
|
+
"purple",
|
|
400
|
+
"red",
|
|
401
|
+
"ruby",
|
|
392
402
|
"sky",
|
|
393
|
-
"
|
|
394
|
-
"
|
|
403
|
+
"teal",
|
|
404
|
+
"tomato",
|
|
405
|
+
"violet",
|
|
395
406
|
"yellow",
|
|
396
|
-
"amber",
|
|
397
|
-
"gold",
|
|
398
|
-
"bronze",
|
|
399
|
-
"gray",
|
|
400
407
|
]
|
|
401
408
|
],
|
|
402
|
-
Literal[
|
|
403
|
-
"tomato",
|
|
404
|
-
"red",
|
|
405
|
-
"ruby",
|
|
406
|
-
"crimson",
|
|
407
|
-
"pink",
|
|
408
|
-
"plum",
|
|
409
|
-
"purple",
|
|
410
|
-
"violet",
|
|
411
|
-
"iris",
|
|
412
|
-
"indigo",
|
|
413
|
-
"blue",
|
|
414
|
-
"cyan",
|
|
415
|
-
"teal",
|
|
416
|
-
"jade",
|
|
417
|
-
"green",
|
|
418
|
-
"grass",
|
|
419
|
-
"brown",
|
|
420
|
-
"orange",
|
|
421
|
-
"sky",
|
|
422
|
-
"mint",
|
|
423
|
-
"lime",
|
|
424
|
-
"yellow",
|
|
425
|
-
"amber",
|
|
426
|
-
"gold",
|
|
427
|
-
"bronze",
|
|
428
|
-
"gray",
|
|
429
|
-
],
|
|
430
409
|
]
|
|
431
410
|
] = None,
|
|
432
411
|
variant: Optional[
|
|
433
412
|
Union[
|
|
434
|
-
|
|
435
|
-
Literal["classic", "
|
|
413
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
414
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
436
415
|
]
|
|
437
416
|
] = None,
|
|
438
417
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -441,51 +420,41 @@ class AccordionItem(AccordionComponent):
|
|
|
441
420
|
id: Optional[Any] = None,
|
|
442
421
|
class_name: Optional[Any] = None,
|
|
443
422
|
autofocus: Optional[bool] = None,
|
|
444
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
445
|
-
on_blur: Optional[
|
|
446
|
-
|
|
447
|
-
] = None,
|
|
448
|
-
on_click: Optional[
|
|
449
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
450
|
-
] = None,
|
|
423
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
424
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
425
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
451
426
|
on_context_menu: Optional[
|
|
452
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
427
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
453
428
|
] = None,
|
|
454
429
|
on_double_click: Optional[
|
|
455
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
456
|
-
] = None,
|
|
457
|
-
on_focus: Optional[
|
|
458
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
459
|
-
] = None,
|
|
460
|
-
on_mount: Optional[
|
|
461
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
430
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
462
431
|
] = None,
|
|
432
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
433
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
463
434
|
on_mouse_down: Optional[
|
|
464
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
435
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
465
436
|
] = None,
|
|
466
437
|
on_mouse_enter: Optional[
|
|
467
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
438
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
468
439
|
] = None,
|
|
469
440
|
on_mouse_leave: Optional[
|
|
470
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
441
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
471
442
|
] = None,
|
|
472
443
|
on_mouse_move: Optional[
|
|
473
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
444
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
474
445
|
] = None,
|
|
475
446
|
on_mouse_out: Optional[
|
|
476
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
447
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
477
448
|
] = None,
|
|
478
449
|
on_mouse_over: Optional[
|
|
479
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
450
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
480
451
|
] = None,
|
|
481
452
|
on_mouse_up: Optional[
|
|
482
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
483
|
-
] = None,
|
|
484
|
-
on_scroll: Optional[
|
|
485
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
453
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
486
454
|
] = None,
|
|
455
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
487
456
|
on_unmount: Optional[
|
|
488
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
457
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
489
458
|
] = None,
|
|
490
459
|
**props,
|
|
491
460
|
) -> "AccordionItem":
|
|
@@ -523,70 +492,70 @@ class AccordionHeader(AccordionComponent):
|
|
|
523
492
|
*children,
|
|
524
493
|
color_scheme: Optional[
|
|
525
494
|
Union[
|
|
495
|
+
Literal[
|
|
496
|
+
"amber",
|
|
497
|
+
"blue",
|
|
498
|
+
"bronze",
|
|
499
|
+
"brown",
|
|
500
|
+
"crimson",
|
|
501
|
+
"cyan",
|
|
502
|
+
"gold",
|
|
503
|
+
"grass",
|
|
504
|
+
"gray",
|
|
505
|
+
"green",
|
|
506
|
+
"indigo",
|
|
507
|
+
"iris",
|
|
508
|
+
"jade",
|
|
509
|
+
"lime",
|
|
510
|
+
"mint",
|
|
511
|
+
"orange",
|
|
512
|
+
"pink",
|
|
513
|
+
"plum",
|
|
514
|
+
"purple",
|
|
515
|
+
"red",
|
|
516
|
+
"ruby",
|
|
517
|
+
"sky",
|
|
518
|
+
"teal",
|
|
519
|
+
"tomato",
|
|
520
|
+
"violet",
|
|
521
|
+
"yellow",
|
|
522
|
+
],
|
|
526
523
|
Var[
|
|
527
524
|
Literal[
|
|
528
|
-
"
|
|
529
|
-
"red",
|
|
530
|
-
"ruby",
|
|
531
|
-
"crimson",
|
|
532
|
-
"pink",
|
|
533
|
-
"plum",
|
|
534
|
-
"purple",
|
|
535
|
-
"violet",
|
|
536
|
-
"iris",
|
|
537
|
-
"indigo",
|
|
525
|
+
"amber",
|
|
538
526
|
"blue",
|
|
527
|
+
"bronze",
|
|
528
|
+
"brown",
|
|
529
|
+
"crimson",
|
|
539
530
|
"cyan",
|
|
540
|
-
"
|
|
541
|
-
"jade",
|
|
542
|
-
"green",
|
|
531
|
+
"gold",
|
|
543
532
|
"grass",
|
|
544
|
-
"
|
|
533
|
+
"gray",
|
|
534
|
+
"green",
|
|
535
|
+
"indigo",
|
|
536
|
+
"iris",
|
|
537
|
+
"jade",
|
|
538
|
+
"lime",
|
|
539
|
+
"mint",
|
|
545
540
|
"orange",
|
|
541
|
+
"pink",
|
|
542
|
+
"plum",
|
|
543
|
+
"purple",
|
|
544
|
+
"red",
|
|
545
|
+
"ruby",
|
|
546
546
|
"sky",
|
|
547
|
-
"
|
|
548
|
-
"
|
|
547
|
+
"teal",
|
|
548
|
+
"tomato",
|
|
549
|
+
"violet",
|
|
549
550
|
"yellow",
|
|
550
|
-
"amber",
|
|
551
|
-
"gold",
|
|
552
|
-
"bronze",
|
|
553
|
-
"gray",
|
|
554
551
|
]
|
|
555
552
|
],
|
|
556
|
-
Literal[
|
|
557
|
-
"tomato",
|
|
558
|
-
"red",
|
|
559
|
-
"ruby",
|
|
560
|
-
"crimson",
|
|
561
|
-
"pink",
|
|
562
|
-
"plum",
|
|
563
|
-
"purple",
|
|
564
|
-
"violet",
|
|
565
|
-
"iris",
|
|
566
|
-
"indigo",
|
|
567
|
-
"blue",
|
|
568
|
-
"cyan",
|
|
569
|
-
"teal",
|
|
570
|
-
"jade",
|
|
571
|
-
"green",
|
|
572
|
-
"grass",
|
|
573
|
-
"brown",
|
|
574
|
-
"orange",
|
|
575
|
-
"sky",
|
|
576
|
-
"mint",
|
|
577
|
-
"lime",
|
|
578
|
-
"yellow",
|
|
579
|
-
"amber",
|
|
580
|
-
"gold",
|
|
581
|
-
"bronze",
|
|
582
|
-
"gray",
|
|
583
|
-
],
|
|
584
553
|
]
|
|
585
554
|
] = None,
|
|
586
555
|
variant: Optional[
|
|
587
556
|
Union[
|
|
588
|
-
|
|
589
|
-
Literal["classic", "
|
|
557
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
558
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
590
559
|
]
|
|
591
560
|
] = None,
|
|
592
561
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -595,51 +564,41 @@ class AccordionHeader(AccordionComponent):
|
|
|
595
564
|
id: Optional[Any] = None,
|
|
596
565
|
class_name: Optional[Any] = None,
|
|
597
566
|
autofocus: Optional[bool] = None,
|
|
598
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
599
|
-
on_blur: Optional[
|
|
600
|
-
|
|
601
|
-
] = None,
|
|
602
|
-
on_click: Optional[
|
|
603
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
604
|
-
] = None,
|
|
567
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
568
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
569
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
605
570
|
on_context_menu: Optional[
|
|
606
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
571
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
607
572
|
] = None,
|
|
608
573
|
on_double_click: Optional[
|
|
609
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
610
|
-
] = None,
|
|
611
|
-
on_focus: Optional[
|
|
612
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
613
|
-
] = None,
|
|
614
|
-
on_mount: Optional[
|
|
615
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
574
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
616
575
|
] = None,
|
|
576
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
577
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
617
578
|
on_mouse_down: Optional[
|
|
618
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
579
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
619
580
|
] = None,
|
|
620
581
|
on_mouse_enter: Optional[
|
|
621
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
582
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
622
583
|
] = None,
|
|
623
584
|
on_mouse_leave: Optional[
|
|
624
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
585
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
625
586
|
] = None,
|
|
626
587
|
on_mouse_move: Optional[
|
|
627
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
588
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
628
589
|
] = None,
|
|
629
590
|
on_mouse_out: Optional[
|
|
630
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
591
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
631
592
|
] = None,
|
|
632
593
|
on_mouse_over: Optional[
|
|
633
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
594
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
634
595
|
] = None,
|
|
635
596
|
on_mouse_up: Optional[
|
|
636
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
637
|
-
] = None,
|
|
638
|
-
on_scroll: Optional[
|
|
639
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
597
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
640
598
|
] = None,
|
|
599
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
641
600
|
on_unmount: Optional[
|
|
642
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
601
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
643
602
|
] = None,
|
|
644
603
|
**props,
|
|
645
604
|
) -> "AccordionHeader":
|
|
@@ -673,70 +632,70 @@ class AccordionTrigger(AccordionComponent):
|
|
|
673
632
|
*children,
|
|
674
633
|
color_scheme: Optional[
|
|
675
634
|
Union[
|
|
635
|
+
Literal[
|
|
636
|
+
"amber",
|
|
637
|
+
"blue",
|
|
638
|
+
"bronze",
|
|
639
|
+
"brown",
|
|
640
|
+
"crimson",
|
|
641
|
+
"cyan",
|
|
642
|
+
"gold",
|
|
643
|
+
"grass",
|
|
644
|
+
"gray",
|
|
645
|
+
"green",
|
|
646
|
+
"indigo",
|
|
647
|
+
"iris",
|
|
648
|
+
"jade",
|
|
649
|
+
"lime",
|
|
650
|
+
"mint",
|
|
651
|
+
"orange",
|
|
652
|
+
"pink",
|
|
653
|
+
"plum",
|
|
654
|
+
"purple",
|
|
655
|
+
"red",
|
|
656
|
+
"ruby",
|
|
657
|
+
"sky",
|
|
658
|
+
"teal",
|
|
659
|
+
"tomato",
|
|
660
|
+
"violet",
|
|
661
|
+
"yellow",
|
|
662
|
+
],
|
|
676
663
|
Var[
|
|
677
664
|
Literal[
|
|
678
|
-
"
|
|
679
|
-
"red",
|
|
680
|
-
"ruby",
|
|
681
|
-
"crimson",
|
|
682
|
-
"pink",
|
|
683
|
-
"plum",
|
|
684
|
-
"purple",
|
|
685
|
-
"violet",
|
|
686
|
-
"iris",
|
|
687
|
-
"indigo",
|
|
665
|
+
"amber",
|
|
688
666
|
"blue",
|
|
667
|
+
"bronze",
|
|
668
|
+
"brown",
|
|
669
|
+
"crimson",
|
|
689
670
|
"cyan",
|
|
690
|
-
"
|
|
691
|
-
"jade",
|
|
692
|
-
"green",
|
|
671
|
+
"gold",
|
|
693
672
|
"grass",
|
|
694
|
-
"
|
|
673
|
+
"gray",
|
|
674
|
+
"green",
|
|
675
|
+
"indigo",
|
|
676
|
+
"iris",
|
|
677
|
+
"jade",
|
|
678
|
+
"lime",
|
|
679
|
+
"mint",
|
|
695
680
|
"orange",
|
|
681
|
+
"pink",
|
|
682
|
+
"plum",
|
|
683
|
+
"purple",
|
|
684
|
+
"red",
|
|
685
|
+
"ruby",
|
|
696
686
|
"sky",
|
|
697
|
-
"
|
|
698
|
-
"
|
|
687
|
+
"teal",
|
|
688
|
+
"tomato",
|
|
689
|
+
"violet",
|
|
699
690
|
"yellow",
|
|
700
|
-
"amber",
|
|
701
|
-
"gold",
|
|
702
|
-
"bronze",
|
|
703
|
-
"gray",
|
|
704
691
|
]
|
|
705
692
|
],
|
|
706
|
-
Literal[
|
|
707
|
-
"tomato",
|
|
708
|
-
"red",
|
|
709
|
-
"ruby",
|
|
710
|
-
"crimson",
|
|
711
|
-
"pink",
|
|
712
|
-
"plum",
|
|
713
|
-
"purple",
|
|
714
|
-
"violet",
|
|
715
|
-
"iris",
|
|
716
|
-
"indigo",
|
|
717
|
-
"blue",
|
|
718
|
-
"cyan",
|
|
719
|
-
"teal",
|
|
720
|
-
"jade",
|
|
721
|
-
"green",
|
|
722
|
-
"grass",
|
|
723
|
-
"brown",
|
|
724
|
-
"orange",
|
|
725
|
-
"sky",
|
|
726
|
-
"mint",
|
|
727
|
-
"lime",
|
|
728
|
-
"yellow",
|
|
729
|
-
"amber",
|
|
730
|
-
"gold",
|
|
731
|
-
"bronze",
|
|
732
|
-
"gray",
|
|
733
|
-
],
|
|
734
693
|
]
|
|
735
694
|
] = None,
|
|
736
695
|
variant: Optional[
|
|
737
696
|
Union[
|
|
738
|
-
|
|
739
|
-
Literal["classic", "
|
|
697
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
698
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
740
699
|
]
|
|
741
700
|
] = None,
|
|
742
701
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -745,51 +704,41 @@ class AccordionTrigger(AccordionComponent):
|
|
|
745
704
|
id: Optional[Any] = None,
|
|
746
705
|
class_name: Optional[Any] = None,
|
|
747
706
|
autofocus: Optional[bool] = None,
|
|
748
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
749
|
-
on_blur: Optional[
|
|
750
|
-
|
|
751
|
-
] = None,
|
|
752
|
-
on_click: Optional[
|
|
753
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
754
|
-
] = None,
|
|
707
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
708
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
709
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
755
710
|
on_context_menu: Optional[
|
|
756
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
711
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
757
712
|
] = None,
|
|
758
713
|
on_double_click: Optional[
|
|
759
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
760
|
-
] = None,
|
|
761
|
-
on_focus: Optional[
|
|
762
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
763
|
-
] = None,
|
|
764
|
-
on_mount: Optional[
|
|
765
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
714
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
766
715
|
] = None,
|
|
716
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
717
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
767
718
|
on_mouse_down: Optional[
|
|
768
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
719
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
769
720
|
] = None,
|
|
770
721
|
on_mouse_enter: Optional[
|
|
771
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
722
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
772
723
|
] = None,
|
|
773
724
|
on_mouse_leave: Optional[
|
|
774
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
725
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
775
726
|
] = None,
|
|
776
727
|
on_mouse_move: Optional[
|
|
777
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
728
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
778
729
|
] = None,
|
|
779
730
|
on_mouse_out: Optional[
|
|
780
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
731
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
781
732
|
] = None,
|
|
782
733
|
on_mouse_over: Optional[
|
|
783
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
734
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
784
735
|
] = None,
|
|
785
736
|
on_mouse_up: Optional[
|
|
786
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
787
|
-
] = None,
|
|
788
|
-
on_scroll: Optional[
|
|
789
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
737
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
790
738
|
] = None,
|
|
739
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
791
740
|
on_unmount: Optional[
|
|
792
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
741
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
793
742
|
] = None,
|
|
794
743
|
**props,
|
|
795
744
|
) -> "AccordionTrigger":
|
|
@@ -827,51 +776,41 @@ class AccordionIcon(Icon):
|
|
|
827
776
|
id: Optional[Any] = None,
|
|
828
777
|
class_name: Optional[Any] = None,
|
|
829
778
|
autofocus: Optional[bool] = None,
|
|
830
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
831
|
-
on_blur: Optional[
|
|
832
|
-
|
|
833
|
-
] = None,
|
|
834
|
-
on_click: Optional[
|
|
835
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
836
|
-
] = None,
|
|
779
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
780
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
781
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
837
782
|
on_context_menu: Optional[
|
|
838
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
783
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
839
784
|
] = None,
|
|
840
785
|
on_double_click: Optional[
|
|
841
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
842
|
-
] = None,
|
|
843
|
-
on_focus: Optional[
|
|
844
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
845
|
-
] = None,
|
|
846
|
-
on_mount: Optional[
|
|
847
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
786
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
848
787
|
] = None,
|
|
788
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
789
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
849
790
|
on_mouse_down: Optional[
|
|
850
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
791
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
851
792
|
] = None,
|
|
852
793
|
on_mouse_enter: Optional[
|
|
853
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
794
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
854
795
|
] = None,
|
|
855
796
|
on_mouse_leave: Optional[
|
|
856
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
797
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
857
798
|
] = None,
|
|
858
799
|
on_mouse_move: Optional[
|
|
859
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
800
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
860
801
|
] = None,
|
|
861
802
|
on_mouse_out: Optional[
|
|
862
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
803
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
863
804
|
] = None,
|
|
864
805
|
on_mouse_over: Optional[
|
|
865
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
806
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
866
807
|
] = None,
|
|
867
808
|
on_mouse_up: Optional[
|
|
868
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
869
|
-
] = None,
|
|
870
|
-
on_scroll: Optional[
|
|
871
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
809
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
872
810
|
] = None,
|
|
811
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
873
812
|
on_unmount: Optional[
|
|
874
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
813
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
875
814
|
] = None,
|
|
876
815
|
**props,
|
|
877
816
|
) -> "AccordionIcon":
|
|
@@ -902,70 +841,70 @@ class AccordionContent(AccordionComponent):
|
|
|
902
841
|
*children,
|
|
903
842
|
color_scheme: Optional[
|
|
904
843
|
Union[
|
|
844
|
+
Literal[
|
|
845
|
+
"amber",
|
|
846
|
+
"blue",
|
|
847
|
+
"bronze",
|
|
848
|
+
"brown",
|
|
849
|
+
"crimson",
|
|
850
|
+
"cyan",
|
|
851
|
+
"gold",
|
|
852
|
+
"grass",
|
|
853
|
+
"gray",
|
|
854
|
+
"green",
|
|
855
|
+
"indigo",
|
|
856
|
+
"iris",
|
|
857
|
+
"jade",
|
|
858
|
+
"lime",
|
|
859
|
+
"mint",
|
|
860
|
+
"orange",
|
|
861
|
+
"pink",
|
|
862
|
+
"plum",
|
|
863
|
+
"purple",
|
|
864
|
+
"red",
|
|
865
|
+
"ruby",
|
|
866
|
+
"sky",
|
|
867
|
+
"teal",
|
|
868
|
+
"tomato",
|
|
869
|
+
"violet",
|
|
870
|
+
"yellow",
|
|
871
|
+
],
|
|
905
872
|
Var[
|
|
906
873
|
Literal[
|
|
907
|
-
"
|
|
908
|
-
"red",
|
|
909
|
-
"ruby",
|
|
910
|
-
"crimson",
|
|
911
|
-
"pink",
|
|
912
|
-
"plum",
|
|
913
|
-
"purple",
|
|
914
|
-
"violet",
|
|
915
|
-
"iris",
|
|
916
|
-
"indigo",
|
|
874
|
+
"amber",
|
|
917
875
|
"blue",
|
|
876
|
+
"bronze",
|
|
877
|
+
"brown",
|
|
878
|
+
"crimson",
|
|
918
879
|
"cyan",
|
|
919
|
-
"
|
|
920
|
-
"jade",
|
|
921
|
-
"green",
|
|
880
|
+
"gold",
|
|
922
881
|
"grass",
|
|
923
|
-
"
|
|
882
|
+
"gray",
|
|
883
|
+
"green",
|
|
884
|
+
"indigo",
|
|
885
|
+
"iris",
|
|
886
|
+
"jade",
|
|
887
|
+
"lime",
|
|
888
|
+
"mint",
|
|
924
889
|
"orange",
|
|
890
|
+
"pink",
|
|
891
|
+
"plum",
|
|
892
|
+
"purple",
|
|
893
|
+
"red",
|
|
894
|
+
"ruby",
|
|
925
895
|
"sky",
|
|
926
|
-
"
|
|
927
|
-
"
|
|
896
|
+
"teal",
|
|
897
|
+
"tomato",
|
|
898
|
+
"violet",
|
|
928
899
|
"yellow",
|
|
929
|
-
"amber",
|
|
930
|
-
"gold",
|
|
931
|
-
"bronze",
|
|
932
|
-
"gray",
|
|
933
900
|
]
|
|
934
901
|
],
|
|
935
|
-
Literal[
|
|
936
|
-
"tomato",
|
|
937
|
-
"red",
|
|
938
|
-
"ruby",
|
|
939
|
-
"crimson",
|
|
940
|
-
"pink",
|
|
941
|
-
"plum",
|
|
942
|
-
"purple",
|
|
943
|
-
"violet",
|
|
944
|
-
"iris",
|
|
945
|
-
"indigo",
|
|
946
|
-
"blue",
|
|
947
|
-
"cyan",
|
|
948
|
-
"teal",
|
|
949
|
-
"jade",
|
|
950
|
-
"green",
|
|
951
|
-
"grass",
|
|
952
|
-
"brown",
|
|
953
|
-
"orange",
|
|
954
|
-
"sky",
|
|
955
|
-
"mint",
|
|
956
|
-
"lime",
|
|
957
|
-
"yellow",
|
|
958
|
-
"amber",
|
|
959
|
-
"gold",
|
|
960
|
-
"bronze",
|
|
961
|
-
"gray",
|
|
962
|
-
],
|
|
963
902
|
]
|
|
964
903
|
] = None,
|
|
965
904
|
variant: Optional[
|
|
966
905
|
Union[
|
|
967
|
-
|
|
968
|
-
Literal["classic", "
|
|
906
|
+
Literal["classic", "ghost", "outline", "soft", "surface"],
|
|
907
|
+
Var[Literal["classic", "ghost", "outline", "soft", "surface"]],
|
|
969
908
|
]
|
|
970
909
|
] = None,
|
|
971
910
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -974,51 +913,41 @@ class AccordionContent(AccordionComponent):
|
|
|
974
913
|
id: Optional[Any] = None,
|
|
975
914
|
class_name: Optional[Any] = None,
|
|
976
915
|
autofocus: Optional[bool] = None,
|
|
977
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
978
|
-
on_blur: Optional[
|
|
979
|
-
|
|
980
|
-
] = None,
|
|
981
|
-
on_click: Optional[
|
|
982
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
983
|
-
] = None,
|
|
916
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
917
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
918
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
984
919
|
on_context_menu: Optional[
|
|
985
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
920
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
986
921
|
] = None,
|
|
987
922
|
on_double_click: Optional[
|
|
988
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
989
|
-
] = None,
|
|
990
|
-
on_focus: Optional[
|
|
991
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
992
|
-
] = None,
|
|
993
|
-
on_mount: Optional[
|
|
994
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
923
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
995
924
|
] = None,
|
|
925
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
926
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
996
927
|
on_mouse_down: Optional[
|
|
997
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
928
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
998
929
|
] = None,
|
|
999
930
|
on_mouse_enter: Optional[
|
|
1000
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
931
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1001
932
|
] = None,
|
|
1002
933
|
on_mouse_leave: Optional[
|
|
1003
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
934
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1004
935
|
] = None,
|
|
1005
936
|
on_mouse_move: Optional[
|
|
1006
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
937
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1007
938
|
] = None,
|
|
1008
939
|
on_mouse_out: Optional[
|
|
1009
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
940
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1010
941
|
] = None,
|
|
1011
942
|
on_mouse_over: Optional[
|
|
1012
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
943
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1013
944
|
] = None,
|
|
1014
945
|
on_mouse_up: Optional[
|
|
1015
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1016
|
-
] = None,
|
|
1017
|
-
on_scroll: Optional[
|
|
1018
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
946
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1019
947
|
] = None,
|
|
948
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
1020
949
|
on_unmount: Optional[
|
|
1021
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
950
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
1022
951
|
] = None,
|
|
1023
952
|
**props,
|
|
1024
953
|
) -> "AccordionContent":
|