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