reflex 0.3.5a4__py3-none-any.whl → 0.3.7__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/base_page.js.jinja2 +2 -0
- reflex/.templates/web/utils/state.js +1 -1
- reflex/__init__.py +29 -6
- reflex/__init__.pyi +2 -0
- reflex/app.py +3 -0
- reflex/components/__init__.py +2 -0
- reflex/components/chakra/__init__.py +23 -0
- reflex/components/{media → chakra/media}/image.py +1 -28
- reflex/components/chakra/media/image.pyi +120 -0
- reflex/components/component.py +32 -4
- reflex/components/datadisplay/datatable.py +1 -37
- reflex/components/datadisplay/datatable.pyi +1 -11
- reflex/components/el/elements/forms.py +43 -1
- reflex/components/el/elements/forms.pyi +26 -1
- reflex/components/graphing/plotly.py +0 -22
- reflex/components/graphing/plotly.pyi +0 -12
- reflex/components/media/__init__.py +0 -1
- reflex/components/media/image.pyi +0 -9
- reflex/components/next/__init__.py +8 -0
- reflex/components/next/base.py +8 -0
- reflex/components/next/base.pyi +91 -0
- reflex/components/next/image.py +114 -0
- reflex/components/next/image.pyi +122 -0
- reflex/components/next/video.py +33 -0
- reflex/components/next/video.pyi +92 -0
- reflex/components/radix/primitives/__init__.py +3 -0
- reflex/components/radix/primitives/accordion.py +279 -0
- reflex/components/radix/primitives/accordion.pyi +619 -0
- reflex/components/radix/themes/__init__.py +4 -73
- reflex/components/radix/themes/base.py +7 -7
- reflex/components/radix/themes/base.pyi +21 -21
- reflex/components/radix/themes/components/__init__.py +193 -0
- reflex/components/radix/themes/components/alertdialog.py +72 -0
- reflex/components/radix/themes/components/alertdialog.pyi +733 -0
- reflex/components/radix/themes/components/aspectratio.py +20 -0
- reflex/components/radix/themes/components/aspectratio.pyi +144 -0
- reflex/components/radix/themes/components/avatar.py +38 -0
- reflex/components/radix/themes/components/avatar.pyi +233 -0
- reflex/components/radix/themes/components/badge.py +38 -0
- reflex/components/radix/themes/components/badge.pyi +291 -0
- reflex/components/radix/themes/components/button.py +39 -0
- reflex/components/radix/themes/components/button.pyi +330 -0
- reflex/components/radix/themes/components/callout.py +49 -0
- reflex/components/radix/themes/components/callout.pyi +668 -0
- reflex/components/radix/themes/components/card.py +25 -0
- reflex/components/radix/themes/components/card.pyi +214 -0
- reflex/components/radix/themes/components/checkbox.py +67 -0
- reflex/components/radix/themes/components/checkbox.pyi +249 -0
- reflex/components/radix/themes/components/contextmenu.py +134 -0
- reflex/components/radix/themes/{typography.pyi → components/contextmenu.pyi} +182 -602
- reflex/components/radix/themes/components/dialog.py +75 -0
- reflex/components/radix/themes/components/dialog.pyi +739 -0
- reflex/components/radix/themes/components/dropdownmenu.py +101 -0
- reflex/components/radix/themes/components/dropdownmenu.pyi +1065 -0
- reflex/components/radix/themes/components/hovercard.py +63 -0
- reflex/components/radix/themes/components/hovercard.pyi +487 -0
- reflex/components/radix/themes/components/iconbutton.py +39 -0
- reflex/components/radix/themes/components/iconbutton.pyi +332 -0
- reflex/components/radix/themes/components/icons.py +400 -0
- reflex/components/radix/themes/components/icons.pyi +185 -0
- reflex/components/radix/themes/components/inset.py +44 -0
- reflex/components/radix/themes/components/inset.pyi +230 -0
- reflex/components/radix/themes/components/popover.py +85 -0
- reflex/components/radix/themes/components/popover.pyi +634 -0
- reflex/components/radix/themes/components/radiogroup.py +72 -0
- reflex/components/radix/themes/components/radiogroup.pyi +369 -0
- reflex/components/radix/themes/components/scrollarea.py +31 -0
- reflex/components/radix/themes/components/scrollarea.pyi +165 -0
- reflex/components/radix/themes/components/select.py +137 -0
- reflex/components/radix/themes/{layout.pyi → components/select.pyi} +422 -418
- reflex/components/radix/themes/components/separator.py +30 -0
- reflex/components/radix/themes/components/separator.pyi +218 -0
- reflex/components/radix/themes/components/slider.py +68 -0
- reflex/components/radix/themes/components/slider.pyi +254 -0
- reflex/components/radix/themes/components/switch.py +68 -0
- reflex/components/radix/themes/components/switch.pyi +250 -0
- reflex/components/radix/themes/components/table.py +79 -0
- reflex/components/radix/themes/components/table.pyi +1485 -0
- reflex/components/radix/themes/components/tabs.py +65 -0
- reflex/components/radix/themes/components/tabs.pyi +549 -0
- reflex/components/radix/themes/components/textarea.py +68 -0
- reflex/components/radix/themes/components/textarea.pyi +333 -0
- reflex/components/radix/themes/{components.py → components/textfield.py} +3 -87
- reflex/components/radix/themes/{components.pyi → components/textfield.pyi} +202 -591
- reflex/components/radix/themes/layout/__init__.py +13 -0
- reflex/components/radix/themes/layout/base.py +48 -0
- reflex/components/radix/themes/layout/base.pyi +195 -0
- reflex/components/radix/themes/layout/box.py +12 -0
- reflex/components/radix/themes/layout/box.pyi +252 -0
- reflex/components/radix/themes/layout/container.py +23 -0
- reflex/components/radix/themes/layout/container.pyi +260 -0
- reflex/components/radix/themes/layout/flex.py +45 -0
- reflex/components/radix/themes/layout/flex.pyi +303 -0
- reflex/components/radix/themes/layout/grid.py +53 -0
- reflex/components/radix/themes/layout/grid.pyi +203 -0
- reflex/components/radix/themes/layout/section.py +20 -0
- reflex/components/radix/themes/layout/section.pyi +260 -0
- reflex/components/radix/themes/typography/__init__.py +21 -0
- reflex/components/radix/themes/typography/base.py +12 -0
- reflex/components/radix/themes/typography/blockquote.py +36 -0
- reflex/components/radix/themes/typography/blockquote.pyi +282 -0
- reflex/components/radix/themes/typography/code.py +40 -0
- reflex/components/radix/themes/typography/code.pyi +292 -0
- reflex/components/radix/themes/typography/em.py +18 -0
- reflex/components/radix/themes/typography/em.pyi +199 -0
- reflex/components/radix/themes/typography/heading.py +50 -0
- reflex/components/radix/themes/typography/heading.pyi +298 -0
- reflex/components/radix/themes/typography/kbd.py +25 -0
- reflex/components/radix/themes/typography/kbd.pyi +208 -0
- reflex/components/radix/themes/typography/link.py +49 -0
- reflex/components/radix/themes/typography/link.pyi +238 -0
- reflex/components/radix/themes/typography/quote.py +18 -0
- reflex/components/radix/themes/typography/quote.pyi +200 -0
- reflex/components/radix/themes/typography/strong.py +18 -0
- reflex/components/radix/themes/typography/strong.pyi +199 -0
- reflex/components/radix/themes/typography/text.py +50 -0
- reflex/components/radix/themes/typography/text.pyi +298 -0
- reflex/components/radix/themes/typography.py +1 -1
- reflex/constants/__init__.py +1 -0
- reflex/constants/base.py +7 -0
- reflex/constants/config.py +1 -1
- reflex/model.py +2 -1
- reflex/reflex.py +8 -1
- reflex/state.py +11 -0
- reflex/style.py +120 -10
- reflex/testing.py +4 -4
- reflex/utils/format.py +9 -5
- reflex/utils/prerequisites.py +49 -6
- reflex/utils/processes.py +8 -1
- reflex/utils/serializers.py +83 -0
- reflex/utils/types.py +22 -1
- reflex/vars.py +24 -1
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/METADATA +3 -2
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/RECORD +137 -44
- reflex/components/radix/themes/layout.py +0 -155
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/LICENSE +0 -0
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/WHEEL +0 -0
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
"""Stub file for reflex/components/radix/themes/components/dialog.py"""
|
|
2
|
+
# ------------------- DO NOT EDIT ----------------------
|
|
3
|
+
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
|
+
# ------------------------------------------------------
|
|
5
|
+
|
|
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 Any, Dict, Literal
|
|
11
|
+
from reflex import el
|
|
12
|
+
from reflex.vars import Var
|
|
13
|
+
from ..base import CommonMarginProps, RadixThemesComponent
|
|
14
|
+
|
|
15
|
+
class DialogRoot(CommonMarginProps, RadixThemesComponent):
|
|
16
|
+
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
17
|
+
@overload
|
|
18
|
+
@classmethod
|
|
19
|
+
def create( # type: ignore
|
|
20
|
+
cls,
|
|
21
|
+
*children,
|
|
22
|
+
open: Optional[Union[Var[bool], bool]] = None,
|
|
23
|
+
modal: Optional[Union[Var[bool], bool]] = None,
|
|
24
|
+
m: Optional[
|
|
25
|
+
Union[
|
|
26
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
27
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
28
|
+
]
|
|
29
|
+
] = None,
|
|
30
|
+
mx: Optional[
|
|
31
|
+
Union[
|
|
32
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
33
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
34
|
+
]
|
|
35
|
+
] = None,
|
|
36
|
+
my: Optional[
|
|
37
|
+
Union[
|
|
38
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
39
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
40
|
+
]
|
|
41
|
+
] = None,
|
|
42
|
+
mt: Optional[
|
|
43
|
+
Union[
|
|
44
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
45
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
46
|
+
]
|
|
47
|
+
] = None,
|
|
48
|
+
mr: Optional[
|
|
49
|
+
Union[
|
|
50
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
51
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
52
|
+
]
|
|
53
|
+
] = None,
|
|
54
|
+
mb: Optional[
|
|
55
|
+
Union[
|
|
56
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
57
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
58
|
+
]
|
|
59
|
+
] = None,
|
|
60
|
+
ml: Optional[
|
|
61
|
+
Union[
|
|
62
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
63
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
64
|
+
]
|
|
65
|
+
] = None,
|
|
66
|
+
style: Optional[Style] = None,
|
|
67
|
+
key: Optional[Any] = None,
|
|
68
|
+
id: Optional[Any] = None,
|
|
69
|
+
class_name: Optional[Any] = None,
|
|
70
|
+
autofocus: Optional[bool] = None,
|
|
71
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
72
|
+
on_blur: Optional[
|
|
73
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
74
|
+
] = None,
|
|
75
|
+
on_click: Optional[
|
|
76
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
77
|
+
] = None,
|
|
78
|
+
on_context_menu: Optional[
|
|
79
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
80
|
+
] = None,
|
|
81
|
+
on_double_click: Optional[
|
|
82
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
83
|
+
] = None,
|
|
84
|
+
on_focus: Optional[
|
|
85
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
86
|
+
] = None,
|
|
87
|
+
on_mount: Optional[
|
|
88
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
89
|
+
] = None,
|
|
90
|
+
on_mouse_down: Optional[
|
|
91
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
92
|
+
] = None,
|
|
93
|
+
on_mouse_enter: Optional[
|
|
94
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
95
|
+
] = None,
|
|
96
|
+
on_mouse_leave: Optional[
|
|
97
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
98
|
+
] = None,
|
|
99
|
+
on_mouse_move: Optional[
|
|
100
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
101
|
+
] = None,
|
|
102
|
+
on_mouse_out: Optional[
|
|
103
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
104
|
+
] = None,
|
|
105
|
+
on_mouse_over: Optional[
|
|
106
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
107
|
+
] = None,
|
|
108
|
+
on_mouse_up: Optional[
|
|
109
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
110
|
+
] = None,
|
|
111
|
+
on_open_change: Optional[
|
|
112
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
113
|
+
] = None,
|
|
114
|
+
on_scroll: Optional[
|
|
115
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
116
|
+
] = None,
|
|
117
|
+
on_unmount: Optional[
|
|
118
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
119
|
+
] = None,
|
|
120
|
+
**props
|
|
121
|
+
) -> "DialogRoot":
|
|
122
|
+
"""Create a new component instance.
|
|
123
|
+
|
|
124
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
125
|
+
other UI libraries for common names, like Text and Button.
|
|
126
|
+
|
|
127
|
+
Args:
|
|
128
|
+
*children: Child components.
|
|
129
|
+
open: The controlled open state of the dialog.
|
|
130
|
+
modal: The modality of the dialog. When set to true, interaction with outside elements will be disabled and only dialog content will be visible to screen readers.
|
|
131
|
+
m: Margin: "0" - "9"
|
|
132
|
+
mx: Margin horizontal: "0" - "9"
|
|
133
|
+
my: Margin vertical: "0" - "9"
|
|
134
|
+
mt: Margin top: "0" - "9"
|
|
135
|
+
mr: Margin right: "0" - "9"
|
|
136
|
+
mb: Margin bottom: "0" - "9"
|
|
137
|
+
ml: Margin left: "0" - "9"
|
|
138
|
+
style: The style of the component.
|
|
139
|
+
key: A unique key for the component.
|
|
140
|
+
id: The id for the component.
|
|
141
|
+
class_name: The class name for the component.
|
|
142
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
143
|
+
custom_attrs: custom attribute
|
|
144
|
+
**props: Component properties.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
A new component instance.
|
|
148
|
+
"""
|
|
149
|
+
...
|
|
150
|
+
|
|
151
|
+
class DialogTrigger(CommonMarginProps, RadixThemesComponent):
|
|
152
|
+
@overload
|
|
153
|
+
@classmethod
|
|
154
|
+
def create( # type: ignore
|
|
155
|
+
cls,
|
|
156
|
+
*children,
|
|
157
|
+
m: Optional[
|
|
158
|
+
Union[
|
|
159
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
160
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
161
|
+
]
|
|
162
|
+
] = None,
|
|
163
|
+
mx: Optional[
|
|
164
|
+
Union[
|
|
165
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
166
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
167
|
+
]
|
|
168
|
+
] = None,
|
|
169
|
+
my: Optional[
|
|
170
|
+
Union[
|
|
171
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
172
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
173
|
+
]
|
|
174
|
+
] = None,
|
|
175
|
+
mt: Optional[
|
|
176
|
+
Union[
|
|
177
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
178
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
179
|
+
]
|
|
180
|
+
] = None,
|
|
181
|
+
mr: Optional[
|
|
182
|
+
Union[
|
|
183
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
184
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
185
|
+
]
|
|
186
|
+
] = None,
|
|
187
|
+
mb: Optional[
|
|
188
|
+
Union[
|
|
189
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
190
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
191
|
+
]
|
|
192
|
+
] = None,
|
|
193
|
+
ml: Optional[
|
|
194
|
+
Union[
|
|
195
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
196
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
197
|
+
]
|
|
198
|
+
] = None,
|
|
199
|
+
style: Optional[Style] = None,
|
|
200
|
+
key: Optional[Any] = None,
|
|
201
|
+
id: Optional[Any] = None,
|
|
202
|
+
class_name: Optional[Any] = None,
|
|
203
|
+
autofocus: Optional[bool] = None,
|
|
204
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
205
|
+
on_blur: Optional[
|
|
206
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
207
|
+
] = None,
|
|
208
|
+
on_click: Optional[
|
|
209
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
210
|
+
] = None,
|
|
211
|
+
on_context_menu: Optional[
|
|
212
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
213
|
+
] = None,
|
|
214
|
+
on_double_click: Optional[
|
|
215
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
216
|
+
] = None,
|
|
217
|
+
on_focus: Optional[
|
|
218
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
219
|
+
] = None,
|
|
220
|
+
on_mount: Optional[
|
|
221
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
222
|
+
] = None,
|
|
223
|
+
on_mouse_down: Optional[
|
|
224
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
225
|
+
] = None,
|
|
226
|
+
on_mouse_enter: Optional[
|
|
227
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
228
|
+
] = None,
|
|
229
|
+
on_mouse_leave: Optional[
|
|
230
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
231
|
+
] = None,
|
|
232
|
+
on_mouse_move: Optional[
|
|
233
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
234
|
+
] = None,
|
|
235
|
+
on_mouse_out: Optional[
|
|
236
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
237
|
+
] = None,
|
|
238
|
+
on_mouse_over: Optional[
|
|
239
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
240
|
+
] = None,
|
|
241
|
+
on_mouse_up: Optional[
|
|
242
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
243
|
+
] = None,
|
|
244
|
+
on_scroll: Optional[
|
|
245
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
246
|
+
] = None,
|
|
247
|
+
on_unmount: Optional[
|
|
248
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
249
|
+
] = None,
|
|
250
|
+
**props
|
|
251
|
+
) -> "DialogTrigger":
|
|
252
|
+
"""Create a new component instance.
|
|
253
|
+
|
|
254
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
255
|
+
other UI libraries for common names, like Text and Button.
|
|
256
|
+
|
|
257
|
+
Args:
|
|
258
|
+
*children: Child components.
|
|
259
|
+
m: Margin: "0" - "9"
|
|
260
|
+
mx: Margin horizontal: "0" - "9"
|
|
261
|
+
my: Margin vertical: "0" - "9"
|
|
262
|
+
mt: Margin top: "0" - "9"
|
|
263
|
+
mr: Margin right: "0" - "9"
|
|
264
|
+
mb: Margin bottom: "0" - "9"
|
|
265
|
+
ml: Margin left: "0" - "9"
|
|
266
|
+
style: The style of the component.
|
|
267
|
+
key: A unique key for the component.
|
|
268
|
+
id: The id for the component.
|
|
269
|
+
class_name: The class name for the component.
|
|
270
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
271
|
+
custom_attrs: custom attribute
|
|
272
|
+
**props: Component properties.
|
|
273
|
+
|
|
274
|
+
Returns:
|
|
275
|
+
A new component instance.
|
|
276
|
+
"""
|
|
277
|
+
...
|
|
278
|
+
|
|
279
|
+
class DialogTitle(CommonMarginProps, RadixThemesComponent):
|
|
280
|
+
@overload
|
|
281
|
+
@classmethod
|
|
282
|
+
def create( # type: ignore
|
|
283
|
+
cls,
|
|
284
|
+
*children,
|
|
285
|
+
m: Optional[
|
|
286
|
+
Union[
|
|
287
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
288
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
289
|
+
]
|
|
290
|
+
] = None,
|
|
291
|
+
mx: Optional[
|
|
292
|
+
Union[
|
|
293
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
294
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
295
|
+
]
|
|
296
|
+
] = None,
|
|
297
|
+
my: Optional[
|
|
298
|
+
Union[
|
|
299
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
300
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
301
|
+
]
|
|
302
|
+
] = None,
|
|
303
|
+
mt: Optional[
|
|
304
|
+
Union[
|
|
305
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
306
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
307
|
+
]
|
|
308
|
+
] = None,
|
|
309
|
+
mr: Optional[
|
|
310
|
+
Union[
|
|
311
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
312
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
313
|
+
]
|
|
314
|
+
] = None,
|
|
315
|
+
mb: Optional[
|
|
316
|
+
Union[
|
|
317
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
318
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
319
|
+
]
|
|
320
|
+
] = None,
|
|
321
|
+
ml: 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
|
+
style: Optional[Style] = None,
|
|
328
|
+
key: Optional[Any] = None,
|
|
329
|
+
id: Optional[Any] = None,
|
|
330
|
+
class_name: Optional[Any] = None,
|
|
331
|
+
autofocus: Optional[bool] = None,
|
|
332
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
333
|
+
on_blur: Optional[
|
|
334
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
335
|
+
] = None,
|
|
336
|
+
on_click: Optional[
|
|
337
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
338
|
+
] = None,
|
|
339
|
+
on_context_menu: Optional[
|
|
340
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
341
|
+
] = None,
|
|
342
|
+
on_double_click: Optional[
|
|
343
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
344
|
+
] = None,
|
|
345
|
+
on_focus: Optional[
|
|
346
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
347
|
+
] = None,
|
|
348
|
+
on_mount: Optional[
|
|
349
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
350
|
+
] = None,
|
|
351
|
+
on_mouse_down: Optional[
|
|
352
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
353
|
+
] = None,
|
|
354
|
+
on_mouse_enter: Optional[
|
|
355
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
356
|
+
] = None,
|
|
357
|
+
on_mouse_leave: Optional[
|
|
358
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
359
|
+
] = None,
|
|
360
|
+
on_mouse_move: Optional[
|
|
361
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
362
|
+
] = None,
|
|
363
|
+
on_mouse_out: Optional[
|
|
364
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
365
|
+
] = None,
|
|
366
|
+
on_mouse_over: Optional[
|
|
367
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
368
|
+
] = None,
|
|
369
|
+
on_mouse_up: Optional[
|
|
370
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
371
|
+
] = None,
|
|
372
|
+
on_scroll: Optional[
|
|
373
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
374
|
+
] = None,
|
|
375
|
+
on_unmount: Optional[
|
|
376
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
377
|
+
] = None,
|
|
378
|
+
**props
|
|
379
|
+
) -> "DialogTitle":
|
|
380
|
+
"""Create a new component instance.
|
|
381
|
+
|
|
382
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
383
|
+
other UI libraries for common names, like Text and Button.
|
|
384
|
+
|
|
385
|
+
Args:
|
|
386
|
+
*children: Child components.
|
|
387
|
+
m: Margin: "0" - "9"
|
|
388
|
+
mx: Margin horizontal: "0" - "9"
|
|
389
|
+
my: Margin vertical: "0" - "9"
|
|
390
|
+
mt: Margin top: "0" - "9"
|
|
391
|
+
mr: Margin right: "0" - "9"
|
|
392
|
+
mb: Margin bottom: "0" - "9"
|
|
393
|
+
ml: Margin left: "0" - "9"
|
|
394
|
+
style: The style of the component.
|
|
395
|
+
key: A unique key for the component.
|
|
396
|
+
id: The id for the component.
|
|
397
|
+
class_name: The class name for the component.
|
|
398
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
399
|
+
custom_attrs: custom attribute
|
|
400
|
+
**props: Component properties.
|
|
401
|
+
|
|
402
|
+
Returns:
|
|
403
|
+
A new component instance.
|
|
404
|
+
"""
|
|
405
|
+
...
|
|
406
|
+
|
|
407
|
+
class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
|
|
408
|
+
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
409
|
+
@overload
|
|
410
|
+
@classmethod
|
|
411
|
+
def create( # type: ignore
|
|
412
|
+
cls,
|
|
413
|
+
*children,
|
|
414
|
+
size: Optional[Union[Var[Literal[1, 2, 3, 4]], Literal[1, 2, 3, 4]]] = None,
|
|
415
|
+
access_key: Optional[
|
|
416
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
417
|
+
] = None,
|
|
418
|
+
auto_capitalize: Optional[
|
|
419
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
420
|
+
] = None,
|
|
421
|
+
content_editable: Optional[
|
|
422
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
423
|
+
] = None,
|
|
424
|
+
context_menu: Optional[
|
|
425
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
426
|
+
] = None,
|
|
427
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
428
|
+
draggable: Optional[
|
|
429
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
430
|
+
] = None,
|
|
431
|
+
enter_key_hint: Optional[
|
|
432
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
433
|
+
] = None,
|
|
434
|
+
hidden: Optional[
|
|
435
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
436
|
+
] = None,
|
|
437
|
+
input_mode: Optional[
|
|
438
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
439
|
+
] = None,
|
|
440
|
+
item_prop: Optional[
|
|
441
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
442
|
+
] = None,
|
|
443
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
444
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
445
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
446
|
+
spell_check: Optional[
|
|
447
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
448
|
+
] = None,
|
|
449
|
+
tab_index: Optional[
|
|
450
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
451
|
+
] = None,
|
|
452
|
+
title: Optional[
|
|
453
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
454
|
+
] = None,
|
|
455
|
+
translate: Optional[
|
|
456
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
457
|
+
] = None,
|
|
458
|
+
m: Optional[
|
|
459
|
+
Union[
|
|
460
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
461
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
462
|
+
]
|
|
463
|
+
] = None,
|
|
464
|
+
mx: Optional[
|
|
465
|
+
Union[
|
|
466
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
467
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
468
|
+
]
|
|
469
|
+
] = None,
|
|
470
|
+
my: Optional[
|
|
471
|
+
Union[
|
|
472
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
473
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
474
|
+
]
|
|
475
|
+
] = None,
|
|
476
|
+
mt: Optional[
|
|
477
|
+
Union[
|
|
478
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
479
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
480
|
+
]
|
|
481
|
+
] = None,
|
|
482
|
+
mr: Optional[
|
|
483
|
+
Union[
|
|
484
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
485
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
486
|
+
]
|
|
487
|
+
] = None,
|
|
488
|
+
mb: Optional[
|
|
489
|
+
Union[
|
|
490
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
491
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
492
|
+
]
|
|
493
|
+
] = None,
|
|
494
|
+
ml: Optional[
|
|
495
|
+
Union[
|
|
496
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
497
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
498
|
+
]
|
|
499
|
+
] = None,
|
|
500
|
+
style: Optional[Style] = None,
|
|
501
|
+
key: Optional[Any] = None,
|
|
502
|
+
id: Optional[Any] = None,
|
|
503
|
+
class_name: Optional[Any] = None,
|
|
504
|
+
autofocus: Optional[bool] = None,
|
|
505
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
506
|
+
on_blur: Optional[
|
|
507
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
508
|
+
] = None,
|
|
509
|
+
on_click: Optional[
|
|
510
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
511
|
+
] = None,
|
|
512
|
+
on_close_auto_focus: Optional[
|
|
513
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
514
|
+
] = None,
|
|
515
|
+
on_context_menu: Optional[
|
|
516
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
517
|
+
] = None,
|
|
518
|
+
on_double_click: Optional[
|
|
519
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
520
|
+
] = None,
|
|
521
|
+
on_escape_key_down: Optional[
|
|
522
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
523
|
+
] = None,
|
|
524
|
+
on_focus: Optional[
|
|
525
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
526
|
+
] = None,
|
|
527
|
+
on_interact_outside: Optional[
|
|
528
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
529
|
+
] = None,
|
|
530
|
+
on_mount: Optional[
|
|
531
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
532
|
+
] = None,
|
|
533
|
+
on_mouse_down: Optional[
|
|
534
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
535
|
+
] = None,
|
|
536
|
+
on_mouse_enter: Optional[
|
|
537
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
538
|
+
] = None,
|
|
539
|
+
on_mouse_leave: Optional[
|
|
540
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
541
|
+
] = None,
|
|
542
|
+
on_mouse_move: Optional[
|
|
543
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
544
|
+
] = None,
|
|
545
|
+
on_mouse_out: Optional[
|
|
546
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
547
|
+
] = None,
|
|
548
|
+
on_mouse_over: Optional[
|
|
549
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
550
|
+
] = None,
|
|
551
|
+
on_mouse_up: Optional[
|
|
552
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
553
|
+
] = None,
|
|
554
|
+
on_open_auto_focus: Optional[
|
|
555
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
556
|
+
] = None,
|
|
557
|
+
on_pointer_down_outside: Optional[
|
|
558
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
559
|
+
] = None,
|
|
560
|
+
on_scroll: Optional[
|
|
561
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
562
|
+
] = None,
|
|
563
|
+
on_unmount: Optional[
|
|
564
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
565
|
+
] = None,
|
|
566
|
+
**props
|
|
567
|
+
) -> "DialogContent":
|
|
568
|
+
"""Create a new component instance.
|
|
569
|
+
|
|
570
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
571
|
+
other UI libraries for common names, like Text and Button.
|
|
572
|
+
|
|
573
|
+
Args:
|
|
574
|
+
*children: Child components.
|
|
575
|
+
size: Button size "1" - "4"
|
|
576
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
577
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
578
|
+
content_editable: Indicates whether the element's content is editable.
|
|
579
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
580
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
581
|
+
draggable: Defines whether the element can be dragged.
|
|
582
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
583
|
+
hidden: Defines whether the element is hidden.
|
|
584
|
+
input_mode: Defines the type of the element.
|
|
585
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
586
|
+
lang: Defines the language used in the element.
|
|
587
|
+
role: Defines the role of the element.
|
|
588
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
589
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
590
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
591
|
+
title: Defines a tooltip for the element.
|
|
592
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
593
|
+
m: Margin: "0" - "9"
|
|
594
|
+
mx: Margin horizontal: "0" - "9"
|
|
595
|
+
my: Margin vertical: "0" - "9"
|
|
596
|
+
mt: Margin top: "0" - "9"
|
|
597
|
+
mr: Margin right: "0" - "9"
|
|
598
|
+
mb: Margin bottom: "0" - "9"
|
|
599
|
+
ml: Margin left: "0" - "9"
|
|
600
|
+
style: The style of the component.
|
|
601
|
+
key: A unique key for the component.
|
|
602
|
+
id: The id for the component.
|
|
603
|
+
class_name: The class name for the component.
|
|
604
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
605
|
+
custom_attrs: custom attribute
|
|
606
|
+
**props: Component properties.
|
|
607
|
+
|
|
608
|
+
Returns:
|
|
609
|
+
A new component instance.
|
|
610
|
+
"""
|
|
611
|
+
...
|
|
612
|
+
|
|
613
|
+
class DialogDescription(CommonMarginProps, RadixThemesComponent):
|
|
614
|
+
@overload
|
|
615
|
+
@classmethod
|
|
616
|
+
def create( # type: ignore
|
|
617
|
+
cls,
|
|
618
|
+
*children,
|
|
619
|
+
m: Optional[
|
|
620
|
+
Union[
|
|
621
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
622
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
623
|
+
]
|
|
624
|
+
] = None,
|
|
625
|
+
mx: Optional[
|
|
626
|
+
Union[
|
|
627
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
628
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
629
|
+
]
|
|
630
|
+
] = None,
|
|
631
|
+
my: Optional[
|
|
632
|
+
Union[
|
|
633
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
634
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
635
|
+
]
|
|
636
|
+
] = None,
|
|
637
|
+
mt: Optional[
|
|
638
|
+
Union[
|
|
639
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
640
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
641
|
+
]
|
|
642
|
+
] = None,
|
|
643
|
+
mr: Optional[
|
|
644
|
+
Union[
|
|
645
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
646
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
647
|
+
]
|
|
648
|
+
] = None,
|
|
649
|
+
mb: Optional[
|
|
650
|
+
Union[
|
|
651
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
652
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
653
|
+
]
|
|
654
|
+
] = None,
|
|
655
|
+
ml: Optional[
|
|
656
|
+
Union[
|
|
657
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
658
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
659
|
+
]
|
|
660
|
+
] = None,
|
|
661
|
+
style: Optional[Style] = None,
|
|
662
|
+
key: Optional[Any] = None,
|
|
663
|
+
id: Optional[Any] = None,
|
|
664
|
+
class_name: Optional[Any] = None,
|
|
665
|
+
autofocus: Optional[bool] = None,
|
|
666
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
667
|
+
on_blur: Optional[
|
|
668
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
669
|
+
] = None,
|
|
670
|
+
on_click: Optional[
|
|
671
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
672
|
+
] = None,
|
|
673
|
+
on_context_menu: Optional[
|
|
674
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
675
|
+
] = None,
|
|
676
|
+
on_double_click: Optional[
|
|
677
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
678
|
+
] = None,
|
|
679
|
+
on_focus: Optional[
|
|
680
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
681
|
+
] = None,
|
|
682
|
+
on_mount: Optional[
|
|
683
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
684
|
+
] = None,
|
|
685
|
+
on_mouse_down: Optional[
|
|
686
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
687
|
+
] = None,
|
|
688
|
+
on_mouse_enter: Optional[
|
|
689
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
690
|
+
] = None,
|
|
691
|
+
on_mouse_leave: Optional[
|
|
692
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
693
|
+
] = None,
|
|
694
|
+
on_mouse_move: Optional[
|
|
695
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
696
|
+
] = None,
|
|
697
|
+
on_mouse_out: Optional[
|
|
698
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
699
|
+
] = None,
|
|
700
|
+
on_mouse_over: Optional[
|
|
701
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
702
|
+
] = None,
|
|
703
|
+
on_mouse_up: Optional[
|
|
704
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
705
|
+
] = None,
|
|
706
|
+
on_scroll: Optional[
|
|
707
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
708
|
+
] = None,
|
|
709
|
+
on_unmount: Optional[
|
|
710
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
711
|
+
] = None,
|
|
712
|
+
**props
|
|
713
|
+
) -> "DialogDescription":
|
|
714
|
+
"""Create a new component instance.
|
|
715
|
+
|
|
716
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
717
|
+
other UI libraries for common names, like Text and Button.
|
|
718
|
+
|
|
719
|
+
Args:
|
|
720
|
+
*children: Child components.
|
|
721
|
+
m: Margin: "0" - "9"
|
|
722
|
+
mx: Margin horizontal: "0" - "9"
|
|
723
|
+
my: Margin vertical: "0" - "9"
|
|
724
|
+
mt: Margin top: "0" - "9"
|
|
725
|
+
mr: Margin right: "0" - "9"
|
|
726
|
+
mb: Margin bottom: "0" - "9"
|
|
727
|
+
ml: Margin left: "0" - "9"
|
|
728
|
+
style: The style of the component.
|
|
729
|
+
key: A unique key for the component.
|
|
730
|
+
id: The id for the component.
|
|
731
|
+
class_name: The class name for the component.
|
|
732
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
733
|
+
custom_attrs: custom attribute
|
|
734
|
+
**props: Component properties.
|
|
735
|
+
|
|
736
|
+
Returns:
|
|
737
|
+
A new component instance.
|
|
738
|
+
"""
|
|
739
|
+
...
|