reflex 0.3.6__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/__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 +27 -2
- 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/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 +5 -0
- 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.6.dist-info → reflex-0.3.7.dist-info}/METADATA +3 -2
- {reflex-0.3.6.dist-info → reflex-0.3.7.dist-info}/RECORD +135 -42
- reflex/components/radix/themes/layout.py +0 -155
- {reflex-0.3.6.dist-info → reflex-0.3.7.dist-info}/LICENSE +0 -0
- {reflex-0.3.6.dist-info → reflex-0.3.7.dist-info}/WHEEL +0 -0
- {reflex-0.3.6.dist-info → reflex-0.3.7.dist-info}/entry_points.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Stub file for reflex/components/radix/themes/
|
|
1
|
+
"""Stub file for reflex/components/radix/themes/components/contextmenu.py"""
|
|
2
2
|
# ------------------- DO NOT EDIT ----------------------
|
|
3
3
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
@@ -7,155 +7,58 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
8
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
9
|
from reflex.style import Style
|
|
10
|
-
from typing import Literal
|
|
10
|
+
from typing import Any, Dict, Literal
|
|
11
11
|
from reflex.vars import Var
|
|
12
|
-
from
|
|
13
|
-
CommonMarginProps,
|
|
14
|
-
LiteralAccentColor,
|
|
15
|
-
LiteralVariant,
|
|
16
|
-
RadixThemesComponent,
|
|
17
|
-
)
|
|
12
|
+
from ..base import CommonMarginProps, LiteralAccentColor, RadixThemesComponent
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
LiteralTextSize = Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
22
|
-
LiteralTextTrim = Literal["normal", "start", "end", "both"]
|
|
23
|
-
|
|
24
|
-
class Text(CommonMarginProps, RadixThemesComponent):
|
|
14
|
+
class ContextMenuRoot(CommonMarginProps, RadixThemesComponent):
|
|
15
|
+
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
25
16
|
@overload
|
|
26
17
|
@classmethod
|
|
27
18
|
def create( # type: ignore
|
|
28
19
|
cls,
|
|
29
20
|
*children,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
size: Optional[
|
|
21
|
+
modal: Optional[Union[Var[bool], bool]] = None,
|
|
22
|
+
m: Optional[
|
|
33
23
|
Union[
|
|
34
24
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
35
25
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
36
26
|
]
|
|
37
27
|
] = None,
|
|
38
|
-
weight: Optional[
|
|
39
|
-
Union[
|
|
40
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
41
|
-
Literal["light", "regular", "medium", "bold"],
|
|
42
|
-
]
|
|
43
|
-
] = None,
|
|
44
|
-
align: Optional[
|
|
45
|
-
Union[
|
|
46
|
-
Var[Literal["left", "center", "right"]],
|
|
47
|
-
Literal["left", "center", "right"],
|
|
48
|
-
]
|
|
49
|
-
] = None,
|
|
50
|
-
trim: Optional[
|
|
51
|
-
Union[
|
|
52
|
-
Var[Literal["normal", "start", "end", "both"]],
|
|
53
|
-
Literal["normal", "start", "end", "both"],
|
|
54
|
-
]
|
|
55
|
-
] = None,
|
|
56
|
-
color: Optional[
|
|
57
|
-
Union[
|
|
58
|
-
Var[
|
|
59
|
-
Literal[
|
|
60
|
-
"tomato",
|
|
61
|
-
"red",
|
|
62
|
-
"ruby",
|
|
63
|
-
"crimson",
|
|
64
|
-
"pink",
|
|
65
|
-
"plum",
|
|
66
|
-
"purple",
|
|
67
|
-
"violet",
|
|
68
|
-
"iris",
|
|
69
|
-
"indigo",
|
|
70
|
-
"blue",
|
|
71
|
-
"cyan",
|
|
72
|
-
"teal",
|
|
73
|
-
"jade",
|
|
74
|
-
"green",
|
|
75
|
-
"grass",
|
|
76
|
-
"brown",
|
|
77
|
-
"orange",
|
|
78
|
-
"sky",
|
|
79
|
-
"mint",
|
|
80
|
-
"lime",
|
|
81
|
-
"yellow",
|
|
82
|
-
"amber",
|
|
83
|
-
"gold",
|
|
84
|
-
"bronze",
|
|
85
|
-
"gray",
|
|
86
|
-
]
|
|
87
|
-
],
|
|
88
|
-
Literal[
|
|
89
|
-
"tomato",
|
|
90
|
-
"red",
|
|
91
|
-
"ruby",
|
|
92
|
-
"crimson",
|
|
93
|
-
"pink",
|
|
94
|
-
"plum",
|
|
95
|
-
"purple",
|
|
96
|
-
"violet",
|
|
97
|
-
"iris",
|
|
98
|
-
"indigo",
|
|
99
|
-
"blue",
|
|
100
|
-
"cyan",
|
|
101
|
-
"teal",
|
|
102
|
-
"jade",
|
|
103
|
-
"green",
|
|
104
|
-
"grass",
|
|
105
|
-
"brown",
|
|
106
|
-
"orange",
|
|
107
|
-
"sky",
|
|
108
|
-
"mint",
|
|
109
|
-
"lime",
|
|
110
|
-
"yellow",
|
|
111
|
-
"amber",
|
|
112
|
-
"gold",
|
|
113
|
-
"bronze",
|
|
114
|
-
"gray",
|
|
115
|
-
],
|
|
116
|
-
]
|
|
117
|
-
] = None,
|
|
118
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
119
|
-
m: Optional[
|
|
120
|
-
Union[
|
|
121
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
122
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
123
|
-
]
|
|
124
|
-
] = None,
|
|
125
28
|
mx: Optional[
|
|
126
29
|
Union[
|
|
127
|
-
Var[Literal["
|
|
128
|
-
Literal["
|
|
30
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
31
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
129
32
|
]
|
|
130
33
|
] = None,
|
|
131
34
|
my: Optional[
|
|
132
35
|
Union[
|
|
133
|
-
Var[Literal["
|
|
134
|
-
Literal["
|
|
36
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
37
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
135
38
|
]
|
|
136
39
|
] = None,
|
|
137
40
|
mt: Optional[
|
|
138
41
|
Union[
|
|
139
|
-
Var[Literal["
|
|
140
|
-
Literal["
|
|
42
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
43
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
141
44
|
]
|
|
142
45
|
] = None,
|
|
143
46
|
mr: Optional[
|
|
144
47
|
Union[
|
|
145
|
-
Var[Literal["
|
|
146
|
-
Literal["
|
|
48
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
49
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
147
50
|
]
|
|
148
51
|
] = None,
|
|
149
52
|
mb: Optional[
|
|
150
53
|
Union[
|
|
151
|
-
Var[Literal["
|
|
152
|
-
Literal["
|
|
54
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
55
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
153
56
|
]
|
|
154
57
|
] = None,
|
|
155
58
|
ml: Optional[
|
|
156
59
|
Union[
|
|
157
|
-
Var[Literal["
|
|
158
|
-
Literal["
|
|
60
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
61
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
159
62
|
]
|
|
160
63
|
] = None,
|
|
161
64
|
style: Optional[Style] = None,
|
|
@@ -203,6 +106,9 @@ class Text(CommonMarginProps, RadixThemesComponent):
|
|
|
203
106
|
on_mouse_up: Optional[
|
|
204
107
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
205
108
|
] = None,
|
|
109
|
+
on_open_change: Optional[
|
|
110
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
111
|
+
] = None,
|
|
206
112
|
on_scroll: Optional[
|
|
207
113
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
208
114
|
] = None,
|
|
@@ -210,7 +116,7 @@ class Text(CommonMarginProps, RadixThemesComponent):
|
|
|
210
116
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
211
117
|
] = None,
|
|
212
118
|
**props
|
|
213
|
-
) -> "
|
|
119
|
+
) -> "ContextMenuRoot":
|
|
214
120
|
"""Create a new component instance.
|
|
215
121
|
|
|
216
122
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -218,14 +124,7 @@ class Text(CommonMarginProps, RadixThemesComponent):
|
|
|
218
124
|
|
|
219
125
|
Args:
|
|
220
126
|
*children: Child components.
|
|
221
|
-
|
|
222
|
-
as_: Change the default rendered element into a semantically appropriate alternative (cannot be used with asChild)
|
|
223
|
-
size: Text size: "1" - "9"
|
|
224
|
-
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
225
|
-
align: Alignment of text in element: "left" | "center" | "right"
|
|
226
|
-
trim: Removes the leading trim space: "normal" | "start" | "end" | "both"
|
|
227
|
-
color: Overrides the accent color inherited from the Theme.
|
|
228
|
-
high_contrast: Whether to render the text with higher contrast color
|
|
127
|
+
modal: The modality of the context menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers.
|
|
229
128
|
m: Margin: "0" - "9"
|
|
230
129
|
mx: Margin horizontal: "0" - "9"
|
|
231
130
|
my: Margin vertical: "0" - "9"
|
|
@@ -246,141 +145,53 @@ class Text(CommonMarginProps, RadixThemesComponent):
|
|
|
246
145
|
"""
|
|
247
146
|
...
|
|
248
147
|
|
|
249
|
-
class
|
|
148
|
+
class ContextMenuTrigger(CommonMarginProps, RadixThemesComponent):
|
|
250
149
|
@overload
|
|
251
150
|
@classmethod
|
|
252
151
|
def create( # type: ignore
|
|
253
152
|
cls,
|
|
254
153
|
*children,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
size: Optional[
|
|
154
|
+
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
155
|
+
m: Optional[
|
|
258
156
|
Union[
|
|
259
157
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
260
158
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
261
159
|
]
|
|
262
160
|
] = None,
|
|
263
|
-
weight: Optional[
|
|
264
|
-
Union[
|
|
265
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
266
|
-
Literal["light", "regular", "medium", "bold"],
|
|
267
|
-
]
|
|
268
|
-
] = None,
|
|
269
|
-
align: Optional[
|
|
270
|
-
Union[
|
|
271
|
-
Var[Literal["left", "center", "right"]],
|
|
272
|
-
Literal["left", "center", "right"],
|
|
273
|
-
]
|
|
274
|
-
] = None,
|
|
275
|
-
trim: Optional[
|
|
276
|
-
Union[
|
|
277
|
-
Var[Literal["normal", "start", "end", "both"]],
|
|
278
|
-
Literal["normal", "start", "end", "both"],
|
|
279
|
-
]
|
|
280
|
-
] = None,
|
|
281
|
-
color: Optional[
|
|
282
|
-
Union[
|
|
283
|
-
Var[
|
|
284
|
-
Literal[
|
|
285
|
-
"tomato",
|
|
286
|
-
"red",
|
|
287
|
-
"ruby",
|
|
288
|
-
"crimson",
|
|
289
|
-
"pink",
|
|
290
|
-
"plum",
|
|
291
|
-
"purple",
|
|
292
|
-
"violet",
|
|
293
|
-
"iris",
|
|
294
|
-
"indigo",
|
|
295
|
-
"blue",
|
|
296
|
-
"cyan",
|
|
297
|
-
"teal",
|
|
298
|
-
"jade",
|
|
299
|
-
"green",
|
|
300
|
-
"grass",
|
|
301
|
-
"brown",
|
|
302
|
-
"orange",
|
|
303
|
-
"sky",
|
|
304
|
-
"mint",
|
|
305
|
-
"lime",
|
|
306
|
-
"yellow",
|
|
307
|
-
"amber",
|
|
308
|
-
"gold",
|
|
309
|
-
"bronze",
|
|
310
|
-
"gray",
|
|
311
|
-
]
|
|
312
|
-
],
|
|
313
|
-
Literal[
|
|
314
|
-
"tomato",
|
|
315
|
-
"red",
|
|
316
|
-
"ruby",
|
|
317
|
-
"crimson",
|
|
318
|
-
"pink",
|
|
319
|
-
"plum",
|
|
320
|
-
"purple",
|
|
321
|
-
"violet",
|
|
322
|
-
"iris",
|
|
323
|
-
"indigo",
|
|
324
|
-
"blue",
|
|
325
|
-
"cyan",
|
|
326
|
-
"teal",
|
|
327
|
-
"jade",
|
|
328
|
-
"green",
|
|
329
|
-
"grass",
|
|
330
|
-
"brown",
|
|
331
|
-
"orange",
|
|
332
|
-
"sky",
|
|
333
|
-
"mint",
|
|
334
|
-
"lime",
|
|
335
|
-
"yellow",
|
|
336
|
-
"amber",
|
|
337
|
-
"gold",
|
|
338
|
-
"bronze",
|
|
339
|
-
"gray",
|
|
340
|
-
],
|
|
341
|
-
]
|
|
342
|
-
] = None,
|
|
343
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
344
|
-
m: Optional[
|
|
345
|
-
Union[
|
|
346
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
347
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
348
|
-
]
|
|
349
|
-
] = None,
|
|
350
161
|
mx: Optional[
|
|
351
162
|
Union[
|
|
352
|
-
Var[Literal["
|
|
353
|
-
Literal["
|
|
163
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
164
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
354
165
|
]
|
|
355
166
|
] = None,
|
|
356
167
|
my: Optional[
|
|
357
168
|
Union[
|
|
358
|
-
Var[Literal["
|
|
359
|
-
Literal["
|
|
169
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
170
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
360
171
|
]
|
|
361
172
|
] = None,
|
|
362
173
|
mt: Optional[
|
|
363
174
|
Union[
|
|
364
|
-
Var[Literal["
|
|
365
|
-
Literal["
|
|
175
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
176
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
366
177
|
]
|
|
367
178
|
] = None,
|
|
368
179
|
mr: Optional[
|
|
369
180
|
Union[
|
|
370
|
-
Var[Literal["
|
|
371
|
-
Literal["
|
|
181
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
182
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
372
183
|
]
|
|
373
184
|
] = None,
|
|
374
185
|
mb: Optional[
|
|
375
186
|
Union[
|
|
376
|
-
Var[Literal["
|
|
377
|
-
Literal["
|
|
187
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
188
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
378
189
|
]
|
|
379
190
|
] = None,
|
|
380
191
|
ml: Optional[
|
|
381
192
|
Union[
|
|
382
|
-
Var[Literal["
|
|
383
|
-
Literal["
|
|
193
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
194
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
384
195
|
]
|
|
385
196
|
] = None,
|
|
386
197
|
style: Optional[Style] = None,
|
|
@@ -435,7 +246,7 @@ class Heading(Text):
|
|
|
435
246
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
436
247
|
] = None,
|
|
437
248
|
**props
|
|
438
|
-
) -> "
|
|
249
|
+
) -> "ContextMenuTrigger":
|
|
439
250
|
"""Create a new component instance.
|
|
440
251
|
|
|
441
252
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -443,14 +254,7 @@ class Heading(Text):
|
|
|
443
254
|
|
|
444
255
|
Args:
|
|
445
256
|
*children: Child components.
|
|
446
|
-
|
|
447
|
-
as_: Change the default rendered element into a semantically appropriate alternative (cannot be used with asChild)
|
|
448
|
-
size: Text size: "1" - "9"
|
|
449
|
-
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
450
|
-
align: Alignment of text in element: "left" | "center" | "right"
|
|
451
|
-
trim: Removes the leading trim space: "normal" | "start" | "end" | "both"
|
|
452
|
-
color: Overrides the accent color inherited from the Theme.
|
|
453
|
-
high_contrast: Whether to render the text with higher contrast color
|
|
257
|
+
disabled: Whether the trigger is disabled
|
|
454
258
|
m: Margin: "0" - "9"
|
|
455
259
|
mx: Margin horizontal: "0" - "9"
|
|
456
260
|
my: Margin vertical: "0" - "9"
|
|
@@ -471,23 +275,16 @@ class Heading(Text):
|
|
|
471
275
|
"""
|
|
472
276
|
...
|
|
473
277
|
|
|
474
|
-
class
|
|
278
|
+
class ContextMenuContent(CommonMarginProps, RadixThemesComponent):
|
|
279
|
+
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
475
280
|
@overload
|
|
476
281
|
@classmethod
|
|
477
282
|
def create( # type: ignore
|
|
478
283
|
cls,
|
|
479
284
|
*children,
|
|
480
|
-
size: Optional[
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
484
|
-
]
|
|
485
|
-
] = None,
|
|
486
|
-
weight: Optional[
|
|
487
|
-
Union[
|
|
488
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
489
|
-
Literal["light", "regular", "medium", "bold"],
|
|
490
|
-
]
|
|
285
|
+
size: Optional[Union[Var[Literal["1", "2"]], Literal["1", "2"]]] = None,
|
|
286
|
+
variant: Optional[
|
|
287
|
+
Union[Var[Literal["solid", "soft"]], Literal["solid", "soft"]]
|
|
491
288
|
] = None,
|
|
492
289
|
color: Optional[
|
|
493
290
|
Union[
|
|
@@ -552,46 +349,48 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
552
349
|
]
|
|
553
350
|
] = None,
|
|
554
351
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
352
|
+
align_offset: Optional[Union[Var[int], int]] = None,
|
|
353
|
+
avoid_collisions: Optional[Union[Var[bool], bool]] = None,
|
|
555
354
|
m: Optional[
|
|
556
355
|
Union[
|
|
557
|
-
Var[Literal["
|
|
558
|
-
Literal["
|
|
356
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
357
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
559
358
|
]
|
|
560
359
|
] = None,
|
|
561
360
|
mx: Optional[
|
|
562
361
|
Union[
|
|
563
|
-
Var[Literal["
|
|
564
|
-
Literal["
|
|
362
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
363
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
565
364
|
]
|
|
566
365
|
] = None,
|
|
567
366
|
my: Optional[
|
|
568
367
|
Union[
|
|
569
|
-
Var[Literal["
|
|
570
|
-
Literal["
|
|
368
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
369
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
571
370
|
]
|
|
572
371
|
] = None,
|
|
573
372
|
mt: Optional[
|
|
574
373
|
Union[
|
|
575
|
-
Var[Literal["
|
|
576
|
-
Literal["
|
|
374
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
375
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
577
376
|
]
|
|
578
377
|
] = None,
|
|
579
378
|
mr: Optional[
|
|
580
379
|
Union[
|
|
581
|
-
Var[Literal["
|
|
582
|
-
Literal["
|
|
380
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
381
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
583
382
|
]
|
|
584
383
|
] = None,
|
|
585
384
|
mb: Optional[
|
|
586
385
|
Union[
|
|
587
|
-
Var[Literal["
|
|
588
|
-
Literal["
|
|
386
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
387
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
589
388
|
]
|
|
590
389
|
] = None,
|
|
591
390
|
ml: Optional[
|
|
592
391
|
Union[
|
|
593
|
-
Var[Literal["
|
|
594
|
-
Literal["
|
|
392
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
393
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
595
394
|
]
|
|
596
395
|
] = None,
|
|
597
396
|
style: Optional[Style] = None,
|
|
@@ -606,15 +405,27 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
606
405
|
on_click: Optional[
|
|
607
406
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
608
407
|
] = None,
|
|
408
|
+
on_close_auto_focus: Optional[
|
|
409
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
410
|
+
] = None,
|
|
609
411
|
on_context_menu: Optional[
|
|
610
412
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
611
413
|
] = None,
|
|
612
414
|
on_double_click: Optional[
|
|
613
415
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
614
416
|
] = None,
|
|
417
|
+
on_escape_key_down: Optional[
|
|
418
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
419
|
+
] = None,
|
|
615
420
|
on_focus: Optional[
|
|
616
421
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
617
422
|
] = None,
|
|
423
|
+
on_focus_outside: Optional[
|
|
424
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
425
|
+
] = None,
|
|
426
|
+
on_interact_outside: Optional[
|
|
427
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
428
|
+
] = None,
|
|
618
429
|
on_mount: Optional[
|
|
619
430
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
620
431
|
] = None,
|
|
@@ -639,6 +450,9 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
639
450
|
on_mouse_up: Optional[
|
|
640
451
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
641
452
|
] = None,
|
|
453
|
+
on_pointer_down_outside: Optional[
|
|
454
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
455
|
+
] = None,
|
|
642
456
|
on_scroll: Optional[
|
|
643
457
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
644
458
|
] = None,
|
|
@@ -646,7 +460,7 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
646
460
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
647
461
|
] = None,
|
|
648
462
|
**props
|
|
649
|
-
) -> "
|
|
463
|
+
) -> "ContextMenuContent":
|
|
650
464
|
"""Create a new component instance.
|
|
651
465
|
|
|
652
466
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -654,10 +468,12 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
654
468
|
|
|
655
469
|
Args:
|
|
656
470
|
*children: Child components.
|
|
657
|
-
size:
|
|
658
|
-
|
|
659
|
-
color:
|
|
660
|
-
high_contrast: Whether to render the
|
|
471
|
+
size: Button size "1" - "4"
|
|
472
|
+
variant: Variant of button: "solid" | "soft" | "outline" | "ghost"
|
|
473
|
+
color: Override theme color for button
|
|
474
|
+
high_contrast: Whether to render the button with higher contrast color against background
|
|
475
|
+
align_offset: The vertical distance in pixels from the anchor.
|
|
476
|
+
avoid_collisions: When true, overrides the side andalign preferences to prevent collisions with boundary edges.
|
|
661
477
|
m: Margin: "0" - "9"
|
|
662
478
|
mx: Margin horizontal: "0" - "9"
|
|
663
479
|
my: Margin vertical: "0" - "9"
|
|
@@ -678,133 +494,52 @@ class Blockquote(CommonMarginProps, RadixThemesComponent):
|
|
|
678
494
|
"""
|
|
679
495
|
...
|
|
680
496
|
|
|
681
|
-
class
|
|
497
|
+
class ContextMenuSub(CommonMarginProps, RadixThemesComponent):
|
|
682
498
|
@overload
|
|
683
499
|
@classmethod
|
|
684
500
|
def create( # type: ignore
|
|
685
501
|
cls,
|
|
686
502
|
*children,
|
|
687
|
-
|
|
688
|
-
Union[
|
|
689
|
-
Var[Literal["solid", "soft", "outline", "ghost"]],
|
|
690
|
-
Literal["solid", "soft", "outline", "ghost"],
|
|
691
|
-
]
|
|
692
|
-
] = None,
|
|
693
|
-
size: Optional[
|
|
503
|
+
m: Optional[
|
|
694
504
|
Union[
|
|
695
505
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
696
506
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
697
507
|
]
|
|
698
508
|
] = None,
|
|
699
|
-
weight: Optional[
|
|
700
|
-
Union[
|
|
701
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
702
|
-
Literal["light", "regular", "medium", "bold"],
|
|
703
|
-
]
|
|
704
|
-
] = None,
|
|
705
|
-
color: Optional[
|
|
706
|
-
Union[
|
|
707
|
-
Var[
|
|
708
|
-
Literal[
|
|
709
|
-
"tomato",
|
|
710
|
-
"red",
|
|
711
|
-
"ruby",
|
|
712
|
-
"crimson",
|
|
713
|
-
"pink",
|
|
714
|
-
"plum",
|
|
715
|
-
"purple",
|
|
716
|
-
"violet",
|
|
717
|
-
"iris",
|
|
718
|
-
"indigo",
|
|
719
|
-
"blue",
|
|
720
|
-
"cyan",
|
|
721
|
-
"teal",
|
|
722
|
-
"jade",
|
|
723
|
-
"green",
|
|
724
|
-
"grass",
|
|
725
|
-
"brown",
|
|
726
|
-
"orange",
|
|
727
|
-
"sky",
|
|
728
|
-
"mint",
|
|
729
|
-
"lime",
|
|
730
|
-
"yellow",
|
|
731
|
-
"amber",
|
|
732
|
-
"gold",
|
|
733
|
-
"bronze",
|
|
734
|
-
"gray",
|
|
735
|
-
]
|
|
736
|
-
],
|
|
737
|
-
Literal[
|
|
738
|
-
"tomato",
|
|
739
|
-
"red",
|
|
740
|
-
"ruby",
|
|
741
|
-
"crimson",
|
|
742
|
-
"pink",
|
|
743
|
-
"plum",
|
|
744
|
-
"purple",
|
|
745
|
-
"violet",
|
|
746
|
-
"iris",
|
|
747
|
-
"indigo",
|
|
748
|
-
"blue",
|
|
749
|
-
"cyan",
|
|
750
|
-
"teal",
|
|
751
|
-
"jade",
|
|
752
|
-
"green",
|
|
753
|
-
"grass",
|
|
754
|
-
"brown",
|
|
755
|
-
"orange",
|
|
756
|
-
"sky",
|
|
757
|
-
"mint",
|
|
758
|
-
"lime",
|
|
759
|
-
"yellow",
|
|
760
|
-
"amber",
|
|
761
|
-
"gold",
|
|
762
|
-
"bronze",
|
|
763
|
-
"gray",
|
|
764
|
-
],
|
|
765
|
-
]
|
|
766
|
-
] = None,
|
|
767
|
-
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
768
|
-
m: Optional[
|
|
769
|
-
Union[
|
|
770
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
771
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
772
|
-
]
|
|
773
|
-
] = None,
|
|
774
509
|
mx: Optional[
|
|
775
510
|
Union[
|
|
776
|
-
Var[Literal["
|
|
777
|
-
Literal["
|
|
511
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
512
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
778
513
|
]
|
|
779
514
|
] = None,
|
|
780
515
|
my: Optional[
|
|
781
516
|
Union[
|
|
782
|
-
Var[Literal["
|
|
783
|
-
Literal["
|
|
517
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
518
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
784
519
|
]
|
|
785
520
|
] = None,
|
|
786
521
|
mt: Optional[
|
|
787
522
|
Union[
|
|
788
|
-
Var[Literal["
|
|
789
|
-
Literal["
|
|
523
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
524
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
790
525
|
]
|
|
791
526
|
] = None,
|
|
792
527
|
mr: Optional[
|
|
793
528
|
Union[
|
|
794
|
-
Var[Literal["
|
|
795
|
-
Literal["
|
|
529
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
530
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
796
531
|
]
|
|
797
532
|
] = None,
|
|
798
533
|
mb: Optional[
|
|
799
534
|
Union[
|
|
800
|
-
Var[Literal["
|
|
801
|
-
Literal["
|
|
535
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
536
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
802
537
|
]
|
|
803
538
|
] = None,
|
|
804
539
|
ml: Optional[
|
|
805
540
|
Union[
|
|
806
|
-
Var[Literal["
|
|
807
|
-
Literal["
|
|
541
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
542
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
808
543
|
]
|
|
809
544
|
] = None,
|
|
810
545
|
style: Optional[Style] = None,
|
|
@@ -859,7 +594,7 @@ class Code(Blockquote):
|
|
|
859
594
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
860
595
|
] = None,
|
|
861
596
|
**props
|
|
862
|
-
) -> "
|
|
597
|
+
) -> "ContextMenuSub":
|
|
863
598
|
"""Create a new component instance.
|
|
864
599
|
|
|
865
600
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -867,11 +602,6 @@ class Code(Blockquote):
|
|
|
867
602
|
|
|
868
603
|
Args:
|
|
869
604
|
*children: Child components.
|
|
870
|
-
variant: The visual variant to apply: "solid" | "soft" | "outline" | "ghost"
|
|
871
|
-
size: Text size: "1" - "9"
|
|
872
|
-
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
873
|
-
color: Overrides the accent color inherited from the Theme.
|
|
874
|
-
high_contrast: Whether to render the text with higher contrast color
|
|
875
605
|
m: Margin: "0" - "9"
|
|
876
606
|
mx: Margin horizontal: "0" - "9"
|
|
877
607
|
my: Margin vertical: "0" - "9"
|
|
@@ -892,52 +622,53 @@ class Code(Blockquote):
|
|
|
892
622
|
"""
|
|
893
623
|
...
|
|
894
624
|
|
|
895
|
-
class
|
|
625
|
+
class ContextMenuSubTrigger(CommonMarginProps, RadixThemesComponent):
|
|
896
626
|
@overload
|
|
897
627
|
@classmethod
|
|
898
628
|
def create( # type: ignore
|
|
899
629
|
cls,
|
|
900
630
|
*children,
|
|
631
|
+
disabled: Optional[Union[Var[bool], bool]] = None,
|
|
901
632
|
m: Optional[
|
|
902
633
|
Union[
|
|
903
|
-
Var[Literal["
|
|
904
|
-
Literal["
|
|
634
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
635
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
905
636
|
]
|
|
906
637
|
] = None,
|
|
907
638
|
mx: Optional[
|
|
908
639
|
Union[
|
|
909
|
-
Var[Literal["
|
|
910
|
-
Literal["
|
|
640
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
641
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
911
642
|
]
|
|
912
643
|
] = None,
|
|
913
644
|
my: Optional[
|
|
914
645
|
Union[
|
|
915
|
-
Var[Literal["
|
|
916
|
-
Literal["
|
|
646
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
647
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
917
648
|
]
|
|
918
649
|
] = None,
|
|
919
650
|
mt: Optional[
|
|
920
651
|
Union[
|
|
921
|
-
Var[Literal["
|
|
922
|
-
Literal["
|
|
652
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
653
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
923
654
|
]
|
|
924
655
|
] = None,
|
|
925
656
|
mr: Optional[
|
|
926
657
|
Union[
|
|
927
|
-
Var[Literal["
|
|
928
|
-
Literal["
|
|
658
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
659
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
929
660
|
]
|
|
930
661
|
] = None,
|
|
931
662
|
mb: Optional[
|
|
932
663
|
Union[
|
|
933
|
-
Var[Literal["
|
|
934
|
-
Literal["
|
|
664
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
665
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
935
666
|
]
|
|
936
667
|
] = None,
|
|
937
668
|
ml: Optional[
|
|
938
669
|
Union[
|
|
939
|
-
Var[Literal["
|
|
940
|
-
Literal["
|
|
670
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
671
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
941
672
|
]
|
|
942
673
|
] = None,
|
|
943
674
|
style: Optional[Style] = None,
|
|
@@ -992,7 +723,7 @@ class Em(CommonMarginProps, RadixThemesComponent):
|
|
|
992
723
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
993
724
|
] = None,
|
|
994
725
|
**props
|
|
995
|
-
) -> "
|
|
726
|
+
) -> "ContextMenuSubTrigger":
|
|
996
727
|
"""Create a new component instance.
|
|
997
728
|
|
|
998
729
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -1000,6 +731,7 @@ class Em(CommonMarginProps, RadixThemesComponent):
|
|
|
1000
731
|
|
|
1001
732
|
Args:
|
|
1002
733
|
*children: Child components.
|
|
734
|
+
disabled: Whether the trigger is disabled
|
|
1003
735
|
m: Margin: "0" - "9"
|
|
1004
736
|
mx: Margin horizontal: "0" - "9"
|
|
1005
737
|
my: Margin vertical: "0" - "9"
|
|
@@ -1020,58 +752,54 @@ class Em(CommonMarginProps, RadixThemesComponent):
|
|
|
1020
752
|
"""
|
|
1021
753
|
...
|
|
1022
754
|
|
|
1023
|
-
class
|
|
755
|
+
class ContextMenuSubContent(CommonMarginProps, RadixThemesComponent):
|
|
756
|
+
def get_event_triggers(self) -> Dict[str, Any]: ...
|
|
1024
757
|
@overload
|
|
1025
758
|
@classmethod
|
|
1026
759
|
def create( # type: ignore
|
|
1027
760
|
cls,
|
|
1028
761
|
*children,
|
|
1029
|
-
|
|
762
|
+
loop: Optional[Union[Var[bool], bool]] = None,
|
|
763
|
+
m: Optional[
|
|
1030
764
|
Union[
|
|
1031
765
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1032
766
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1033
767
|
]
|
|
1034
768
|
] = None,
|
|
1035
|
-
m: Optional[
|
|
1036
|
-
Union[
|
|
1037
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1038
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1039
|
-
]
|
|
1040
|
-
] = None,
|
|
1041
769
|
mx: Optional[
|
|
1042
770
|
Union[
|
|
1043
|
-
Var[Literal["
|
|
1044
|
-
Literal["
|
|
771
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
772
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1045
773
|
]
|
|
1046
774
|
] = None,
|
|
1047
775
|
my: Optional[
|
|
1048
776
|
Union[
|
|
1049
|
-
Var[Literal["
|
|
1050
|
-
Literal["
|
|
777
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
778
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1051
779
|
]
|
|
1052
780
|
] = None,
|
|
1053
781
|
mt: Optional[
|
|
1054
782
|
Union[
|
|
1055
|
-
Var[Literal["
|
|
1056
|
-
Literal["
|
|
783
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
784
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1057
785
|
]
|
|
1058
786
|
] = None,
|
|
1059
787
|
mr: Optional[
|
|
1060
788
|
Union[
|
|
1061
|
-
Var[Literal["
|
|
1062
|
-
Literal["
|
|
789
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
790
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1063
791
|
]
|
|
1064
792
|
] = None,
|
|
1065
793
|
mb: Optional[
|
|
1066
794
|
Union[
|
|
1067
|
-
Var[Literal["
|
|
1068
|
-
Literal["
|
|
795
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
796
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1069
797
|
]
|
|
1070
798
|
] = None,
|
|
1071
799
|
ml: Optional[
|
|
1072
800
|
Union[
|
|
1073
|
-
Var[Literal["
|
|
1074
|
-
Literal["
|
|
801
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
802
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1075
803
|
]
|
|
1076
804
|
] = None,
|
|
1077
805
|
style: Optional[Style] = None,
|
|
@@ -1092,9 +820,18 @@ class Kbd(CommonMarginProps, RadixThemesComponent):
|
|
|
1092
820
|
on_double_click: Optional[
|
|
1093
821
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1094
822
|
] = None,
|
|
823
|
+
on_escape_key_down: Optional[
|
|
824
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
825
|
+
] = None,
|
|
1095
826
|
on_focus: Optional[
|
|
1096
827
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1097
828
|
] = None,
|
|
829
|
+
on_focus_outside: Optional[
|
|
830
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
831
|
+
] = None,
|
|
832
|
+
on_interact_outside: Optional[
|
|
833
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
834
|
+
] = None,
|
|
1098
835
|
on_mount: Optional[
|
|
1099
836
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1100
837
|
] = None,
|
|
@@ -1119,6 +856,9 @@ class Kbd(CommonMarginProps, RadixThemesComponent):
|
|
|
1119
856
|
on_mouse_up: Optional[
|
|
1120
857
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1121
858
|
] = None,
|
|
859
|
+
on_pointer_down_outside: Optional[
|
|
860
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
861
|
+
] = None,
|
|
1122
862
|
on_scroll: Optional[
|
|
1123
863
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1124
864
|
] = None,
|
|
@@ -1126,7 +866,7 @@ class Kbd(CommonMarginProps, RadixThemesComponent):
|
|
|
1126
866
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1127
867
|
] = None,
|
|
1128
868
|
**props
|
|
1129
|
-
) -> "
|
|
869
|
+
) -> "ContextMenuSubContent":
|
|
1130
870
|
"""Create a new component instance.
|
|
1131
871
|
|
|
1132
872
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -1134,7 +874,7 @@ class Kbd(CommonMarginProps, RadixThemesComponent):
|
|
|
1134
874
|
|
|
1135
875
|
Args:
|
|
1136
876
|
*children: Child components.
|
|
1137
|
-
|
|
877
|
+
loop: When true, keyboard navigation will loop from last item to first, and vice versa.
|
|
1138
878
|
m: Margin: "0" - "9"
|
|
1139
879
|
mx: Margin horizontal: "0" - "9"
|
|
1140
880
|
my: Margin vertical: "0" - "9"
|
|
@@ -1155,39 +895,12 @@ class Kbd(CommonMarginProps, RadixThemesComponent):
|
|
|
1155
895
|
"""
|
|
1156
896
|
...
|
|
1157
897
|
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
class Link(CommonMarginProps, RadixThemesComponent):
|
|
898
|
+
class ContextMenuItem(CommonMarginProps, RadixThemesComponent):
|
|
1161
899
|
@overload
|
|
1162
900
|
@classmethod
|
|
1163
901
|
def create( # type: ignore
|
|
1164
902
|
cls,
|
|
1165
903
|
*children,
|
|
1166
|
-
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
1167
|
-
size: Optional[
|
|
1168
|
-
Union[
|
|
1169
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1170
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1171
|
-
]
|
|
1172
|
-
] = None,
|
|
1173
|
-
weight: Optional[
|
|
1174
|
-
Union[
|
|
1175
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
1176
|
-
Literal["light", "regular", "medium", "bold"],
|
|
1177
|
-
]
|
|
1178
|
-
] = None,
|
|
1179
|
-
trim: Optional[
|
|
1180
|
-
Union[
|
|
1181
|
-
Var[Literal["normal", "start", "end", "both"]],
|
|
1182
|
-
Literal["normal", "start", "end", "both"],
|
|
1183
|
-
]
|
|
1184
|
-
] = None,
|
|
1185
|
-
underline: Optional[
|
|
1186
|
-
Union[
|
|
1187
|
-
Var[Literal["auto", "hover", "always"]],
|
|
1188
|
-
Literal["auto", "hover", "always"],
|
|
1189
|
-
]
|
|
1190
|
-
] = None,
|
|
1191
904
|
color: Optional[
|
|
1192
905
|
Union[
|
|
1193
906
|
Var[
|
|
@@ -1250,182 +963,47 @@ class Link(CommonMarginProps, RadixThemesComponent):
|
|
|
1250
963
|
],
|
|
1251
964
|
]
|
|
1252
965
|
] = None,
|
|
1253
|
-
|
|
966
|
+
shortcut: Optional[Union[Var[str], str]] = None,
|
|
1254
967
|
m: Optional[
|
|
1255
968
|
Union[
|
|
1256
|
-
Var[Literal["
|
|
1257
|
-
Literal["
|
|
1258
|
-
]
|
|
1259
|
-
] = None,
|
|
1260
|
-
mx: Optional[
|
|
1261
|
-
Union[
|
|
1262
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1263
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1264
|
-
]
|
|
1265
|
-
] = None,
|
|
1266
|
-
my: Optional[
|
|
1267
|
-
Union[
|
|
1268
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1269
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1270
|
-
]
|
|
1271
|
-
] = None,
|
|
1272
|
-
mt: Optional[
|
|
1273
|
-
Union[
|
|
1274
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1275
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1276
|
-
]
|
|
1277
|
-
] = None,
|
|
1278
|
-
mr: Optional[
|
|
1279
|
-
Union[
|
|
1280
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1281
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1282
|
-
]
|
|
1283
|
-
] = None,
|
|
1284
|
-
mb: Optional[
|
|
1285
|
-
Union[
|
|
1286
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1287
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1288
|
-
]
|
|
1289
|
-
] = None,
|
|
1290
|
-
ml: Optional[
|
|
1291
|
-
Union[
|
|
1292
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1293
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1294
|
-
]
|
|
1295
|
-
] = None,
|
|
1296
|
-
style: Optional[Style] = None,
|
|
1297
|
-
key: Optional[Any] = None,
|
|
1298
|
-
id: Optional[Any] = None,
|
|
1299
|
-
class_name: Optional[Any] = None,
|
|
1300
|
-
autofocus: Optional[bool] = None,
|
|
1301
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1302
|
-
on_blur: Optional[
|
|
1303
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1304
|
-
] = None,
|
|
1305
|
-
on_click: Optional[
|
|
1306
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1307
|
-
] = None,
|
|
1308
|
-
on_context_menu: Optional[
|
|
1309
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1310
|
-
] = None,
|
|
1311
|
-
on_double_click: Optional[
|
|
1312
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1313
|
-
] = None,
|
|
1314
|
-
on_focus: Optional[
|
|
1315
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1316
|
-
] = None,
|
|
1317
|
-
on_mount: Optional[
|
|
1318
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1319
|
-
] = None,
|
|
1320
|
-
on_mouse_down: Optional[
|
|
1321
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1322
|
-
] = None,
|
|
1323
|
-
on_mouse_enter: Optional[
|
|
1324
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1325
|
-
] = None,
|
|
1326
|
-
on_mouse_leave: Optional[
|
|
1327
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1328
|
-
] = None,
|
|
1329
|
-
on_mouse_move: Optional[
|
|
1330
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1331
|
-
] = None,
|
|
1332
|
-
on_mouse_out: Optional[
|
|
1333
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1334
|
-
] = None,
|
|
1335
|
-
on_mouse_over: Optional[
|
|
1336
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1337
|
-
] = None,
|
|
1338
|
-
on_mouse_up: Optional[
|
|
1339
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1340
|
-
] = None,
|
|
1341
|
-
on_scroll: Optional[
|
|
1342
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1343
|
-
] = None,
|
|
1344
|
-
on_unmount: Optional[
|
|
1345
|
-
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1346
|
-
] = None,
|
|
1347
|
-
**props
|
|
1348
|
-
) -> "Link":
|
|
1349
|
-
"""Create a new component instance.
|
|
1350
|
-
|
|
1351
|
-
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
1352
|
-
other UI libraries for common names, like Text and Button.
|
|
1353
|
-
|
|
1354
|
-
Args:
|
|
1355
|
-
*children: Child components.
|
|
1356
|
-
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
1357
|
-
size: Text size: "1" - "9"
|
|
1358
|
-
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
1359
|
-
trim: Removes the leading trim space: "normal" | "start" | "end" | "both"
|
|
1360
|
-
underline: Sets the visibility of the underline affordance: "auto" | "hover" | "always"
|
|
1361
|
-
color: Overrides the accent color inherited from the Theme.
|
|
1362
|
-
high_contrast: Whether to render the text with higher contrast color
|
|
1363
|
-
m: Margin: "0" - "9"
|
|
1364
|
-
mx: Margin horizontal: "0" - "9"
|
|
1365
|
-
my: Margin vertical: "0" - "9"
|
|
1366
|
-
mt: Margin top: "0" - "9"
|
|
1367
|
-
mr: Margin right: "0" - "9"
|
|
1368
|
-
mb: Margin bottom: "0" - "9"
|
|
1369
|
-
ml: Margin left: "0" - "9"
|
|
1370
|
-
style: The style of the component.
|
|
1371
|
-
key: A unique key for the component.
|
|
1372
|
-
id: The id for the component.
|
|
1373
|
-
class_name: The class name for the component.
|
|
1374
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
1375
|
-
custom_attrs: custom attribute
|
|
1376
|
-
**props: Component properties.
|
|
1377
|
-
|
|
1378
|
-
Returns:
|
|
1379
|
-
A new component instance.
|
|
1380
|
-
"""
|
|
1381
|
-
...
|
|
1382
|
-
|
|
1383
|
-
class Quote(CommonMarginProps, RadixThemesComponent):
|
|
1384
|
-
@overload
|
|
1385
|
-
@classmethod
|
|
1386
|
-
def create( # type: ignore
|
|
1387
|
-
cls,
|
|
1388
|
-
*children,
|
|
1389
|
-
m: Optional[
|
|
1390
|
-
Union[
|
|
1391
|
-
Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1392
|
-
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
969
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
970
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1393
971
|
]
|
|
1394
972
|
] = None,
|
|
1395
973
|
mx: Optional[
|
|
1396
974
|
Union[
|
|
1397
|
-
Var[Literal["
|
|
1398
|
-
Literal["
|
|
975
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
976
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1399
977
|
]
|
|
1400
978
|
] = None,
|
|
1401
979
|
my: Optional[
|
|
1402
980
|
Union[
|
|
1403
|
-
Var[Literal["
|
|
1404
|
-
Literal["
|
|
981
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
982
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1405
983
|
]
|
|
1406
984
|
] = None,
|
|
1407
985
|
mt: Optional[
|
|
1408
986
|
Union[
|
|
1409
|
-
Var[Literal["
|
|
1410
|
-
Literal["
|
|
987
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
988
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1411
989
|
]
|
|
1412
990
|
] = None,
|
|
1413
991
|
mr: Optional[
|
|
1414
992
|
Union[
|
|
1415
|
-
Var[Literal["
|
|
1416
|
-
Literal["
|
|
993
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
994
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1417
995
|
]
|
|
1418
996
|
] = None,
|
|
1419
997
|
mb: Optional[
|
|
1420
998
|
Union[
|
|
1421
|
-
Var[Literal["
|
|
1422
|
-
Literal["
|
|
999
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1000
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1423
1001
|
]
|
|
1424
1002
|
] = None,
|
|
1425
1003
|
ml: Optional[
|
|
1426
1004
|
Union[
|
|
1427
|
-
Var[Literal["
|
|
1428
|
-
Literal["
|
|
1005
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1006
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1429
1007
|
]
|
|
1430
1008
|
] = None,
|
|
1431
1009
|
style: Optional[Style] = None,
|
|
@@ -1480,7 +1058,7 @@ class Quote(CommonMarginProps, RadixThemesComponent):
|
|
|
1480
1058
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1481
1059
|
] = None,
|
|
1482
1060
|
**props
|
|
1483
|
-
) -> "
|
|
1061
|
+
) -> "ContextMenuItem":
|
|
1484
1062
|
"""Create a new component instance.
|
|
1485
1063
|
|
|
1486
1064
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
@@ -1488,6 +1066,8 @@ class Quote(CommonMarginProps, RadixThemesComponent):
|
|
|
1488
1066
|
|
|
1489
1067
|
Args:
|
|
1490
1068
|
*children: Child components.
|
|
1069
|
+
color: Override theme color for button
|
|
1070
|
+
shortcut: Shortcut to render a menu item as a link
|
|
1491
1071
|
m: Margin: "0" - "9"
|
|
1492
1072
|
mx: Margin horizontal: "0" - "9"
|
|
1493
1073
|
my: Margin vertical: "0" - "9"
|
|
@@ -1508,7 +1088,7 @@ class Quote(CommonMarginProps, RadixThemesComponent):
|
|
|
1508
1088
|
"""
|
|
1509
1089
|
...
|
|
1510
1090
|
|
|
1511
|
-
class
|
|
1091
|
+
class ContextMenuSeparator(CommonMarginProps, RadixThemesComponent):
|
|
1512
1092
|
@overload
|
|
1513
1093
|
@classmethod
|
|
1514
1094
|
def create( # type: ignore
|
|
@@ -1516,44 +1096,44 @@ class Strong(CommonMarginProps, RadixThemesComponent):
|
|
|
1516
1096
|
*children,
|
|
1517
1097
|
m: Optional[
|
|
1518
1098
|
Union[
|
|
1519
|
-
Var[Literal["
|
|
1520
|
-
Literal["
|
|
1099
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1100
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1521
1101
|
]
|
|
1522
1102
|
] = None,
|
|
1523
1103
|
mx: Optional[
|
|
1524
1104
|
Union[
|
|
1525
|
-
Var[Literal["
|
|
1526
|
-
Literal["
|
|
1105
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1106
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1527
1107
|
]
|
|
1528
1108
|
] = None,
|
|
1529
1109
|
my: Optional[
|
|
1530
1110
|
Union[
|
|
1531
|
-
Var[Literal["
|
|
1532
|
-
Literal["
|
|
1111
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1112
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1533
1113
|
]
|
|
1534
1114
|
] = None,
|
|
1535
1115
|
mt: Optional[
|
|
1536
1116
|
Union[
|
|
1537
|
-
Var[Literal["
|
|
1538
|
-
Literal["
|
|
1117
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1118
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1539
1119
|
]
|
|
1540
1120
|
] = None,
|
|
1541
1121
|
mr: Optional[
|
|
1542
1122
|
Union[
|
|
1543
|
-
Var[Literal["
|
|
1544
|
-
Literal["
|
|
1123
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1124
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1545
1125
|
]
|
|
1546
1126
|
] = None,
|
|
1547
1127
|
mb: Optional[
|
|
1548
1128
|
Union[
|
|
1549
|
-
Var[Literal["
|
|
1550
|
-
Literal["
|
|
1129
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1130
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1551
1131
|
]
|
|
1552
1132
|
] = None,
|
|
1553
1133
|
ml: Optional[
|
|
1554
1134
|
Union[
|
|
1555
|
-
Var[Literal["
|
|
1556
|
-
Literal["
|
|
1135
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1136
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1557
1137
|
]
|
|
1558
1138
|
] = None,
|
|
1559
1139
|
style: Optional[Style] = None,
|
|
@@ -1608,7 +1188,7 @@ class Strong(CommonMarginProps, RadixThemesComponent):
|
|
|
1608
1188
|
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1609
1189
|
] = None,
|
|
1610
1190
|
**props
|
|
1611
|
-
) -> "
|
|
1191
|
+
) -> "ContextMenuSeparator":
|
|
1612
1192
|
"""Create a new component instance.
|
|
1613
1193
|
|
|
1614
1194
|
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|