reflex 0.6.0a1__py3-none-any.whl → 0.6.0a2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- reflex/__init__.py +8 -2
- reflex/__init__.pyi +2 -1
- reflex/app.py +4 -2
- reflex/base.py +1 -1
- reflex/compiler/compiler.py +2 -2
- reflex/compiler/utils.py +3 -3
- reflex/components/base/app_wrap.py +2 -2
- reflex/components/base/app_wrap.pyi +17 -27
- reflex/components/base/bare.py +4 -5
- reflex/components/base/body.pyi +17 -27
- reflex/components/base/document.pyi +81 -131
- reflex/components/base/error_boundary.py +6 -7
- reflex/components/base/error_boundary.pyi +20 -33
- reflex/components/base/fragment.pyi +17 -27
- reflex/components/base/head.pyi +33 -53
- reflex/components/base/link.py +1 -1
- reflex/components/base/link.pyi +33 -54
- reflex/components/base/meta.pyi +65 -105
- reflex/components/base/script.py +1 -2
- reflex/components/base/script.pyi +21 -38
- reflex/components/component.py +48 -47
- reflex/components/core/banner.py +23 -27
- reflex/components/core/banner.pyi +134 -171
- reflex/components/core/client_side_routing.py +2 -3
- reflex/components/core/client_side_routing.pyi +33 -54
- reflex/components/core/clipboard.py +2 -1
- reflex/components/core/clipboard.pyi +20 -33
- reflex/components/core/cond.py +5 -5
- reflex/components/core/debounce.py +5 -5
- reflex/components/core/debounce.pyi +20 -33
- reflex/components/core/foreach.py +3 -4
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +35 -46
- reflex/components/core/match.py +17 -17
- reflex/components/core/upload.py +17 -23
- reflex/components/core/upload.pyi +78 -124
- reflex/components/datadisplay/code.py +9 -10
- reflex/components/datadisplay/code.pyi +302 -412
- reflex/components/datadisplay/dataeditor.py +8 -10
- reflex/components/datadisplay/dataeditor.pyi +40 -53
- reflex/components/el/element.pyi +17 -27
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +34 -45
- reflex/components/el/elements/forms.py +16 -16
- reflex/components/el/elements/forms.pyi +554 -707
- reflex/components/el/elements/inline.py +1 -1
- reflex/components/el/elements/inline.pyi +937 -1218
- reflex/components/el/elements/media.py +1 -1
- reflex/components/el/elements/media.pyi +786 -997
- reflex/components/el/elements/metadata.py +3 -6
- reflex/components/el/elements/metadata.pyi +181 -242
- reflex/components/el/elements/other.py +1 -1
- reflex/components/el/elements/other.pyi +235 -306
- reflex/components/el/elements/scripts.py +1 -1
- reflex/components/el/elements/scripts.pyi +109 -140
- reflex/components/el/elements/sectioning.py +0 -2
- reflex/components/el/elements/sectioning.pyi +496 -647
- reflex/components/el/elements/tables.py +1 -1
- reflex/components/el/elements/tables.pyi +351 -452
- reflex/components/el/elements/typography.py +1 -1
- reflex/components/el/elements/typography.pyi +506 -657
- reflex/components/gridjs/datatable.py +6 -9
- reflex/components/gridjs/datatable.pyi +35 -56
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +33 -54
- reflex/components/markdown/markdown.py +26 -31
- reflex/components/markdown/markdown.pyi +27 -37
- reflex/components/moment/moment.py +13 -12
- reflex/components/moment/moment.pyi +23 -35
- reflex/components/next/base.pyi +17 -27
- reflex/components/next/image.py +1 -1
- reflex/components/next/image.pyi +22 -37
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +17 -28
- reflex/components/next/video.py +1 -1
- reflex/components/next/video.pyi +17 -28
- reflex/components/plotly/plotly.py +12 -13
- reflex/components/plotly/plotly.pyi +39 -54
- reflex/components/props.py +1 -1
- reflex/components/radix/__init__.pyi +1 -0
- reflex/components/radix/primitives/__init__.pyi +1 -0
- reflex/components/radix/primitives/accordion.py +4 -4
- reflex/components/radix/primitives/accordion.pyi +424 -495
- reflex/components/radix/primitives/base.py +1 -1
- reflex/components/radix/primitives/base.pyi +33 -54
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/drawer.pyi +172 -273
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +257 -364
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +231 -282
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +87 -138
- reflex/components/radix/themes/base.py +3 -24
- reflex/components/radix/themes/base.pyi +178 -250
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +187 -220
- reflex/components/radix/themes/components/alert_dialog.py +1 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +136 -207
- reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -28
- reflex/components/radix/themes/components/avatar.py +1 -1
- reflex/components/radix/themes/components/avatar.pyi +70 -81
- reflex/components/radix/themes/components/badge.py +1 -1
- reflex/components/radix/themes/components/badge.pyi +88 -99
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +98 -109
- reflex/components/radix/themes/components/callout.py +1 -1
- reflex/components/radix/themes/components/callout.pyi +322 -373
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +38 -49
- reflex/components/radix/themes/components/checkbox.py +1 -2
- reflex/components/radix/themes/components/checkbox.pyi +208 -245
- reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- reflex/components/radix/themes/components/checkbox_cards.pyi +94 -115
- reflex/components/radix/themes/components/checkbox_group.py +1 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +86 -107
- reflex/components/radix/themes/components/context_menu.py +1 -1
- reflex/components/radix/themes/components/context_menu.pyi +238 -319
- reflex/components/radix/themes/components/data_list.py +1 -1
- reflex/components/radix/themes/components/data_list.pyi +130 -171
- reflex/components/radix/themes/components/dialog.py +1 -1
- reflex/components/radix/themes/components/dialog.pyi +139 -210
- reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +249 -332
- reflex/components/radix/themes/components/hover_card.py +1 -1
- reflex/components/radix/themes/components/hover_card.pyi +90 -131
- reflex/components/radix/themes/components/icon_button.py +2 -3
- reflex/components/radix/themes/components/icon_button.pyi +98 -109
- reflex/components/radix/themes/components/inset.py +1 -1
- reflex/components/radix/themes/components/inset.pyi +47 -58
- reflex/components/radix/themes/components/popover.py +1 -1
- reflex/components/radix/themes/components/popover.pyi +95 -136
- reflex/components/radix/themes/components/progress.py +1 -1
- reflex/components/radix/themes/components/progress.pyi +71 -82
- reflex/components/radix/themes/components/radio.py +1 -1
- reflex/components/radix/themes/components/radio.pyi +69 -80
- reflex/components/radix/themes/components/radio_cards.py +1 -1
- reflex/components/radix/themes/components/radio_cards.pyi +98 -119
- reflex/components/radix/themes/components/radio_group.py +8 -11
- reflex/components/radix/themes/components/radio_group.pyi +228 -271
- reflex/components/radix/themes/components/scroll_area.py +1 -1
- reflex/components/radix/themes/components/scroll_area.pyi +21 -32
- reflex/components/radix/themes/components/segmented_control.py +1 -1
- reflex/components/radix/themes/components/segmented_control.pyi +90 -113
- reflex/components/radix/themes/components/select.py +2 -3
- reflex/components/radix/themes/components/select.pyi +374 -471
- reflex/components/radix/themes/components/separator.py +1 -2
- reflex/components/radix/themes/components/separator.pyi +69 -80
- reflex/components/radix/themes/components/skeleton.py +1 -1
- reflex/components/radix/themes/components/skeleton.pyi +23 -34
- reflex/components/radix/themes/components/slider.py +2 -3
- reflex/components/radix/themes/components/slider.pyi +75 -88
- reflex/components/radix/themes/components/spinner.py +1 -1
- reflex/components/radix/themes/components/spinner.pyi +19 -30
- reflex/components/radix/themes/components/switch.py +1 -1
- reflex/components/radix/themes/components/switch.pyi +71 -84
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +261 -332
- reflex/components/radix/themes/components/tabs.py +1 -1
- reflex/components/radix/themes/components/tabs.pyi +139 -194
- reflex/components/radix/themes/components/text_area.py +1 -1
- reflex/components/radix/themes/components/text_area.pyi +96 -111
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +247 -286
- reflex/components/radix/themes/components/tooltip.py +1 -1
- reflex/components/radix/themes/components/tooltip.pyi +26 -37
- reflex/components/radix/themes/layout/__init__.pyi +1 -0
- reflex/components/radix/themes/layout/base.py +1 -1
- reflex/components/radix/themes/layout/base.pyi +56 -67
- reflex/components/radix/themes/layout/box.pyi +34 -45
- reflex/components/radix/themes/layout/center.pyi +56 -67
- reflex/components/radix/themes/layout/container.py +1 -2
- reflex/components/radix/themes/layout/container.pyi +36 -47
- reflex/components/radix/themes/layout/flex.py +1 -1
- reflex/components/radix/themes/layout/flex.pyi +56 -67
- reflex/components/radix/themes/layout/grid.py +1 -1
- reflex/components/radix/themes/layout/grid.pyi +64 -75
- reflex/components/radix/themes/layout/list.py +5 -6
- reflex/components/radix/themes/layout/list.pyi +193 -244
- reflex/components/radix/themes/layout/section.py +1 -2
- reflex/components/radix/themes/layout/section.pyi +36 -47
- reflex/components/radix/themes/layout/spacer.pyi +56 -67
- reflex/components/radix/themes/layout/stack.py +1 -1
- reflex/components/radix/themes/layout/stack.pyi +128 -159
- reflex/components/radix/themes/typography/blockquote.py +1 -1
- reflex/components/radix/themes/typography/blockquote.pyi +89 -100
- reflex/components/radix/themes/typography/code.py +1 -1
- reflex/components/radix/themes/typography/code.pyi +90 -101
- reflex/components/radix/themes/typography/heading.py +1 -1
- reflex/components/radix/themes/typography/heading.pyi +96 -107
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +102 -113
- reflex/components/radix/themes/typography/text.py +1 -1
- reflex/components/radix/themes/typography/text.pyi +501 -572
- reflex/components/react_player/audio.pyi +33 -60
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +33 -60
- reflex/components/react_player/video.pyi +33 -60
- reflex/components/recharts/cartesian.py +2 -3
- reflex/components/recharts/cartesian.pyi +678 -861
- reflex/components/recharts/charts.py +4 -5
- reflex/components/recharts/charts.pyi +252 -357
- reflex/components/recharts/general.py +1 -2
- reflex/components/recharts/general.pyi +180 -231
- reflex/components/recharts/polar.py +4 -5
- reflex/components/recharts/polar.pyi +144 -181
- reflex/components/recharts/recharts.pyi +33 -53
- reflex/components/sonner/toast.py +16 -17
- reflex/components/sonner/toast.pyi +36 -47
- reflex/components/suneditor/editor.py +2 -3
- reflex/components/suneditor/editor.pyi +55 -78
- reflex/components/tags/cond_tag.py +6 -4
- reflex/components/tags/iter_tag.py +28 -16
- reflex/components/tags/match_tag.py +6 -4
- reflex/components/tags/tag.py +40 -23
- reflex/event.py +113 -65
- reflex/experimental/client_state.py +18 -18
- reflex/experimental/hooks.py +16 -16
- reflex/experimental/layout.py +5 -5
- reflex/experimental/layout.pyi +136 -187
- reflex/middleware/hydrate_middleware.py +2 -0
- reflex/middleware/middleware.py +3 -3
- reflex/state.py +148 -82
- reflex/style.py +21 -22
- reflex/utils/exceptions.py +16 -0
- reflex/utils/format.py +22 -34
- reflex/utils/imports.py +16 -73
- reflex/utils/prerequisites.py +15 -8
- reflex/utils/pyi_generator.py +13 -8
- reflex/utils/serializers.py +12 -22
- reflex/utils/telemetry.py +2 -1
- reflex/utils/types.py +10 -5
- reflex/{ivars → vars}/__init__.py +6 -2
- reflex/{ivars → vars}/base.py +567 -206
- reflex/{ivars → vars}/function.py +15 -19
- reflex/{ivars → vars}/number.py +16 -18
- reflex/{ivars → vars}/object.py +28 -30
- reflex/{ivars → vars}/sequence.py +53 -42
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a2.dist-info}/METADATA +2 -2
- reflex-0.6.0a2.dist-info/RECORD +382 -0
- reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +0 -36
- reflex/vars.py +0 -501
- reflex-0.6.0a1.dist-info/RECORD +0 -384
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a2.dist-info}/LICENSE +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a2.dist-info}/WHEEL +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a2.dist-info}/entry_points.txt +0 -0
|
@@ -9,9 +9,8 @@ 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
|
|
13
12
|
from reflex.style import Style
|
|
14
|
-
from reflex.vars import Var
|
|
13
|
+
from reflex.vars.base import Var
|
|
15
14
|
|
|
16
15
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
17
16
|
|
|
@@ -28,54 +27,44 @@ class PopoverRoot(RadixThemesComponent):
|
|
|
28
27
|
id: Optional[Any] = None,
|
|
29
28
|
class_name: Optional[Any] = None,
|
|
30
29
|
autofocus: Optional[bool] = None,
|
|
31
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
32
|
-
on_blur: Optional[
|
|
33
|
-
|
|
34
|
-
] = None,
|
|
35
|
-
on_click: Optional[
|
|
36
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
37
|
-
] = None,
|
|
30
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
31
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
32
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
38
33
|
on_context_menu: Optional[
|
|
39
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
34
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
40
35
|
] = None,
|
|
41
36
|
on_double_click: Optional[
|
|
42
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
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]
|
|
37
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
49
38
|
] = None,
|
|
39
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
40
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
50
41
|
on_mouse_down: Optional[
|
|
51
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
42
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
52
43
|
] = None,
|
|
53
44
|
on_mouse_enter: Optional[
|
|
54
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
45
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
55
46
|
] = None,
|
|
56
47
|
on_mouse_leave: Optional[
|
|
57
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
48
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
58
49
|
] = None,
|
|
59
50
|
on_mouse_move: Optional[
|
|
60
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
51
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
61
52
|
] = None,
|
|
62
53
|
on_mouse_out: Optional[
|
|
63
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
54
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
64
55
|
] = None,
|
|
65
56
|
on_mouse_over: Optional[
|
|
66
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
57
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
67
58
|
] = None,
|
|
68
59
|
on_mouse_up: Optional[
|
|
69
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
60
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
70
61
|
] = None,
|
|
71
62
|
on_open_change: Optional[
|
|
72
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
73
|
-
] = None,
|
|
74
|
-
on_scroll: Optional[
|
|
75
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
63
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
76
64
|
] = None,
|
|
65
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
77
66
|
on_unmount: Optional[
|
|
78
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
67
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
79
68
|
] = None,
|
|
80
69
|
**props,
|
|
81
70
|
) -> "PopoverRoot":
|
|
@@ -112,51 +101,41 @@ class PopoverTrigger(RadixThemesTriggerComponent):
|
|
|
112
101
|
id: Optional[Any] = None,
|
|
113
102
|
class_name: Optional[Any] = None,
|
|
114
103
|
autofocus: Optional[bool] = None,
|
|
115
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
116
|
-
on_blur: Optional[
|
|
117
|
-
|
|
118
|
-
] = None,
|
|
119
|
-
on_click: Optional[
|
|
120
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
121
|
-
] = None,
|
|
104
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
105
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
106
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
122
107
|
on_context_menu: Optional[
|
|
123
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
108
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
124
109
|
] = None,
|
|
125
110
|
on_double_click: Optional[
|
|
126
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
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]
|
|
111
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
133
112
|
] = None,
|
|
113
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
114
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
134
115
|
on_mouse_down: Optional[
|
|
135
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
116
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
136
117
|
] = None,
|
|
137
118
|
on_mouse_enter: Optional[
|
|
138
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
119
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
139
120
|
] = None,
|
|
140
121
|
on_mouse_leave: Optional[
|
|
141
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
122
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
142
123
|
] = None,
|
|
143
124
|
on_mouse_move: Optional[
|
|
144
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
125
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
145
126
|
] = None,
|
|
146
127
|
on_mouse_out: Optional[
|
|
147
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
128
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
148
129
|
] = None,
|
|
149
130
|
on_mouse_over: Optional[
|
|
150
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
131
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
151
132
|
] = None,
|
|
152
133
|
on_mouse_up: Optional[
|
|
153
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
154
|
-
] = None,
|
|
155
|
-
on_scroll: Optional[
|
|
156
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
134
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
157
135
|
] = None,
|
|
136
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
158
137
|
on_unmount: Optional[
|
|
159
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
138
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
160
139
|
] = None,
|
|
161
140
|
**props,
|
|
162
141
|
) -> "PopoverTrigger":
|
|
@@ -179,123 +158,113 @@ class PopoverContent(elements.Div, RadixThemesComponent):
|
|
|
179
158
|
*children,
|
|
180
159
|
size: Optional[
|
|
181
160
|
Union[
|
|
161
|
+
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
162
|
+
Literal["1", "2", "3", "4"],
|
|
182
163
|
Var[
|
|
183
164
|
Union[
|
|
184
165
|
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
185
166
|
Literal["1", "2", "3", "4"],
|
|
186
167
|
]
|
|
187
168
|
],
|
|
188
|
-
Literal["1", "2", "3", "4"],
|
|
189
|
-
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
190
169
|
]
|
|
191
170
|
] = None,
|
|
192
171
|
side: Optional[
|
|
193
172
|
Union[
|
|
194
|
-
|
|
195
|
-
Literal["
|
|
173
|
+
Literal["bottom", "left", "right", "top"],
|
|
174
|
+
Var[Literal["bottom", "left", "right", "top"]],
|
|
196
175
|
]
|
|
197
176
|
] = None,
|
|
198
177
|
side_offset: Optional[Union[Var[int], int]] = None,
|
|
199
178
|
align: Optional[
|
|
200
179
|
Union[
|
|
201
|
-
|
|
202
|
-
Literal["
|
|
180
|
+
Literal["center", "end", "start"],
|
|
181
|
+
Var[Literal["center", "end", "start"]],
|
|
203
182
|
]
|
|
204
183
|
] = None,
|
|
205
184
|
align_offset: Optional[Union[Var[int], int]] = None,
|
|
206
185
|
avoid_collisions: Optional[Union[Var[bool], bool]] = None,
|
|
207
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
186
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
208
187
|
auto_capitalize: Optional[
|
|
209
|
-
Union[Var[Union[bool, int, str]],
|
|
188
|
+
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
210
189
|
] = None,
|
|
211
190
|
content_editable: Optional[
|
|
212
|
-
Union[Var[Union[bool, int, str]],
|
|
191
|
+
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
213
192
|
] = None,
|
|
214
193
|
context_menu: Optional[
|
|
215
|
-
Union[Var[Union[bool, int, str]],
|
|
194
|
+
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
216
195
|
] = None,
|
|
217
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
218
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
196
|
+
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
197
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
219
198
|
enter_key_hint: Optional[
|
|
220
|
-
Union[Var[Union[bool, int, str]],
|
|
221
|
-
] = None,
|
|
222
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
223
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
224
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
225
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
226
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
227
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
228
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
229
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
230
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
199
|
+
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
200
|
+
] = None,
|
|
201
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
202
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
203
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
204
|
+
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
205
|
+
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
206
|
+
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
207
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
208
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
209
|
+
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
231
210
|
style: Optional[Style] = None,
|
|
232
211
|
key: Optional[Any] = None,
|
|
233
212
|
id: Optional[Any] = None,
|
|
234
213
|
class_name: Optional[Any] = None,
|
|
235
214
|
autofocus: Optional[bool] = None,
|
|
236
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
237
|
-
on_blur: Optional[
|
|
238
|
-
|
|
239
|
-
] = None,
|
|
240
|
-
on_click: Optional[
|
|
241
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
242
|
-
] = None,
|
|
215
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
216
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
217
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
243
218
|
on_close_auto_focus: Optional[
|
|
244
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
219
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
245
220
|
] = None,
|
|
246
221
|
on_context_menu: Optional[
|
|
247
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
222
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
248
223
|
] = None,
|
|
249
224
|
on_double_click: Optional[
|
|
250
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
225
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
251
226
|
] = None,
|
|
252
227
|
on_escape_key_down: Optional[
|
|
253
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
254
|
-
] = None,
|
|
255
|
-
on_focus: Optional[
|
|
256
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
228
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
257
229
|
] = None,
|
|
230
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
258
231
|
on_focus_outside: Optional[
|
|
259
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
232
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
260
233
|
] = None,
|
|
261
234
|
on_interact_outside: Optional[
|
|
262
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
263
|
-
] = None,
|
|
264
|
-
on_mount: Optional[
|
|
265
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
235
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
266
236
|
] = None,
|
|
237
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
267
238
|
on_mouse_down: Optional[
|
|
268
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
239
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
269
240
|
] = None,
|
|
270
241
|
on_mouse_enter: Optional[
|
|
271
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
242
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
272
243
|
] = None,
|
|
273
244
|
on_mouse_leave: Optional[
|
|
274
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
245
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
275
246
|
] = None,
|
|
276
247
|
on_mouse_move: Optional[
|
|
277
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
248
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
278
249
|
] = None,
|
|
279
250
|
on_mouse_out: Optional[
|
|
280
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
251
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
281
252
|
] = None,
|
|
282
253
|
on_mouse_over: Optional[
|
|
283
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
254
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
284
255
|
] = None,
|
|
285
256
|
on_mouse_up: Optional[
|
|
286
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
257
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
287
258
|
] = None,
|
|
288
259
|
on_open_auto_focus: Optional[
|
|
289
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
260
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
290
261
|
] = None,
|
|
291
262
|
on_pointer_down_outside: Optional[
|
|
292
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
293
|
-
] = None,
|
|
294
|
-
on_scroll: Optional[
|
|
295
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
263
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
296
264
|
] = None,
|
|
265
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
297
266
|
on_unmount: Optional[
|
|
298
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
267
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
299
268
|
] = None,
|
|
300
269
|
**props,
|
|
301
270
|
) -> "PopoverContent":
|
|
@@ -352,51 +321,41 @@ class PopoverClose(RadixThemesTriggerComponent):
|
|
|
352
321
|
id: Optional[Any] = None,
|
|
353
322
|
class_name: Optional[Any] = None,
|
|
354
323
|
autofocus: Optional[bool] = None,
|
|
355
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
356
|
-
on_blur: Optional[
|
|
357
|
-
|
|
358
|
-
] = None,
|
|
359
|
-
on_click: Optional[
|
|
360
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
361
|
-
] = None,
|
|
324
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
325
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
326
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
362
327
|
on_context_menu: Optional[
|
|
363
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
328
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
364
329
|
] = None,
|
|
365
330
|
on_double_click: Optional[
|
|
366
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
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]
|
|
331
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
373
332
|
] = None,
|
|
333
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
334
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
374
335
|
on_mouse_down: Optional[
|
|
375
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
336
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
376
337
|
] = None,
|
|
377
338
|
on_mouse_enter: Optional[
|
|
378
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
339
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
379
340
|
] = None,
|
|
380
341
|
on_mouse_leave: Optional[
|
|
381
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
342
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
382
343
|
] = None,
|
|
383
344
|
on_mouse_move: Optional[
|
|
384
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
345
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
385
346
|
] = None,
|
|
386
347
|
on_mouse_out: Optional[
|
|
387
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
348
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
388
349
|
] = None,
|
|
389
350
|
on_mouse_over: Optional[
|
|
390
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
351
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
391
352
|
] = None,
|
|
392
353
|
on_mouse_up: Optional[
|
|
393
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
394
|
-
] = None,
|
|
395
|
-
on_scroll: Optional[
|
|
396
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
354
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
397
355
|
] = None,
|
|
356
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
398
357
|
on_unmount: Optional[
|
|
399
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
358
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
400
359
|
] = None,
|
|
401
360
|
**props,
|
|
402
361
|
) -> "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 import Var
|
|
7
|
+
from reflex.vars.base import Var
|
|
8
8
|
|
|
9
9
|
from ..base import LiteralAccentColor, RadixThemesComponent
|
|
10
10
|
|
|
@@ -7,9 +7,8 @@ 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
|
|
11
10
|
from reflex.style import Style
|
|
12
|
-
from reflex.vars import Var
|
|
11
|
+
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
15
14
|
|
|
@@ -23,88 +22,88 @@ class Progress(RadixThemesComponent):
|
|
|
23
22
|
max: Optional[Union[Var[int], int]] = None,
|
|
24
23
|
size: Optional[
|
|
25
24
|
Union[
|
|
25
|
+
Breakpoints[str, Literal["1", "2", "3"]],
|
|
26
|
+
Literal["1", "2", "3"],
|
|
26
27
|
Var[
|
|
27
28
|
Union[
|
|
28
29
|
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
29
30
|
]
|
|
30
31
|
],
|
|
31
|
-
Literal["1", "2", "3"],
|
|
32
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
33
32
|
]
|
|
34
33
|
] = None,
|
|
35
34
|
variant: Optional[
|
|
36
35
|
Union[
|
|
37
|
-
|
|
38
|
-
Literal["classic", "
|
|
36
|
+
Literal["classic", "soft", "surface"],
|
|
37
|
+
Var[Literal["classic", "soft", "surface"]],
|
|
39
38
|
]
|
|
40
39
|
] = None,
|
|
41
40
|
color_scheme: Optional[
|
|
42
41
|
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
|
+
],
|
|
43
70
|
Var[
|
|
44
71
|
Literal[
|
|
45
|
-
"
|
|
46
|
-
"red",
|
|
47
|
-
"ruby",
|
|
48
|
-
"crimson",
|
|
49
|
-
"pink",
|
|
50
|
-
"plum",
|
|
51
|
-
"purple",
|
|
52
|
-
"violet",
|
|
53
|
-
"iris",
|
|
54
|
-
"indigo",
|
|
72
|
+
"amber",
|
|
55
73
|
"blue",
|
|
74
|
+
"bronze",
|
|
75
|
+
"brown",
|
|
76
|
+
"crimson",
|
|
56
77
|
"cyan",
|
|
57
|
-
"
|
|
58
|
-
"jade",
|
|
59
|
-
"green",
|
|
78
|
+
"gold",
|
|
60
79
|
"grass",
|
|
61
|
-
"
|
|
80
|
+
"gray",
|
|
81
|
+
"green",
|
|
82
|
+
"indigo",
|
|
83
|
+
"iris",
|
|
84
|
+
"jade",
|
|
85
|
+
"lime",
|
|
86
|
+
"mint",
|
|
62
87
|
"orange",
|
|
88
|
+
"pink",
|
|
89
|
+
"plum",
|
|
90
|
+
"purple",
|
|
91
|
+
"red",
|
|
92
|
+
"ruby",
|
|
63
93
|
"sky",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
94
|
+
"teal",
|
|
95
|
+
"tomato",
|
|
96
|
+
"violet",
|
|
66
97
|
"yellow",
|
|
67
|
-
"amber",
|
|
68
|
-
"gold",
|
|
69
|
-
"bronze",
|
|
70
|
-
"gray",
|
|
71
98
|
]
|
|
72
99
|
],
|
|
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
|
-
],
|
|
101
100
|
]
|
|
102
101
|
] = None,
|
|
103
102
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
104
103
|
radius: Optional[
|
|
105
104
|
Union[
|
|
106
|
-
|
|
107
|
-
Literal["
|
|
105
|
+
Literal["full", "large", "medium", "none", "small"],
|
|
106
|
+
Var[Literal["full", "large", "medium", "none", "small"]],
|
|
108
107
|
]
|
|
109
108
|
] = None,
|
|
110
109
|
duration: Optional[Union[Var[str], str]] = None,
|
|
@@ -113,51 +112,41 @@ class Progress(RadixThemesComponent):
|
|
|
113
112
|
id: Optional[Any] = None,
|
|
114
113
|
class_name: Optional[Any] = None,
|
|
115
114
|
autofocus: Optional[bool] = None,
|
|
116
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
117
|
-
on_blur: Optional[
|
|
118
|
-
|
|
119
|
-
] = None,
|
|
120
|
-
on_click: Optional[
|
|
121
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
122
|
-
] = None,
|
|
115
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
116
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
117
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
123
118
|
on_context_menu: Optional[
|
|
124
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
119
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
125
120
|
] = None,
|
|
126
121
|
on_double_click: Optional[
|
|
127
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
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]
|
|
122
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
134
123
|
] = None,
|
|
124
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
125
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
135
126
|
on_mouse_down: Optional[
|
|
136
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
127
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
137
128
|
] = None,
|
|
138
129
|
on_mouse_enter: Optional[
|
|
139
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
130
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
140
131
|
] = None,
|
|
141
132
|
on_mouse_leave: Optional[
|
|
142
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
133
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
143
134
|
] = None,
|
|
144
135
|
on_mouse_move: Optional[
|
|
145
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
136
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
146
137
|
] = None,
|
|
147
138
|
on_mouse_out: Optional[
|
|
148
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
139
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
149
140
|
] = None,
|
|
150
141
|
on_mouse_over: Optional[
|
|
151
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
142
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
152
143
|
] = None,
|
|
153
144
|
on_mouse_up: Optional[
|
|
154
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
155
|
-
] = None,
|
|
156
|
-
on_scroll: Optional[
|
|
157
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
145
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
158
146
|
] = None,
|
|
147
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
159
148
|
on_unmount: Optional[
|
|
160
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
149
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
161
150
|
] = None,
|
|
162
151
|
**props,
|
|
163
152
|
) -> "Progress":
|