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 ComponentNamespace
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
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
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
16
17
|
|
|
@@ -27,44 +28,54 @@ class PopoverRoot(RadixThemesComponent):
|
|
|
27
28
|
id: Optional[Any] = None,
|
|
28
29
|
class_name: Optional[Any] = None,
|
|
29
30
|
autofocus: Optional[bool] = None,
|
|
30
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
31
|
-
on_blur: Optional[
|
|
32
|
-
|
|
31
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
32
|
+
on_blur: Optional[
|
|
33
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
34
|
+
] = None,
|
|
35
|
+
on_click: Optional[
|
|
36
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
37
|
+
] = None,
|
|
33
38
|
on_context_menu: Optional[
|
|
34
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
39
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
35
40
|
] = None,
|
|
36
41
|
on_double_click: Optional[
|
|
37
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
42
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
43
|
+
] = None,
|
|
44
|
+
on_focus: Optional[
|
|
45
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
46
|
+
] = None,
|
|
47
|
+
on_mount: Optional[
|
|
48
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
38
49
|
] = None,
|
|
39
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
40
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
41
50
|
on_mouse_down: Optional[
|
|
42
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
51
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
43
52
|
] = None,
|
|
44
53
|
on_mouse_enter: Optional[
|
|
45
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
54
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
46
55
|
] = None,
|
|
47
56
|
on_mouse_leave: Optional[
|
|
48
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
57
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
49
58
|
] = None,
|
|
50
59
|
on_mouse_move: Optional[
|
|
51
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
60
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
52
61
|
] = None,
|
|
53
62
|
on_mouse_out: Optional[
|
|
54
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
63
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
55
64
|
] = None,
|
|
56
65
|
on_mouse_over: Optional[
|
|
57
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
66
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
58
67
|
] = None,
|
|
59
68
|
on_mouse_up: Optional[
|
|
60
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
69
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
61
70
|
] = None,
|
|
62
71
|
on_open_change: Optional[
|
|
63
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
72
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
73
|
+
] = None,
|
|
74
|
+
on_scroll: Optional[
|
|
75
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
64
76
|
] = None,
|
|
65
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
66
77
|
on_unmount: Optional[
|
|
67
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
78
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
68
79
|
] = None,
|
|
69
80
|
**props,
|
|
70
81
|
) -> "PopoverRoot":
|
|
@@ -101,41 +112,51 @@ class PopoverTrigger(RadixThemesTriggerComponent):
|
|
|
101
112
|
id: Optional[Any] = None,
|
|
102
113
|
class_name: Optional[Any] = None,
|
|
103
114
|
autofocus: Optional[bool] = None,
|
|
104
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
105
|
-
on_blur: Optional[
|
|
106
|
-
|
|
115
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
116
|
+
on_blur: Optional[
|
|
117
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
118
|
+
] = None,
|
|
119
|
+
on_click: Optional[
|
|
120
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
121
|
+
] = None,
|
|
107
122
|
on_context_menu: Optional[
|
|
108
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
123
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
109
124
|
] = None,
|
|
110
125
|
on_double_click: Optional[
|
|
111
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
126
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
127
|
+
] = None,
|
|
128
|
+
on_focus: Optional[
|
|
129
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
130
|
+
] = None,
|
|
131
|
+
on_mount: Optional[
|
|
132
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
112
133
|
] = None,
|
|
113
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
114
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
115
134
|
on_mouse_down: Optional[
|
|
116
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
135
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
117
136
|
] = None,
|
|
118
137
|
on_mouse_enter: Optional[
|
|
119
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
138
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
120
139
|
] = None,
|
|
121
140
|
on_mouse_leave: Optional[
|
|
122
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
141
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
123
142
|
] = None,
|
|
124
143
|
on_mouse_move: Optional[
|
|
125
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
144
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
126
145
|
] = None,
|
|
127
146
|
on_mouse_out: Optional[
|
|
128
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
147
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
129
148
|
] = None,
|
|
130
149
|
on_mouse_over: Optional[
|
|
131
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
150
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
132
151
|
] = None,
|
|
133
152
|
on_mouse_up: Optional[
|
|
134
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
153
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
154
|
+
] = None,
|
|
155
|
+
on_scroll: Optional[
|
|
156
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
135
157
|
] = None,
|
|
136
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
137
158
|
on_unmount: Optional[
|
|
138
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
159
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
139
160
|
] = None,
|
|
140
161
|
**props,
|
|
141
162
|
) -> "PopoverTrigger":
|
|
@@ -158,113 +179,123 @@ class PopoverContent(elements.Div, RadixThemesComponent):
|
|
|
158
179
|
*children,
|
|
159
180
|
size: Optional[
|
|
160
181
|
Union[
|
|
161
|
-
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
162
|
-
Literal["1", "2", "3", "4"],
|
|
163
182
|
Var[
|
|
164
183
|
Union[
|
|
165
184
|
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
166
185
|
Literal["1", "2", "3", "4"],
|
|
167
186
|
]
|
|
168
187
|
],
|
|
188
|
+
Literal["1", "2", "3", "4"],
|
|
189
|
+
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
169
190
|
]
|
|
170
191
|
] = None,
|
|
171
192
|
side: Optional[
|
|
172
193
|
Union[
|
|
173
|
-
Literal["
|
|
174
|
-
|
|
194
|
+
Var[Literal["top", "right", "bottom", "left"]],
|
|
195
|
+
Literal["top", "right", "bottom", "left"],
|
|
175
196
|
]
|
|
176
197
|
] = None,
|
|
177
198
|
side_offset: Optional[Union[Var[int], int]] = None,
|
|
178
199
|
align: Optional[
|
|
179
200
|
Union[
|
|
180
|
-
Literal["
|
|
181
|
-
|
|
201
|
+
Var[Literal["start", "center", "end"]],
|
|
202
|
+
Literal["start", "center", "end"],
|
|
182
203
|
]
|
|
183
204
|
] = None,
|
|
184
205
|
align_offset: Optional[Union[Var[int], int]] = None,
|
|
185
206
|
avoid_collisions: Optional[Union[Var[bool], bool]] = None,
|
|
186
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
207
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
187
208
|
auto_capitalize: Optional[
|
|
188
|
-
Union[Var[Union[bool, int, str]],
|
|
209
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
189
210
|
] = None,
|
|
190
211
|
content_editable: Optional[
|
|
191
|
-
Union[Var[Union[bool, int, str]],
|
|
212
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
192
213
|
] = None,
|
|
193
214
|
context_menu: Optional[
|
|
194
|
-
Union[Var[Union[bool, int, str]],
|
|
215
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
195
216
|
] = None,
|
|
196
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
197
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
217
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
218
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
198
219
|
enter_key_hint: Optional[
|
|
199
|
-
Union[Var[Union[bool, int, str]],
|
|
200
|
-
] = None,
|
|
201
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
202
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
203
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
204
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
205
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
206
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
207
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
208
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
209
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
220
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
221
|
+
] = None,
|
|
222
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
223
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
224
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
225
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
226
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
227
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
228
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
229
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
230
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
210
231
|
style: Optional[Style] = None,
|
|
211
232
|
key: Optional[Any] = None,
|
|
212
233
|
id: Optional[Any] = None,
|
|
213
234
|
class_name: Optional[Any] = None,
|
|
214
235
|
autofocus: Optional[bool] = None,
|
|
215
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
216
|
-
on_blur: Optional[
|
|
217
|
-
|
|
236
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
237
|
+
on_blur: Optional[
|
|
238
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
239
|
+
] = None,
|
|
240
|
+
on_click: Optional[
|
|
241
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
242
|
+
] = None,
|
|
218
243
|
on_close_auto_focus: Optional[
|
|
219
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
244
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
220
245
|
] = None,
|
|
221
246
|
on_context_menu: Optional[
|
|
222
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
247
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
223
248
|
] = None,
|
|
224
249
|
on_double_click: Optional[
|
|
225
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
250
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
226
251
|
] = None,
|
|
227
252
|
on_escape_key_down: Optional[
|
|
228
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
253
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
254
|
+
] = None,
|
|
255
|
+
on_focus: Optional[
|
|
256
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
229
257
|
] = None,
|
|
230
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
231
258
|
on_focus_outside: Optional[
|
|
232
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
259
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
233
260
|
] = None,
|
|
234
261
|
on_interact_outside: Optional[
|
|
235
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
262
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
263
|
+
] = None,
|
|
264
|
+
on_mount: Optional[
|
|
265
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
236
266
|
] = None,
|
|
237
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
238
267
|
on_mouse_down: Optional[
|
|
239
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
268
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
240
269
|
] = None,
|
|
241
270
|
on_mouse_enter: Optional[
|
|
242
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
271
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
243
272
|
] = None,
|
|
244
273
|
on_mouse_leave: Optional[
|
|
245
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
274
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
246
275
|
] = None,
|
|
247
276
|
on_mouse_move: Optional[
|
|
248
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
277
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
249
278
|
] = None,
|
|
250
279
|
on_mouse_out: Optional[
|
|
251
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
280
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
252
281
|
] = None,
|
|
253
282
|
on_mouse_over: Optional[
|
|
254
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
283
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
255
284
|
] = None,
|
|
256
285
|
on_mouse_up: Optional[
|
|
257
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
286
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
258
287
|
] = None,
|
|
259
288
|
on_open_auto_focus: Optional[
|
|
260
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
289
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
261
290
|
] = None,
|
|
262
291
|
on_pointer_down_outside: Optional[
|
|
263
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
292
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
293
|
+
] = None,
|
|
294
|
+
on_scroll: Optional[
|
|
295
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
264
296
|
] = None,
|
|
265
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
266
297
|
on_unmount: Optional[
|
|
267
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
298
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
268
299
|
] = None,
|
|
269
300
|
**props,
|
|
270
301
|
) -> "PopoverContent":
|
|
@@ -321,41 +352,51 @@ class PopoverClose(RadixThemesTriggerComponent):
|
|
|
321
352
|
id: Optional[Any] = None,
|
|
322
353
|
class_name: Optional[Any] = None,
|
|
323
354
|
autofocus: Optional[bool] = None,
|
|
324
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
325
|
-
on_blur: Optional[
|
|
326
|
-
|
|
355
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
356
|
+
on_blur: Optional[
|
|
357
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
358
|
+
] = None,
|
|
359
|
+
on_click: Optional[
|
|
360
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
361
|
+
] = None,
|
|
327
362
|
on_context_menu: Optional[
|
|
328
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
363
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
329
364
|
] = None,
|
|
330
365
|
on_double_click: Optional[
|
|
331
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
366
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
367
|
+
] = None,
|
|
368
|
+
on_focus: Optional[
|
|
369
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
370
|
+
] = None,
|
|
371
|
+
on_mount: Optional[
|
|
372
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
332
373
|
] = None,
|
|
333
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
334
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
335
374
|
on_mouse_down: Optional[
|
|
336
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
375
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
337
376
|
] = None,
|
|
338
377
|
on_mouse_enter: Optional[
|
|
339
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
378
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
340
379
|
] = None,
|
|
341
380
|
on_mouse_leave: Optional[
|
|
342
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
381
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
343
382
|
] = None,
|
|
344
383
|
on_mouse_move: Optional[
|
|
345
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
384
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
346
385
|
] = None,
|
|
347
386
|
on_mouse_out: Optional[
|
|
348
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
387
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
349
388
|
] = None,
|
|
350
389
|
on_mouse_over: Optional[
|
|
351
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
390
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
352
391
|
] = None,
|
|
353
392
|
on_mouse_up: Optional[
|
|
354
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
393
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
394
|
+
] = None,
|
|
395
|
+
on_scroll: Optional[
|
|
396
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
355
397
|
] = None,
|
|
356
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
357
398
|
on_unmount: Optional[
|
|
358
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
399
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
359
400
|
] = None,
|
|
360
401
|
**props,
|
|
361
402
|
) -> "PopoverClose":
|
|
@@ -4,7 +4,7 @@ from typing import Literal
|
|
|
4
4
|
|
|
5
5
|
from reflex.components.component import Component
|
|
6
6
|
from reflex.components.core.breakpoints import Responsive
|
|
7
|
-
from reflex.vars
|
|
7
|
+
from reflex.vars import Var
|
|
8
8
|
|
|
9
9
|
from ..base import LiteralAccentColor, RadixThemesComponent
|
|
10
10
|
|
|
@@ -7,8 +7,9 @@ from typing import Any, Callable, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.event import EventHandler, EventSpec
|
|
10
|
+
from reflex.ivars.base import ImmutableVar
|
|
10
11
|
from reflex.style import Style
|
|
11
|
-
from reflex.vars
|
|
12
|
+
from reflex.vars import Var
|
|
12
13
|
|
|
13
14
|
from ..base import RadixThemesComponent
|
|
14
15
|
|
|
@@ -22,88 +23,88 @@ class Progress(RadixThemesComponent):
|
|
|
22
23
|
max: Optional[Union[Var[int], int]] = None,
|
|
23
24
|
size: Optional[
|
|
24
25
|
Union[
|
|
25
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
26
|
-
Literal["1", "2", "3"],
|
|
27
26
|
Var[
|
|
28
27
|
Union[
|
|
29
28
|
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
30
29
|
]
|
|
31
30
|
],
|
|
31
|
+
Literal["1", "2", "3"],
|
|
32
|
+
Breakpoints[str, Literal["1", "2", "3"]],
|
|
32
33
|
]
|
|
33
34
|
] = None,
|
|
34
35
|
variant: Optional[
|
|
35
36
|
Union[
|
|
36
|
-
Literal["classic", "
|
|
37
|
-
|
|
37
|
+
Var[Literal["classic", "surface", "soft"]],
|
|
38
|
+
Literal["classic", "surface", "soft"],
|
|
38
39
|
]
|
|
39
40
|
] = None,
|
|
40
41
|
color_scheme: Optional[
|
|
41
42
|
Union[
|
|
42
|
-
Literal[
|
|
43
|
-
"amber",
|
|
44
|
-
"blue",
|
|
45
|
-
"bronze",
|
|
46
|
-
"brown",
|
|
47
|
-
"crimson",
|
|
48
|
-
"cyan",
|
|
49
|
-
"gold",
|
|
50
|
-
"grass",
|
|
51
|
-
"gray",
|
|
52
|
-
"green",
|
|
53
|
-
"indigo",
|
|
54
|
-
"iris",
|
|
55
|
-
"jade",
|
|
56
|
-
"lime",
|
|
57
|
-
"mint",
|
|
58
|
-
"orange",
|
|
59
|
-
"pink",
|
|
60
|
-
"plum",
|
|
61
|
-
"purple",
|
|
62
|
-
"red",
|
|
63
|
-
"ruby",
|
|
64
|
-
"sky",
|
|
65
|
-
"teal",
|
|
66
|
-
"tomato",
|
|
67
|
-
"violet",
|
|
68
|
-
"yellow",
|
|
69
|
-
],
|
|
70
43
|
Var[
|
|
71
44
|
Literal[
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"brown",
|
|
45
|
+
"tomato",
|
|
46
|
+
"red",
|
|
47
|
+
"ruby",
|
|
76
48
|
"crimson",
|
|
77
|
-
"cyan",
|
|
78
|
-
"gold",
|
|
79
|
-
"grass",
|
|
80
|
-
"gray",
|
|
81
|
-
"green",
|
|
82
|
-
"indigo",
|
|
83
|
-
"iris",
|
|
84
|
-
"jade",
|
|
85
|
-
"lime",
|
|
86
|
-
"mint",
|
|
87
|
-
"orange",
|
|
88
49
|
"pink",
|
|
89
50
|
"plum",
|
|
90
51
|
"purple",
|
|
91
|
-
"red",
|
|
92
|
-
"ruby",
|
|
93
|
-
"sky",
|
|
94
|
-
"teal",
|
|
95
|
-
"tomato",
|
|
96
52
|
"violet",
|
|
53
|
+
"iris",
|
|
54
|
+
"indigo",
|
|
55
|
+
"blue",
|
|
56
|
+
"cyan",
|
|
57
|
+
"teal",
|
|
58
|
+
"jade",
|
|
59
|
+
"green",
|
|
60
|
+
"grass",
|
|
61
|
+
"brown",
|
|
62
|
+
"orange",
|
|
63
|
+
"sky",
|
|
64
|
+
"mint",
|
|
65
|
+
"lime",
|
|
97
66
|
"yellow",
|
|
67
|
+
"amber",
|
|
68
|
+
"gold",
|
|
69
|
+
"bronze",
|
|
70
|
+
"gray",
|
|
98
71
|
]
|
|
99
72
|
],
|
|
73
|
+
Literal[
|
|
74
|
+
"tomato",
|
|
75
|
+
"red",
|
|
76
|
+
"ruby",
|
|
77
|
+
"crimson",
|
|
78
|
+
"pink",
|
|
79
|
+
"plum",
|
|
80
|
+
"purple",
|
|
81
|
+
"violet",
|
|
82
|
+
"iris",
|
|
83
|
+
"indigo",
|
|
84
|
+
"blue",
|
|
85
|
+
"cyan",
|
|
86
|
+
"teal",
|
|
87
|
+
"jade",
|
|
88
|
+
"green",
|
|
89
|
+
"grass",
|
|
90
|
+
"brown",
|
|
91
|
+
"orange",
|
|
92
|
+
"sky",
|
|
93
|
+
"mint",
|
|
94
|
+
"lime",
|
|
95
|
+
"yellow",
|
|
96
|
+
"amber",
|
|
97
|
+
"gold",
|
|
98
|
+
"bronze",
|
|
99
|
+
"gray",
|
|
100
|
+
],
|
|
100
101
|
]
|
|
101
102
|
] = None,
|
|
102
103
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
103
104
|
radius: Optional[
|
|
104
105
|
Union[
|
|
105
|
-
Literal["
|
|
106
|
-
|
|
106
|
+
Var[Literal["none", "small", "medium", "large", "full"]],
|
|
107
|
+
Literal["none", "small", "medium", "large", "full"],
|
|
107
108
|
]
|
|
108
109
|
] = None,
|
|
109
110
|
duration: Optional[Union[Var[str], str]] = None,
|
|
@@ -112,41 +113,51 @@ class Progress(RadixThemesComponent):
|
|
|
112
113
|
id: Optional[Any] = None,
|
|
113
114
|
class_name: Optional[Any] = None,
|
|
114
115
|
autofocus: Optional[bool] = None,
|
|
115
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
116
|
-
on_blur: Optional[
|
|
117
|
-
|
|
116
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
117
|
+
on_blur: Optional[
|
|
118
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
119
|
+
] = None,
|
|
120
|
+
on_click: Optional[
|
|
121
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
122
|
+
] = None,
|
|
118
123
|
on_context_menu: Optional[
|
|
119
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
124
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
120
125
|
] = None,
|
|
121
126
|
on_double_click: Optional[
|
|
122
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
127
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
128
|
+
] = None,
|
|
129
|
+
on_focus: Optional[
|
|
130
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
131
|
+
] = None,
|
|
132
|
+
on_mount: Optional[
|
|
133
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
123
134
|
] = None,
|
|
124
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
125
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
126
135
|
on_mouse_down: Optional[
|
|
127
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
136
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
128
137
|
] = None,
|
|
129
138
|
on_mouse_enter: Optional[
|
|
130
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
139
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
131
140
|
] = None,
|
|
132
141
|
on_mouse_leave: Optional[
|
|
133
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
142
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
134
143
|
] = None,
|
|
135
144
|
on_mouse_move: Optional[
|
|
136
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
145
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
137
146
|
] = None,
|
|
138
147
|
on_mouse_out: Optional[
|
|
139
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
148
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
140
149
|
] = None,
|
|
141
150
|
on_mouse_over: Optional[
|
|
142
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
151
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
143
152
|
] = None,
|
|
144
153
|
on_mouse_up: Optional[
|
|
145
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
154
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
155
|
+
] = None,
|
|
156
|
+
on_scroll: Optional[
|
|
157
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
146
158
|
] = None,
|
|
147
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
148
159
|
on_unmount: Optional[
|
|
149
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
160
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
150
161
|
] = None,
|
|
151
162
|
**props,
|
|
152
163
|
) -> "Progress":
|