reflex 0.7.0a1__py3-none-any.whl → 0.7.0a3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +1 -1
- reflex/app.py +6 -8
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.pyi +17 -21
- reflex/components/base/fragment.pyi +16 -16
- reflex/components/base/head.pyi +31 -31
- reflex/components/base/link.pyi +31 -31
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.pyi +16 -16
- reflex/components/core/banner.py +95 -19
- reflex/components/core/banner.pyi +91 -91
- reflex/components/core/client_side_routing.pyi +31 -31
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +5 -0
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/sticky.pyi +61 -61
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.pyi +222 -256
- reflex/components/el/elements/inline.pyi +421 -421
- reflex/components/el/elements/media.pyi +376 -376
- reflex/components/el/elements/metadata.pyi +91 -91
- reflex/components/el/elements/other.pyi +106 -106
- reflex/components/el/elements/scripts.pyi +46 -46
- reflex/components/el/elements/sectioning.pyi +226 -226
- reflex/components/el/elements/tables.pyi +151 -151
- reflex/components/el/elements/typography.pyi +226 -226
- reflex/components/gridjs/datatable.pyi +31 -31
- reflex/components/lucide/icon.pyi +46 -46
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.pyi +18 -18
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/plotly.pyi +34 -44
- reflex/components/radix/primitives/accordion.pyi +107 -107
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.pyi +175 -183
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.pyi +110 -112
- reflex/components/radix/themes/components/aspect_ratio.pyi +16 -16
- reflex/components/radix/themes/components/avatar.pyi +16 -16
- reflex/components/radix/themes/components/badge.pyi +16 -16
- reflex/components/radix/themes/components/button.pyi +16 -16
- reflex/components/radix/themes/components/callout.pyi +76 -76
- reflex/components/radix/themes/components/card.pyi +16 -16
- reflex/components/radix/themes/components/checkbox.pyi +49 -55
- reflex/components/radix/themes/components/checkbox_cards.pyi +31 -31
- reflex/components/radix/themes/components/checkbox_group.pyi +31 -31
- reflex/components/radix/themes/components/context_menu.pyi +149 -155
- reflex/components/radix/themes/components/data_list.pyi +61 -61
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.pyi +16 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.pyi +68 -70
- reflex/components/radix/themes/components/progress.pyi +16 -16
- reflex/components/radix/themes/components/radio.pyi +16 -16
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.pyi +62 -64
- reflex/components/radix/themes/components/scroll_area.pyi +16 -16
- reflex/components/radix/themes/components/segmented_control.pyi +32 -35
- reflex/components/radix/themes/components/select.py +1 -0
- reflex/components/radix/themes/components/select.pyi +145 -157
- reflex/components/radix/themes/components/separator.pyi +16 -16
- reflex/components/radix/themes/components/skeleton.py +3 -0
- reflex/components/radix/themes/components/skeleton.pyi +16 -16
- reflex/components/radix/themes/components/slider.pyi +22 -28
- reflex/components/radix/themes/components/spinner.pyi +16 -16
- reflex/components/radix/themes/components/switch.pyi +17 -19
- reflex/components/radix/themes/components/table.pyi +106 -106
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.pyi +19 -33
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +3 -0
- reflex/components/radix/themes/components/tooltip.pyi +19 -21
- reflex/components/radix/themes/layout/base.pyi +16 -16
- reflex/components/radix/themes/layout/box.pyi +16 -16
- reflex/components/radix/themes/layout/center.pyi +16 -16
- reflex/components/radix/themes/layout/container.pyi +16 -16
- reflex/components/radix/themes/layout/flex.pyi +16 -16
- reflex/components/radix/themes/layout/grid.pyi +16 -16
- reflex/components/radix/themes/layout/list.pyi +76 -76
- reflex/components/radix/themes/layout/section.pyi +16 -16
- reflex/components/radix/themes/layout/spacer.pyi +16 -16
- reflex/components/radix/themes/layout/stack.pyi +46 -46
- reflex/components/radix/themes/typography/blockquote.pyi +16 -16
- reflex/components/radix/themes/typography/code.pyi +16 -16
- reflex/components/radix/themes/typography/heading.pyi +16 -16
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.pyi +92 -92
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.pyi +16 -16
- reflex/components/suneditor/editor.pyi +24 -38
- reflex/custom_components/custom_components.py +10 -4
- reflex/event.py +89 -51
- reflex/experimental/layout.pyi +78 -82
- reflex/page.py +2 -2
- reflex/utils/exceptions.py +13 -0
- reflex/utils/format.py +1 -1
- reflex/utils/prerequisites.py +3 -3
- reflex/utils/pyi_generator.py +9 -8
- reflex/vars/base.py +10 -4
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/METADATA +1 -1
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/RECORD +129 -129
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/entry_points.txt +0 -0
reflex/components/base/meta.pyi
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component
|
|
9
|
-
from reflex.event import
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -23,21 +23,21 @@ class Title(Component):
|
|
|
23
23
|
class_name: Optional[Any] = None,
|
|
24
24
|
autofocus: Optional[bool] = None,
|
|
25
25
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
26
|
-
on_blur: Optional[EventType[
|
|
27
|
-
on_click: Optional[EventType[
|
|
28
|
-
on_context_menu: Optional[EventType[
|
|
29
|
-
on_double_click: Optional[EventType[
|
|
30
|
-
on_focus: Optional[EventType[
|
|
31
|
-
on_mount: Optional[EventType[
|
|
32
|
-
on_mouse_down: Optional[EventType[
|
|
33
|
-
on_mouse_enter: Optional[EventType[
|
|
34
|
-
on_mouse_leave: Optional[EventType[
|
|
35
|
-
on_mouse_move: Optional[EventType[
|
|
36
|
-
on_mouse_out: Optional[EventType[
|
|
37
|
-
on_mouse_over: Optional[EventType[
|
|
38
|
-
on_mouse_up: Optional[EventType[
|
|
39
|
-
on_scroll: Optional[EventType[
|
|
40
|
-
on_unmount: Optional[EventType[
|
|
26
|
+
on_blur: Optional[EventType[()]] = None,
|
|
27
|
+
on_click: Optional[EventType[()]] = None,
|
|
28
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
29
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
30
|
+
on_focus: Optional[EventType[()]] = None,
|
|
31
|
+
on_mount: Optional[EventType[()]] = None,
|
|
32
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
33
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
34
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
35
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
36
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
37
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
38
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
39
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
40
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
41
41
|
**props,
|
|
42
42
|
) -> "Title":
|
|
43
43
|
"""Create the component.
|
|
@@ -74,21 +74,21 @@ class Meta(Component):
|
|
|
74
74
|
class_name: Optional[Any] = None,
|
|
75
75
|
autofocus: Optional[bool] = None,
|
|
76
76
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
77
|
-
on_blur: Optional[EventType[
|
|
78
|
-
on_click: Optional[EventType[
|
|
79
|
-
on_context_menu: Optional[EventType[
|
|
80
|
-
on_double_click: Optional[EventType[
|
|
81
|
-
on_focus: Optional[EventType[
|
|
82
|
-
on_mount: Optional[EventType[
|
|
83
|
-
on_mouse_down: Optional[EventType[
|
|
84
|
-
on_mouse_enter: Optional[EventType[
|
|
85
|
-
on_mouse_leave: Optional[EventType[
|
|
86
|
-
on_mouse_move: Optional[EventType[
|
|
87
|
-
on_mouse_out: Optional[EventType[
|
|
88
|
-
on_mouse_over: Optional[EventType[
|
|
89
|
-
on_mouse_up: Optional[EventType[
|
|
90
|
-
on_scroll: Optional[EventType[
|
|
91
|
-
on_unmount: Optional[EventType[
|
|
77
|
+
on_blur: Optional[EventType[()]] = None,
|
|
78
|
+
on_click: Optional[EventType[()]] = None,
|
|
79
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
80
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
81
|
+
on_focus: Optional[EventType[()]] = None,
|
|
82
|
+
on_mount: Optional[EventType[()]] = None,
|
|
83
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
84
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
85
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
86
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
87
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
88
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
89
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
90
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
91
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
92
92
|
**props,
|
|
93
93
|
) -> "Meta":
|
|
94
94
|
"""Create the component.
|
|
@@ -130,21 +130,21 @@ class Description(Meta):
|
|
|
130
130
|
class_name: Optional[Any] = None,
|
|
131
131
|
autofocus: Optional[bool] = None,
|
|
132
132
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
133
|
-
on_blur: Optional[EventType[
|
|
134
|
-
on_click: Optional[EventType[
|
|
135
|
-
on_context_menu: Optional[EventType[
|
|
136
|
-
on_double_click: Optional[EventType[
|
|
137
|
-
on_focus: Optional[EventType[
|
|
138
|
-
on_mount: Optional[EventType[
|
|
139
|
-
on_mouse_down: Optional[EventType[
|
|
140
|
-
on_mouse_enter: Optional[EventType[
|
|
141
|
-
on_mouse_leave: Optional[EventType[
|
|
142
|
-
on_mouse_move: Optional[EventType[
|
|
143
|
-
on_mouse_out: Optional[EventType[
|
|
144
|
-
on_mouse_over: Optional[EventType[
|
|
145
|
-
on_mouse_up: Optional[EventType[
|
|
146
|
-
on_scroll: Optional[EventType[
|
|
147
|
-
on_unmount: Optional[EventType[
|
|
133
|
+
on_blur: Optional[EventType[()]] = None,
|
|
134
|
+
on_click: Optional[EventType[()]] = None,
|
|
135
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
136
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
137
|
+
on_focus: Optional[EventType[()]] = None,
|
|
138
|
+
on_mount: Optional[EventType[()]] = None,
|
|
139
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
140
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
141
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
142
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
143
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
144
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
145
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
146
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
147
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
148
148
|
**props,
|
|
149
149
|
) -> "Description":
|
|
150
150
|
"""Create the component.
|
|
@@ -186,21 +186,21 @@ class Image(Meta):
|
|
|
186
186
|
class_name: Optional[Any] = None,
|
|
187
187
|
autofocus: Optional[bool] = None,
|
|
188
188
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
189
|
-
on_blur: Optional[EventType[
|
|
190
|
-
on_click: Optional[EventType[
|
|
191
|
-
on_context_menu: Optional[EventType[
|
|
192
|
-
on_double_click: Optional[EventType[
|
|
193
|
-
on_focus: Optional[EventType[
|
|
194
|
-
on_mount: Optional[EventType[
|
|
195
|
-
on_mouse_down: Optional[EventType[
|
|
196
|
-
on_mouse_enter: Optional[EventType[
|
|
197
|
-
on_mouse_leave: Optional[EventType[
|
|
198
|
-
on_mouse_move: Optional[EventType[
|
|
199
|
-
on_mouse_out: Optional[EventType[
|
|
200
|
-
on_mouse_over: Optional[EventType[
|
|
201
|
-
on_mouse_up: Optional[EventType[
|
|
202
|
-
on_scroll: Optional[EventType[
|
|
203
|
-
on_unmount: Optional[EventType[
|
|
189
|
+
on_blur: Optional[EventType[()]] = None,
|
|
190
|
+
on_click: Optional[EventType[()]] = None,
|
|
191
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
192
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
193
|
+
on_focus: Optional[EventType[()]] = None,
|
|
194
|
+
on_mount: Optional[EventType[()]] = None,
|
|
195
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
196
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
197
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
198
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
199
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
200
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
201
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
202
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
203
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
204
204
|
**props,
|
|
205
205
|
) -> "Image":
|
|
206
206
|
"""Create the component.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component
|
|
9
|
-
from reflex.event import
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -29,24 +29,24 @@ class Script(Component):
|
|
|
29
29
|
class_name: Optional[Any] = None,
|
|
30
30
|
autofocus: Optional[bool] = None,
|
|
31
31
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
32
|
-
on_blur: Optional[EventType[
|
|
33
|
-
on_click: Optional[EventType[
|
|
34
|
-
on_context_menu: Optional[EventType[
|
|
35
|
-
on_double_click: Optional[EventType[
|
|
36
|
-
on_error: Optional[EventType[
|
|
37
|
-
on_focus: Optional[EventType[
|
|
38
|
-
on_load: Optional[EventType[
|
|
39
|
-
on_mount: Optional[EventType[
|
|
40
|
-
on_mouse_down: Optional[EventType[
|
|
41
|
-
on_mouse_enter: Optional[EventType[
|
|
42
|
-
on_mouse_leave: Optional[EventType[
|
|
43
|
-
on_mouse_move: Optional[EventType[
|
|
44
|
-
on_mouse_out: Optional[EventType[
|
|
45
|
-
on_mouse_over: Optional[EventType[
|
|
46
|
-
on_mouse_up: Optional[EventType[
|
|
47
|
-
on_ready: Optional[EventType[
|
|
48
|
-
on_scroll: Optional[EventType[
|
|
49
|
-
on_unmount: Optional[EventType[
|
|
32
|
+
on_blur: Optional[EventType[()]] = None,
|
|
33
|
+
on_click: Optional[EventType[()]] = None,
|
|
34
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
35
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
36
|
+
on_error: Optional[EventType[()]] = None,
|
|
37
|
+
on_focus: Optional[EventType[()]] = None,
|
|
38
|
+
on_load: Optional[EventType[()]] = None,
|
|
39
|
+
on_mount: Optional[EventType[()]] = None,
|
|
40
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
41
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
42
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
43
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
44
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
45
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
46
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
47
|
+
on_ready: Optional[EventType[()]] = None,
|
|
48
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
49
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
50
50
|
**props,
|
|
51
51
|
) -> "Script":
|
|
52
52
|
"""Create an inline or user-defined script.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component
|
|
9
|
-
from reflex.event import
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -22,21 +22,21 @@ class StrictMode(Component):
|
|
|
22
22
|
class_name: Optional[Any] = None,
|
|
23
23
|
autofocus: Optional[bool] = None,
|
|
24
24
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
25
|
-
on_blur: Optional[EventType[
|
|
26
|
-
on_click: Optional[EventType[
|
|
27
|
-
on_context_menu: Optional[EventType[
|
|
28
|
-
on_double_click: Optional[EventType[
|
|
29
|
-
on_focus: Optional[EventType[
|
|
30
|
-
on_mount: Optional[EventType[
|
|
31
|
-
on_mouse_down: Optional[EventType[
|
|
32
|
-
on_mouse_enter: Optional[EventType[
|
|
33
|
-
on_mouse_leave: Optional[EventType[
|
|
34
|
-
on_mouse_move: Optional[EventType[
|
|
35
|
-
on_mouse_out: Optional[EventType[
|
|
36
|
-
on_mouse_over: Optional[EventType[
|
|
37
|
-
on_mouse_up: Optional[EventType[
|
|
38
|
-
on_scroll: Optional[EventType[
|
|
39
|
-
on_unmount: Optional[EventType[
|
|
25
|
+
on_blur: Optional[EventType[()]] = None,
|
|
26
|
+
on_click: Optional[EventType[()]] = None,
|
|
27
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
28
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
29
|
+
on_focus: Optional[EventType[()]] = None,
|
|
30
|
+
on_mount: Optional[EventType[()]] = None,
|
|
31
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
32
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
33
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
34
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
35
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
36
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
37
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
38
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
39
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
40
40
|
**props,
|
|
41
41
|
) -> "StrictMode":
|
|
42
42
|
"""Create the component.
|
reflex/components/core/banner.py
CHANGED
|
@@ -7,7 +7,6 @@ from typing import Optional
|
|
|
7
7
|
from reflex import constants
|
|
8
8
|
from reflex.components.component import Component
|
|
9
9
|
from reflex.components.core.cond import cond
|
|
10
|
-
from reflex.components.datadisplay.logo import svg_logo
|
|
11
10
|
from reflex.components.el.elements.typography import Div
|
|
12
11
|
from reflex.components.lucide.icon import Icon
|
|
13
12
|
from reflex.components.radix.themes.components.dialog import (
|
|
@@ -330,36 +329,113 @@ class BackendDisabled(Div):
|
|
|
330
329
|
rx.cond(
|
|
331
330
|
is_backend_disabled,
|
|
332
331
|
rx.box(
|
|
332
|
+
rx.el.link(
|
|
333
|
+
rel="preconnect",
|
|
334
|
+
href="https://fonts.googleapis.com",
|
|
335
|
+
),
|
|
336
|
+
rx.el.link(
|
|
337
|
+
rel="preconnect",
|
|
338
|
+
href="https://fonts.gstatic.com",
|
|
339
|
+
crossorigin="",
|
|
340
|
+
),
|
|
341
|
+
rx.el.link(
|
|
342
|
+
href="https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,500;0,600&display=swap",
|
|
343
|
+
rel="stylesheet",
|
|
344
|
+
),
|
|
333
345
|
rx.box(
|
|
334
|
-
rx.
|
|
335
|
-
rx.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
346
|
+
rx.vstack(
|
|
347
|
+
rx.text(
|
|
348
|
+
"This app is paused",
|
|
349
|
+
font_size="1.5rem",
|
|
350
|
+
font_weight="600",
|
|
351
|
+
line_height="1.25rem",
|
|
352
|
+
letter_spacing="-0.0375rem",
|
|
353
|
+
),
|
|
354
|
+
rx.hstack(
|
|
355
|
+
rx.el.svg(
|
|
356
|
+
rx.el.svg.path(
|
|
357
|
+
d="M6.90816 1.34341C7.61776 1.10786 8.38256 1.10786 9.09216 1.34341C9.7989 1.57799 10.3538 2.13435 10.9112 2.91605C11.4668 3.69515 12.0807 4.78145 12.872 6.18175L12.9031 6.23672C13.6946 7.63721 14.3085 8.72348 14.6911 9.60441C15.0755 10.4896 15.267 11.2539 15.1142 11.9881C14.9604 12.7275 14.5811 13.3997 14.0287 13.9079C13.4776 14.4147 12.7273 14.6286 11.7826 14.7313C10.8432 14.8334 9.6143 14.8334 8.0327 14.8334H7.9677C6.38604 14.8334 5.15719 14.8334 4.21778 14.7313C3.27301 14.6286 2.52269 14.4147 1.97164 13.9079C1.41924 13.3997 1.03995 12.7275 0.88613 11.9881C0.733363 11.2539 0.92483 10.4896 1.30926 9.60441C1.69184 8.72348 2.30573 7.63721 3.09722 6.23671L3.12828 6.18175C3.91964 4.78146 4.53355 3.69515 5.08914 2.91605C5.64658 2.13435 6.20146 1.57799 6.90816 1.34341ZM7.3335 11.3334C7.3335 10.9652 7.63063 10.6667 7.99716 10.6667H8.00316C8.3697 10.6667 8.66683 10.9652 8.66683 11.3334C8.66683 11.7016 8.3697 12.0001 8.00316 12.0001H7.99716C7.63063 12.0001 7.3335 11.7016 7.3335 11.3334ZM7.3335 8.66675C7.3335 9.03495 7.63196 9.33341 8.00016 9.33341C8.36836 9.33341 8.66683 9.03495 8.66683 8.66675V6.00008C8.66683 5.63189 8.36836 5.33341 8.00016 5.33341C7.63196 5.33341 7.3335 5.63189 7.3335 6.00008V8.66675Z",
|
|
358
|
+
fill_rule="evenodd",
|
|
359
|
+
clip_rule="evenodd",
|
|
360
|
+
fill=rx.color("amber", 11),
|
|
361
|
+
),
|
|
362
|
+
width="16",
|
|
363
|
+
height="16",
|
|
364
|
+
viewBox="0 0 16 16",
|
|
365
|
+
fill="none",
|
|
366
|
+
xmlns="http://www.w3.org/2000/svg",
|
|
367
|
+
margin_top="0.125rem",
|
|
368
|
+
flex_shrink="0",
|
|
339
369
|
),
|
|
340
|
-
rx.
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
370
|
+
rx.text(
|
|
371
|
+
"If you are the owner of this app, visit ",
|
|
372
|
+
rx.link(
|
|
373
|
+
"Reflex Cloud",
|
|
374
|
+
color=rx.color("amber", 11),
|
|
375
|
+
underline="always",
|
|
376
|
+
_hover={
|
|
377
|
+
"color": rx.color("amber", 11),
|
|
378
|
+
"text_decoration_color": rx.color(
|
|
379
|
+
"amber", 11
|
|
380
|
+
),
|
|
381
|
+
},
|
|
382
|
+
text_decoration_color=rx.color("amber", 10),
|
|
383
|
+
href="https://cloud.reflex.dev/",
|
|
384
|
+
font_weight="600",
|
|
385
|
+
is_external=True,
|
|
347
386
|
),
|
|
387
|
+
" for more information on how to resume your app.",
|
|
388
|
+
font_size="0.875rem",
|
|
389
|
+
font_weight="500",
|
|
390
|
+
line_height="1.25rem",
|
|
391
|
+
letter_spacing="-0.01094rem",
|
|
392
|
+
color=rx.color("amber", 11),
|
|
393
|
+
),
|
|
394
|
+
align="start",
|
|
395
|
+
gap="0.625rem",
|
|
396
|
+
border_radius="0.75rem",
|
|
397
|
+
border_width="1px",
|
|
398
|
+
border_color=rx.color("amber", 5),
|
|
399
|
+
background_color=rx.color("amber", 3),
|
|
400
|
+
padding="0.625rem",
|
|
401
|
+
),
|
|
402
|
+
rx.link(
|
|
403
|
+
rx.el.button(
|
|
404
|
+
"Resume app",
|
|
405
|
+
color="rgba(252, 252, 253, 1)",
|
|
406
|
+
font_size="0.875rem",
|
|
407
|
+
font_weight="600",
|
|
408
|
+
line_height="1.25rem",
|
|
409
|
+
letter_spacing="-0.01094rem",
|
|
410
|
+
height="2.5rem",
|
|
411
|
+
padding="0rem 0.75rem",
|
|
348
412
|
width="100%",
|
|
349
|
-
|
|
350
|
-
|
|
413
|
+
border_radius="0.75rem",
|
|
414
|
+
background=f"linear-gradient(180deg, {rx.color('violet', 9)} 0%, {rx.color('violet', 10)} 100%)",
|
|
415
|
+
_hover={
|
|
416
|
+
"background": f"linear-gradient(180deg, {rx.color('violet', 10)} 0%, {rx.color('violet', 10)} 100%)",
|
|
417
|
+
},
|
|
351
418
|
),
|
|
419
|
+
width="100%",
|
|
420
|
+
underline="none",
|
|
421
|
+
href="https://cloud.reflex.dev/",
|
|
422
|
+
is_external=True,
|
|
352
423
|
),
|
|
353
|
-
|
|
354
|
-
font_family='"Inter", "Helvetica", "Arial", sans-serif',
|
|
355
|
-
variant="classic",
|
|
424
|
+
gap="1rem",
|
|
356
425
|
),
|
|
426
|
+
font_family='"Instrument Sans", "Helvetica", "Arial", sans-serif',
|
|
357
427
|
position="fixed",
|
|
358
428
|
top="50%",
|
|
359
429
|
left="50%",
|
|
360
430
|
transform="translate(-50%, -50%)",
|
|
361
|
-
width="
|
|
431
|
+
width="60ch",
|
|
362
432
|
max_width="90vw",
|
|
433
|
+
border_radius="0.75rem",
|
|
434
|
+
border_width="1px",
|
|
435
|
+
border_color=rx.color("slate", 4),
|
|
436
|
+
padding="1.5rem",
|
|
437
|
+
background_color=rx.color("slate", 1),
|
|
438
|
+
box_shadow="0px 2px 5px 0px light-dark(rgba(28, 32, 36, 0.03), rgba(0, 0, 0, 0.00))",
|
|
363
439
|
),
|
|
364
440
|
position="fixed",
|
|
365
441
|
z_index=9999,
|
|
@@ -10,7 +10,7 @@ from reflex.components.el.elements.typography import Div
|
|
|
10
10
|
from reflex.components.lucide.icon import Icon
|
|
11
11
|
from reflex.components.sonner.toast import Toaster, ToastProps
|
|
12
12
|
from reflex.constants.compiler import CompileVars
|
|
13
|
-
from reflex.event import
|
|
13
|
+
from reflex.event import EventType
|
|
14
14
|
from reflex.style import Style
|
|
15
15
|
from reflex.utils.imports import ImportVar
|
|
16
16
|
from reflex.vars import VarData
|
|
@@ -89,21 +89,21 @@ class ConnectionToaster(Toaster):
|
|
|
89
89
|
class_name: Optional[Any] = None,
|
|
90
90
|
autofocus: Optional[bool] = None,
|
|
91
91
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
92
|
-
on_blur: Optional[EventType[
|
|
93
|
-
on_click: Optional[EventType[
|
|
94
|
-
on_context_menu: Optional[EventType[
|
|
95
|
-
on_double_click: Optional[EventType[
|
|
96
|
-
on_focus: Optional[EventType[
|
|
97
|
-
on_mount: Optional[EventType[
|
|
98
|
-
on_mouse_down: Optional[EventType[
|
|
99
|
-
on_mouse_enter: Optional[EventType[
|
|
100
|
-
on_mouse_leave: Optional[EventType[
|
|
101
|
-
on_mouse_move: Optional[EventType[
|
|
102
|
-
on_mouse_out: Optional[EventType[
|
|
103
|
-
on_mouse_over: Optional[EventType[
|
|
104
|
-
on_mouse_up: Optional[EventType[
|
|
105
|
-
on_scroll: Optional[EventType[
|
|
106
|
-
on_unmount: Optional[EventType[
|
|
92
|
+
on_blur: Optional[EventType[()]] = None,
|
|
93
|
+
on_click: Optional[EventType[()]] = None,
|
|
94
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
95
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
96
|
+
on_focus: Optional[EventType[()]] = None,
|
|
97
|
+
on_mount: Optional[EventType[()]] = None,
|
|
98
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
99
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
100
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
101
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
102
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
103
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
104
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
105
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
106
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
107
107
|
**props,
|
|
108
108
|
) -> "ConnectionToaster":
|
|
109
109
|
"""Create a connection toaster component.
|
|
@@ -149,21 +149,21 @@ class ConnectionBanner(Component):
|
|
|
149
149
|
class_name: Optional[Any] = None,
|
|
150
150
|
autofocus: Optional[bool] = None,
|
|
151
151
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
152
|
-
on_blur: Optional[EventType[
|
|
153
|
-
on_click: Optional[EventType[
|
|
154
|
-
on_context_menu: Optional[EventType[
|
|
155
|
-
on_double_click: Optional[EventType[
|
|
156
|
-
on_focus: Optional[EventType[
|
|
157
|
-
on_mount: Optional[EventType[
|
|
158
|
-
on_mouse_down: Optional[EventType[
|
|
159
|
-
on_mouse_enter: Optional[EventType[
|
|
160
|
-
on_mouse_leave: Optional[EventType[
|
|
161
|
-
on_mouse_move: Optional[EventType[
|
|
162
|
-
on_mouse_out: Optional[EventType[
|
|
163
|
-
on_mouse_over: Optional[EventType[
|
|
164
|
-
on_mouse_up: Optional[EventType[
|
|
165
|
-
on_scroll: Optional[EventType[
|
|
166
|
-
on_unmount: Optional[EventType[
|
|
152
|
+
on_blur: Optional[EventType[()]] = None,
|
|
153
|
+
on_click: Optional[EventType[()]] = None,
|
|
154
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
155
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
156
|
+
on_focus: Optional[EventType[()]] = None,
|
|
157
|
+
on_mount: Optional[EventType[()]] = None,
|
|
158
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
159
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
160
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
161
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
162
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
163
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
164
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
165
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
166
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
167
167
|
**props,
|
|
168
168
|
) -> "ConnectionBanner":
|
|
169
169
|
"""Create a connection banner component.
|
|
@@ -188,21 +188,21 @@ class ConnectionModal(Component):
|
|
|
188
188
|
class_name: Optional[Any] = None,
|
|
189
189
|
autofocus: Optional[bool] = None,
|
|
190
190
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
191
|
-
on_blur: Optional[EventType[
|
|
192
|
-
on_click: Optional[EventType[
|
|
193
|
-
on_context_menu: Optional[EventType[
|
|
194
|
-
on_double_click: Optional[EventType[
|
|
195
|
-
on_focus: Optional[EventType[
|
|
196
|
-
on_mount: Optional[EventType[
|
|
197
|
-
on_mouse_down: Optional[EventType[
|
|
198
|
-
on_mouse_enter: Optional[EventType[
|
|
199
|
-
on_mouse_leave: Optional[EventType[
|
|
200
|
-
on_mouse_move: Optional[EventType[
|
|
201
|
-
on_mouse_out: Optional[EventType[
|
|
202
|
-
on_mouse_over: Optional[EventType[
|
|
203
|
-
on_mouse_up: Optional[EventType[
|
|
204
|
-
on_scroll: Optional[EventType[
|
|
205
|
-
on_unmount: Optional[EventType[
|
|
191
|
+
on_blur: Optional[EventType[()]] = None,
|
|
192
|
+
on_click: Optional[EventType[()]] = None,
|
|
193
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
194
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
195
|
+
on_focus: Optional[EventType[()]] = None,
|
|
196
|
+
on_mount: Optional[EventType[()]] = None,
|
|
197
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
198
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
199
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
200
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
201
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
202
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
203
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
204
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
205
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
206
206
|
**props,
|
|
207
207
|
) -> "ConnectionModal":
|
|
208
208
|
"""Create a connection banner component.
|
|
@@ -228,21 +228,21 @@ class WifiOffPulse(Icon):
|
|
|
228
228
|
class_name: Optional[Any] = None,
|
|
229
229
|
autofocus: Optional[bool] = None,
|
|
230
230
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
231
|
-
on_blur: Optional[EventType[
|
|
232
|
-
on_click: Optional[EventType[
|
|
233
|
-
on_context_menu: Optional[EventType[
|
|
234
|
-
on_double_click: Optional[EventType[
|
|
235
|
-
on_focus: Optional[EventType[
|
|
236
|
-
on_mount: Optional[EventType[
|
|
237
|
-
on_mouse_down: Optional[EventType[
|
|
238
|
-
on_mouse_enter: Optional[EventType[
|
|
239
|
-
on_mouse_leave: Optional[EventType[
|
|
240
|
-
on_mouse_move: Optional[EventType[
|
|
241
|
-
on_mouse_out: Optional[EventType[
|
|
242
|
-
on_mouse_over: Optional[EventType[
|
|
243
|
-
on_mouse_up: Optional[EventType[
|
|
244
|
-
on_scroll: Optional[EventType[
|
|
245
|
-
on_unmount: Optional[EventType[
|
|
231
|
+
on_blur: Optional[EventType[()]] = None,
|
|
232
|
+
on_click: Optional[EventType[()]] = None,
|
|
233
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
234
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
235
|
+
on_focus: Optional[EventType[()]] = None,
|
|
236
|
+
on_mount: Optional[EventType[()]] = None,
|
|
237
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
238
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
239
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
240
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
241
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
242
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
243
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
244
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
245
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
246
246
|
**props,
|
|
247
247
|
) -> "WifiOffPulse":
|
|
248
248
|
"""Create a wifi_off icon with an animated opacity pulse.
|
|
@@ -301,21 +301,21 @@ class ConnectionPulser(Div):
|
|
|
301
301
|
class_name: Optional[Any] = None,
|
|
302
302
|
autofocus: Optional[bool] = None,
|
|
303
303
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
304
|
-
on_blur: Optional[EventType[
|
|
305
|
-
on_click: Optional[EventType[
|
|
306
|
-
on_context_menu: Optional[EventType[
|
|
307
|
-
on_double_click: Optional[EventType[
|
|
308
|
-
on_focus: Optional[EventType[
|
|
309
|
-
on_mount: Optional[EventType[
|
|
310
|
-
on_mouse_down: Optional[EventType[
|
|
311
|
-
on_mouse_enter: Optional[EventType[
|
|
312
|
-
on_mouse_leave: Optional[EventType[
|
|
313
|
-
on_mouse_move: Optional[EventType[
|
|
314
|
-
on_mouse_out: Optional[EventType[
|
|
315
|
-
on_mouse_over: Optional[EventType[
|
|
316
|
-
on_mouse_up: Optional[EventType[
|
|
317
|
-
on_scroll: Optional[EventType[
|
|
318
|
-
on_unmount: Optional[EventType[
|
|
304
|
+
on_blur: Optional[EventType[()]] = None,
|
|
305
|
+
on_click: Optional[EventType[()]] = None,
|
|
306
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
307
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
308
|
+
on_focus: Optional[EventType[()]] = None,
|
|
309
|
+
on_mount: Optional[EventType[()]] = None,
|
|
310
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
311
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
312
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
313
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
314
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
315
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
316
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
317
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
318
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
319
319
|
**props,
|
|
320
320
|
) -> "ConnectionPulser":
|
|
321
321
|
"""Create a connection pulser component.
|
|
@@ -386,21 +386,21 @@ class BackendDisabled(Div):
|
|
|
386
386
|
class_name: Optional[Any] = None,
|
|
387
387
|
autofocus: Optional[bool] = None,
|
|
388
388
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
389
|
-
on_blur: Optional[EventType[
|
|
390
|
-
on_click: Optional[EventType[
|
|
391
|
-
on_context_menu: Optional[EventType[
|
|
392
|
-
on_double_click: Optional[EventType[
|
|
393
|
-
on_focus: Optional[EventType[
|
|
394
|
-
on_mount: Optional[EventType[
|
|
395
|
-
on_mouse_down: Optional[EventType[
|
|
396
|
-
on_mouse_enter: Optional[EventType[
|
|
397
|
-
on_mouse_leave: Optional[EventType[
|
|
398
|
-
on_mouse_move: Optional[EventType[
|
|
399
|
-
on_mouse_out: Optional[EventType[
|
|
400
|
-
on_mouse_over: Optional[EventType[
|
|
401
|
-
on_mouse_up: Optional[EventType[
|
|
402
|
-
on_scroll: Optional[EventType[
|
|
403
|
-
on_unmount: Optional[EventType[
|
|
389
|
+
on_blur: Optional[EventType[()]] = None,
|
|
390
|
+
on_click: Optional[EventType[()]] = None,
|
|
391
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
392
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
393
|
+
on_focus: Optional[EventType[()]] = None,
|
|
394
|
+
on_mount: Optional[EventType[()]] = None,
|
|
395
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
396
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
397
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
398
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
399
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
400
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
401
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
402
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
403
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
404
404
|
**props,
|
|
405
405
|
) -> "BackendDisabled":
|
|
406
406
|
"""Create a backend disabled component.
|