reflex 0.5.5a2__py3-none-any.whl → 0.5.6__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 +9 -1
- reflex/__init__.pyi +89 -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/foreach.py +3 -2
- reflex/components/core/html.pyi +38 -55
- reflex/components/core/upload.py +1 -1
- 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 +55 -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.6.dist-info}/METADATA +4 -5
- {reflex-0.5.5a2.dist-info → reflex-0.5.6.dist-info}/RECORD +264 -255
- {reflex-0.5.5a2.dist-info → reflex-0.5.6.dist-info}/LICENSE +0 -0
- {reflex-0.5.5a2.dist-info → reflex-0.5.6.dist-info}/WHEEL +0 -0
- {reflex-0.5.5a2.dist-info → reflex-0.5.6.dist-info}/entry_points.txt +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"""Stub file for reflex/components/radix/themes/components/dropdown_menu.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 Dict, List, Literal, Union
|
|
11
8
|
from reflex.components.component import ComponentNamespace
|
|
12
|
-
from reflex.
|
|
13
|
-
from reflex.
|
|
14
|
-
from
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
10
|
+
from reflex.event import EventHandler, EventSpec
|
|
11
|
+
from reflex.style import Style
|
|
12
|
+
from reflex.vars import BaseVar, Var
|
|
13
|
+
|
|
14
|
+
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
15
15
|
|
|
16
16
|
LiteralDirType = Literal["ltr", "rtl"]
|
|
17
17
|
LiteralSizeType = Literal["1", "2"]
|
|
@@ -37,54 +37,54 @@ class DropdownMenuRoot(RadixThemesComponent):
|
|
|
37
37
|
autofocus: Optional[bool] = None,
|
|
38
38
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
39
39
|
on_blur: Optional[
|
|
40
|
-
Union[EventHandler, EventSpec, list,
|
|
40
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
41
41
|
] = None,
|
|
42
42
|
on_click: Optional[
|
|
43
|
-
Union[EventHandler, EventSpec, list,
|
|
43
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
44
44
|
] = None,
|
|
45
45
|
on_context_menu: Optional[
|
|
46
|
-
Union[EventHandler, EventSpec, list,
|
|
46
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
47
47
|
] = None,
|
|
48
48
|
on_double_click: Optional[
|
|
49
|
-
Union[EventHandler, EventSpec, list,
|
|
49
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
50
50
|
] = None,
|
|
51
51
|
on_focus: Optional[
|
|
52
|
-
Union[EventHandler, EventSpec, list,
|
|
52
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
53
53
|
] = None,
|
|
54
54
|
on_mount: Optional[
|
|
55
|
-
Union[EventHandler, EventSpec, list,
|
|
55
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
56
56
|
] = None,
|
|
57
57
|
on_mouse_down: Optional[
|
|
58
|
-
Union[EventHandler, EventSpec, list,
|
|
58
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
59
59
|
] = None,
|
|
60
60
|
on_mouse_enter: Optional[
|
|
61
|
-
Union[EventHandler, EventSpec, list,
|
|
61
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
62
62
|
] = None,
|
|
63
63
|
on_mouse_leave: Optional[
|
|
64
|
-
Union[EventHandler, EventSpec, list,
|
|
64
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
65
65
|
] = None,
|
|
66
66
|
on_mouse_move: Optional[
|
|
67
|
-
Union[EventHandler, EventSpec, list,
|
|
67
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
68
68
|
] = None,
|
|
69
69
|
on_mouse_out: Optional[
|
|
70
|
-
Union[EventHandler, EventSpec, list,
|
|
70
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
71
71
|
] = None,
|
|
72
72
|
on_mouse_over: Optional[
|
|
73
|
-
Union[EventHandler, EventSpec, list,
|
|
73
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
74
74
|
] = None,
|
|
75
75
|
on_mouse_up: Optional[
|
|
76
|
-
Union[EventHandler, EventSpec, list,
|
|
76
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
77
77
|
] = None,
|
|
78
78
|
on_open_change: Optional[
|
|
79
|
-
Union[EventHandler, EventSpec, list,
|
|
79
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
80
80
|
] = None,
|
|
81
81
|
on_scroll: Optional[
|
|
82
|
-
Union[EventHandler, EventSpec, list,
|
|
82
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
83
83
|
] = None,
|
|
84
84
|
on_unmount: Optional[
|
|
85
|
-
Union[EventHandler, EventSpec, list,
|
|
85
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
86
86
|
] = None,
|
|
87
|
-
**props
|
|
87
|
+
**props,
|
|
88
88
|
) -> "DropdownMenuRoot":
|
|
89
89
|
"""Create a new component instance.
|
|
90
90
|
|
|
@@ -124,51 +124,51 @@ class DropdownMenuTrigger(RadixThemesTriggerComponent):
|
|
|
124
124
|
autofocus: Optional[bool] = None,
|
|
125
125
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
126
126
|
on_blur: Optional[
|
|
127
|
-
Union[EventHandler, EventSpec, list,
|
|
127
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
128
128
|
] = None,
|
|
129
129
|
on_click: Optional[
|
|
130
|
-
Union[EventHandler, EventSpec, list,
|
|
130
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
131
131
|
] = None,
|
|
132
132
|
on_context_menu: Optional[
|
|
133
|
-
Union[EventHandler, EventSpec, list,
|
|
133
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
134
134
|
] = None,
|
|
135
135
|
on_double_click: Optional[
|
|
136
|
-
Union[EventHandler, EventSpec, list,
|
|
136
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
137
137
|
] = None,
|
|
138
138
|
on_focus: Optional[
|
|
139
|
-
Union[EventHandler, EventSpec, list,
|
|
139
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
140
140
|
] = None,
|
|
141
141
|
on_mount: Optional[
|
|
142
|
-
Union[EventHandler, EventSpec, list,
|
|
142
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
143
143
|
] = None,
|
|
144
144
|
on_mouse_down: Optional[
|
|
145
|
-
Union[EventHandler, EventSpec, list,
|
|
145
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
146
146
|
] = None,
|
|
147
147
|
on_mouse_enter: Optional[
|
|
148
|
-
Union[EventHandler, EventSpec, list,
|
|
148
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
149
149
|
] = None,
|
|
150
150
|
on_mouse_leave: Optional[
|
|
151
|
-
Union[EventHandler, EventSpec, list,
|
|
151
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
152
152
|
] = None,
|
|
153
153
|
on_mouse_move: Optional[
|
|
154
|
-
Union[EventHandler, EventSpec, list,
|
|
154
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
155
155
|
] = None,
|
|
156
156
|
on_mouse_out: Optional[
|
|
157
|
-
Union[EventHandler, EventSpec, list,
|
|
157
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
158
158
|
] = None,
|
|
159
159
|
on_mouse_over: Optional[
|
|
160
|
-
Union[EventHandler, EventSpec, list,
|
|
160
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
161
161
|
] = None,
|
|
162
162
|
on_mouse_up: Optional[
|
|
163
|
-
Union[EventHandler, EventSpec, list,
|
|
163
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
164
164
|
] = None,
|
|
165
165
|
on_scroll: Optional[
|
|
166
|
-
Union[EventHandler, EventSpec, list,
|
|
166
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
167
167
|
] = None,
|
|
168
168
|
on_unmount: Optional[
|
|
169
|
-
Union[EventHandler, EventSpec, list,
|
|
169
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
170
170
|
] = None,
|
|
171
|
-
**props
|
|
171
|
+
**props,
|
|
172
172
|
) -> "DropdownMenuTrigger":
|
|
173
173
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
174
174
|
|
|
@@ -187,7 +187,13 @@ class DropdownMenuContent(RadixThemesComponent):
|
|
|
187
187
|
def create( # type: ignore
|
|
188
188
|
cls,
|
|
189
189
|
*children,
|
|
190
|
-
size: Optional[
|
|
190
|
+
size: Optional[
|
|
191
|
+
Union[
|
|
192
|
+
Var[Union[Breakpoints[str, Literal["1", "2"]], Literal["1", "2"]]],
|
|
193
|
+
Literal["1", "2"],
|
|
194
|
+
Breakpoints[str, Literal["1", "2"]],
|
|
195
|
+
]
|
|
196
|
+
] = None,
|
|
191
197
|
variant: Optional[
|
|
192
198
|
Union[Var[Literal["solid", "soft"]], Literal["solid", "soft"]]
|
|
193
199
|
] = None,
|
|
@@ -263,24 +269,24 @@ class DropdownMenuContent(RadixThemesComponent):
|
|
|
263
269
|
Literal["top", "right", "bottom", "left"],
|
|
264
270
|
]
|
|
265
271
|
] = None,
|
|
266
|
-
side_offset: Optional[Union[Var[Union[float, int]],
|
|
272
|
+
side_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
267
273
|
align: Optional[
|
|
268
274
|
Union[
|
|
269
275
|
Var[Literal["start", "center", "end"]],
|
|
270
276
|
Literal["start", "center", "end"],
|
|
271
277
|
]
|
|
272
278
|
] = None,
|
|
273
|
-
align_offset: Optional[Union[Var[Union[float, int]],
|
|
279
|
+
align_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
274
280
|
avoid_collisions: Optional[Union[Var[bool], bool]] = None,
|
|
275
281
|
collision_padding: Optional[
|
|
276
282
|
Union[
|
|
277
|
-
Var[Union[
|
|
278
|
-
|
|
283
|
+
Var[Union[Dict[str, Union[float, int]], float, int]],
|
|
284
|
+
float,
|
|
285
|
+
int,
|
|
286
|
+
Dict[str, Union[float, int]],
|
|
279
287
|
]
|
|
280
288
|
] = None,
|
|
281
|
-
arrow_padding: Optional[
|
|
282
|
-
Union[Var[Union[float, int]], Union[float, int]]
|
|
283
|
-
] = None,
|
|
289
|
+
arrow_padding: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
284
290
|
sticky: Optional[
|
|
285
291
|
Union[Var[Literal["partial", "always"]], Literal["partial", "always"]]
|
|
286
292
|
] = None,
|
|
@@ -292,66 +298,66 @@ class DropdownMenuContent(RadixThemesComponent):
|
|
|
292
298
|
autofocus: Optional[bool] = None,
|
|
293
299
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
294
300
|
on_blur: Optional[
|
|
295
|
-
Union[EventHandler, EventSpec, list,
|
|
301
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
296
302
|
] = None,
|
|
297
303
|
on_click: Optional[
|
|
298
|
-
Union[EventHandler, EventSpec, list,
|
|
304
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
299
305
|
] = None,
|
|
300
306
|
on_close_auto_focus: Optional[
|
|
301
|
-
Union[EventHandler, EventSpec, list,
|
|
307
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
302
308
|
] = None,
|
|
303
309
|
on_context_menu: Optional[
|
|
304
|
-
Union[EventHandler, EventSpec, list,
|
|
310
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
305
311
|
] = None,
|
|
306
312
|
on_double_click: Optional[
|
|
307
|
-
Union[EventHandler, EventSpec, list,
|
|
313
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
308
314
|
] = None,
|
|
309
315
|
on_escape_key_down: Optional[
|
|
310
|
-
Union[EventHandler, EventSpec, list,
|
|
316
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
311
317
|
] = None,
|
|
312
318
|
on_focus: Optional[
|
|
313
|
-
Union[EventHandler, EventSpec, list,
|
|
319
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
314
320
|
] = None,
|
|
315
321
|
on_focus_outside: Optional[
|
|
316
|
-
Union[EventHandler, EventSpec, list,
|
|
322
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
317
323
|
] = None,
|
|
318
324
|
on_interact_outside: Optional[
|
|
319
|
-
Union[EventHandler, EventSpec, list,
|
|
325
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
320
326
|
] = None,
|
|
321
327
|
on_mount: Optional[
|
|
322
|
-
Union[EventHandler, EventSpec, list,
|
|
328
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
323
329
|
] = None,
|
|
324
330
|
on_mouse_down: Optional[
|
|
325
|
-
Union[EventHandler, EventSpec, list,
|
|
331
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
326
332
|
] = None,
|
|
327
333
|
on_mouse_enter: Optional[
|
|
328
|
-
Union[EventHandler, EventSpec, list,
|
|
334
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
329
335
|
] = None,
|
|
330
336
|
on_mouse_leave: Optional[
|
|
331
|
-
Union[EventHandler, EventSpec, list,
|
|
337
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
332
338
|
] = None,
|
|
333
339
|
on_mouse_move: Optional[
|
|
334
|
-
Union[EventHandler, EventSpec, list,
|
|
340
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
335
341
|
] = None,
|
|
336
342
|
on_mouse_out: Optional[
|
|
337
|
-
Union[EventHandler, EventSpec, list,
|
|
343
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
338
344
|
] = None,
|
|
339
345
|
on_mouse_over: Optional[
|
|
340
|
-
Union[EventHandler, EventSpec, list,
|
|
346
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
341
347
|
] = None,
|
|
342
348
|
on_mouse_up: Optional[
|
|
343
|
-
Union[EventHandler, EventSpec, list,
|
|
349
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
344
350
|
] = None,
|
|
345
351
|
on_pointer_down_outside: Optional[
|
|
346
|
-
Union[EventHandler, EventSpec, list,
|
|
352
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
347
353
|
] = None,
|
|
348
354
|
on_scroll: Optional[
|
|
349
|
-
Union[EventHandler, EventSpec, list,
|
|
355
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
350
356
|
] = None,
|
|
351
357
|
on_unmount: Optional[
|
|
352
|
-
Union[EventHandler, EventSpec, list,
|
|
358
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
353
359
|
] = None,
|
|
354
|
-
**props
|
|
360
|
+
**props,
|
|
355
361
|
) -> "DropdownMenuContent":
|
|
356
362
|
"""Create a new component instance.
|
|
357
363
|
|
|
@@ -405,51 +411,51 @@ class DropdownMenuSubTrigger(RadixThemesTriggerComponent):
|
|
|
405
411
|
autofocus: Optional[bool] = None,
|
|
406
412
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
407
413
|
on_blur: Optional[
|
|
408
|
-
Union[EventHandler, EventSpec, list,
|
|
414
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
409
415
|
] = None,
|
|
410
416
|
on_click: Optional[
|
|
411
|
-
Union[EventHandler, EventSpec, list,
|
|
417
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
412
418
|
] = None,
|
|
413
419
|
on_context_menu: Optional[
|
|
414
|
-
Union[EventHandler, EventSpec, list,
|
|
420
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
415
421
|
] = None,
|
|
416
422
|
on_double_click: Optional[
|
|
417
|
-
Union[EventHandler, EventSpec, list,
|
|
423
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
418
424
|
] = None,
|
|
419
425
|
on_focus: Optional[
|
|
420
|
-
Union[EventHandler, EventSpec, list,
|
|
426
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
421
427
|
] = None,
|
|
422
428
|
on_mount: Optional[
|
|
423
|
-
Union[EventHandler, EventSpec, list,
|
|
429
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
424
430
|
] = None,
|
|
425
431
|
on_mouse_down: Optional[
|
|
426
|
-
Union[EventHandler, EventSpec, list,
|
|
432
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
427
433
|
] = None,
|
|
428
434
|
on_mouse_enter: Optional[
|
|
429
|
-
Union[EventHandler, EventSpec, list,
|
|
435
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
430
436
|
] = None,
|
|
431
437
|
on_mouse_leave: Optional[
|
|
432
|
-
Union[EventHandler, EventSpec, list,
|
|
438
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
433
439
|
] = None,
|
|
434
440
|
on_mouse_move: Optional[
|
|
435
|
-
Union[EventHandler, EventSpec, list,
|
|
441
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
436
442
|
] = None,
|
|
437
443
|
on_mouse_out: Optional[
|
|
438
|
-
Union[EventHandler, EventSpec, list,
|
|
444
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
439
445
|
] = None,
|
|
440
446
|
on_mouse_over: Optional[
|
|
441
|
-
Union[EventHandler, EventSpec, list,
|
|
447
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
442
448
|
] = None,
|
|
443
449
|
on_mouse_up: Optional[
|
|
444
|
-
Union[EventHandler, EventSpec, list,
|
|
450
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
445
451
|
] = None,
|
|
446
452
|
on_scroll: Optional[
|
|
447
|
-
Union[EventHandler, EventSpec, list,
|
|
453
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
448
454
|
] = None,
|
|
449
455
|
on_unmount: Optional[
|
|
450
|
-
Union[EventHandler, EventSpec, list,
|
|
456
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
451
457
|
] = None,
|
|
452
|
-
**props
|
|
458
|
+
**props,
|
|
453
459
|
) -> "DropdownMenuSubTrigger":
|
|
454
460
|
"""Create a new RadixThemesTriggerComponent instance.
|
|
455
461
|
|
|
@@ -477,54 +483,54 @@ class DropdownMenuSub(RadixThemesComponent):
|
|
|
477
483
|
autofocus: Optional[bool] = None,
|
|
478
484
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
479
485
|
on_blur: Optional[
|
|
480
|
-
Union[EventHandler, EventSpec, list,
|
|
486
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
481
487
|
] = None,
|
|
482
488
|
on_click: Optional[
|
|
483
|
-
Union[EventHandler, EventSpec, list,
|
|
489
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
484
490
|
] = None,
|
|
485
491
|
on_context_menu: Optional[
|
|
486
|
-
Union[EventHandler, EventSpec, list,
|
|
492
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
487
493
|
] = None,
|
|
488
494
|
on_double_click: Optional[
|
|
489
|
-
Union[EventHandler, EventSpec, list,
|
|
495
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
490
496
|
] = None,
|
|
491
497
|
on_focus: Optional[
|
|
492
|
-
Union[EventHandler, EventSpec, list,
|
|
498
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
493
499
|
] = None,
|
|
494
500
|
on_mount: Optional[
|
|
495
|
-
Union[EventHandler, EventSpec, list,
|
|
501
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
496
502
|
] = None,
|
|
497
503
|
on_mouse_down: Optional[
|
|
498
|
-
Union[EventHandler, EventSpec, list,
|
|
504
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
499
505
|
] = None,
|
|
500
506
|
on_mouse_enter: Optional[
|
|
501
|
-
Union[EventHandler, EventSpec, list,
|
|
507
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
502
508
|
] = None,
|
|
503
509
|
on_mouse_leave: Optional[
|
|
504
|
-
Union[EventHandler, EventSpec, list,
|
|
510
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
505
511
|
] = None,
|
|
506
512
|
on_mouse_move: Optional[
|
|
507
|
-
Union[EventHandler, EventSpec, list,
|
|
513
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
508
514
|
] = None,
|
|
509
515
|
on_mouse_out: Optional[
|
|
510
|
-
Union[EventHandler, EventSpec, list,
|
|
516
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
511
517
|
] = None,
|
|
512
518
|
on_mouse_over: Optional[
|
|
513
|
-
Union[EventHandler, EventSpec, list,
|
|
519
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
514
520
|
] = None,
|
|
515
521
|
on_mouse_up: Optional[
|
|
516
|
-
Union[EventHandler, EventSpec, list,
|
|
522
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
517
523
|
] = None,
|
|
518
524
|
on_open_change: Optional[
|
|
519
|
-
Union[EventHandler, EventSpec, list,
|
|
525
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
520
526
|
] = None,
|
|
521
527
|
on_scroll: Optional[
|
|
522
|
-
Union[EventHandler, EventSpec, list,
|
|
528
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
523
529
|
] = None,
|
|
524
530
|
on_unmount: Optional[
|
|
525
|
-
Union[EventHandler, EventSpec, list,
|
|
531
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
526
532
|
] = None,
|
|
527
|
-
**props
|
|
533
|
+
**props,
|
|
528
534
|
) -> "DropdownMenuSub":
|
|
529
535
|
"""Create a new component instance.
|
|
530
536
|
|
|
@@ -557,18 +563,18 @@ class DropdownMenuSubContent(RadixThemesComponent):
|
|
|
557
563
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
558
564
|
loop: Optional[Union[Var[bool], bool]] = None,
|
|
559
565
|
force_mount: Optional[Union[Var[bool], bool]] = None,
|
|
560
|
-
side_offset: Optional[Union[Var[Union[float, int]],
|
|
561
|
-
align_offset: Optional[Union[Var[Union[float, int]],
|
|
566
|
+
side_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
567
|
+
align_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
562
568
|
avoid_collisions: Optional[Union[Var[bool], bool]] = None,
|
|
563
569
|
collision_padding: Optional[
|
|
564
570
|
Union[
|
|
565
|
-
Var[Union[
|
|
566
|
-
|
|
571
|
+
Var[Union[Dict[str, Union[float, int]], float, int]],
|
|
572
|
+
float,
|
|
573
|
+
int,
|
|
574
|
+
Dict[str, Union[float, int]],
|
|
567
575
|
]
|
|
568
576
|
] = None,
|
|
569
|
-
arrow_padding: Optional[
|
|
570
|
-
Union[Var[Union[float, int]], Union[float, int]]
|
|
571
|
-
] = None,
|
|
577
|
+
arrow_padding: Optional[Union[Var[Union[float, int]], float, int]] = None,
|
|
572
578
|
sticky: Optional[
|
|
573
579
|
Union[Var[Literal["partial", "always"]], Literal["partial", "always"]]
|
|
574
580
|
] = None,
|
|
@@ -580,63 +586,63 @@ class DropdownMenuSubContent(RadixThemesComponent):
|
|
|
580
586
|
autofocus: Optional[bool] = None,
|
|
581
587
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
582
588
|
on_blur: Optional[
|
|
583
|
-
Union[EventHandler, EventSpec, list,
|
|
589
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
584
590
|
] = None,
|
|
585
591
|
on_click: Optional[
|
|
586
|
-
Union[EventHandler, EventSpec, list,
|
|
592
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
587
593
|
] = None,
|
|
588
594
|
on_context_menu: Optional[
|
|
589
|
-
Union[EventHandler, EventSpec, list,
|
|
595
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
590
596
|
] = None,
|
|
591
597
|
on_double_click: Optional[
|
|
592
|
-
Union[EventHandler, EventSpec, list,
|
|
598
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
593
599
|
] = None,
|
|
594
600
|
on_escape_key_down: Optional[
|
|
595
|
-
Union[EventHandler, EventSpec, list,
|
|
601
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
596
602
|
] = None,
|
|
597
603
|
on_focus: Optional[
|
|
598
|
-
Union[EventHandler, EventSpec, list,
|
|
604
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
599
605
|
] = None,
|
|
600
606
|
on_focus_outside: Optional[
|
|
601
|
-
Union[EventHandler, EventSpec, list,
|
|
607
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
602
608
|
] = None,
|
|
603
609
|
on_interact_outside: Optional[
|
|
604
|
-
Union[EventHandler, EventSpec, list,
|
|
610
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
605
611
|
] = None,
|
|
606
612
|
on_mount: Optional[
|
|
607
|
-
Union[EventHandler, EventSpec, list,
|
|
613
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
608
614
|
] = None,
|
|
609
615
|
on_mouse_down: Optional[
|
|
610
|
-
Union[EventHandler, EventSpec, list,
|
|
616
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
611
617
|
] = None,
|
|
612
618
|
on_mouse_enter: Optional[
|
|
613
|
-
Union[EventHandler, EventSpec, list,
|
|
619
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
614
620
|
] = None,
|
|
615
621
|
on_mouse_leave: Optional[
|
|
616
|
-
Union[EventHandler, EventSpec, list,
|
|
622
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
617
623
|
] = None,
|
|
618
624
|
on_mouse_move: Optional[
|
|
619
|
-
Union[EventHandler, EventSpec, list,
|
|
625
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
620
626
|
] = None,
|
|
621
627
|
on_mouse_out: Optional[
|
|
622
|
-
Union[EventHandler, EventSpec, list,
|
|
628
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
623
629
|
] = None,
|
|
624
630
|
on_mouse_over: Optional[
|
|
625
|
-
Union[EventHandler, EventSpec, list,
|
|
631
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
626
632
|
] = None,
|
|
627
633
|
on_mouse_up: Optional[
|
|
628
|
-
Union[EventHandler, EventSpec, list,
|
|
634
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
629
635
|
] = None,
|
|
630
636
|
on_pointer_down_outside: Optional[
|
|
631
|
-
Union[EventHandler, EventSpec, list,
|
|
637
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
632
638
|
] = None,
|
|
633
639
|
on_scroll: Optional[
|
|
634
|
-
Union[EventHandler, EventSpec, list,
|
|
640
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
635
641
|
] = None,
|
|
636
642
|
on_unmount: Optional[
|
|
637
|
-
Union[EventHandler, EventSpec, list,
|
|
643
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
638
644
|
] = None,
|
|
639
|
-
**props
|
|
645
|
+
**props,
|
|
640
646
|
) -> "DropdownMenuSubContent":
|
|
641
647
|
"""Create a new component instance.
|
|
642
648
|
|
|
@@ -747,54 +753,54 @@ class DropdownMenuItem(RadixThemesComponent):
|
|
|
747
753
|
autofocus: Optional[bool] = None,
|
|
748
754
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
749
755
|
on_blur: Optional[
|
|
750
|
-
Union[EventHandler, EventSpec, list,
|
|
756
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
751
757
|
] = None,
|
|
752
758
|
on_click: Optional[
|
|
753
|
-
Union[EventHandler, EventSpec, list,
|
|
759
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
754
760
|
] = None,
|
|
755
761
|
on_context_menu: Optional[
|
|
756
|
-
Union[EventHandler, EventSpec, list,
|
|
762
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
757
763
|
] = None,
|
|
758
764
|
on_double_click: Optional[
|
|
759
|
-
Union[EventHandler, EventSpec, list,
|
|
765
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
760
766
|
] = None,
|
|
761
767
|
on_focus: Optional[
|
|
762
|
-
Union[EventHandler, EventSpec, list,
|
|
768
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
763
769
|
] = None,
|
|
764
770
|
on_mount: Optional[
|
|
765
|
-
Union[EventHandler, EventSpec, list,
|
|
771
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
766
772
|
] = None,
|
|
767
773
|
on_mouse_down: Optional[
|
|
768
|
-
Union[EventHandler, EventSpec, list,
|
|
774
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
769
775
|
] = None,
|
|
770
776
|
on_mouse_enter: Optional[
|
|
771
|
-
Union[EventHandler, EventSpec, list,
|
|
777
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
772
778
|
] = None,
|
|
773
779
|
on_mouse_leave: Optional[
|
|
774
|
-
Union[EventHandler, EventSpec, list,
|
|
780
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
775
781
|
] = None,
|
|
776
782
|
on_mouse_move: Optional[
|
|
777
|
-
Union[EventHandler, EventSpec, list,
|
|
783
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
778
784
|
] = None,
|
|
779
785
|
on_mouse_out: Optional[
|
|
780
|
-
Union[EventHandler, EventSpec, list,
|
|
786
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
781
787
|
] = None,
|
|
782
788
|
on_mouse_over: Optional[
|
|
783
|
-
Union[EventHandler, EventSpec, list,
|
|
789
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
784
790
|
] = None,
|
|
785
791
|
on_mouse_up: Optional[
|
|
786
|
-
Union[EventHandler, EventSpec, list,
|
|
792
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
787
793
|
] = None,
|
|
788
794
|
on_scroll: Optional[
|
|
789
|
-
Union[EventHandler, EventSpec, list,
|
|
795
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
790
796
|
] = None,
|
|
791
797
|
on_select: Optional[
|
|
792
|
-
Union[EventHandler, EventSpec, list,
|
|
798
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
793
799
|
] = None,
|
|
794
800
|
on_unmount: Optional[
|
|
795
|
-
Union[EventHandler, EventSpec, list,
|
|
801
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
796
802
|
] = None,
|
|
797
|
-
**props
|
|
803
|
+
**props,
|
|
798
804
|
) -> "DropdownMenuItem":
|
|
799
805
|
"""Create a new component instance.
|
|
800
806
|
|
|
@@ -834,51 +840,51 @@ class DropdownMenuSeparator(RadixThemesComponent):
|
|
|
834
840
|
autofocus: Optional[bool] = None,
|
|
835
841
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
836
842
|
on_blur: Optional[
|
|
837
|
-
Union[EventHandler, EventSpec, list,
|
|
843
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
838
844
|
] = None,
|
|
839
845
|
on_click: Optional[
|
|
840
|
-
Union[EventHandler, EventSpec, list,
|
|
846
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
841
847
|
] = None,
|
|
842
848
|
on_context_menu: Optional[
|
|
843
|
-
Union[EventHandler, EventSpec, list,
|
|
849
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
844
850
|
] = None,
|
|
845
851
|
on_double_click: Optional[
|
|
846
|
-
Union[EventHandler, EventSpec, list,
|
|
852
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
847
853
|
] = None,
|
|
848
854
|
on_focus: Optional[
|
|
849
|
-
Union[EventHandler, EventSpec, list,
|
|
855
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
850
856
|
] = None,
|
|
851
857
|
on_mount: Optional[
|
|
852
|
-
Union[EventHandler, EventSpec, list,
|
|
858
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
853
859
|
] = None,
|
|
854
860
|
on_mouse_down: Optional[
|
|
855
|
-
Union[EventHandler, EventSpec, list,
|
|
861
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
856
862
|
] = None,
|
|
857
863
|
on_mouse_enter: Optional[
|
|
858
|
-
Union[EventHandler, EventSpec, list,
|
|
864
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
859
865
|
] = None,
|
|
860
866
|
on_mouse_leave: Optional[
|
|
861
|
-
Union[EventHandler, EventSpec, list,
|
|
867
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
862
868
|
] = None,
|
|
863
869
|
on_mouse_move: Optional[
|
|
864
|
-
Union[EventHandler, EventSpec, list,
|
|
870
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
865
871
|
] = None,
|
|
866
872
|
on_mouse_out: Optional[
|
|
867
|
-
Union[EventHandler, EventSpec, list,
|
|
873
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
868
874
|
] = None,
|
|
869
875
|
on_mouse_over: Optional[
|
|
870
|
-
Union[EventHandler, EventSpec, list,
|
|
876
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
871
877
|
] = None,
|
|
872
878
|
on_mouse_up: Optional[
|
|
873
|
-
Union[EventHandler, EventSpec, list,
|
|
879
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
874
880
|
] = None,
|
|
875
881
|
on_scroll: Optional[
|
|
876
|
-
Union[EventHandler, EventSpec, list,
|
|
882
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
877
883
|
] = None,
|
|
878
884
|
on_unmount: Optional[
|
|
879
|
-
Union[EventHandler, EventSpec, list,
|
|
885
|
+
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
880
886
|
] = None,
|
|
881
|
-
**props
|
|
887
|
+
**props,
|
|
882
888
|
) -> "DropdownMenuSeparator":
|
|
883
889
|
"""Create a new component instance.
|
|
884
890
|
|