reflex 0.3.9a2__py3-none-any.whl → 0.3.10__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/__init__.py +3 -1
- reflex/__init__.pyi +3 -1
- reflex/app.py +13 -5
- reflex/compiler/utils.py +13 -12
- reflex/components/base/app_wrap.pyi +1 -0
- reflex/components/base/body.pyi +2 -0
- reflex/components/base/document.pyi +10 -0
- reflex/components/base/fragment.pyi +2 -0
- reflex/components/base/head.pyi +4 -0
- reflex/components/base/link.pyi +4 -0
- reflex/components/base/meta.pyi +8 -0
- reflex/components/base/script.pyi +2 -0
- reflex/components/chakra/base.pyi +7 -0
- reflex/components/chakra/datadisplay/badge.pyi +2 -0
- reflex/components/chakra/datadisplay/code.pyi +4 -0
- reflex/components/chakra/datadisplay/divider.pyi +2 -0
- reflex/components/chakra/datadisplay/keyboard_key.pyi +2 -0
- reflex/components/chakra/datadisplay/list.pyi +8 -0
- reflex/components/chakra/datadisplay/stat.pyi +12 -0
- reflex/components/chakra/datadisplay/table.pyi +18 -0
- reflex/components/chakra/datadisplay/tag.pyi +9 -0
- reflex/components/chakra/disclosure/accordion.pyi +10 -0
- reflex/components/chakra/disclosure/tabs.py +8 -0
- reflex/components/chakra/disclosure/tabs.pyi +10 -0
- reflex/components/chakra/disclosure/transition.pyi +12 -0
- reflex/components/chakra/disclosure/visuallyhidden.pyi +2 -0
- reflex/components/chakra/feedback/alert.pyi +8 -0
- reflex/components/chakra/feedback/circularprogress.pyi +4 -0
- reflex/components/chakra/feedback/progress.pyi +2 -0
- reflex/components/chakra/feedback/skeleton.pyi +6 -0
- reflex/components/chakra/feedback/spinner.pyi +2 -0
- reflex/components/chakra/forms/button.pyi +4 -0
- reflex/components/chakra/forms/checkbox.pyi +4 -0
- reflex/components/chakra/forms/colormodeswitch.pyi +7 -0
- reflex/components/chakra/forms/date_picker.pyi +2 -0
- reflex/components/chakra/forms/date_time_picker.pyi +2 -0
- reflex/components/chakra/forms/editable.pyi +8 -0
- reflex/components/chakra/forms/email.pyi +2 -0
- reflex/components/chakra/forms/form.pyi +10 -0
- reflex/components/chakra/forms/iconbutton.py +1 -0
- reflex/components/chakra/forms/iconbutton.pyi +2 -0
- reflex/components/chakra/forms/input.pyi +12 -0
- reflex/components/chakra/forms/numberinput.pyi +10 -0
- reflex/components/chakra/forms/password.pyi +2 -0
- reflex/components/chakra/forms/pininput.pyi +4 -0
- reflex/components/chakra/forms/radio.pyi +4 -0
- reflex/components/chakra/forms/rangeslider.pyi +8 -0
- reflex/components/chakra/forms/select.pyi +4 -0
- reflex/components/chakra/forms/slider.pyi +10 -0
- reflex/components/chakra/forms/switch.pyi +2 -0
- reflex/components/chakra/forms/textarea.pyi +2 -0
- reflex/components/chakra/forms/time_picker.pyi +2 -0
- reflex/components/chakra/layout/aspect_ratio.pyi +2 -0
- reflex/components/chakra/layout/box.pyi +2 -0
- reflex/components/chakra/layout/card.pyi +7 -0
- reflex/components/chakra/layout/center.pyi +6 -0
- reflex/components/chakra/layout/container.pyi +2 -0
- reflex/components/chakra/layout/flex.pyi +2 -0
- reflex/components/chakra/layout/grid.pyi +6 -0
- reflex/components/chakra/layout/html.pyi +2 -0
- reflex/components/chakra/layout/spacer.pyi +2 -0
- reflex/components/chakra/layout/stack.pyi +6 -0
- reflex/components/chakra/layout/wrap.pyi +4 -0
- reflex/components/chakra/media/avatar.pyi +6 -0
- reflex/components/chakra/media/icon.pyi +4 -0
- reflex/components/chakra/media/image.pyi +2 -0
- reflex/components/chakra/navigation/breadcrumb.pyi +8 -0
- reflex/components/chakra/navigation/link.pyi +2 -0
- reflex/components/chakra/navigation/linkoverlay.pyi +4 -0
- reflex/components/chakra/navigation/stepper.pyi +18 -0
- reflex/components/chakra/overlay/alertdialog.pyi +14 -0
- reflex/components/chakra/overlay/drawer.pyi +14 -0
- reflex/components/chakra/overlay/menu.pyi +16 -0
- reflex/components/chakra/overlay/modal.pyi +14 -0
- reflex/components/chakra/overlay/popover.pyi +18 -0
- reflex/components/chakra/overlay/tooltip.pyi +2 -0
- reflex/components/chakra/typography/heading.pyi +2 -0
- reflex/components/chakra/typography/highlight.pyi +2 -0
- reflex/components/chakra/typography/span.pyi +2 -0
- reflex/components/chakra/typography/text.pyi +2 -0
- reflex/components/component.py +41 -3
- reflex/components/core/__init__.py +2 -0
- reflex/components/core/banner.pyi +3 -0
- reflex/components/core/client_side_routing.pyi +4 -0
- reflex/components/core/colors.py +21 -0
- reflex/components/core/cond.py +11 -2
- reflex/components/core/debounce.pyi +1 -0
- reflex/components/core/layout/__init__.py +1 -0
- reflex/components/core/match.py +44 -18
- reflex/components/core/upload.py +8 -2
- reflex/components/core/upload.pyi +7 -1
- reflex/components/datadisplay/dataeditor.pyi +2 -0
- reflex/components/el/element.pyi +2 -0
- reflex/components/el/elements/base.pyi +2 -0
- reflex/components/el/elements/forms.py +3 -0
- reflex/components/el/elements/forms.pyi +32 -0
- reflex/components/el/elements/inline.pyi +56 -0
- reflex/components/el/elements/media.pyi +28 -0
- reflex/components/el/elements/metadata.pyi +10 -0
- reflex/components/el/elements/other.pyi +14 -0
- reflex/components/el/elements/scripts.pyi +6 -0
- reflex/components/el/elements/sectioning.pyi +30 -0
- reflex/components/el/elements/tables.pyi +20 -0
- reflex/components/el/elements/typography.pyi +30 -0
- reflex/components/gridjs/datatable.pyi +4 -0
- reflex/components/lucide/__init__.py +5 -0
- reflex/components/lucide/icon.py +1484 -0
- reflex/components/lucide/icon.pyi +1594 -0
- reflex/components/markdown/markdown.pyi +2 -0
- reflex/components/moment/moment.pyi +2 -0
- reflex/components/next/base.pyi +2 -0
- reflex/components/next/image.pyi +2 -0
- reflex/components/next/link.pyi +2 -0
- reflex/components/next/video.pyi +2 -0
- reflex/components/plotly/plotly.pyi +4 -0
- reflex/components/radix/primitives/__init__.py +10 -0
- reflex/components/radix/primitives/accordion.py +51 -32
- reflex/components/radix/primitives/accordion.pyi +16 -3
- reflex/components/radix/primitives/base.pyi +4 -0
- reflex/components/radix/primitives/drawer.py +240 -0
- reflex/components/radix/primitives/drawer.pyi +814 -0
- reflex/components/radix/primitives/form.py +40 -7
- reflex/components/radix/primitives/form.pyi +32 -10
- reflex/components/radix/primitives/progress.py +2 -2
- reflex/components/radix/primitives/progress.pyi +6 -0
- reflex/components/radix/primitives/slider.pyi +10 -0
- reflex/components/radix/themes/base.py +46 -12
- reflex/components/radix/themes/base.pyi +23 -9
- reflex/components/radix/themes/components/__init__.py +4 -2
- reflex/components/radix/themes/components/alertdialog.py +13 -12
- reflex/components/radix/themes/components/alertdialog.pyi +23 -351
- reflex/components/radix/themes/components/aspectratio.py +2 -5
- reflex/components/radix/themes/components/aspectratio.pyi +4 -51
- reflex/components/radix/themes/components/avatar.py +3 -4
- reflex/components/radix/themes/components/avatar.pyi +4 -57
- reflex/components/radix/themes/components/badge.py +3 -4
- reflex/components/radix/themes/components/badge.pyi +4 -56
- reflex/components/radix/themes/components/button.py +2 -3
- reflex/components/radix/themes/components/button.pyi +3 -51
- reflex/components/radix/themes/components/callout.py +9 -12
- reflex/components/radix/themes/components/callout.pyi +24 -217
- reflex/components/radix/themes/components/card.py +1 -2
- reflex/components/radix/themes/components/card.pyi +4 -51
- reflex/components/radix/themes/components/checkbox.py +11 -5
- reflex/components/radix/themes/components/checkbox.pyi +13 -112
- reflex/components/radix/themes/components/contextmenu.py +21 -21
- reflex/components/radix/themes/components/contextmenu.pyi +26 -401
- reflex/components/radix/themes/components/dialog.py +13 -16
- reflex/components/radix/themes/components/dialog.pyi +20 -303
- reflex/components/radix/themes/components/dropdownmenu.py +196 -32
- reflex/components/radix/themes/components/dropdownmenu.pyi +147 -389
- reflex/components/radix/themes/components/hovercard.py +5 -5
- reflex/components/radix/themes/components/hovercard.pyi +11 -151
- reflex/components/radix/themes/components/iconbutton.py +56 -4
- reflex/components/radix/themes/components/iconbutton.pyi +25 -71
- reflex/components/radix/themes/components/icons.pyi +4 -0
- reflex/components/radix/themes/components/inset.py +1 -2
- reflex/components/radix/themes/components/inset.pyi +4 -51
- reflex/components/radix/themes/components/popover.py +12 -12
- reflex/components/radix/themes/components/popover.pyi +14 -201
- reflex/components/radix/themes/components/radiogroup.py +47 -20
- reflex/components/radix/themes/components/radiogroup.pyi +26 -171
- reflex/components/radix/themes/components/scrollarea.py +2 -3
- reflex/components/radix/themes/components/scrollarea.pyi +4 -51
- reflex/components/radix/themes/components/select.py +28 -25
- reflex/components/radix/themes/components/select.pyi +43 -419
- reflex/components/radix/themes/components/separator.py +4 -5
- reflex/components/radix/themes/components/separator.pyi +5 -52
- reflex/components/radix/themes/components/slider.py +8 -5
- reflex/components/radix/themes/components/slider.pyi +9 -60
- reflex/components/radix/themes/components/switch.py +6 -4
- reflex/components/radix/themes/components/switch.pyi +5 -53
- reflex/components/radix/themes/components/table.py +14 -15
- reflex/components/radix/themes/components/table.pyi +22 -351
- reflex/components/radix/themes/components/tabs.py +9 -6
- reflex/components/radix/themes/components/tabs.pyi +18 -205
- reflex/components/radix/themes/components/textarea.py +2 -3
- reflex/components/radix/themes/components/textarea.pyi +10 -53
- reflex/components/radix/themes/components/textfield.py +105 -4
- reflex/components/radix/themes/components/textfield.pyi +200 -108
- reflex/components/radix/themes/components/tooltip.py +102 -2
- reflex/components/radix/themes/components/tooltip.pyi +66 -110
- reflex/components/radix/themes/layout/__init__.py +7 -0
- reflex/components/radix/themes/layout/base.pyi +2 -0
- reflex/components/radix/themes/layout/box.py +2 -2
- reflex/components/radix/themes/layout/box.pyi +4 -104
- reflex/components/radix/themes/layout/center.py +19 -0
- reflex/components/radix/themes/layout/center.pyi +261 -0
- reflex/components/radix/themes/layout/container.py +2 -2
- reflex/components/radix/themes/layout/container.pyi +4 -104
- reflex/components/radix/themes/layout/flex.py +2 -2
- reflex/components/radix/themes/layout/flex.pyi +4 -105
- reflex/components/radix/themes/layout/grid.pyi +2 -0
- reflex/components/radix/themes/layout/section.py +2 -2
- reflex/components/radix/themes/layout/section.pyi +4 -104
- reflex/components/radix/themes/layout/spacer.py +19 -0
- reflex/components/radix/themes/layout/spacer.pyi +261 -0
- reflex/components/radix/themes/layout/stack.py +60 -0
- reflex/components/radix/themes/layout/stack.pyi +537 -0
- reflex/components/radix/themes/typography/blockquote.py +2 -3
- reflex/components/radix/themes/typography/blockquote.pyi +4 -51
- reflex/components/radix/themes/typography/code.py +2 -3
- reflex/components/radix/themes/typography/code.pyi +4 -56
- reflex/components/radix/themes/typography/em.py +1 -2
- reflex/components/radix/themes/typography/em.pyi +4 -51
- reflex/components/radix/themes/typography/heading.py +2 -3
- reflex/components/radix/themes/typography/heading.pyi +4 -51
- reflex/components/radix/themes/typography/kbd.py +1 -2
- reflex/components/radix/themes/typography/kbd.pyi +4 -51
- reflex/components/radix/themes/typography/link.py +34 -3
- reflex/components/radix/themes/typography/link.pyi +41 -86
- reflex/components/radix/themes/typography/quote.py +1 -2
- reflex/components/radix/themes/typography/quote.pyi +4 -51
- reflex/components/radix/themes/typography/strong.py +1 -2
- reflex/components/radix/themes/typography/strong.pyi +4 -51
- reflex/components/radix/themes/typography/text.py +2 -3
- reflex/components/radix/themes/typography/text.pyi +4 -51
- reflex/components/radix/themes/typography.py +10 -11
- reflex/components/react_player/audio.pyi +2 -0
- reflex/components/react_player/react_player.pyi +2 -0
- reflex/components/react_player/video.pyi +2 -0
- reflex/components/recharts/cartesian.pyi +38 -0
- reflex/components/recharts/charts.pyi +22 -0
- reflex/components/recharts/general.pyi +10 -0
- reflex/components/recharts/polar.pyi +12 -0
- reflex/components/recharts/recharts.pyi +4 -0
- reflex/components/suneditor/editor.pyi +2 -0
- reflex/components/tags/tag.py +1 -1
- reflex/constants/base.py +5 -1
- reflex/constants/colors.py +80 -0
- reflex/constants/event.py +10 -1
- reflex/page.py +1 -1
- reflex/reflex.py +4 -0
- reflex/style.py +8 -3
- reflex/testing.py +21 -10
- reflex/utils/format.py +13 -9
- reflex/utils/prerequisites.py +41 -3
- reflex/utils/serializers.py +14 -0
- reflex/utils/telemetry.py +8 -2
- reflex/utils/types.py +36 -2
- reflex/vars.py +53 -18
- {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/METADATA +1 -2
- {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/RECORD +246 -232
- {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/WHEEL +1 -1
- {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/LICENSE +0 -0
- {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/entry_points.txt +0 -0
|
@@ -10,17 +10,13 @@ from reflex.style import Style
|
|
|
10
10
|
from typing import Any, Dict, List, Literal, Union
|
|
11
11
|
import reflex as rx
|
|
12
12
|
from reflex.components.component import Component
|
|
13
|
+
from reflex.constants import EventTriggers
|
|
13
14
|
from reflex.vars import Var
|
|
14
|
-
from ..base import
|
|
15
|
-
CommonMarginProps,
|
|
16
|
-
LiteralAccentColor,
|
|
17
|
-
LiteralRadius,
|
|
18
|
-
RadixThemesComponent,
|
|
19
|
-
)
|
|
15
|
+
from ..base import LiteralAccentColor, LiteralRadius, RadixThemesComponent
|
|
20
16
|
|
|
21
17
|
LiteralButtonSize = Literal[1, 2, 3, 4]
|
|
22
18
|
|
|
23
|
-
class SelectRoot(
|
|
19
|
+
class SelectRoot(RadixThemesComponent):
|
|
24
20
|
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
25
21
|
@overload
|
|
26
22
|
@classmethod
|
|
@@ -90,7 +86,9 @@ class SelectRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
90
86
|
],
|
|
91
87
|
]
|
|
92
88
|
] = None,
|
|
93
|
-
size: Optional[
|
|
89
|
+
size: Optional[
|
|
90
|
+
Union[Var[Literal["1", "2", "3"]], Literal["1", "2", "3"]]
|
|
91
|
+
] = None,
|
|
94
92
|
default_value: Optional[Union[Var[str], str]] = None,
|
|
95
93
|
value: Optional[Union[Var[str], str]] = None,
|
|
96
94
|
default_open: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -98,57 +96,19 @@ class SelectRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
98
96
|
name: Optional[Union[Var[str], str]] = None,
|
|
99
97
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
100
98
|
required: Optional[Union[Var[bool], bool]] = None,
|
|
101
|
-
m: Optional[
|
|
102
|
-
Union[
|
|
103
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
104
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
105
|
-
]
|
|
106
|
-
] = None,
|
|
107
|
-
mx: Optional[
|
|
108
|
-
Union[
|
|
109
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
110
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
111
|
-
]
|
|
112
|
-
] = None,
|
|
113
|
-
my: Optional[
|
|
114
|
-
Union[
|
|
115
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
116
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
117
|
-
]
|
|
118
|
-
] = None,
|
|
119
|
-
mt: Optional[
|
|
120
|
-
Union[
|
|
121
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
122
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
123
|
-
]
|
|
124
|
-
] = None,
|
|
125
|
-
mr: Optional[
|
|
126
|
-
Union[
|
|
127
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
128
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
129
|
-
]
|
|
130
|
-
] = None,
|
|
131
|
-
mb: Optional[
|
|
132
|
-
Union[
|
|
133
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
134
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
135
|
-
]
|
|
136
|
-
] = None,
|
|
137
|
-
ml: Optional[
|
|
138
|
-
Union[
|
|
139
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
140
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
141
|
-
]
|
|
142
|
-
] = None,
|
|
143
99
|
style: Optional[Style] = None,
|
|
144
100
|
key: Optional[Any] = None,
|
|
145
101
|
id: Optional[Any] = None,
|
|
146
102
|
class_name: Optional[Any] = None,
|
|
147
103
|
autofocus: Optional[bool] = None,
|
|
104
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
148
105
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
149
106
|
on_blur: Optional[
|
|
150
107
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
151
108
|
] = None,
|
|
109
|
+
on_change: Optional[
|
|
110
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
111
|
+
] = None,
|
|
152
112
|
on_click: Optional[
|
|
153
113
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
154
114
|
] = None,
|
|
@@ -194,9 +154,6 @@ class SelectRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
194
154
|
on_unmount: Optional[
|
|
195
155
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
196
156
|
] = None,
|
|
197
|
-
on_value_change: Optional[
|
|
198
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
199
|
-
] = None,
|
|
200
157
|
**props
|
|
201
158
|
) -> "SelectRoot":
|
|
202
159
|
"""Create a new component instance.
|
|
@@ -210,24 +167,18 @@ class SelectRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
210
167
|
color_scheme: map to radix color property.
|
|
211
168
|
size: The size of the select: "1" | "2" | "3"
|
|
212
169
|
default_value: The value of the select when initially rendered. Use when you do not need to control the state of the select.
|
|
213
|
-
value: The controlled value of the select. Should be used in conjunction with
|
|
170
|
+
value: The controlled value of the select. Should be used in conjunction with on_change.
|
|
214
171
|
default_open: The open state of the select when it is initially rendered. Use when you do not need to control its open state.
|
|
215
172
|
open: The controlled open state of the select. Must be used in conjunction with on_open_change.
|
|
216
173
|
name: The name of the select control when submitting the form.
|
|
217
174
|
disabled: When True, prevents the user from interacting with select.
|
|
218
175
|
required: When True, indicates that the user must select a value before the owning form can be submitted.
|
|
219
|
-
|
|
220
|
-
mx: Margin horizontal: "0" - "9"
|
|
221
|
-
my: Margin vertical: "0" - "9"
|
|
222
|
-
mt: Margin top: "0" - "9"
|
|
223
|
-
mr: Margin right: "0" - "9"
|
|
224
|
-
mb: Margin bottom: "0" - "9"
|
|
225
|
-
ml: Margin left: "0" - "9"
|
|
226
|
-
style: The style of the component.
|
|
176
|
+
style: Props to rename The style of the component.
|
|
227
177
|
key: A unique key for the component.
|
|
228
178
|
id: The id for the component.
|
|
229
179
|
class_name: The class name for the component.
|
|
230
180
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
181
|
+
_rename_props: props to change the name of
|
|
231
182
|
custom_attrs: custom attribute
|
|
232
183
|
**props: Component properties.
|
|
233
184
|
|
|
@@ -236,7 +187,7 @@ class SelectRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
236
187
|
"""
|
|
237
188
|
...
|
|
238
189
|
|
|
239
|
-
class SelectTrigger(
|
|
190
|
+
class SelectTrigger(RadixThemesComponent):
|
|
240
191
|
@overload
|
|
241
192
|
@classmethod
|
|
242
193
|
def create( # type: ignore
|
|
@@ -318,53 +269,12 @@ class SelectTrigger(CommonMarginProps, RadixThemesComponent):
|
|
|
318
269
|
]
|
|
319
270
|
] = None,
|
|
320
271
|
placeholder: Optional[Union[Var[str], str]] = None,
|
|
321
|
-
m: Optional[
|
|
322
|
-
Union[
|
|
323
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
324
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
325
|
-
]
|
|
326
|
-
] = None,
|
|
327
|
-
mx: Optional[
|
|
328
|
-
Union[
|
|
329
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
330
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
331
|
-
]
|
|
332
|
-
] = None,
|
|
333
|
-
my: Optional[
|
|
334
|
-
Union[
|
|
335
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
336
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
337
|
-
]
|
|
338
|
-
] = None,
|
|
339
|
-
mt: Optional[
|
|
340
|
-
Union[
|
|
341
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
342
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
343
|
-
]
|
|
344
|
-
] = None,
|
|
345
|
-
mr: Optional[
|
|
346
|
-
Union[
|
|
347
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
348
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
349
|
-
]
|
|
350
|
-
] = None,
|
|
351
|
-
mb: Optional[
|
|
352
|
-
Union[
|
|
353
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
354
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
355
|
-
]
|
|
356
|
-
] = None,
|
|
357
|
-
ml: Optional[
|
|
358
|
-
Union[
|
|
359
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
360
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
361
|
-
]
|
|
362
|
-
] = None,
|
|
363
272
|
style: Optional[Style] = None,
|
|
364
273
|
key: Optional[Any] = None,
|
|
365
274
|
id: Optional[Any] = None,
|
|
366
275
|
class_name: Optional[Any] = None,
|
|
367
276
|
autofocus: Optional[bool] = None,
|
|
277
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
368
278
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
369
279
|
on_blur: Optional[
|
|
370
280
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -425,18 +335,12 @@ class SelectTrigger(CommonMarginProps, RadixThemesComponent):
|
|
|
425
335
|
variant: Variant of the select trigger
|
|
426
336
|
radius: The radius of the select trigger
|
|
427
337
|
placeholder: The placeholder of the select trigger
|
|
428
|
-
m: Margin: "0" - "9"
|
|
429
|
-
mx: Margin horizontal: "0" - "9"
|
|
430
|
-
my: Margin vertical: "0" - "9"
|
|
431
|
-
mt: Margin top: "0" - "9"
|
|
432
|
-
mr: Margin right: "0" - "9"
|
|
433
|
-
mb: Margin bottom: "0" - "9"
|
|
434
|
-
ml: Margin left: "0" - "9"
|
|
435
338
|
style: The style of the component.
|
|
436
339
|
key: A unique key for the component.
|
|
437
340
|
id: The id for the component.
|
|
438
341
|
class_name: The class name for the component.
|
|
439
342
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
343
|
+
_rename_props: props to change the name of
|
|
440
344
|
custom_attrs: custom attribute
|
|
441
345
|
**props: Component properties.
|
|
442
346
|
|
|
@@ -445,7 +349,7 @@ class SelectTrigger(CommonMarginProps, RadixThemesComponent):
|
|
|
445
349
|
"""
|
|
446
350
|
...
|
|
447
351
|
|
|
448
|
-
class SelectContent(
|
|
352
|
+
class SelectContent(RadixThemesComponent):
|
|
449
353
|
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
450
354
|
@overload
|
|
451
355
|
@classmethod
|
|
@@ -539,53 +443,12 @@ class SelectContent(CommonMarginProps, RadixThemesComponent):
|
|
|
539
443
|
]
|
|
540
444
|
] = None,
|
|
541
445
|
align_offset: Optional[Union[Var[int], int]] = None,
|
|
542
|
-
m: Optional[
|
|
543
|
-
Union[
|
|
544
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
545
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
546
|
-
]
|
|
547
|
-
] = None,
|
|
548
|
-
mx: Optional[
|
|
549
|
-
Union[
|
|
550
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
551
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
552
|
-
]
|
|
553
|
-
] = None,
|
|
554
|
-
my: Optional[
|
|
555
|
-
Union[
|
|
556
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
557
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
558
|
-
]
|
|
559
|
-
] = None,
|
|
560
|
-
mt: Optional[
|
|
561
|
-
Union[
|
|
562
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
563
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
564
|
-
]
|
|
565
|
-
] = None,
|
|
566
|
-
mr: Optional[
|
|
567
|
-
Union[
|
|
568
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
569
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
570
|
-
]
|
|
571
|
-
] = None,
|
|
572
|
-
mb: Optional[
|
|
573
|
-
Union[
|
|
574
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
575
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
576
|
-
]
|
|
577
|
-
] = None,
|
|
578
|
-
ml: Optional[
|
|
579
|
-
Union[
|
|
580
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
581
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
582
|
-
]
|
|
583
|
-
] = None,
|
|
584
446
|
style: Optional[Style] = None,
|
|
585
447
|
key: Optional[Any] = None,
|
|
586
448
|
id: Optional[Any] = None,
|
|
587
449
|
class_name: Optional[Any] = None,
|
|
588
450
|
autofocus: Optional[bool] = None,
|
|
451
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
589
452
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
590
453
|
on_blur: Optional[
|
|
591
454
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -659,18 +522,12 @@ class SelectContent(CommonMarginProps, RadixThemesComponent):
|
|
|
659
522
|
side_offset: The distance in pixels from the anchor. Only available when position is set to popper.
|
|
660
523
|
align: The preferred alignment against the anchor. May change when collisions occur. Only available when position is set to popper.
|
|
661
524
|
align_offset: The vertical distance in pixels from the anchor. Only available when position is set to popper.
|
|
662
|
-
m: Margin: "0" - "9"
|
|
663
|
-
mx: Margin horizontal: "0" - "9"
|
|
664
|
-
my: Margin vertical: "0" - "9"
|
|
665
|
-
mt: Margin top: "0" - "9"
|
|
666
|
-
mr: Margin right: "0" - "9"
|
|
667
|
-
mb: Margin bottom: "0" - "9"
|
|
668
|
-
ml: Margin left: "0" - "9"
|
|
669
525
|
style: The style of the component.
|
|
670
526
|
key: A unique key for the component.
|
|
671
527
|
id: The id for the component.
|
|
672
528
|
class_name: The class name for the component.
|
|
673
529
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
530
|
+
_rename_props: props to change the name of
|
|
674
531
|
custom_attrs: custom attribute
|
|
675
532
|
**props: Component properties.
|
|
676
533
|
|
|
@@ -679,7 +536,7 @@ class SelectContent(CommonMarginProps, RadixThemesComponent):
|
|
|
679
536
|
"""
|
|
680
537
|
...
|
|
681
538
|
|
|
682
|
-
class SelectGroup(
|
|
539
|
+
class SelectGroup(RadixThemesComponent):
|
|
683
540
|
@overload
|
|
684
541
|
@classmethod
|
|
685
542
|
def create( # type: ignore
|
|
@@ -748,53 +605,12 @@ class SelectGroup(CommonMarginProps, RadixThemesComponent):
|
|
|
748
605
|
],
|
|
749
606
|
]
|
|
750
607
|
] = None,
|
|
751
|
-
m: Optional[
|
|
752
|
-
Union[
|
|
753
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
754
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
755
|
-
]
|
|
756
|
-
] = None,
|
|
757
|
-
mx: Optional[
|
|
758
|
-
Union[
|
|
759
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
760
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
761
|
-
]
|
|
762
|
-
] = None,
|
|
763
|
-
my: Optional[
|
|
764
|
-
Union[
|
|
765
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
766
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
767
|
-
]
|
|
768
|
-
] = None,
|
|
769
|
-
mt: Optional[
|
|
770
|
-
Union[
|
|
771
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
772
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
773
|
-
]
|
|
774
|
-
] = None,
|
|
775
|
-
mr: Optional[
|
|
776
|
-
Union[
|
|
777
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
778
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
779
|
-
]
|
|
780
|
-
] = None,
|
|
781
|
-
mb: Optional[
|
|
782
|
-
Union[
|
|
783
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
784
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
785
|
-
]
|
|
786
|
-
] = None,
|
|
787
|
-
ml: Optional[
|
|
788
|
-
Union[
|
|
789
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
790
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
791
|
-
]
|
|
792
|
-
] = None,
|
|
793
608
|
style: Optional[Style] = None,
|
|
794
609
|
key: Optional[Any] = None,
|
|
795
610
|
id: Optional[Any] = None,
|
|
796
611
|
class_name: Optional[Any] = None,
|
|
797
612
|
autofocus: Optional[bool] = None,
|
|
613
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
798
614
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
799
615
|
on_blur: Optional[
|
|
800
616
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -852,18 +668,12 @@ class SelectGroup(CommonMarginProps, RadixThemesComponent):
|
|
|
852
668
|
*children: Child components.
|
|
853
669
|
color: map to CSS default color property.
|
|
854
670
|
color_scheme: map to radix color property.
|
|
855
|
-
m: Margin: "0" - "9"
|
|
856
|
-
mx: Margin horizontal: "0" - "9"
|
|
857
|
-
my: Margin vertical: "0" - "9"
|
|
858
|
-
mt: Margin top: "0" - "9"
|
|
859
|
-
mr: Margin right: "0" - "9"
|
|
860
|
-
mb: Margin bottom: "0" - "9"
|
|
861
|
-
ml: Margin left: "0" - "9"
|
|
862
671
|
style: The style of the component.
|
|
863
672
|
key: A unique key for the component.
|
|
864
673
|
id: The id for the component.
|
|
865
674
|
class_name: The class name for the component.
|
|
866
675
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
676
|
+
_rename_props: props to change the name of
|
|
867
677
|
custom_attrs: custom attribute
|
|
868
678
|
**props: Component properties.
|
|
869
679
|
|
|
@@ -872,7 +682,7 @@ class SelectGroup(CommonMarginProps, RadixThemesComponent):
|
|
|
872
682
|
"""
|
|
873
683
|
...
|
|
874
684
|
|
|
875
|
-
class SelectItem(
|
|
685
|
+
class SelectItem(RadixThemesComponent):
|
|
876
686
|
@overload
|
|
877
687
|
@classmethod
|
|
878
688
|
def create( # type: ignore
|
|
@@ -943,53 +753,12 @@ class SelectItem(CommonMarginProps, RadixThemesComponent):
|
|
|
943
753
|
] = None,
|
|
944
754
|
value: Optional[Union[Var[str], str]] = None,
|
|
945
755
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
946
|
-
m: Optional[
|
|
947
|
-
Union[
|
|
948
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
949
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
950
|
-
]
|
|
951
|
-
] = None,
|
|
952
|
-
mx: Optional[
|
|
953
|
-
Union[
|
|
954
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
955
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
956
|
-
]
|
|
957
|
-
] = None,
|
|
958
|
-
my: Optional[
|
|
959
|
-
Union[
|
|
960
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
961
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
962
|
-
]
|
|
963
|
-
] = None,
|
|
964
|
-
mt: Optional[
|
|
965
|
-
Union[
|
|
966
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
967
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
968
|
-
]
|
|
969
|
-
] = None,
|
|
970
|
-
mr: Optional[
|
|
971
|
-
Union[
|
|
972
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
973
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
974
|
-
]
|
|
975
|
-
] = None,
|
|
976
|
-
mb: Optional[
|
|
977
|
-
Union[
|
|
978
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
979
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
980
|
-
]
|
|
981
|
-
] = None,
|
|
982
|
-
ml: Optional[
|
|
983
|
-
Union[
|
|
984
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
985
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
986
|
-
]
|
|
987
|
-
] = None,
|
|
988
756
|
style: Optional[Style] = None,
|
|
989
757
|
key: Optional[Any] = None,
|
|
990
758
|
id: Optional[Any] = None,
|
|
991
759
|
class_name: Optional[Any] = None,
|
|
992
760
|
autofocus: Optional[bool] = None,
|
|
761
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
993
762
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
994
763
|
on_blur: Optional[
|
|
995
764
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -1049,18 +818,12 @@ class SelectItem(CommonMarginProps, RadixThemesComponent):
|
|
|
1049
818
|
color_scheme: map to radix color property.
|
|
1050
819
|
value: The value given as data when submitting a form with a name.
|
|
1051
820
|
disabled: Whether the select item is disabled
|
|
1052
|
-
m: Margin: "0" - "9"
|
|
1053
|
-
mx: Margin horizontal: "0" - "9"
|
|
1054
|
-
my: Margin vertical: "0" - "9"
|
|
1055
|
-
mt: Margin top: "0" - "9"
|
|
1056
|
-
mr: Margin right: "0" - "9"
|
|
1057
|
-
mb: Margin bottom: "0" - "9"
|
|
1058
|
-
ml: Margin left: "0" - "9"
|
|
1059
821
|
style: The style of the component.
|
|
1060
822
|
key: A unique key for the component.
|
|
1061
823
|
id: The id for the component.
|
|
1062
824
|
class_name: The class name for the component.
|
|
1063
825
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
826
|
+
_rename_props: props to change the name of
|
|
1064
827
|
custom_attrs: custom attribute
|
|
1065
828
|
**props: Component properties.
|
|
1066
829
|
|
|
@@ -1069,7 +832,7 @@ class SelectItem(CommonMarginProps, RadixThemesComponent):
|
|
|
1069
832
|
"""
|
|
1070
833
|
...
|
|
1071
834
|
|
|
1072
|
-
class SelectLabel(
|
|
835
|
+
class SelectLabel(RadixThemesComponent):
|
|
1073
836
|
@overload
|
|
1074
837
|
@classmethod
|
|
1075
838
|
def create( # type: ignore
|
|
@@ -1138,53 +901,12 @@ class SelectLabel(CommonMarginProps, RadixThemesComponent):
|
|
|
1138
901
|
],
|
|
1139
902
|
]
|
|
1140
903
|
] = None,
|
|
1141
|
-
m: Optional[
|
|
1142
|
-
Union[
|
|
1143
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1144
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1145
|
-
]
|
|
1146
|
-
] = None,
|
|
1147
|
-
mx: Optional[
|
|
1148
|
-
Union[
|
|
1149
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1150
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1151
|
-
]
|
|
1152
|
-
] = None,
|
|
1153
|
-
my: Optional[
|
|
1154
|
-
Union[
|
|
1155
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1156
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1157
|
-
]
|
|
1158
|
-
] = None,
|
|
1159
|
-
mt: Optional[
|
|
1160
|
-
Union[
|
|
1161
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1162
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1163
|
-
]
|
|
1164
|
-
] = None,
|
|
1165
|
-
mr: Optional[
|
|
1166
|
-
Union[
|
|
1167
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1168
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1169
|
-
]
|
|
1170
|
-
] = None,
|
|
1171
|
-
mb: Optional[
|
|
1172
|
-
Union[
|
|
1173
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1174
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1175
|
-
]
|
|
1176
|
-
] = None,
|
|
1177
|
-
ml: Optional[
|
|
1178
|
-
Union[
|
|
1179
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1180
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1181
|
-
]
|
|
1182
|
-
] = None,
|
|
1183
904
|
style: Optional[Style] = None,
|
|
1184
905
|
key: Optional[Any] = None,
|
|
1185
906
|
id: Optional[Any] = None,
|
|
1186
907
|
class_name: Optional[Any] = None,
|
|
1187
908
|
autofocus: Optional[bool] = None,
|
|
909
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
1188
910
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1189
911
|
on_blur: Optional[
|
|
1190
912
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -1242,18 +964,12 @@ class SelectLabel(CommonMarginProps, RadixThemesComponent):
|
|
|
1242
964
|
*children: Child components.
|
|
1243
965
|
color: map to CSS default color property.
|
|
1244
966
|
color_scheme: map to radix color property.
|
|
1245
|
-
m: Margin: "0" - "9"
|
|
1246
|
-
mx: Margin horizontal: "0" - "9"
|
|
1247
|
-
my: Margin vertical: "0" - "9"
|
|
1248
|
-
mt: Margin top: "0" - "9"
|
|
1249
|
-
mr: Margin right: "0" - "9"
|
|
1250
|
-
mb: Margin bottom: "0" - "9"
|
|
1251
|
-
ml: Margin left: "0" - "9"
|
|
1252
967
|
style: The style of the component.
|
|
1253
968
|
key: A unique key for the component.
|
|
1254
969
|
id: The id for the component.
|
|
1255
970
|
class_name: The class name for the component.
|
|
1256
971
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
972
|
+
_rename_props: props to change the name of
|
|
1257
973
|
custom_attrs: custom attribute
|
|
1258
974
|
**props: Component properties.
|
|
1259
975
|
|
|
@@ -1262,7 +978,7 @@ class SelectLabel(CommonMarginProps, RadixThemesComponent):
|
|
|
1262
978
|
"""
|
|
1263
979
|
...
|
|
1264
980
|
|
|
1265
|
-
class SelectSeparator(
|
|
981
|
+
class SelectSeparator(RadixThemesComponent):
|
|
1266
982
|
@overload
|
|
1267
983
|
@classmethod
|
|
1268
984
|
def create( # type: ignore
|
|
@@ -1331,53 +1047,12 @@ class SelectSeparator(CommonMarginProps, RadixThemesComponent):
|
|
|
1331
1047
|
],
|
|
1332
1048
|
]
|
|
1333
1049
|
] = None,
|
|
1334
|
-
m: Optional[
|
|
1335
|
-
Union[
|
|
1336
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1337
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1338
|
-
]
|
|
1339
|
-
] = None,
|
|
1340
|
-
mx: Optional[
|
|
1341
|
-
Union[
|
|
1342
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1343
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1344
|
-
]
|
|
1345
|
-
] = None,
|
|
1346
|
-
my: Optional[
|
|
1347
|
-
Union[
|
|
1348
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1349
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1350
|
-
]
|
|
1351
|
-
] = None,
|
|
1352
|
-
mt: Optional[
|
|
1353
|
-
Union[
|
|
1354
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1355
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1356
|
-
]
|
|
1357
|
-
] = None,
|
|
1358
|
-
mr: Optional[
|
|
1359
|
-
Union[
|
|
1360
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1361
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1362
|
-
]
|
|
1363
|
-
] = None,
|
|
1364
|
-
mb: Optional[
|
|
1365
|
-
Union[
|
|
1366
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1367
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1368
|
-
]
|
|
1369
|
-
] = None,
|
|
1370
|
-
ml: Optional[
|
|
1371
|
-
Union[
|
|
1372
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1373
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1374
|
-
]
|
|
1375
|
-
] = None,
|
|
1376
1050
|
style: Optional[Style] = None,
|
|
1377
1051
|
key: Optional[Any] = None,
|
|
1378
1052
|
id: Optional[Any] = None,
|
|
1379
1053
|
class_name: Optional[Any] = None,
|
|
1380
1054
|
autofocus: Optional[bool] = None,
|
|
1055
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
1381
1056
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1382
1057
|
on_blur: Optional[
|
|
1383
1058
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
@@ -1435,18 +1110,12 @@ class SelectSeparator(CommonMarginProps, RadixThemesComponent):
|
|
|
1435
1110
|
*children: Child components.
|
|
1436
1111
|
color: map to CSS default color property.
|
|
1437
1112
|
color_scheme: map to radix color property.
|
|
1438
|
-
m: Margin: "0" - "9"
|
|
1439
|
-
mx: Margin horizontal: "0" - "9"
|
|
1440
|
-
my: Margin vertical: "0" - "9"
|
|
1441
|
-
mt: Margin top: "0" - "9"
|
|
1442
|
-
mr: Margin right: "0" - "9"
|
|
1443
|
-
mb: Margin bottom: "0" - "9"
|
|
1444
|
-
ml: Margin left: "0" - "9"
|
|
1445
1113
|
style: The style of the component.
|
|
1446
1114
|
key: A unique key for the component.
|
|
1447
1115
|
id: The id for the component.
|
|
1448
1116
|
class_name: The class name for the component.
|
|
1449
1117
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
1118
|
+
_rename_props: props to change the name of
|
|
1450
1119
|
custom_attrs: custom attribute
|
|
1451
1120
|
**props: Component properties.
|
|
1452
1121
|
|
|
@@ -1464,7 +1133,7 @@ class HighLevelSelect(SelectRoot):
|
|
|
1464
1133
|
items: Optional[Union[Var[List[str]], List[str]]] = None,
|
|
1465
1134
|
placeholder: Optional[Union[Var[str], str]] = None,
|
|
1466
1135
|
label: Optional[Union[Var[str], str]] = None,
|
|
1467
|
-
|
|
1136
|
+
color_scheme: Optional[
|
|
1468
1137
|
Union[
|
|
1469
1138
|
Var[
|
|
1470
1139
|
Literal[
|
|
@@ -1540,7 +1209,9 @@ class HighLevelSelect(SelectRoot):
|
|
|
1540
1209
|
]
|
|
1541
1210
|
] = None,
|
|
1542
1211
|
width: Optional[Union[Var[str], str]] = None,
|
|
1543
|
-
size: Optional[
|
|
1212
|
+
size: Optional[
|
|
1213
|
+
Union[Var[Literal["1", "2", "3"]], Literal["1", "2", "3"]]
|
|
1214
|
+
] = None,
|
|
1544
1215
|
default_value: Optional[Union[Var[str], str]] = None,
|
|
1545
1216
|
value: Optional[Union[Var[str], str]] = None,
|
|
1546
1217
|
default_open: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -1548,57 +1219,19 @@ class HighLevelSelect(SelectRoot):
|
|
|
1548
1219
|
name: Optional[Union[Var[str], str]] = None,
|
|
1549
1220
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
1550
1221
|
required: Optional[Union[Var[bool], bool]] = None,
|
|
1551
|
-
m: Optional[
|
|
1552
|
-
Union[
|
|
1553
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1554
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1555
|
-
]
|
|
1556
|
-
] = None,
|
|
1557
|
-
mx: Optional[
|
|
1558
|
-
Union[
|
|
1559
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1560
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1561
|
-
]
|
|
1562
|
-
] = None,
|
|
1563
|
-
my: Optional[
|
|
1564
|
-
Union[
|
|
1565
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1566
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1567
|
-
]
|
|
1568
|
-
] = None,
|
|
1569
|
-
mt: Optional[
|
|
1570
|
-
Union[
|
|
1571
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1572
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1573
|
-
]
|
|
1574
|
-
] = None,
|
|
1575
|
-
mr: Optional[
|
|
1576
|
-
Union[
|
|
1577
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1578
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1579
|
-
]
|
|
1580
|
-
] = None,
|
|
1581
|
-
mb: Optional[
|
|
1582
|
-
Union[
|
|
1583
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1584
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1585
|
-
]
|
|
1586
|
-
] = None,
|
|
1587
|
-
ml: Optional[
|
|
1588
|
-
Union[
|
|
1589
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1590
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1591
|
-
]
|
|
1592
|
-
] = None,
|
|
1593
1222
|
style: Optional[Style] = None,
|
|
1594
1223
|
key: Optional[Any] = None,
|
|
1595
1224
|
id: Optional[Any] = None,
|
|
1596
1225
|
class_name: Optional[Any] = None,
|
|
1597
1226
|
autofocus: Optional[bool] = None,
|
|
1227
|
+
_rename_props: Optional[Dict[str, str]] = None,
|
|
1598
1228
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1599
1229
|
on_blur: Optional[
|
|
1600
1230
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1601
1231
|
] = None,
|
|
1232
|
+
on_change: Optional[
|
|
1233
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1234
|
+
] = None,
|
|
1602
1235
|
on_click: Optional[
|
|
1603
1236
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1604
1237
|
] = None,
|
|
@@ -1644,9 +1277,6 @@ class HighLevelSelect(SelectRoot):
|
|
|
1644
1277
|
on_unmount: Optional[
|
|
1645
1278
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1646
1279
|
] = None,
|
|
1647
|
-
on_value_change: Optional[
|
|
1648
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1649
|
-
] = None,
|
|
1650
1280
|
**props
|
|
1651
1281
|
) -> "HighLevelSelect":
|
|
1652
1282
|
"""Create a select component.
|
|
@@ -1656,31 +1286,25 @@ class HighLevelSelect(SelectRoot):
|
|
|
1656
1286
|
items: The items of the select.
|
|
1657
1287
|
placeholder: The placeholder of the select.
|
|
1658
1288
|
label: The label of the select.
|
|
1659
|
-
|
|
1289
|
+
color_scheme: The color of the select.
|
|
1660
1290
|
high_contrast: Whether to render the select with higher contrast color against background.
|
|
1661
1291
|
variant: The variant of the select.
|
|
1662
1292
|
radius: The radius of the select.
|
|
1663
1293
|
width: The width of the select.
|
|
1664
1294
|
size: The size of the select: "1" | "2" | "3"
|
|
1665
1295
|
default_value: The value of the select when initially rendered. Use when you do not need to control the state of the select.
|
|
1666
|
-
value: The controlled value of the select. Should be used in conjunction with
|
|
1296
|
+
value: The controlled value of the select. Should be used in conjunction with on_change.
|
|
1667
1297
|
default_open: The open state of the select when it is initially rendered. Use when you do not need to control its open state.
|
|
1668
1298
|
open: The controlled open state of the select. Must be used in conjunction with on_open_change.
|
|
1669
1299
|
name: The name of the select control when submitting the form.
|
|
1670
1300
|
disabled: When True, prevents the user from interacting with select.
|
|
1671
1301
|
required: When True, indicates that the user must select a value before the owning form can be submitted.
|
|
1672
|
-
|
|
1673
|
-
mx: Margin horizontal: "0" - "9"
|
|
1674
|
-
my: Margin vertical: "0" - "9"
|
|
1675
|
-
mt: Margin top: "0" - "9"
|
|
1676
|
-
mr: Margin right: "0" - "9"
|
|
1677
|
-
mb: Margin bottom: "0" - "9"
|
|
1678
|
-
ml: Margin left: "0" - "9"
|
|
1679
|
-
style: The style of the component.
|
|
1302
|
+
style: Props to rename The style of the component.
|
|
1680
1303
|
key: A unique key for the component.
|
|
1681
1304
|
id: The id for the component.
|
|
1682
1305
|
class_name: The class name for the component.
|
|
1683
1306
|
autofocus: Whether the component should take the focus once the page is loaded
|
|
1307
|
+
_rename_props: props to change the name of
|
|
1684
1308
|
custom_attrs: custom attribute
|
|
1685
1309
|
**props: Additional properties to apply to the select component.
|
|
1686
1310
|
|