reflex 0.6.8a1__py3-none-any.whl → 0.7.0__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 +1 -1
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +7 -7
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +3 -3
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +1 -4
- reflex/.templates/web/utils/state.js +65 -36
- reflex/__init__.py +4 -17
- reflex/__init__.pyi +1 -2
- reflex/app.py +286 -135
- reflex/app_mixins/lifespan.py +9 -9
- reflex/app_mixins/middleware.py +6 -6
- reflex/app_module_for_backend.py +3 -7
- reflex/base.py +7 -7
- reflex/compiler/compiler.py +8 -0
- reflex/compiler/utils.py +57 -18
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/bare.py +1 -1
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.py +2 -1
- reflex/components/base/error_boundary.pyi +19 -22
- 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.py +2 -2
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.py +10 -0
- reflex/components/base/strict_mode.pyi +57 -0
- reflex/components/component.py +38 -77
- reflex/components/core/banner.py +159 -4
- reflex/components/core/banner.pyi +162 -76
- reflex/components/core/breakpoints.py +3 -1
- reflex/components/core/client_side_routing.py +1 -1
- reflex/components/core/client_side_routing.pyi +32 -32
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/cond.py +9 -10
- reflex/components/core/debounce.py +1 -1
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +28 -3
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/match.py +5 -5
- reflex/components/core/sticky.py +134 -0
- reflex/components/core/sticky.pyi +449 -0
- reflex/components/core/upload.py +2 -2
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.py +5 -14
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.py +7 -4
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/logo.py +13 -8
- reflex/components/datadisplay/shiki_code_block.py +14 -9
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/dynamic.py +22 -3
- reflex/components/el/constants/reflex.py +1 -1
- reflex/components/el/element.py +1 -1
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.py +4 -4
- reflex/components/el/elements/forms.pyi +224 -258
- 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.py +46 -8
- reflex/components/lucide/icon.pyi +85 -31
- reflex/components/markdown/markdown.py +10 -8
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.py +2 -2
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.py +16 -4
- reflex/components/next/image.pyi +22 -20
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/__init__.py +29 -2
- reflex/components/plotly/plotly.py +240 -5
- reflex/components/plotly/plotly.pyi +799 -44
- reflex/components/props.py +3 -3
- reflex/components/radix/__init__.pyi +1 -1
- reflex/components/radix/primitives/accordion.py +9 -5
- reflex/components/radix/primitives/accordion.pyi +110 -108
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.py +5 -2
- reflex/components/radix/primitives/drawer.pyi +179 -187
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.py +11 -9
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.py +3 -0
- 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.py +1 -1
- reflex/components/radix/themes/components/card.pyi +17 -17
- 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.py +5 -0
- 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.py +3 -0
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.py +5 -0
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.py +3 -0
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.py +2 -2
- reflex/components/radix/themes/components/icon_button.pyi +17 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.py +3 -0
- 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.py +2 -0
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.py +1 -1
- 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 +4 -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.py +3 -0
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.py +12 -0
- reflex/components/radix/themes/components/text_area.pyi +21 -33
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +6 -1
- reflex/components/radix/themes/components/tooltip.pyi +20 -21
- reflex/components/radix/themes/layout/__init__.pyi +1 -1
- 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.py +2 -2
- 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.py +2 -2
- 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.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.py +2 -2
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/__init__.py +2 -0
- reflex/components/recharts/__init__.pyi +2 -0
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.py +15 -15
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.py +19 -4
- reflex/components/recharts/general.pyi +132 -81
- reflex/components/recharts/polar.py +2 -2
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.py +4 -4
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.py +15 -13
- reflex/components/sonner/toast.pyi +22 -22
- reflex/components/suneditor/editor.py +6 -4
- reflex/components/suneditor/editor.pyi +26 -40
- reflex/components/tags/iter_tag.py +3 -3
- reflex/components/tags/tag.py +25 -3
- reflex/config.py +48 -20
- reflex/constants/__init__.py +1 -0
- reflex/constants/base.py +4 -1
- reflex/constants/compiler.py +5 -2
- reflex/constants/config.py +8 -1
- reflex/constants/installer.py +9 -9
- reflex/constants/style.py +1 -1
- reflex/custom_components/custom_components.py +18 -10
- reflex/event.py +228 -233
- reflex/experimental/__init__.py +19 -11
- reflex/experimental/client_state.py +53 -28
- reflex/experimental/hooks.py +5 -5
- reflex/experimental/layout.py +8 -5
- reflex/experimental/layout.pyi +79 -83
- reflex/experimental/misc.py +3 -3
- reflex/istate/wrappers.py +1 -1
- reflex/middleware/hydrate_middleware.py +2 -2
- reflex/model.py +11 -6
- reflex/page.py +5 -5
- reflex/reflex.py +104 -26
- reflex/route.py +1 -1
- reflex/state.py +358 -401
- reflex/style.py +27 -3
- reflex/testing.py +34 -39
- reflex/utils/build.py +6 -2
- reflex/utils/codespaces.py +1 -4
- reflex/utils/compat.py +6 -5
- reflex/utils/console.py +71 -21
- reflex/utils/exceptions.py +89 -26
- reflex/utils/exec.py +69 -74
- reflex/utils/export.py +6 -1
- reflex/utils/format.py +8 -40
- reflex/utils/imports.py +5 -2
- reflex/utils/lazy_loader.py +7 -1
- reflex/utils/path_ops.py +74 -14
- reflex/utils/prerequisites.py +345 -68
- reflex/utils/processes.py +45 -32
- reflex/utils/pyi_generator.py +39 -33
- reflex/utils/registry.py +4 -4
- reflex/utils/serializers.py +1 -1
- reflex/utils/telemetry.py +5 -4
- reflex/utils/types.py +42 -18
- reflex/vars/base.py +695 -330
- reflex/vars/datetime.py +6 -7
- reflex/vars/dep_tracking.py +344 -0
- reflex/vars/function.py +11 -5
- reflex/vars/number.py +31 -43
- reflex/vars/object.py +74 -64
- reflex/vars/sequence.py +79 -67
- {reflex-0.6.8a1.dist-info → reflex-0.7.0.dist-info}/METADATA +7 -10
- reflex-0.7.0.dist-info/RECORD +401 -0
- {reflex-0.6.8a1.dist-info → reflex-0.7.0.dist-info}/WHEEL +1 -1
- reflex/experimental/assets.py +0 -37
- reflex/proxy.py +0 -119
- reflex-0.6.8a1.dist-info/RECORD +0 -398
- {reflex-0.6.8a1.dist-info → reflex-0.7.0.dist-info}/LICENSE +0 -0
- {reflex-0.6.8a1.dist-info → reflex-0.7.0.dist-info}/entry_points.txt +0 -0
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
@@ -133,21 +133,21 @@ class Inset(elements.Div, RadixThemesComponent):
|
|
|
133
133
|
class_name: Optional[Any] = None,
|
|
134
134
|
autofocus: Optional[bool] = None,
|
|
135
135
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
136
|
-
on_blur: Optional[EventType[
|
|
137
|
-
on_click: Optional[EventType[
|
|
138
|
-
on_context_menu: Optional[EventType[
|
|
139
|
-
on_double_click: Optional[EventType[
|
|
140
|
-
on_focus: Optional[EventType[
|
|
141
|
-
on_mount: Optional[EventType[
|
|
142
|
-
on_mouse_down: Optional[EventType[
|
|
143
|
-
on_mouse_enter: Optional[EventType[
|
|
144
|
-
on_mouse_leave: Optional[EventType[
|
|
145
|
-
on_mouse_move: Optional[EventType[
|
|
146
|
-
on_mouse_out: Optional[EventType[
|
|
147
|
-
on_mouse_over: Optional[EventType[
|
|
148
|
-
on_mouse_up: Optional[EventType[
|
|
149
|
-
on_scroll: Optional[EventType[
|
|
150
|
-
on_unmount: Optional[EventType[
|
|
136
|
+
on_blur: Optional[EventType[()]] = None,
|
|
137
|
+
on_click: Optional[EventType[()]] = None,
|
|
138
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
139
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
140
|
+
on_focus: Optional[EventType[()]] = None,
|
|
141
|
+
on_mount: Optional[EventType[()]] = None,
|
|
142
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
143
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
144
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
145
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
146
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
147
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
149
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
150
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
151
151
|
**props,
|
|
152
152
|
) -> "Inset":
|
|
153
153
|
"""Create a new component instance.
|
|
@@ -5,6 +5,7 @@ from typing import Dict, Literal, Union
|
|
|
5
5
|
from reflex.components.component import ComponentNamespace
|
|
6
6
|
from reflex.components.core.breakpoints import Responsive
|
|
7
7
|
from reflex.components.el import elements
|
|
8
|
+
from reflex.constants.compiler import MemoizationMode
|
|
8
9
|
from reflex.event import EventHandler, no_args_event_spec, passthrough_event_spec
|
|
9
10
|
from reflex.vars.base import Var
|
|
10
11
|
|
|
@@ -34,6 +35,8 @@ class PopoverTrigger(RadixThemesTriggerComponent):
|
|
|
34
35
|
|
|
35
36
|
tag = "Popover.Trigger"
|
|
36
37
|
|
|
38
|
+
_memoization_mode = MemoizationMode(recursive=False)
|
|
39
|
+
|
|
37
40
|
|
|
38
41
|
class PopoverContent(elements.Div, RadixThemesComponent):
|
|
39
42
|
"""Contains content to be rendered in the open popover."""
|
|
@@ -8,7 +8,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
8
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
|
-
from reflex.event import
|
|
11
|
+
from reflex.event import EventType
|
|
12
12
|
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
@@ -29,24 +29,22 @@ class PopoverRoot(RadixThemesComponent):
|
|
|
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_focus: Optional[EventType[
|
|
37
|
-
on_mount: Optional[EventType[
|
|
38
|
-
on_mouse_down: Optional[EventType[
|
|
39
|
-
on_mouse_enter: Optional[EventType[
|
|
40
|
-
on_mouse_leave: Optional[EventType[
|
|
41
|
-
on_mouse_move: Optional[EventType[
|
|
42
|
-
on_mouse_out: Optional[EventType[
|
|
43
|
-
on_mouse_over: Optional[EventType[
|
|
44
|
-
on_mouse_up: Optional[EventType[
|
|
45
|
-
on_open_change: Optional[
|
|
46
|
-
|
|
47
|
-
] = None,
|
|
48
|
-
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
49
|
-
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
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_focus: Optional[EventType[()]] = None,
|
|
37
|
+
on_mount: Optional[EventType[()]] = None,
|
|
38
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
39
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
40
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
41
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
42
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
43
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
44
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
45
|
+
on_open_change: Optional[Union[EventType[()], EventType[bool]]] = None,
|
|
46
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
47
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
50
48
|
**props,
|
|
51
49
|
) -> "PopoverRoot":
|
|
52
50
|
"""Create a new component instance.
|
|
@@ -85,21 +83,21 @@ class PopoverTrigger(RadixThemesTriggerComponent):
|
|
|
85
83
|
class_name: Optional[Any] = None,
|
|
86
84
|
autofocus: Optional[bool] = None,
|
|
87
85
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
88
|
-
on_blur: Optional[EventType[
|
|
89
|
-
on_click: Optional[EventType[
|
|
90
|
-
on_context_menu: Optional[EventType[
|
|
91
|
-
on_double_click: Optional[EventType[
|
|
92
|
-
on_focus: Optional[EventType[
|
|
93
|
-
on_mount: Optional[EventType[
|
|
94
|
-
on_mouse_down: Optional[EventType[
|
|
95
|
-
on_mouse_enter: Optional[EventType[
|
|
96
|
-
on_mouse_leave: Optional[EventType[
|
|
97
|
-
on_mouse_move: Optional[EventType[
|
|
98
|
-
on_mouse_out: Optional[EventType[
|
|
99
|
-
on_mouse_over: Optional[EventType[
|
|
100
|
-
on_mouse_up: Optional[EventType[
|
|
101
|
-
on_scroll: Optional[EventType[
|
|
102
|
-
on_unmount: Optional[EventType[
|
|
86
|
+
on_blur: Optional[EventType[()]] = None,
|
|
87
|
+
on_click: Optional[EventType[()]] = None,
|
|
88
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
89
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
90
|
+
on_focus: Optional[EventType[()]] = None,
|
|
91
|
+
on_mount: Optional[EventType[()]] = None,
|
|
92
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
93
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
94
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
95
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
96
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
97
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
98
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
99
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
100
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
103
101
|
**props,
|
|
104
102
|
) -> "PopoverTrigger":
|
|
105
103
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
@@ -188,27 +186,27 @@ class PopoverContent(elements.Div, RadixThemesComponent):
|
|
|
188
186
|
class_name: Optional[Any] = None,
|
|
189
187
|
autofocus: Optional[bool] = None,
|
|
190
188
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
191
|
-
on_blur: Optional[EventType[
|
|
192
|
-
on_click: Optional[EventType[
|
|
193
|
-
on_close_auto_focus: Optional[EventType[
|
|
194
|
-
on_context_menu: Optional[EventType[
|
|
195
|
-
on_double_click: Optional[EventType[
|
|
196
|
-
on_escape_key_down: Optional[EventType[
|
|
197
|
-
on_focus: Optional[EventType[
|
|
198
|
-
on_focus_outside: Optional[EventType[
|
|
199
|
-
on_interact_outside: Optional[EventType[
|
|
200
|
-
on_mount: Optional[EventType[
|
|
201
|
-
on_mouse_down: Optional[EventType[
|
|
202
|
-
on_mouse_enter: Optional[EventType[
|
|
203
|
-
on_mouse_leave: Optional[EventType[
|
|
204
|
-
on_mouse_move: Optional[EventType[
|
|
205
|
-
on_mouse_out: Optional[EventType[
|
|
206
|
-
on_mouse_over: Optional[EventType[
|
|
207
|
-
on_mouse_up: Optional[EventType[
|
|
208
|
-
on_open_auto_focus: Optional[EventType[
|
|
209
|
-
on_pointer_down_outside: Optional[EventType[
|
|
210
|
-
on_scroll: Optional[EventType[
|
|
211
|
-
on_unmount: Optional[EventType[
|
|
189
|
+
on_blur: Optional[EventType[()]] = None,
|
|
190
|
+
on_click: Optional[EventType[()]] = None,
|
|
191
|
+
on_close_auto_focus: Optional[EventType[()]] = None,
|
|
192
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
193
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
194
|
+
on_escape_key_down: Optional[EventType[()]] = None,
|
|
195
|
+
on_focus: Optional[EventType[()]] = None,
|
|
196
|
+
on_focus_outside: Optional[EventType[()]] = None,
|
|
197
|
+
on_interact_outside: Optional[EventType[()]] = None,
|
|
198
|
+
on_mount: Optional[EventType[()]] = None,
|
|
199
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
200
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
201
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
202
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
203
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
204
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
205
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
206
|
+
on_open_auto_focus: Optional[EventType[()]] = None,
|
|
207
|
+
on_pointer_down_outside: Optional[EventType[()]] = None,
|
|
208
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
209
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
212
210
|
**props,
|
|
213
211
|
) -> "PopoverContent":
|
|
214
212
|
"""Create a new component instance.
|
|
@@ -274,21 +272,21 @@ class PopoverClose(RadixThemesTriggerComponent):
|
|
|
274
272
|
class_name: Optional[Any] = None,
|
|
275
273
|
autofocus: Optional[bool] = None,
|
|
276
274
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
277
|
-
on_blur: Optional[EventType[
|
|
278
|
-
on_click: Optional[EventType[
|
|
279
|
-
on_context_menu: Optional[EventType[
|
|
280
|
-
on_double_click: Optional[EventType[
|
|
281
|
-
on_focus: Optional[EventType[
|
|
282
|
-
on_mount: Optional[EventType[
|
|
283
|
-
on_mouse_down: Optional[EventType[
|
|
284
|
-
on_mouse_enter: Optional[EventType[
|
|
285
|
-
on_mouse_leave: Optional[EventType[
|
|
286
|
-
on_mouse_move: Optional[EventType[
|
|
287
|
-
on_mouse_out: Optional[EventType[
|
|
288
|
-
on_mouse_over: Optional[EventType[
|
|
289
|
-
on_mouse_up: Optional[EventType[
|
|
290
|
-
on_scroll: Optional[EventType[
|
|
291
|
-
on_unmount: Optional[EventType[
|
|
275
|
+
on_blur: Optional[EventType[()]] = None,
|
|
276
|
+
on_click: Optional[EventType[()]] = None,
|
|
277
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
278
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
279
|
+
on_focus: Optional[EventType[()]] = None,
|
|
280
|
+
on_mount: Optional[EventType[()]] = None,
|
|
281
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
282
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
283
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
284
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
285
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
286
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
287
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
288
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
289
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
292
290
|
**props,
|
|
293
291
|
) -> "PopoverClose":
|
|
294
292
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
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
|
|
|
@@ -114,21 +114,21 @@ class Progress(RadixThemesComponent):
|
|
|
114
114
|
class_name: Optional[Any] = None,
|
|
115
115
|
autofocus: Optional[bool] = None,
|
|
116
116
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
117
|
-
on_blur: Optional[EventType[
|
|
118
|
-
on_click: Optional[EventType[
|
|
119
|
-
on_context_menu: Optional[EventType[
|
|
120
|
-
on_double_click: Optional[EventType[
|
|
121
|
-
on_focus: Optional[EventType[
|
|
122
|
-
on_mount: Optional[EventType[
|
|
123
|
-
on_mouse_down: Optional[EventType[
|
|
124
|
-
on_mouse_enter: Optional[EventType[
|
|
125
|
-
on_mouse_leave: Optional[EventType[
|
|
126
|
-
on_mouse_move: Optional[EventType[
|
|
127
|
-
on_mouse_out: Optional[EventType[
|
|
128
|
-
on_mouse_over: Optional[EventType[
|
|
129
|
-
on_mouse_up: Optional[EventType[
|
|
130
|
-
on_scroll: Optional[EventType[
|
|
131
|
-
on_unmount: Optional[EventType[
|
|
117
|
+
on_blur: Optional[EventType[()]] = None,
|
|
118
|
+
on_click: Optional[EventType[()]] = None,
|
|
119
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
120
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
121
|
+
on_focus: Optional[EventType[()]] = None,
|
|
122
|
+
on_mount: Optional[EventType[()]] = None,
|
|
123
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
124
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
125
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
126
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
127
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
128
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
129
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
130
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
131
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
132
132
|
**props,
|
|
133
133
|
) -> "Progress":
|
|
134
134
|
"""Create a Progress component.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
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
|
|
|
@@ -104,21 +104,21 @@ class Radio(RadixThemesComponent):
|
|
|
104
104
|
class_name: Optional[Any] = None,
|
|
105
105
|
autofocus: Optional[bool] = None,
|
|
106
106
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
107
|
-
on_blur: Optional[EventType[
|
|
108
|
-
on_click: Optional[EventType[
|
|
109
|
-
on_context_menu: Optional[EventType[
|
|
110
|
-
on_double_click: Optional[EventType[
|
|
111
|
-
on_focus: Optional[EventType[
|
|
112
|
-
on_mount: Optional[EventType[
|
|
113
|
-
on_mouse_down: Optional[EventType[
|
|
114
|
-
on_mouse_enter: Optional[EventType[
|
|
115
|
-
on_mouse_leave: Optional[EventType[
|
|
116
|
-
on_mouse_move: Optional[EventType[
|
|
117
|
-
on_mouse_out: Optional[EventType[
|
|
118
|
-
on_mouse_over: Optional[EventType[
|
|
119
|
-
on_mouse_up: Optional[EventType[
|
|
120
|
-
on_scroll: Optional[EventType[
|
|
121
|
-
on_unmount: Optional[EventType[
|
|
107
|
+
on_blur: Optional[EventType[()]] = None,
|
|
108
|
+
on_click: Optional[EventType[()]] = None,
|
|
109
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
110
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
111
|
+
on_focus: Optional[EventType[()]] = None,
|
|
112
|
+
on_mount: Optional[EventType[()]] = None,
|
|
113
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
114
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
115
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
116
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
117
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
118
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
119
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
120
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
121
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
122
122
|
**props,
|
|
123
123
|
) -> "Radio":
|
|
124
124
|
"""Create a new component instance.
|
|
@@ -85,6 +85,8 @@ class RadioCardsItem(RadixThemesComponent):
|
|
|
85
85
|
# When true, indicates that the user must check the radio item before the owning form can be submitted.
|
|
86
86
|
required: Var[bool]
|
|
87
87
|
|
|
88
|
+
_valid_parents: list[str] = ["RadioCardsRoot"]
|
|
89
|
+
|
|
88
90
|
|
|
89
91
|
class RadioCards(SimpleNamespace):
|
|
90
92
|
"""RadioCards components namespace."""
|
|
@@ -7,7 +7,7 @@ from types import SimpleNamespace
|
|
|
7
7
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
@@ -162,24 +162,22 @@ class RadioCardsRoot(RadixThemesComponent):
|
|
|
162
162
|
class_name: Optional[Any] = None,
|
|
163
163
|
autofocus: Optional[bool] = None,
|
|
164
164
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
165
|
-
on_blur: Optional[EventType[
|
|
166
|
-
on_click: Optional[EventType[
|
|
167
|
-
on_context_menu: Optional[EventType[
|
|
168
|
-
on_double_click: Optional[EventType[
|
|
169
|
-
on_focus: Optional[EventType[
|
|
170
|
-
on_mount: Optional[EventType[
|
|
171
|
-
on_mouse_down: Optional[EventType[
|
|
172
|
-
on_mouse_enter: Optional[EventType[
|
|
173
|
-
on_mouse_leave: Optional[EventType[
|
|
174
|
-
on_mouse_move: Optional[EventType[
|
|
175
|
-
on_mouse_out: Optional[EventType[
|
|
176
|
-
on_mouse_over: Optional[EventType[
|
|
177
|
-
on_mouse_up: Optional[EventType[
|
|
178
|
-
on_scroll: Optional[EventType[
|
|
179
|
-
on_unmount: Optional[EventType[
|
|
180
|
-
on_value_change: Optional[
|
|
181
|
-
Union[EventType[[], BASE_STATE], EventType[[str], BASE_STATE]]
|
|
182
|
-
] = None,
|
|
165
|
+
on_blur: Optional[EventType[()]] = None,
|
|
166
|
+
on_click: Optional[EventType[()]] = None,
|
|
167
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
168
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
169
|
+
on_focus: Optional[EventType[()]] = None,
|
|
170
|
+
on_mount: Optional[EventType[()]] = None,
|
|
171
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
172
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
173
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
174
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
175
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
176
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
177
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
178
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
179
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
180
|
+
on_value_change: Optional[Union[EventType[()], EventType[str]]] = None,
|
|
183
181
|
**props,
|
|
184
182
|
) -> "RadioCardsRoot":
|
|
185
183
|
"""Create a new component instance.
|
|
@@ -233,21 +231,21 @@ class RadioCardsItem(RadixThemesComponent):
|
|
|
233
231
|
class_name: Optional[Any] = None,
|
|
234
232
|
autofocus: Optional[bool] = None,
|
|
235
233
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
236
|
-
on_blur: Optional[EventType[
|
|
237
|
-
on_click: Optional[EventType[
|
|
238
|
-
on_context_menu: Optional[EventType[
|
|
239
|
-
on_double_click: Optional[EventType[
|
|
240
|
-
on_focus: Optional[EventType[
|
|
241
|
-
on_mount: Optional[EventType[
|
|
242
|
-
on_mouse_down: Optional[EventType[
|
|
243
|
-
on_mouse_enter: Optional[EventType[
|
|
244
|
-
on_mouse_leave: Optional[EventType[
|
|
245
|
-
on_mouse_move: Optional[EventType[
|
|
246
|
-
on_mouse_out: Optional[EventType[
|
|
247
|
-
on_mouse_over: Optional[EventType[
|
|
248
|
-
on_mouse_up: Optional[EventType[
|
|
249
|
-
on_scroll: Optional[EventType[
|
|
250
|
-
on_unmount: Optional[EventType[
|
|
234
|
+
on_blur: Optional[EventType[()]] = None,
|
|
235
|
+
on_click: Optional[EventType[()]] = None,
|
|
236
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
237
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
238
|
+
on_focus: Optional[EventType[()]] = None,
|
|
239
|
+
on_mount: Optional[EventType[()]] = None,
|
|
240
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
241
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
242
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
243
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
244
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
245
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
246
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
247
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
248
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
251
249
|
**props,
|
|
252
250
|
) -> "RadioCardsItem":
|
|
253
251
|
"""Create a new component instance.
|
|
@@ -155,7 +155,7 @@ class HighLevelRadioGroup(RadixThemesComponent):
|
|
|
155
155
|
if isinstance(default_value, str) or (
|
|
156
156
|
isinstance(default_value, Var) and default_value._var_type is str
|
|
157
157
|
):
|
|
158
|
-
default_value = LiteralVar.create(default_value)
|
|
158
|
+
default_value = LiteralVar.create(default_value)
|
|
159
159
|
else:
|
|
160
160
|
default_value = LiteralVar.create(default_value).to_string()
|
|
161
161
|
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, List, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
@@ -112,24 +112,22 @@ class RadioGroupRoot(RadixThemesComponent):
|
|
|
112
112
|
class_name: Optional[Any] = None,
|
|
113
113
|
autofocus: Optional[bool] = None,
|
|
114
114
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
115
|
-
on_blur: Optional[EventType[
|
|
116
|
-
on_change: Optional[
|
|
117
|
-
|
|
118
|
-
] = None,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
132
|
-
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
115
|
+
on_blur: Optional[EventType[()]] = None,
|
|
116
|
+
on_change: Optional[Union[EventType[()], EventType[str]]] = None,
|
|
117
|
+
on_click: Optional[EventType[()]] = None,
|
|
118
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
119
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
120
|
+
on_focus: Optional[EventType[()]] = None,
|
|
121
|
+
on_mount: Optional[EventType[()]] = None,
|
|
122
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
123
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
124
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
125
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
126
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
127
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
128
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
129
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
130
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
133
131
|
**props,
|
|
134
132
|
) -> "RadioGroupRoot":
|
|
135
133
|
"""Create a new component instance.
|
|
@@ -177,21 +175,21 @@ class RadioGroupItem(RadixThemesComponent):
|
|
|
177
175
|
class_name: Optional[Any] = None,
|
|
178
176
|
autofocus: Optional[bool] = None,
|
|
179
177
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
180
|
-
on_blur: Optional[EventType[
|
|
181
|
-
on_click: Optional[EventType[
|
|
182
|
-
on_context_menu: Optional[EventType[
|
|
183
|
-
on_double_click: Optional[EventType[
|
|
184
|
-
on_focus: Optional[EventType[
|
|
185
|
-
on_mount: Optional[EventType[
|
|
186
|
-
on_mouse_down: Optional[EventType[
|
|
187
|
-
on_mouse_enter: Optional[EventType[
|
|
188
|
-
on_mouse_leave: Optional[EventType[
|
|
189
|
-
on_mouse_move: Optional[EventType[
|
|
190
|
-
on_mouse_out: Optional[EventType[
|
|
191
|
-
on_mouse_over: Optional[EventType[
|
|
192
|
-
on_mouse_up: Optional[EventType[
|
|
193
|
-
on_scroll: Optional[EventType[
|
|
194
|
-
on_unmount: Optional[EventType[
|
|
178
|
+
on_blur: Optional[EventType[()]] = None,
|
|
179
|
+
on_click: Optional[EventType[()]] = None,
|
|
180
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
181
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
182
|
+
on_focus: Optional[EventType[()]] = None,
|
|
183
|
+
on_mount: Optional[EventType[()]] = None,
|
|
184
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
185
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
186
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
187
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
188
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
189
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
190
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
191
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
192
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
195
193
|
**props,
|
|
196
194
|
) -> "RadioGroupItem":
|
|
197
195
|
"""Create a new component instance.
|
|
@@ -319,21 +317,21 @@ class HighLevelRadioGroup(RadixThemesComponent):
|
|
|
319
317
|
class_name: Optional[Any] = None,
|
|
320
318
|
autofocus: Optional[bool] = None,
|
|
321
319
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
322
|
-
on_blur: Optional[EventType[
|
|
323
|
-
on_click: Optional[EventType[
|
|
324
|
-
on_context_menu: Optional[EventType[
|
|
325
|
-
on_double_click: Optional[EventType[
|
|
326
|
-
on_focus: Optional[EventType[
|
|
327
|
-
on_mount: Optional[EventType[
|
|
328
|
-
on_mouse_down: Optional[EventType[
|
|
329
|
-
on_mouse_enter: Optional[EventType[
|
|
330
|
-
on_mouse_leave: Optional[EventType[
|
|
331
|
-
on_mouse_move: Optional[EventType[
|
|
332
|
-
on_mouse_out: Optional[EventType[
|
|
333
|
-
on_mouse_over: Optional[EventType[
|
|
334
|
-
on_mouse_up: Optional[EventType[
|
|
335
|
-
on_scroll: Optional[EventType[
|
|
336
|
-
on_unmount: Optional[EventType[
|
|
320
|
+
on_blur: Optional[EventType[()]] = None,
|
|
321
|
+
on_click: Optional[EventType[()]] = None,
|
|
322
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
323
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
324
|
+
on_focus: Optional[EventType[()]] = None,
|
|
325
|
+
on_mount: Optional[EventType[()]] = None,
|
|
326
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
327
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
328
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
329
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
330
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
331
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
332
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
333
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
334
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
337
335
|
**props,
|
|
338
336
|
) -> "HighLevelRadioGroup":
|
|
339
337
|
"""Create a radio group component.
|
|
@@ -471,21 +469,21 @@ class RadioGroup(ComponentNamespace):
|
|
|
471
469
|
class_name: Optional[Any] = None,
|
|
472
470
|
autofocus: Optional[bool] = None,
|
|
473
471
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
474
|
-
on_blur: Optional[EventType[
|
|
475
|
-
on_click: Optional[EventType[
|
|
476
|
-
on_context_menu: Optional[EventType[
|
|
477
|
-
on_double_click: Optional[EventType[
|
|
478
|
-
on_focus: Optional[EventType[
|
|
479
|
-
on_mount: Optional[EventType[
|
|
480
|
-
on_mouse_down: Optional[EventType[
|
|
481
|
-
on_mouse_enter: Optional[EventType[
|
|
482
|
-
on_mouse_leave: Optional[EventType[
|
|
483
|
-
on_mouse_move: Optional[EventType[
|
|
484
|
-
on_mouse_out: Optional[EventType[
|
|
485
|
-
on_mouse_over: Optional[EventType[
|
|
486
|
-
on_mouse_up: Optional[EventType[
|
|
487
|
-
on_scroll: Optional[EventType[
|
|
488
|
-
on_unmount: Optional[EventType[
|
|
472
|
+
on_blur: Optional[EventType[()]] = None,
|
|
473
|
+
on_click: Optional[EventType[()]] = None,
|
|
474
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
475
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
476
|
+
on_focus: Optional[EventType[()]] = None,
|
|
477
|
+
on_mount: Optional[EventType[()]] = None,
|
|
478
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
479
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
480
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
481
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
482
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
483
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
484
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
485
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
486
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
489
487
|
**props,
|
|
490
488
|
) -> "HighLevelRadioGroup":
|
|
491
489
|
"""Create a radio group component.
|