reflex 0.5.5a2__py3-none-any.whl → 0.5.6a1__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 +0 -1
- reflex/.templates/jinja/web/utils/context.js.jinja2 +2 -0
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +20 -2
- reflex/.templates/web/utils/helpers/paste.js +59 -0
- reflex/__init__.py +2 -0
- reflex/__init__.pyi +86 -87
- reflex/app.py +64 -126
- reflex/app_mixins/__init__.py +5 -0
- reflex/app_mixins/lifespan.py +57 -0
- reflex/app_mixins/middleware.py +93 -0
- reflex/app_mixins/mixin.py +14 -0
- reflex/compiler/compiler.py +6 -1
- reflex/components/__init__.pyi +0 -2
- reflex/components/base/__init__.pyi +1 -3
- reflex/components/base/app_wrap.pyi +21 -22
- reflex/components/base/body.pyi +21 -20
- reflex/components/base/document.pyi +85 -85
- reflex/components/base/fragment.pyi +21 -20
- reflex/components/base/head.pyi +37 -36
- reflex/components/base/link.pyi +37 -37
- reflex/components/base/meta.pyi +69 -70
- reflex/components/base/script.py +6 -2
- reflex/components/base/script.pyi +31 -27
- reflex/components/chakra/base.pyi +54 -56
- reflex/components/chakra/datadisplay/badge.pyi +21 -21
- reflex/components/chakra/datadisplay/code.pyi +21 -20
- reflex/components/chakra/datadisplay/divider.pyi +21 -22
- reflex/components/chakra/datadisplay/keyboard_key.pyi +21 -20
- reflex/components/chakra/datadisplay/list.pyi +69 -71
- reflex/components/chakra/datadisplay/stat.pyi +101 -102
- reflex/components/chakra/datadisplay/table.pyi +149 -153
- reflex/components/chakra/datadisplay/tag.pyi +85 -89
- reflex/components/chakra/disclosure/accordion.pyi +87 -93
- reflex/components/chakra/disclosure/tabs.pyi +85 -90
- reflex/components/chakra/disclosure/transition.pyi +104 -105
- reflex/components/chakra/disclosure/visuallyhidden.pyi +21 -20
- reflex/components/chakra/feedback/alert.pyi +69 -70
- reflex/components/chakra/feedback/circularprogress.pyi +38 -40
- reflex/components/chakra/feedback/progress.pyi +22 -23
- reflex/components/chakra/feedback/skeleton.pyi +53 -53
- reflex/components/chakra/feedback/spinner.pyi +21 -21
- reflex/components/chakra/forms/button.pyi +37 -42
- reflex/components/chakra/forms/checkbox.pyi +38 -39
- reflex/components/chakra/forms/colormodeswitch.pyi +72 -71
- reflex/components/chakra/forms/date_picker.pyi +24 -24
- reflex/components/chakra/forms/date_time_picker.pyi +24 -24
- reflex/components/chakra/forms/editable.pyi +73 -74
- reflex/components/chakra/forms/email.pyi +24 -24
- reflex/components/chakra/forms/form.pyi +112 -141
- reflex/components/chakra/forms/iconbutton.pyi +21 -22
- reflex/components/chakra/forms/input.pyi +104 -111
- reflex/components/chakra/forms/numberinput.pyi +87 -91
- reflex/components/chakra/forms/password.pyi +24 -24
- reflex/components/chakra/forms/pininput.pyi +39 -45
- reflex/components/chakra/forms/radio.pyi +38 -43
- reflex/components/chakra/forms/rangeslider.pyi +72 -76
- reflex/components/chakra/forms/select.pyi +39 -44
- reflex/components/chakra/forms/slider.pyi +88 -91
- reflex/components/chakra/forms/switch.pyi +22 -23
- reflex/components/chakra/forms/textarea.pyi +24 -27
- reflex/components/chakra/forms/time_picker.pyi +24 -24
- reflex/components/chakra/layout/aspect_ratio.pyi +21 -21
- reflex/components/chakra/layout/box.pyi +21 -22
- reflex/components/chakra/layout/card.pyi +69 -73
- reflex/components/chakra/layout/center.pyi +53 -52
- reflex/components/chakra/layout/container.pyi +21 -21
- reflex/components/chakra/layout/flex.pyi +23 -26
- reflex/components/chakra/layout/grid.pyi +53 -54
- reflex/components/chakra/layout/spacer.pyi +21 -20
- reflex/components/chakra/layout/stack.pyi +62 -60
- reflex/components/chakra/layout/wrap.pyi +37 -38
- reflex/components/chakra/media/avatar.pyi +54 -55
- reflex/components/chakra/media/icon.pyi +37 -38
- reflex/components/chakra/media/image.pyi +24 -26
- reflex/components/chakra/navigation/breadcrumb.pyi +69 -71
- reflex/components/chakra/navigation/link.pyi +20 -21
- reflex/components/chakra/navigation/linkoverlay.pyi +37 -37
- reflex/components/chakra/navigation/stepper.pyi +149 -151
- reflex/components/chakra/overlay/alertdialog.pyi +121 -124
- reflex/components/chakra/overlay/drawer.pyi +121 -126
- reflex/components/chakra/overlay/menu.pyi +135 -141
- reflex/components/chakra/overlay/modal.pyi +121 -124
- reflex/components/chakra/overlay/popover.pyi +151 -156
- reflex/components/chakra/overlay/tooltip.pyi +23 -24
- reflex/components/chakra/typography/heading.pyi +21 -21
- reflex/components/chakra/typography/highlight.pyi +21 -23
- reflex/components/chakra/typography/span.pyi +21 -21
- reflex/components/chakra/typography/text.pyi +21 -21
- reflex/components/component.py +6 -2
- reflex/components/core/__init__.py +2 -0
- reflex/components/core/__init__.pyi +9 -7
- reflex/components/core/banner.pyi +118 -146
- reflex/components/core/breakpoints.py +95 -0
- reflex/components/core/client_side_routing.pyi +37 -39
- reflex/components/core/clipboard.py +95 -0
- reflex/components/core/clipboard.pyi +102 -0
- reflex/components/core/debounce.pyi +23 -28
- reflex/components/core/html.pyi +38 -55
- reflex/components/core/upload.pyi +74 -91
- reflex/components/datadisplay/__init__.pyi +2 -3
- reflex/components/datadisplay/code.py +3 -3
- reflex/components/datadisplay/code.pyi +22 -31
- reflex/components/datadisplay/dataeditor.pyi +41 -45
- reflex/components/el/__init__.pyi +131 -135
- reflex/components/el/element.pyi +21 -20
- reflex/components/el/elements/__init__.pyi +131 -132
- reflex/components/el/elements/base.pyi +38 -55
- reflex/components/el/elements/forms.pyi +558 -878
- reflex/components/el/elements/inline.pyi +941 -1403
- reflex/components/el/elements/media.pyi +645 -994
- reflex/components/el/elements/metadata.pyi +186 -268
- reflex/components/el/elements/other.pyi +239 -353
- reflex/components/el/elements/scripts.pyi +113 -171
- reflex/components/el/elements/sectioning.pyi +500 -739
- reflex/components/el/elements/tables.pyi +355 -551
- reflex/components/el/elements/typography.pyi +510 -760
- reflex/components/gridjs/datatable.pyi +38 -42
- reflex/components/lucide/icon.pyi +37 -38
- reflex/components/markdown/markdown.pyi +23 -36
- reflex/components/moment/moment.pyi +23 -25
- reflex/components/next/base.pyi +21 -20
- reflex/components/next/image.pyi +25 -27
- reflex/components/next/link.pyi +21 -21
- reflex/components/next/video.pyi +22 -22
- reflex/components/plotly/plotly.pyi +42 -45
- reflex/components/radix/__init__.pyi +26 -30
- reflex/components/radix/primitives/__init__.pyi +0 -2
- reflex/components/radix/primitives/accordion.pyi +119 -127
- reflex/components/radix/primitives/base.pyi +37 -40
- reflex/components/radix/primitives/drawer.pyi +175 -179
- reflex/components/radix/primitives/form.pyi +250 -336
- reflex/components/radix/primitives/progress.pyi +92 -96
- reflex/components/radix/primitives/slider.pyi +87 -89
- reflex/components/radix/themes/__init__.pyi +0 -2
- reflex/components/radix/themes/base.pyi +118 -121
- reflex/components/radix/themes/color_mode.pyi +103 -117
- reflex/components/radix/themes/components/__init__.pyi +12 -14
- reflex/components/radix/themes/components/alert_dialog.py +2 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +150 -157
- reflex/components/radix/themes/components/aspect_ratio.pyi +22 -22
- reflex/components/radix/themes/components/avatar.py +2 -1
- reflex/components/radix/themes/components/avatar.pyi +32 -23
- reflex/components/radix/themes/components/badge.py +2 -1
- reflex/components/radix/themes/components/badge.pyi +50 -57
- reflex/components/radix/themes/components/button.py +2 -1
- reflex/components/radix/themes/components/button.pyi +60 -79
- reflex/components/radix/themes/components/callout.py +2 -1
- reflex/components/radix/themes/components/callout.pyi +201 -258
- reflex/components/radix/themes/components/card.py +2 -1
- reflex/components/radix/themes/components/card.pyi +48 -56
- reflex/components/radix/themes/components/checkbox.py +2 -1
- reflex/components/radix/themes/components/checkbox.pyi +68 -62
- reflex/components/radix/themes/components/checkbox_cards.py +8 -3
- reflex/components/radix/themes/components/checkbox_cards.pyi +87 -44
- reflex/components/radix/themes/components/checkbox_group.py +2 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +49 -40
- reflex/components/radix/themes/components/context_menu.py +2 -1
- reflex/components/radix/themes/components/context_menu.pyi +153 -147
- reflex/components/radix/themes/components/data_list.py +8 -7
- reflex/components/radix/themes/components/data_list.pyi +116 -78
- reflex/components/radix/themes/components/dialog.py +2 -1
- reflex/components/radix/themes/components/dialog.pyi +154 -161
- reflex/components/radix/themes/components/dropdown_menu.py +2 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +169 -163
- reflex/components/radix/themes/components/hover_card.py +2 -1
- reflex/components/radix/themes/components/hover_card.pyi +97 -107
- reflex/components/radix/themes/components/icon_button.py +2 -1
- reflex/components/radix/themes/components/icon_button.pyi +59 -82
- reflex/components/radix/themes/components/inset.py +10 -9
- reflex/components/radix/themes/components/inset.pyi +109 -61
- reflex/components/radix/themes/components/popover.py +2 -1
- reflex/components/radix/themes/components/popover.pyi +105 -112
- reflex/components/radix/themes/components/progress.py +2 -1
- reflex/components/radix/themes/components/progress.pyi +32 -24
- reflex/components/radix/themes/components/radio.py +2 -1
- reflex/components/radix/themes/components/radio.pyi +32 -23
- reflex/components/radix/themes/components/radio_cards.py +51 -3
- reflex/components/radix/themes/components/radio_cards.pyi +120 -44
- reflex/components/radix/themes/components/radio_group.py +5 -2
- reflex/components/radix/themes/components/radio_group.pyi +82 -77
- reflex/components/radix/themes/components/scroll_area.pyi +21 -21
- reflex/components/radix/themes/components/segmented_control.py +2 -1
- reflex/components/radix/themes/components/segmented_control.pyi +52 -46
- reflex/components/radix/themes/components/select.py +2 -1
- reflex/components/radix/themes/components/select.pyi +188 -164
- reflex/components/radix/themes/components/separator.py +5 -2
- reflex/components/radix/themes/components/separator.pyi +40 -24
- reflex/components/radix/themes/components/skeleton.py +7 -6
- reflex/components/radix/themes/components/skeleton.pyi +40 -26
- reflex/components/radix/themes/components/slider.py +2 -1
- reflex/components/radix/themes/components/slider.pyi +40 -31
- reflex/components/radix/themes/components/spinner.py +2 -1
- reflex/components/radix/themes/components/spinner.pyi +31 -22
- reflex/components/radix/themes/components/switch.py +2 -1
- reflex/components/radix/themes/components/switch.pyi +33 -25
- reflex/components/radix/themes/components/table.py +2 -1
- reflex/components/radix/themes/components/table.pyi +265 -404
- reflex/components/radix/themes/components/tabs.py +14 -1
- reflex/components/radix/themes/components/tabs.pyi +113 -92
- reflex/components/radix/themes/components/text_area.py +3 -2
- reflex/components/radix/themes/components/text_area.pyi +64 -66
- reflex/components/radix/themes/components/text_field.py +2 -1
- reflex/components/radix/themes/components/text_field.pyi +116 -140
- reflex/components/radix/themes/components/tooltip.pyi +32 -37
- reflex/components/radix/themes/layout/__init__.pyi +4 -7
- reflex/components/radix/themes/layout/base.py +10 -9
- reflex/components/radix/themes/layout/base.pyi +121 -31
- reflex/components/radix/themes/layout/box.pyi +39 -53
- reflex/components/radix/themes/layout/center.pyi +89 -58
- reflex/components/radix/themes/layout/container.py +4 -1
- reflex/components/radix/themes/layout/container.pyi +51 -58
- reflex/components/radix/themes/layout/flex.py +6 -5
- reflex/components/radix/themes/layout/flex.pyi +91 -61
- reflex/components/radix/themes/layout/grid.py +9 -8
- reflex/components/radix/themes/layout/grid.pyi +116 -64
- reflex/components/radix/themes/layout/list.pyi +173 -233
- reflex/components/radix/themes/layout/section.py +4 -1
- reflex/components/radix/themes/layout/section.pyi +50 -57
- reflex/components/radix/themes/layout/spacer.pyi +89 -58
- reflex/components/radix/themes/layout/stack.pyi +160 -160
- reflex/components/radix/themes/typography/__init__.pyi +0 -2
- reflex/components/radix/themes/typography/blockquote.py +3 -2
- reflex/components/radix/themes/typography/blockquote.pyi +58 -59
- reflex/components/radix/themes/typography/code.py +3 -2
- reflex/components/radix/themes/typography/code.pyi +57 -58
- reflex/components/radix/themes/typography/heading.py +5 -4
- reflex/components/radix/themes/typography/heading.pyi +71 -60
- reflex/components/radix/themes/typography/link.py +4 -3
- reflex/components/radix/themes/typography/link.pyi +74 -82
- reflex/components/radix/themes/typography/text.py +5 -4
- reflex/components/radix/themes/typography/text.pyi +330 -364
- reflex/components/react_player/audio.pyi +37 -36
- reflex/components/react_player/react_player.pyi +37 -38
- reflex/components/react_player/video.pyi +37 -36
- reflex/components/recharts/__init__.pyi +41 -42
- reflex/components/recharts/cartesian.pyi +384 -400
- reflex/components/recharts/charts.pyi +224 -231
- reflex/components/recharts/general.pyi +89 -96
- reflex/components/recharts/polar.pyi +97 -104
- reflex/components/recharts/recharts.pyi +37 -37
- reflex/components/sonner/toast.pyi +22 -27
- reflex/components/suneditor/editor.pyi +53 -58
- reflex/config.py +6 -0
- reflex/constants/event.py +1 -0
- reflex/experimental/layout.pyi +140 -194
- reflex/model.py +14 -2
- reflex/state.py +38 -45
- reflex/style.py +24 -13
- reflex/utils/codespaces.py +94 -0
- reflex/utils/compat.py +21 -0
- reflex/utils/exceptions.py +4 -0
- reflex/utils/format.py +25 -4
- reflex/utils/prerequisites.py +0 -13
- reflex/utils/pyi_generator.py +88 -61
- reflex/utils/types.py +83 -5
- reflex/vars.py +62 -5
- reflex/vars.pyi +23 -11
- {reflex-0.5.5a2.dist-info → reflex-0.5.6a1.dist-info}/METADATA +4 -5
- {reflex-0.5.5a2.dist-info → reflex-0.5.6a1.dist-info}/RECORD +262 -253
- {reflex-0.5.5a2.dist-info → reflex-0.5.6a1.dist-info}/LICENSE +0 -0
- {reflex-0.5.5a2.dist-info → reflex-0.5.6a1.dist-info}/WHEEL +0 -0
- {reflex-0.5.5a2.dist-info → reflex-0.5.6a1.dist-info}/entry_points.txt +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"""Stub file for reflex/components/radix/themes/components/dialog.py"""
|
|
2
|
+
|
|
2
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
5
|
# ------------------------------------------------------
|
|
6
|
+
from typing import Any, Callable, Dict, Literal, Optional, Union, overload
|
|
5
7
|
|
|
6
|
-
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
|
-
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
|
-
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
|
-
from reflex.style import Style
|
|
10
|
-
from typing import Literal
|
|
11
8
|
from reflex.components.component import ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
12
10
|
from reflex.components.el import elements
|
|
13
|
-
from reflex.event import EventHandler
|
|
14
|
-
from reflex.
|
|
11
|
+
from reflex.event import EventHandler, EventSpec
|
|
12
|
+
from reflex.style import Style
|
|
13
|
+
from reflex.vars import BaseVar, Var
|
|
14
|
+
|
|
15
15
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
16
16
|
|
|
17
17
|
class DialogRoot(RadixThemesComponent):
|
|
@@ -28,54 +28,54 @@ class DialogRoot(RadixThemesComponent):
|
|
|
28
28
|
autofocus: Optional[bool] = None,
|
|
29
29
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
30
30
|
on_blur: Optional[
|
|
31
|
-
Union[EventHandler, EventSpec, list,
|
|
31
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
32
32
|
] = None,
|
|
33
33
|
on_click: Optional[
|
|
34
|
-
Union[EventHandler, EventSpec, list,
|
|
34
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
35
35
|
] = None,
|
|
36
36
|
on_context_menu: Optional[
|
|
37
|
-
Union[EventHandler, EventSpec, list,
|
|
37
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
38
38
|
] = None,
|
|
39
39
|
on_double_click: Optional[
|
|
40
|
-
Union[EventHandler, EventSpec, list,
|
|
40
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
41
41
|
] = None,
|
|
42
42
|
on_focus: Optional[
|
|
43
|
-
Union[EventHandler, EventSpec, list,
|
|
43
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
44
44
|
] = None,
|
|
45
45
|
on_mount: Optional[
|
|
46
|
-
Union[EventHandler, EventSpec, list,
|
|
46
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
47
47
|
] = None,
|
|
48
48
|
on_mouse_down: Optional[
|
|
49
|
-
Union[EventHandler, EventSpec, list,
|
|
49
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
50
50
|
] = None,
|
|
51
51
|
on_mouse_enter: Optional[
|
|
52
|
-
Union[EventHandler, EventSpec, list,
|
|
52
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
53
53
|
] = None,
|
|
54
54
|
on_mouse_leave: Optional[
|
|
55
|
-
Union[EventHandler, EventSpec, list,
|
|
55
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
56
56
|
] = None,
|
|
57
57
|
on_mouse_move: Optional[
|
|
58
|
-
Union[EventHandler, EventSpec, list,
|
|
58
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
59
59
|
] = None,
|
|
60
60
|
on_mouse_out: Optional[
|
|
61
|
-
Union[EventHandler, EventSpec, list,
|
|
61
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
62
62
|
] = None,
|
|
63
63
|
on_mouse_over: Optional[
|
|
64
|
-
Union[EventHandler, EventSpec, list,
|
|
64
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
65
65
|
] = None,
|
|
66
66
|
on_mouse_up: Optional[
|
|
67
|
-
Union[EventHandler, EventSpec, list,
|
|
67
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
68
68
|
] = None,
|
|
69
69
|
on_open_change: Optional[
|
|
70
|
-
Union[EventHandler, EventSpec, list,
|
|
70
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
71
71
|
] = None,
|
|
72
72
|
on_scroll: Optional[
|
|
73
|
-
Union[EventHandler, EventSpec, list,
|
|
73
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
74
74
|
] = None,
|
|
75
75
|
on_unmount: Optional[
|
|
76
|
-
Union[EventHandler, EventSpec, list,
|
|
76
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
77
77
|
] = None,
|
|
78
|
-
**props
|
|
78
|
+
**props,
|
|
79
79
|
) -> "DialogRoot":
|
|
80
80
|
"""Create a new component instance.
|
|
81
81
|
|
|
@@ -111,51 +111,51 @@ class DialogTrigger(RadixThemesTriggerComponent):
|
|
|
111
111
|
autofocus: Optional[bool] = None,
|
|
112
112
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
113
113
|
on_blur: Optional[
|
|
114
|
-
Union[EventHandler, EventSpec, list,
|
|
114
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
115
115
|
] = None,
|
|
116
116
|
on_click: Optional[
|
|
117
|
-
Union[EventHandler, EventSpec, list,
|
|
117
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
118
118
|
] = None,
|
|
119
119
|
on_context_menu: Optional[
|
|
120
|
-
Union[EventHandler, EventSpec, list,
|
|
120
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
121
121
|
] = None,
|
|
122
122
|
on_double_click: Optional[
|
|
123
|
-
Union[EventHandler, EventSpec, list,
|
|
123
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
124
124
|
] = None,
|
|
125
125
|
on_focus: Optional[
|
|
126
|
-
Union[EventHandler, EventSpec, list,
|
|
126
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
127
127
|
] = None,
|
|
128
128
|
on_mount: Optional[
|
|
129
|
-
Union[EventHandler, EventSpec, list,
|
|
129
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
130
130
|
] = None,
|
|
131
131
|
on_mouse_down: Optional[
|
|
132
|
-
Union[EventHandler, EventSpec, list,
|
|
132
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
133
133
|
] = None,
|
|
134
134
|
on_mouse_enter: Optional[
|
|
135
|
-
Union[EventHandler, EventSpec, list,
|
|
135
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
136
136
|
] = None,
|
|
137
137
|
on_mouse_leave: Optional[
|
|
138
|
-
Union[EventHandler, EventSpec, list,
|
|
138
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
139
139
|
] = None,
|
|
140
140
|
on_mouse_move: Optional[
|
|
141
|
-
Union[EventHandler, EventSpec, list,
|
|
141
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
142
142
|
] = None,
|
|
143
143
|
on_mouse_out: Optional[
|
|
144
|
-
Union[EventHandler, EventSpec, list,
|
|
144
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
145
145
|
] = None,
|
|
146
146
|
on_mouse_over: Optional[
|
|
147
|
-
Union[EventHandler, EventSpec, list,
|
|
147
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
148
148
|
] = None,
|
|
149
149
|
on_mouse_up: Optional[
|
|
150
|
-
Union[EventHandler, EventSpec, list,
|
|
150
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
151
151
|
] = None,
|
|
152
152
|
on_scroll: Optional[
|
|
153
|
-
Union[EventHandler, EventSpec, list,
|
|
153
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
154
154
|
] = None,
|
|
155
155
|
on_unmount: Optional[
|
|
156
|
-
Union[EventHandler, EventSpec, list,
|
|
156
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
157
157
|
] = None,
|
|
158
|
-
**props
|
|
158
|
+
**props,
|
|
159
159
|
) -> "DialogTrigger":
|
|
160
160
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
161
161
|
|
|
@@ -181,51 +181,51 @@ class DialogTitle(RadixThemesComponent):
|
|
|
181
181
|
autofocus: Optional[bool] = None,
|
|
182
182
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
183
183
|
on_blur: Optional[
|
|
184
|
-
Union[EventHandler, EventSpec, list,
|
|
184
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
185
185
|
] = None,
|
|
186
186
|
on_click: Optional[
|
|
187
|
-
Union[EventHandler, EventSpec, list,
|
|
187
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
188
188
|
] = None,
|
|
189
189
|
on_context_menu: Optional[
|
|
190
|
-
Union[EventHandler, EventSpec, list,
|
|
190
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
191
191
|
] = None,
|
|
192
192
|
on_double_click: Optional[
|
|
193
|
-
Union[EventHandler, EventSpec, list,
|
|
193
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
194
194
|
] = None,
|
|
195
195
|
on_focus: Optional[
|
|
196
|
-
Union[EventHandler, EventSpec, list,
|
|
196
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
197
197
|
] = None,
|
|
198
198
|
on_mount: Optional[
|
|
199
|
-
Union[EventHandler, EventSpec, list,
|
|
199
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
200
200
|
] = None,
|
|
201
201
|
on_mouse_down: Optional[
|
|
202
|
-
Union[EventHandler, EventSpec, list,
|
|
202
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
203
203
|
] = None,
|
|
204
204
|
on_mouse_enter: Optional[
|
|
205
|
-
Union[EventHandler, EventSpec, list,
|
|
205
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
206
206
|
] = None,
|
|
207
207
|
on_mouse_leave: Optional[
|
|
208
|
-
Union[EventHandler, EventSpec, list,
|
|
208
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
209
209
|
] = None,
|
|
210
210
|
on_mouse_move: Optional[
|
|
211
|
-
Union[EventHandler, EventSpec, list,
|
|
211
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
212
212
|
] = None,
|
|
213
213
|
on_mouse_out: Optional[
|
|
214
|
-
Union[EventHandler, EventSpec, list,
|
|
214
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
215
215
|
] = None,
|
|
216
216
|
on_mouse_over: Optional[
|
|
217
|
-
Union[EventHandler, EventSpec, list,
|
|
217
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
218
218
|
] = None,
|
|
219
219
|
on_mouse_up: Optional[
|
|
220
|
-
Union[EventHandler, EventSpec, list,
|
|
220
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
221
221
|
] = None,
|
|
222
222
|
on_scroll: Optional[
|
|
223
|
-
Union[EventHandler, EventSpec, list,
|
|
223
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
224
224
|
] = None,
|
|
225
225
|
on_unmount: Optional[
|
|
226
|
-
Union[EventHandler, EventSpec, list,
|
|
226
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
227
227
|
] = None,
|
|
228
|
-
**props
|
|
228
|
+
**props,
|
|
229
229
|
) -> "DialogTitle":
|
|
230
230
|
"""Create a new component instance.
|
|
231
231
|
|
|
@@ -254,48 +254,41 @@ class DialogContent(elements.Div, RadixThemesComponent):
|
|
|
254
254
|
cls,
|
|
255
255
|
*children,
|
|
256
256
|
size: Optional[
|
|
257
|
-
Union[
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
Union[
|
|
258
|
+
Var[
|
|
259
|
+
Union[
|
|
260
|
+
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
261
|
+
Literal["1", "2", "3", "4"],
|
|
262
|
+
]
|
|
263
|
+
],
|
|
264
|
+
Literal["1", "2", "3", "4"],
|
|
265
|
+
Breakpoints[str, Literal["1", "2", "3", "4"]],
|
|
266
|
+
]
|
|
267
|
+
] = None,
|
|
268
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
262
269
|
auto_capitalize: Optional[
|
|
263
|
-
Union[Var[Union[
|
|
270
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
264
271
|
] = None,
|
|
265
272
|
content_editable: Optional[
|
|
266
|
-
Union[Var[Union[
|
|
273
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
267
274
|
] = None,
|
|
268
275
|
context_menu: Optional[
|
|
269
|
-
Union[Var[Union[
|
|
270
|
-
] = None,
|
|
271
|
-
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
272
|
-
draggable: Optional[
|
|
273
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
276
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
274
277
|
] = None,
|
|
278
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
279
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
275
280
|
enter_key_hint: Optional[
|
|
276
|
-
Union[Var[Union[
|
|
277
|
-
] = None,
|
|
278
|
-
hidden: Optional[
|
|
279
|
-
|
|
280
|
-
] = None,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
] = None,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
] = None,
|
|
287
|
-
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
288
|
-
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
289
|
-
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
290
|
-
spell_check: Optional[
|
|
291
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
292
|
-
] = None,
|
|
293
|
-
tab_index: Optional[
|
|
294
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
295
|
-
] = None,
|
|
296
|
-
title: Optional[
|
|
297
|
-
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
298
|
-
] = None,
|
|
281
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
282
|
+
] = None,
|
|
283
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
284
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
285
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
286
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
287
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
288
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
289
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
290
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
291
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
299
292
|
style: Optional[Style] = None,
|
|
300
293
|
key: Optional[Any] = None,
|
|
301
294
|
id: Optional[Any] = None,
|
|
@@ -303,66 +296,66 @@ class DialogContent(elements.Div, RadixThemesComponent):
|
|
|
303
296
|
autofocus: Optional[bool] = None,
|
|
304
297
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
305
298
|
on_blur: Optional[
|
|
306
|
-
Union[EventHandler, EventSpec, list,
|
|
299
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
307
300
|
] = None,
|
|
308
301
|
on_click: Optional[
|
|
309
|
-
Union[EventHandler, EventSpec, list,
|
|
302
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
310
303
|
] = None,
|
|
311
304
|
on_close_auto_focus: Optional[
|
|
312
|
-
Union[EventHandler, EventSpec, list,
|
|
305
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
313
306
|
] = None,
|
|
314
307
|
on_context_menu: Optional[
|
|
315
|
-
Union[EventHandler, EventSpec, list,
|
|
308
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
316
309
|
] = None,
|
|
317
310
|
on_double_click: Optional[
|
|
318
|
-
Union[EventHandler, EventSpec, list,
|
|
311
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
319
312
|
] = None,
|
|
320
313
|
on_escape_key_down: Optional[
|
|
321
|
-
Union[EventHandler, EventSpec, list,
|
|
314
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
322
315
|
] = None,
|
|
323
316
|
on_focus: Optional[
|
|
324
|
-
Union[EventHandler, EventSpec, list,
|
|
317
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
325
318
|
] = None,
|
|
326
319
|
on_interact_outside: Optional[
|
|
327
|
-
Union[EventHandler, EventSpec, list,
|
|
320
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
328
321
|
] = None,
|
|
329
322
|
on_mount: Optional[
|
|
330
|
-
Union[EventHandler, EventSpec, list,
|
|
323
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
331
324
|
] = None,
|
|
332
325
|
on_mouse_down: Optional[
|
|
333
|
-
Union[EventHandler, EventSpec, list,
|
|
326
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
334
327
|
] = None,
|
|
335
328
|
on_mouse_enter: Optional[
|
|
336
|
-
Union[EventHandler, EventSpec, list,
|
|
329
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
337
330
|
] = None,
|
|
338
331
|
on_mouse_leave: Optional[
|
|
339
|
-
Union[EventHandler, EventSpec, list,
|
|
332
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
340
333
|
] = None,
|
|
341
334
|
on_mouse_move: Optional[
|
|
342
|
-
Union[EventHandler, EventSpec, list,
|
|
335
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
343
336
|
] = None,
|
|
344
337
|
on_mouse_out: Optional[
|
|
345
|
-
Union[EventHandler, EventSpec, list,
|
|
338
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
346
339
|
] = None,
|
|
347
340
|
on_mouse_over: Optional[
|
|
348
|
-
Union[EventHandler, EventSpec, list,
|
|
341
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
349
342
|
] = None,
|
|
350
343
|
on_mouse_up: Optional[
|
|
351
|
-
Union[EventHandler, EventSpec, list,
|
|
344
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
352
345
|
] = None,
|
|
353
346
|
on_open_auto_focus: Optional[
|
|
354
|
-
Union[EventHandler, EventSpec, list,
|
|
347
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
355
348
|
] = None,
|
|
356
349
|
on_pointer_down_outside: Optional[
|
|
357
|
-
Union[EventHandler, EventSpec, list,
|
|
350
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
358
351
|
] = None,
|
|
359
352
|
on_scroll: Optional[
|
|
360
|
-
Union[EventHandler, EventSpec, list,
|
|
353
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
361
354
|
] = None,
|
|
362
355
|
on_unmount: Optional[
|
|
363
|
-
Union[EventHandler, EventSpec, list,
|
|
356
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
364
357
|
] = None,
|
|
365
|
-
**props
|
|
358
|
+
**props,
|
|
366
359
|
) -> "DialogContent":
|
|
367
360
|
"""Create a new component instance.
|
|
368
361
|
|
|
@@ -414,51 +407,51 @@ class DialogDescription(RadixThemesComponent):
|
|
|
414
407
|
autofocus: Optional[bool] = None,
|
|
415
408
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
416
409
|
on_blur: Optional[
|
|
417
|
-
Union[EventHandler, EventSpec, list,
|
|
410
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
418
411
|
] = None,
|
|
419
412
|
on_click: Optional[
|
|
420
|
-
Union[EventHandler, EventSpec, list,
|
|
413
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
421
414
|
] = None,
|
|
422
415
|
on_context_menu: Optional[
|
|
423
|
-
Union[EventHandler, EventSpec, list,
|
|
416
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
424
417
|
] = None,
|
|
425
418
|
on_double_click: Optional[
|
|
426
|
-
Union[EventHandler, EventSpec, list,
|
|
419
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
427
420
|
] = None,
|
|
428
421
|
on_focus: Optional[
|
|
429
|
-
Union[EventHandler, EventSpec, list,
|
|
422
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
430
423
|
] = None,
|
|
431
424
|
on_mount: Optional[
|
|
432
|
-
Union[EventHandler, EventSpec, list,
|
|
425
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
433
426
|
] = None,
|
|
434
427
|
on_mouse_down: Optional[
|
|
435
|
-
Union[EventHandler, EventSpec, list,
|
|
428
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
436
429
|
] = None,
|
|
437
430
|
on_mouse_enter: Optional[
|
|
438
|
-
Union[EventHandler, EventSpec, list,
|
|
431
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
439
432
|
] = None,
|
|
440
433
|
on_mouse_leave: Optional[
|
|
441
|
-
Union[EventHandler, EventSpec, list,
|
|
434
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
442
435
|
] = None,
|
|
443
436
|
on_mouse_move: Optional[
|
|
444
|
-
Union[EventHandler, EventSpec, list,
|
|
437
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
445
438
|
] = None,
|
|
446
439
|
on_mouse_out: Optional[
|
|
447
|
-
Union[EventHandler, EventSpec, list,
|
|
440
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
448
441
|
] = None,
|
|
449
442
|
on_mouse_over: Optional[
|
|
450
|
-
Union[EventHandler, EventSpec, list,
|
|
443
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
451
444
|
] = None,
|
|
452
445
|
on_mouse_up: Optional[
|
|
453
|
-
Union[EventHandler, EventSpec, list,
|
|
446
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
454
447
|
] = None,
|
|
455
448
|
on_scroll: Optional[
|
|
456
|
-
Union[EventHandler, EventSpec, list,
|
|
449
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
457
450
|
] = None,
|
|
458
451
|
on_unmount: Optional[
|
|
459
|
-
Union[EventHandler, EventSpec, list,
|
|
452
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
460
453
|
] = None,
|
|
461
|
-
**props
|
|
454
|
+
**props,
|
|
462
455
|
) -> "DialogDescription":
|
|
463
456
|
"""Create a new component instance.
|
|
464
457
|
|
|
@@ -493,51 +486,51 @@ class DialogClose(RadixThemesTriggerComponent):
|
|
|
493
486
|
autofocus: Optional[bool] = None,
|
|
494
487
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
495
488
|
on_blur: Optional[
|
|
496
|
-
Union[EventHandler, EventSpec, list,
|
|
489
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
497
490
|
] = None,
|
|
498
491
|
on_click: Optional[
|
|
499
|
-
Union[EventHandler, EventSpec, list,
|
|
492
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
500
493
|
] = None,
|
|
501
494
|
on_context_menu: Optional[
|
|
502
|
-
Union[EventHandler, EventSpec, list,
|
|
495
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
503
496
|
] = None,
|
|
504
497
|
on_double_click: Optional[
|
|
505
|
-
Union[EventHandler, EventSpec, list,
|
|
498
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
506
499
|
] = None,
|
|
507
500
|
on_focus: Optional[
|
|
508
|
-
Union[EventHandler, EventSpec, list,
|
|
501
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
509
502
|
] = None,
|
|
510
503
|
on_mount: Optional[
|
|
511
|
-
Union[EventHandler, EventSpec, list,
|
|
504
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
512
505
|
] = None,
|
|
513
506
|
on_mouse_down: Optional[
|
|
514
|
-
Union[EventHandler, EventSpec, list,
|
|
507
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
515
508
|
] = None,
|
|
516
509
|
on_mouse_enter: Optional[
|
|
517
|
-
Union[EventHandler, EventSpec, list,
|
|
510
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
518
511
|
] = None,
|
|
519
512
|
on_mouse_leave: Optional[
|
|
520
|
-
Union[EventHandler, EventSpec, list,
|
|
513
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
521
514
|
] = None,
|
|
522
515
|
on_mouse_move: Optional[
|
|
523
|
-
Union[EventHandler, EventSpec, list,
|
|
516
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
524
517
|
] = None,
|
|
525
518
|
on_mouse_out: Optional[
|
|
526
|
-
Union[EventHandler, EventSpec, list,
|
|
519
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
527
520
|
] = None,
|
|
528
521
|
on_mouse_over: Optional[
|
|
529
|
-
Union[EventHandler, EventSpec, list,
|
|
522
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
530
523
|
] = None,
|
|
531
524
|
on_mouse_up: Optional[
|
|
532
|
-
Union[EventHandler, EventSpec, list,
|
|
525
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
533
526
|
] = None,
|
|
534
527
|
on_scroll: Optional[
|
|
535
|
-
Union[EventHandler, EventSpec, list,
|
|
528
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
536
529
|
] = None,
|
|
537
530
|
on_unmount: Optional[
|
|
538
|
-
Union[EventHandler, EventSpec, list,
|
|
531
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
539
532
|
] = None,
|
|
540
|
-
**props
|
|
533
|
+
**props,
|
|
541
534
|
) -> "DialogClose":
|
|
542
535
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
543
536
|
|
|
@@ -569,54 +562,54 @@ class Dialog(ComponentNamespace):
|
|
|
569
562
|
autofocus: Optional[bool] = None,
|
|
570
563
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
571
564
|
on_blur: Optional[
|
|
572
|
-
Union[EventHandler, EventSpec, list,
|
|
565
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
573
566
|
] = None,
|
|
574
567
|
on_click: Optional[
|
|
575
|
-
Union[EventHandler, EventSpec, list,
|
|
568
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
576
569
|
] = None,
|
|
577
570
|
on_context_menu: Optional[
|
|
578
|
-
Union[EventHandler, EventSpec, list,
|
|
571
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
579
572
|
] = None,
|
|
580
573
|
on_double_click: Optional[
|
|
581
|
-
Union[EventHandler, EventSpec, list,
|
|
574
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
582
575
|
] = None,
|
|
583
576
|
on_focus: Optional[
|
|
584
|
-
Union[EventHandler, EventSpec, list,
|
|
577
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
585
578
|
] = None,
|
|
586
579
|
on_mount: Optional[
|
|
587
|
-
Union[EventHandler, EventSpec, list,
|
|
580
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
588
581
|
] = None,
|
|
589
582
|
on_mouse_down: Optional[
|
|
590
|
-
Union[EventHandler, EventSpec, list,
|
|
583
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
591
584
|
] = None,
|
|
592
585
|
on_mouse_enter: Optional[
|
|
593
|
-
Union[EventHandler, EventSpec, list,
|
|
586
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
594
587
|
] = None,
|
|
595
588
|
on_mouse_leave: Optional[
|
|
596
|
-
Union[EventHandler, EventSpec, list,
|
|
589
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
597
590
|
] = None,
|
|
598
591
|
on_mouse_move: Optional[
|
|
599
|
-
Union[EventHandler, EventSpec, list,
|
|
592
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
600
593
|
] = None,
|
|
601
594
|
on_mouse_out: Optional[
|
|
602
|
-
Union[EventHandler, EventSpec, list,
|
|
595
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
603
596
|
] = None,
|
|
604
597
|
on_mouse_over: Optional[
|
|
605
|
-
Union[EventHandler, EventSpec, list,
|
|
598
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
606
599
|
] = None,
|
|
607
600
|
on_mouse_up: Optional[
|
|
608
|
-
Union[EventHandler, EventSpec, list,
|
|
601
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
609
602
|
] = None,
|
|
610
603
|
on_open_change: Optional[
|
|
611
|
-
Union[EventHandler, EventSpec, list,
|
|
604
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
612
605
|
] = None,
|
|
613
606
|
on_scroll: Optional[
|
|
614
|
-
Union[EventHandler, EventSpec, list,
|
|
607
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
615
608
|
] = None,
|
|
616
609
|
on_unmount: Optional[
|
|
617
|
-
Union[EventHandler, EventSpec, list,
|
|
610
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
618
611
|
] = None,
|
|
619
|
-
**props
|
|
612
|
+
**props,
|
|
620
613
|
) -> "DialogRoot":
|
|
621
614
|
"""Create a new component instance.
|
|
622
615
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from typing import Dict, List, Literal, Union
|
|
4
4
|
|
|
5
5
|
from reflex.components.component import ComponentNamespace
|
|
6
|
+
from reflex.components.core.breakpoints import Responsive
|
|
6
7
|
from reflex.event import EventHandler
|
|
7
8
|
from reflex.vars import Var
|
|
8
9
|
|
|
@@ -71,7 +72,7 @@ class DropdownMenuContent(RadixThemesComponent):
|
|
|
71
72
|
tag = "DropdownMenu.Content"
|
|
72
73
|
|
|
73
74
|
# Dropdown Menu Content size "1" - "2"
|
|
74
|
-
size: Var[LiteralSizeType]
|
|
75
|
+
size: Var[Responsive[LiteralSizeType]]
|
|
75
76
|
|
|
76
77
|
# Variant of Dropdown Menu Content: "solid" | "soft"
|
|
77
78
|
variant: Var[LiteralVariantType]
|