reflex 0.6.0__py3-none-any.whl → 0.6.0a1__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/custom_components/pyproject.toml.jinja2 +2 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +36 -0
- reflex/.templates/web/utils/state.js +1 -3
- reflex/__init__.py +2 -8
- reflex/__init__.pyi +1 -2
- reflex/app.py +2 -4
- reflex/app_module_for_backend.py +1 -1
- reflex/base.py +1 -1
- reflex/compiler/compiler.py +2 -2
- reflex/compiler/utils.py +3 -3
- reflex/components/base/app_wrap.py +2 -2
- reflex/components/base/app_wrap.pyi +27 -17
- reflex/components/base/bare.py +5 -4
- reflex/components/base/body.pyi +27 -17
- reflex/components/base/document.pyi +131 -81
- reflex/components/base/error_boundary.py +7 -6
- reflex/components/base/error_boundary.pyi +33 -20
- reflex/components/base/fragment.pyi +27 -17
- reflex/components/base/head.pyi +53 -33
- reflex/components/base/link.py +1 -1
- reflex/components/base/link.pyi +54 -33
- reflex/components/base/meta.pyi +105 -65
- reflex/components/base/script.py +2 -1
- reflex/components/base/script.pyi +38 -21
- reflex/components/component.py +47 -53
- reflex/components/core/banner.py +27 -23
- reflex/components/core/banner.pyi +171 -134
- reflex/components/core/client_side_routing.py +3 -2
- reflex/components/core/client_side_routing.pyi +54 -33
- reflex/components/core/clipboard.py +1 -2
- reflex/components/core/clipboard.pyi +33 -20
- reflex/components/core/cond.py +5 -5
- reflex/components/core/debounce.py +5 -5
- reflex/components/core/debounce.pyi +33 -20
- reflex/components/core/foreach.py +4 -3
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +46 -35
- reflex/components/core/match.py +17 -17
- reflex/components/core/upload.py +23 -17
- reflex/components/core/upload.pyi +124 -78
- reflex/components/datadisplay/code.py +10 -9
- reflex/components/datadisplay/code.pyi +409 -299
- reflex/components/datadisplay/dataeditor.py +10 -8
- reflex/components/datadisplay/dataeditor.pyi +53 -40
- reflex/components/el/element.pyi +27 -17
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +45 -34
- reflex/components/el/elements/forms.py +16 -16
- reflex/components/el/elements/forms.pyi +707 -554
- reflex/components/el/elements/inline.py +1 -1
- reflex/components/el/elements/inline.pyi +1218 -937
- reflex/components/el/elements/media.py +1 -1
- reflex/components/el/elements/media.pyi +997 -786
- reflex/components/el/elements/metadata.py +6 -3
- reflex/components/el/elements/metadata.pyi +242 -181
- reflex/components/el/elements/other.py +1 -1
- reflex/components/el/elements/other.pyi +306 -235
- reflex/components/el/elements/scripts.py +1 -1
- reflex/components/el/elements/scripts.pyi +140 -109
- reflex/components/el/elements/sectioning.py +2 -0
- reflex/components/el/elements/sectioning.pyi +647 -496
- reflex/components/el/elements/tables.py +1 -1
- reflex/components/el/elements/tables.pyi +452 -351
- reflex/components/el/elements/typography.py +1 -1
- reflex/components/el/elements/typography.pyi +657 -506
- reflex/components/gridjs/datatable.py +9 -6
- reflex/components/gridjs/datatable.pyi +56 -35
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +54 -33
- reflex/components/markdown/markdown.py +31 -26
- reflex/components/markdown/markdown.pyi +37 -27
- reflex/components/moment/moment.py +12 -13
- reflex/components/moment/moment.pyi +35 -23
- reflex/components/next/base.pyi +27 -17
- reflex/components/next/image.py +1 -1
- reflex/components/next/image.pyi +37 -22
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +28 -17
- reflex/components/next/video.py +1 -1
- reflex/components/next/video.pyi +28 -17
- reflex/components/plotly/plotly.py +13 -12
- reflex/components/plotly/plotly.pyi +54 -39
- reflex/components/props.py +1 -1
- reflex/components/radix/__init__.pyi +0 -1
- reflex/components/radix/primitives/__init__.pyi +0 -1
- reflex/components/radix/primitives/accordion.py +4 -4
- reflex/components/radix/primitives/accordion.pyi +495 -424
- reflex/components/radix/primitives/base.py +1 -1
- reflex/components/radix/primitives/base.pyi +54 -33
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/drawer.pyi +273 -172
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +364 -257
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +282 -231
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +138 -87
- reflex/components/radix/themes/base.py +24 -3
- reflex/components/radix/themes/base.pyi +250 -178
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +220 -187
- reflex/components/radix/themes/components/alert_dialog.py +1 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +207 -136
- reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- reflex/components/radix/themes/components/aspect_ratio.pyi +28 -17
- reflex/components/radix/themes/components/avatar.py +1 -1
- reflex/components/radix/themes/components/avatar.pyi +81 -70
- reflex/components/radix/themes/components/badge.py +1 -1
- reflex/components/radix/themes/components/badge.pyi +99 -88
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +109 -98
- reflex/components/radix/themes/components/callout.py +1 -1
- reflex/components/radix/themes/components/callout.pyi +373 -322
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +49 -38
- reflex/components/radix/themes/components/checkbox.py +2 -1
- reflex/components/radix/themes/components/checkbox.pyi +245 -208
- reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- reflex/components/radix/themes/components/checkbox_cards.pyi +115 -94
- reflex/components/radix/themes/components/checkbox_group.py +1 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +107 -86
- reflex/components/radix/themes/components/context_menu.py +1 -1
- reflex/components/radix/themes/components/context_menu.pyi +319 -238
- reflex/components/radix/themes/components/data_list.py +1 -1
- reflex/components/radix/themes/components/data_list.pyi +171 -130
- reflex/components/radix/themes/components/dialog.py +1 -1
- reflex/components/radix/themes/components/dialog.pyi +210 -139
- reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +332 -249
- reflex/components/radix/themes/components/hover_card.py +1 -1
- reflex/components/radix/themes/components/hover_card.pyi +131 -90
- reflex/components/radix/themes/components/icon_button.py +3 -2
- reflex/components/radix/themes/components/icon_button.pyi +109 -98
- reflex/components/radix/themes/components/inset.py +1 -1
- reflex/components/radix/themes/components/inset.pyi +58 -47
- reflex/components/radix/themes/components/popover.py +1 -1
- reflex/components/radix/themes/components/popover.pyi +136 -95
- reflex/components/radix/themes/components/progress.py +1 -1
- reflex/components/radix/themes/components/progress.pyi +82 -71
- reflex/components/radix/themes/components/radio.py +1 -1
- reflex/components/radix/themes/components/radio.pyi +80 -69
- reflex/components/radix/themes/components/radio_cards.py +1 -1
- reflex/components/radix/themes/components/radio_cards.pyi +119 -98
- reflex/components/radix/themes/components/radio_group.py +11 -8
- reflex/components/radix/themes/components/radio_group.pyi +271 -228
- reflex/components/radix/themes/components/scroll_area.py +1 -1
- reflex/components/radix/themes/components/scroll_area.pyi +32 -21
- reflex/components/radix/themes/components/segmented_control.py +1 -1
- reflex/components/radix/themes/components/segmented_control.pyi +113 -90
- reflex/components/radix/themes/components/select.py +3 -2
- reflex/components/radix/themes/components/select.pyi +471 -374
- reflex/components/radix/themes/components/separator.py +2 -1
- reflex/components/radix/themes/components/separator.pyi +80 -69
- reflex/components/radix/themes/components/skeleton.py +1 -1
- reflex/components/radix/themes/components/skeleton.pyi +34 -23
- reflex/components/radix/themes/components/slider.py +3 -2
- reflex/components/radix/themes/components/slider.pyi +88 -75
- reflex/components/radix/themes/components/spinner.py +1 -1
- reflex/components/radix/themes/components/spinner.pyi +30 -19
- reflex/components/radix/themes/components/switch.py +1 -1
- reflex/components/radix/themes/components/switch.pyi +84 -71
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +332 -261
- reflex/components/radix/themes/components/tabs.py +1 -1
- reflex/components/radix/themes/components/tabs.pyi +194 -139
- reflex/components/radix/themes/components/text_area.py +1 -1
- reflex/components/radix/themes/components/text_area.pyi +111 -96
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +286 -247
- reflex/components/radix/themes/components/tooltip.py +1 -1
- reflex/components/radix/themes/components/tooltip.pyi +37 -26
- reflex/components/radix/themes/layout/__init__.pyi +0 -1
- reflex/components/radix/themes/layout/base.py +1 -1
- reflex/components/radix/themes/layout/base.pyi +67 -56
- reflex/components/radix/themes/layout/box.pyi +45 -34
- reflex/components/radix/themes/layout/center.pyi +67 -56
- reflex/components/radix/themes/layout/container.py +2 -1
- reflex/components/radix/themes/layout/container.pyi +47 -36
- reflex/components/radix/themes/layout/flex.py +1 -1
- reflex/components/radix/themes/layout/flex.pyi +67 -56
- reflex/components/radix/themes/layout/grid.py +1 -1
- reflex/components/radix/themes/layout/grid.pyi +75 -64
- reflex/components/radix/themes/layout/list.py +6 -5
- reflex/components/radix/themes/layout/list.pyi +244 -193
- reflex/components/radix/themes/layout/section.py +2 -1
- reflex/components/radix/themes/layout/section.pyi +47 -36
- reflex/components/radix/themes/layout/spacer.pyi +67 -56
- reflex/components/radix/themes/layout/stack.py +1 -1
- reflex/components/radix/themes/layout/stack.pyi +159 -128
- reflex/components/radix/themes/typography/blockquote.py +1 -1
- reflex/components/radix/themes/typography/blockquote.pyi +100 -89
- reflex/components/radix/themes/typography/code.py +1 -1
- reflex/components/radix/themes/typography/code.pyi +101 -90
- reflex/components/radix/themes/typography/heading.py +1 -1
- reflex/components/radix/themes/typography/heading.pyi +107 -96
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +113 -102
- reflex/components/radix/themes/typography/text.py +1 -1
- reflex/components/radix/themes/typography/text.pyi +572 -501
- reflex/components/react_player/audio.pyi +60 -33
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +60 -33
- reflex/components/react_player/video.pyi +60 -33
- reflex/components/recharts/cartesian.py +3 -2
- reflex/components/recharts/cartesian.pyi +861 -678
- reflex/components/recharts/charts.py +5 -4
- reflex/components/recharts/charts.pyi +357 -252
- reflex/components/recharts/general.py +2 -1
- reflex/components/recharts/general.pyi +231 -180
- reflex/components/recharts/polar.py +5 -4
- reflex/components/recharts/polar.pyi +181 -144
- reflex/components/recharts/recharts.pyi +53 -33
- reflex/components/sonner/toast.py +17 -16
- reflex/components/sonner/toast.pyi +47 -36
- reflex/components/suneditor/editor.py +3 -2
- reflex/components/suneditor/editor.pyi +78 -55
- reflex/components/tags/cond_tag.py +4 -6
- reflex/components/tags/iter_tag.py +16 -28
- reflex/components/tags/match_tag.py +4 -6
- reflex/components/tags/tag.py +23 -40
- reflex/custom_components/custom_components.py +1 -3
- reflex/event.py +65 -113
- reflex/experimental/client_state.py +24 -25
- reflex/experimental/hooks.py +16 -16
- reflex/experimental/layout.py +5 -5
- reflex/experimental/layout.pyi +187 -136
- reflex/{vars → ivars}/__init__.py +2 -6
- reflex/{vars → ivars}/base.py +216 -599
- reflex/{vars → ivars}/function.py +19 -15
- reflex/{vars → ivars}/number.py +20 -41
- reflex/{vars → ivars}/object.py +30 -28
- reflex/{vars → ivars}/sequence.py +50 -53
- reflex/middleware/hydrate_middleware.py +0 -2
- reflex/middleware/middleware.py +3 -3
- reflex/state.py +82 -148
- reflex/style.py +22 -21
- reflex/utils/exceptions.py +0 -20
- reflex/utils/format.py +34 -54
- reflex/utils/imports.py +73 -16
- reflex/utils/prerequisites.py +15 -35
- reflex/utils/pyi_generator.py +8 -13
- reflex/utils/serializers.py +22 -12
- reflex/utils/telemetry.py +2 -3
- reflex/utils/types.py +5 -10
- reflex/vars.py +501 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/METADATA +5 -4
- reflex-0.6.0a1.dist-info/RECORD +384 -0
- reflex-0.6.0.dist-info/RECORD +0 -382
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/LICENSE +0 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/WHEEL +0 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/entry_points.txt +0 -0
|
@@ -9,8 +9,9 @@ from reflex.components.component import ComponentNamespace
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventHandler, EventSpec
|
|
12
|
+
from reflex.ivars.base import ImmutableVar
|
|
12
13
|
from reflex.style import Style
|
|
13
|
-
from reflex.vars
|
|
14
|
+
from reflex.vars import Var
|
|
14
15
|
|
|
15
16
|
from ..base import RadixThemesComponent
|
|
16
17
|
|
|
@@ -44,54 +45,52 @@ class Text(elements.Span, RadixThemesComponent):
|
|
|
44
45
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
45
46
|
as_: Optional[
|
|
46
47
|
Union[
|
|
47
|
-
Literal[
|
|
48
|
-
"abbr",
|
|
49
|
-
"b",
|
|
50
|
-
"cite",
|
|
51
|
-
"del",
|
|
52
|
-
"div",
|
|
53
|
-
"em",
|
|
54
|
-
"i",
|
|
55
|
-
"ins",
|
|
56
|
-
"kbd",
|
|
57
|
-
"label",
|
|
58
|
-
"mark",
|
|
59
|
-
"p",
|
|
60
|
-
"s",
|
|
61
|
-
"samp",
|
|
62
|
-
"span",
|
|
63
|
-
"sub",
|
|
64
|
-
"sup",
|
|
65
|
-
"u",
|
|
66
|
-
],
|
|
67
48
|
Var[
|
|
68
49
|
Literal[
|
|
69
|
-
"
|
|
50
|
+
"p",
|
|
51
|
+
"label",
|
|
52
|
+
"div",
|
|
53
|
+
"span",
|
|
70
54
|
"b",
|
|
55
|
+
"i",
|
|
56
|
+
"u",
|
|
57
|
+
"abbr",
|
|
71
58
|
"cite",
|
|
72
59
|
"del",
|
|
73
|
-
"div",
|
|
74
60
|
"em",
|
|
75
|
-
"i",
|
|
76
61
|
"ins",
|
|
77
62
|
"kbd",
|
|
78
|
-
"label",
|
|
79
63
|
"mark",
|
|
80
|
-
"p",
|
|
81
64
|
"s",
|
|
82
65
|
"samp",
|
|
83
|
-
"span",
|
|
84
66
|
"sub",
|
|
85
67
|
"sup",
|
|
86
|
-
"u",
|
|
87
68
|
]
|
|
88
69
|
],
|
|
70
|
+
Literal[
|
|
71
|
+
"p",
|
|
72
|
+
"label",
|
|
73
|
+
"div",
|
|
74
|
+
"span",
|
|
75
|
+
"b",
|
|
76
|
+
"i",
|
|
77
|
+
"u",
|
|
78
|
+
"abbr",
|
|
79
|
+
"cite",
|
|
80
|
+
"del",
|
|
81
|
+
"em",
|
|
82
|
+
"ins",
|
|
83
|
+
"kbd",
|
|
84
|
+
"mark",
|
|
85
|
+
"s",
|
|
86
|
+
"samp",
|
|
87
|
+
"sub",
|
|
88
|
+
"sup",
|
|
89
|
+
],
|
|
89
90
|
]
|
|
90
91
|
] = None,
|
|
91
92
|
size: Optional[
|
|
92
93
|
Union[
|
|
93
|
-
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
94
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
95
94
|
Var[
|
|
96
95
|
Union[
|
|
97
96
|
Breakpoints[
|
|
@@ -100,171 +99,183 @@ class Text(elements.Span, RadixThemesComponent):
|
|
|
100
99
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
101
100
|
]
|
|
102
101
|
],
|
|
102
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
103
|
+
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
103
104
|
]
|
|
104
105
|
] = None,
|
|
105
106
|
weight: Optional[
|
|
106
107
|
Union[
|
|
107
|
-
Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
|
|
108
|
-
Literal["bold", "light", "medium", "regular"],
|
|
109
108
|
Var[
|
|
110
109
|
Union[
|
|
111
|
-
Breakpoints[str, Literal["
|
|
112
|
-
Literal["
|
|
110
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
111
|
+
Literal["light", "regular", "medium", "bold"],
|
|
113
112
|
]
|
|
114
113
|
],
|
|
114
|
+
Literal["light", "regular", "medium", "bold"],
|
|
115
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
115
116
|
]
|
|
116
117
|
] = None,
|
|
117
118
|
align: Optional[
|
|
118
119
|
Union[
|
|
119
|
-
Breakpoints[str, Literal["center", "left", "right"]],
|
|
120
|
-
Literal["center", "left", "right"],
|
|
121
120
|
Var[
|
|
122
121
|
Union[
|
|
123
|
-
Breakpoints[str, Literal["
|
|
124
|
-
Literal["
|
|
122
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
123
|
+
Literal["left", "center", "right"],
|
|
125
124
|
]
|
|
126
125
|
],
|
|
126
|
+
Literal["left", "center", "right"],
|
|
127
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
127
128
|
]
|
|
128
129
|
] = None,
|
|
129
130
|
trim: Optional[
|
|
130
131
|
Union[
|
|
131
|
-
Breakpoints[str, Literal["both", "end", "normal", "start"]],
|
|
132
|
-
Literal["both", "end", "normal", "start"],
|
|
133
132
|
Var[
|
|
134
133
|
Union[
|
|
135
|
-
Breakpoints[str, Literal["
|
|
136
|
-
Literal["
|
|
134
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
135
|
+
Literal["normal", "start", "end", "both"],
|
|
137
136
|
]
|
|
138
137
|
],
|
|
138
|
+
Literal["normal", "start", "end", "both"],
|
|
139
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
139
140
|
]
|
|
140
141
|
] = None,
|
|
141
142
|
color_scheme: Optional[
|
|
142
143
|
Union[
|
|
143
|
-
Literal[
|
|
144
|
-
"amber",
|
|
145
|
-
"blue",
|
|
146
|
-
"bronze",
|
|
147
|
-
"brown",
|
|
148
|
-
"crimson",
|
|
149
|
-
"cyan",
|
|
150
|
-
"gold",
|
|
151
|
-
"grass",
|
|
152
|
-
"gray",
|
|
153
|
-
"green",
|
|
154
|
-
"indigo",
|
|
155
|
-
"iris",
|
|
156
|
-
"jade",
|
|
157
|
-
"lime",
|
|
158
|
-
"mint",
|
|
159
|
-
"orange",
|
|
160
|
-
"pink",
|
|
161
|
-
"plum",
|
|
162
|
-
"purple",
|
|
163
|
-
"red",
|
|
164
|
-
"ruby",
|
|
165
|
-
"sky",
|
|
166
|
-
"teal",
|
|
167
|
-
"tomato",
|
|
168
|
-
"violet",
|
|
169
|
-
"yellow",
|
|
170
|
-
],
|
|
171
144
|
Var[
|
|
172
145
|
Literal[
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"brown",
|
|
146
|
+
"tomato",
|
|
147
|
+
"red",
|
|
148
|
+
"ruby",
|
|
177
149
|
"crimson",
|
|
178
|
-
"cyan",
|
|
179
|
-
"gold",
|
|
180
|
-
"grass",
|
|
181
|
-
"gray",
|
|
182
|
-
"green",
|
|
183
|
-
"indigo",
|
|
184
|
-
"iris",
|
|
185
|
-
"jade",
|
|
186
|
-
"lime",
|
|
187
|
-
"mint",
|
|
188
|
-
"orange",
|
|
189
150
|
"pink",
|
|
190
151
|
"plum",
|
|
191
152
|
"purple",
|
|
192
|
-
"red",
|
|
193
|
-
"ruby",
|
|
194
|
-
"sky",
|
|
195
|
-
"teal",
|
|
196
|
-
"tomato",
|
|
197
153
|
"violet",
|
|
154
|
+
"iris",
|
|
155
|
+
"indigo",
|
|
156
|
+
"blue",
|
|
157
|
+
"cyan",
|
|
158
|
+
"teal",
|
|
159
|
+
"jade",
|
|
160
|
+
"green",
|
|
161
|
+
"grass",
|
|
162
|
+
"brown",
|
|
163
|
+
"orange",
|
|
164
|
+
"sky",
|
|
165
|
+
"mint",
|
|
166
|
+
"lime",
|
|
198
167
|
"yellow",
|
|
168
|
+
"amber",
|
|
169
|
+
"gold",
|
|
170
|
+
"bronze",
|
|
171
|
+
"gray",
|
|
199
172
|
]
|
|
200
173
|
],
|
|
174
|
+
Literal[
|
|
175
|
+
"tomato",
|
|
176
|
+
"red",
|
|
177
|
+
"ruby",
|
|
178
|
+
"crimson",
|
|
179
|
+
"pink",
|
|
180
|
+
"plum",
|
|
181
|
+
"purple",
|
|
182
|
+
"violet",
|
|
183
|
+
"iris",
|
|
184
|
+
"indigo",
|
|
185
|
+
"blue",
|
|
186
|
+
"cyan",
|
|
187
|
+
"teal",
|
|
188
|
+
"jade",
|
|
189
|
+
"green",
|
|
190
|
+
"grass",
|
|
191
|
+
"brown",
|
|
192
|
+
"orange",
|
|
193
|
+
"sky",
|
|
194
|
+
"mint",
|
|
195
|
+
"lime",
|
|
196
|
+
"yellow",
|
|
197
|
+
"amber",
|
|
198
|
+
"gold",
|
|
199
|
+
"bronze",
|
|
200
|
+
"gray",
|
|
201
|
+
],
|
|
201
202
|
]
|
|
202
203
|
] = None,
|
|
203
204
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
204
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
205
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
205
206
|
auto_capitalize: Optional[
|
|
206
|
-
Union[Var[Union[bool, int, str]],
|
|
207
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
207
208
|
] = None,
|
|
208
209
|
content_editable: Optional[
|
|
209
|
-
Union[Var[Union[bool, int, str]],
|
|
210
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
210
211
|
] = None,
|
|
211
212
|
context_menu: Optional[
|
|
212
|
-
Union[Var[Union[bool, int, str]],
|
|
213
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
213
214
|
] = None,
|
|
214
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
215
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
215
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
216
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
216
217
|
enter_key_hint: Optional[
|
|
217
|
-
Union[Var[Union[bool, int, str]],
|
|
218
|
-
] = None,
|
|
219
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
220
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
221
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
222
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
223
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
224
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
225
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
226
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
227
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
218
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
219
|
+
] = None,
|
|
220
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
221
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
222
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
223
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
224
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
225
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
226
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
227
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
228
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
228
229
|
style: Optional[Style] = None,
|
|
229
230
|
key: Optional[Any] = None,
|
|
230
231
|
id: Optional[Any] = None,
|
|
231
232
|
class_name: Optional[Any] = None,
|
|
232
233
|
autofocus: Optional[bool] = None,
|
|
233
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
234
|
-
on_blur: Optional[
|
|
235
|
-
|
|
234
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
235
|
+
on_blur: Optional[
|
|
236
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
237
|
+
] = None,
|
|
238
|
+
on_click: Optional[
|
|
239
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
240
|
+
] = None,
|
|
236
241
|
on_context_menu: Optional[
|
|
237
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
242
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
238
243
|
] = None,
|
|
239
244
|
on_double_click: Optional[
|
|
240
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
245
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
246
|
+
] = None,
|
|
247
|
+
on_focus: Optional[
|
|
248
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
249
|
+
] = None,
|
|
250
|
+
on_mount: Optional[
|
|
251
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
241
252
|
] = None,
|
|
242
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
243
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
244
253
|
on_mouse_down: Optional[
|
|
245
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
254
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
246
255
|
] = None,
|
|
247
256
|
on_mouse_enter: Optional[
|
|
248
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
257
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
249
258
|
] = None,
|
|
250
259
|
on_mouse_leave: Optional[
|
|
251
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
260
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
252
261
|
] = None,
|
|
253
262
|
on_mouse_move: Optional[
|
|
254
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
263
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
255
264
|
] = None,
|
|
256
265
|
on_mouse_out: Optional[
|
|
257
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
266
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
258
267
|
] = None,
|
|
259
268
|
on_mouse_over: Optional[
|
|
260
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
269
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
261
270
|
] = None,
|
|
262
271
|
on_mouse_up: Optional[
|
|
263
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
272
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
273
|
+
] = None,
|
|
274
|
+
on_scroll: Optional[
|
|
275
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
264
276
|
] = None,
|
|
265
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
266
277
|
on_unmount: Optional[
|
|
267
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
278
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
268
279
|
] = None,
|
|
269
280
|
**props,
|
|
270
281
|
) -> "Text":
|
|
@@ -320,55 +331,53 @@ class Span(Text):
|
|
|
320
331
|
*children,
|
|
321
332
|
as_: Optional[
|
|
322
333
|
Union[
|
|
323
|
-
Literal[
|
|
324
|
-
"abbr",
|
|
325
|
-
"b",
|
|
326
|
-
"cite",
|
|
327
|
-
"del",
|
|
328
|
-
"div",
|
|
329
|
-
"em",
|
|
330
|
-
"i",
|
|
331
|
-
"ins",
|
|
332
|
-
"kbd",
|
|
333
|
-
"label",
|
|
334
|
-
"mark",
|
|
335
|
-
"p",
|
|
336
|
-
"s",
|
|
337
|
-
"samp",
|
|
338
|
-
"span",
|
|
339
|
-
"sub",
|
|
340
|
-
"sup",
|
|
341
|
-
"u",
|
|
342
|
-
],
|
|
343
334
|
Var[
|
|
344
335
|
Literal[
|
|
345
|
-
"
|
|
336
|
+
"p",
|
|
337
|
+
"label",
|
|
338
|
+
"div",
|
|
339
|
+
"span",
|
|
346
340
|
"b",
|
|
341
|
+
"i",
|
|
342
|
+
"u",
|
|
343
|
+
"abbr",
|
|
347
344
|
"cite",
|
|
348
345
|
"del",
|
|
349
|
-
"div",
|
|
350
346
|
"em",
|
|
351
|
-
"i",
|
|
352
347
|
"ins",
|
|
353
348
|
"kbd",
|
|
354
|
-
"label",
|
|
355
349
|
"mark",
|
|
356
|
-
"p",
|
|
357
350
|
"s",
|
|
358
351
|
"samp",
|
|
359
|
-
"span",
|
|
360
352
|
"sub",
|
|
361
353
|
"sup",
|
|
362
|
-
"u",
|
|
363
354
|
]
|
|
364
355
|
],
|
|
356
|
+
Literal[
|
|
357
|
+
"p",
|
|
358
|
+
"label",
|
|
359
|
+
"div",
|
|
360
|
+
"span",
|
|
361
|
+
"b",
|
|
362
|
+
"i",
|
|
363
|
+
"u",
|
|
364
|
+
"abbr",
|
|
365
|
+
"cite",
|
|
366
|
+
"del",
|
|
367
|
+
"em",
|
|
368
|
+
"ins",
|
|
369
|
+
"kbd",
|
|
370
|
+
"mark",
|
|
371
|
+
"s",
|
|
372
|
+
"samp",
|
|
373
|
+
"sub",
|
|
374
|
+
"sup",
|
|
375
|
+
],
|
|
365
376
|
]
|
|
366
377
|
] = None,
|
|
367
378
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
368
379
|
size: Optional[
|
|
369
380
|
Union[
|
|
370
|
-
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
371
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
372
381
|
Var[
|
|
373
382
|
Union[
|
|
374
383
|
Breakpoints[
|
|
@@ -377,171 +386,183 @@ class Span(Text):
|
|
|
377
386
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
378
387
|
]
|
|
379
388
|
],
|
|
389
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
390
|
+
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
380
391
|
]
|
|
381
392
|
] = None,
|
|
382
393
|
weight: Optional[
|
|
383
394
|
Union[
|
|
384
|
-
Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
|
|
385
|
-
Literal["bold", "light", "medium", "regular"],
|
|
386
395
|
Var[
|
|
387
396
|
Union[
|
|
388
|
-
Breakpoints[str, Literal["
|
|
389
|
-
Literal["
|
|
397
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
398
|
+
Literal["light", "regular", "medium", "bold"],
|
|
390
399
|
]
|
|
391
400
|
],
|
|
401
|
+
Literal["light", "regular", "medium", "bold"],
|
|
402
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
392
403
|
]
|
|
393
404
|
] = None,
|
|
394
405
|
align: Optional[
|
|
395
406
|
Union[
|
|
396
|
-
Breakpoints[str, Literal["center", "left", "right"]],
|
|
397
|
-
Literal["center", "left", "right"],
|
|
398
407
|
Var[
|
|
399
408
|
Union[
|
|
400
|
-
Breakpoints[str, Literal["
|
|
401
|
-
Literal["
|
|
409
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
410
|
+
Literal["left", "center", "right"],
|
|
402
411
|
]
|
|
403
412
|
],
|
|
413
|
+
Literal["left", "center", "right"],
|
|
414
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
404
415
|
]
|
|
405
416
|
] = None,
|
|
406
417
|
trim: Optional[
|
|
407
418
|
Union[
|
|
408
|
-
Breakpoints[str, Literal["both", "end", "normal", "start"]],
|
|
409
|
-
Literal["both", "end", "normal", "start"],
|
|
410
419
|
Var[
|
|
411
420
|
Union[
|
|
412
|
-
Breakpoints[str, Literal["
|
|
413
|
-
Literal["
|
|
421
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
422
|
+
Literal["normal", "start", "end", "both"],
|
|
414
423
|
]
|
|
415
424
|
],
|
|
425
|
+
Literal["normal", "start", "end", "both"],
|
|
426
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
416
427
|
]
|
|
417
428
|
] = None,
|
|
418
429
|
color_scheme: Optional[
|
|
419
430
|
Union[
|
|
420
|
-
Literal[
|
|
421
|
-
"amber",
|
|
422
|
-
"blue",
|
|
423
|
-
"bronze",
|
|
424
|
-
"brown",
|
|
425
|
-
"crimson",
|
|
426
|
-
"cyan",
|
|
427
|
-
"gold",
|
|
428
|
-
"grass",
|
|
429
|
-
"gray",
|
|
430
|
-
"green",
|
|
431
|
-
"indigo",
|
|
432
|
-
"iris",
|
|
433
|
-
"jade",
|
|
434
|
-
"lime",
|
|
435
|
-
"mint",
|
|
436
|
-
"orange",
|
|
437
|
-
"pink",
|
|
438
|
-
"plum",
|
|
439
|
-
"purple",
|
|
440
|
-
"red",
|
|
441
|
-
"ruby",
|
|
442
|
-
"sky",
|
|
443
|
-
"teal",
|
|
444
|
-
"tomato",
|
|
445
|
-
"violet",
|
|
446
|
-
"yellow",
|
|
447
|
-
],
|
|
448
431
|
Var[
|
|
449
432
|
Literal[
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"brown",
|
|
433
|
+
"tomato",
|
|
434
|
+
"red",
|
|
435
|
+
"ruby",
|
|
454
436
|
"crimson",
|
|
455
|
-
"cyan",
|
|
456
|
-
"gold",
|
|
457
|
-
"grass",
|
|
458
|
-
"gray",
|
|
459
|
-
"green",
|
|
460
|
-
"indigo",
|
|
461
|
-
"iris",
|
|
462
|
-
"jade",
|
|
463
|
-
"lime",
|
|
464
|
-
"mint",
|
|
465
|
-
"orange",
|
|
466
437
|
"pink",
|
|
467
438
|
"plum",
|
|
468
439
|
"purple",
|
|
469
|
-
"red",
|
|
470
|
-
"ruby",
|
|
471
|
-
"sky",
|
|
472
|
-
"teal",
|
|
473
|
-
"tomato",
|
|
474
440
|
"violet",
|
|
441
|
+
"iris",
|
|
442
|
+
"indigo",
|
|
443
|
+
"blue",
|
|
444
|
+
"cyan",
|
|
445
|
+
"teal",
|
|
446
|
+
"jade",
|
|
447
|
+
"green",
|
|
448
|
+
"grass",
|
|
449
|
+
"brown",
|
|
450
|
+
"orange",
|
|
451
|
+
"sky",
|
|
452
|
+
"mint",
|
|
453
|
+
"lime",
|
|
475
454
|
"yellow",
|
|
455
|
+
"amber",
|
|
456
|
+
"gold",
|
|
457
|
+
"bronze",
|
|
458
|
+
"gray",
|
|
476
459
|
]
|
|
477
460
|
],
|
|
461
|
+
Literal[
|
|
462
|
+
"tomato",
|
|
463
|
+
"red",
|
|
464
|
+
"ruby",
|
|
465
|
+
"crimson",
|
|
466
|
+
"pink",
|
|
467
|
+
"plum",
|
|
468
|
+
"purple",
|
|
469
|
+
"violet",
|
|
470
|
+
"iris",
|
|
471
|
+
"indigo",
|
|
472
|
+
"blue",
|
|
473
|
+
"cyan",
|
|
474
|
+
"teal",
|
|
475
|
+
"jade",
|
|
476
|
+
"green",
|
|
477
|
+
"grass",
|
|
478
|
+
"brown",
|
|
479
|
+
"orange",
|
|
480
|
+
"sky",
|
|
481
|
+
"mint",
|
|
482
|
+
"lime",
|
|
483
|
+
"yellow",
|
|
484
|
+
"amber",
|
|
485
|
+
"gold",
|
|
486
|
+
"bronze",
|
|
487
|
+
"gray",
|
|
488
|
+
],
|
|
478
489
|
]
|
|
479
490
|
] = None,
|
|
480
491
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
481
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
492
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
482
493
|
auto_capitalize: Optional[
|
|
483
|
-
Union[Var[Union[bool, int, str]],
|
|
494
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
484
495
|
] = None,
|
|
485
496
|
content_editable: Optional[
|
|
486
|
-
Union[Var[Union[bool, int, str]],
|
|
497
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
487
498
|
] = None,
|
|
488
499
|
context_menu: Optional[
|
|
489
|
-
Union[Var[Union[bool, int, str]],
|
|
500
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
490
501
|
] = None,
|
|
491
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
492
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
502
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
503
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
493
504
|
enter_key_hint: Optional[
|
|
494
|
-
Union[Var[Union[bool, int, str]],
|
|
495
|
-
] = None,
|
|
496
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
497
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
498
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
499
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
500
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
501
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
502
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
503
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
504
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
505
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
506
|
+
] = None,
|
|
507
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
508
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
509
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
510
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
511
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
512
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
513
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
514
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
515
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
505
516
|
style: Optional[Style] = None,
|
|
506
517
|
key: Optional[Any] = None,
|
|
507
518
|
id: Optional[Any] = None,
|
|
508
519
|
class_name: Optional[Any] = None,
|
|
509
520
|
autofocus: Optional[bool] = None,
|
|
510
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
511
|
-
on_blur: Optional[
|
|
512
|
-
|
|
521
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
522
|
+
on_blur: Optional[
|
|
523
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
524
|
+
] = None,
|
|
525
|
+
on_click: Optional[
|
|
526
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
527
|
+
] = None,
|
|
513
528
|
on_context_menu: Optional[
|
|
514
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
529
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
515
530
|
] = None,
|
|
516
531
|
on_double_click: Optional[
|
|
517
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
532
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
533
|
+
] = None,
|
|
534
|
+
on_focus: Optional[
|
|
535
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
536
|
+
] = None,
|
|
537
|
+
on_mount: Optional[
|
|
538
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
518
539
|
] = None,
|
|
519
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
520
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
521
540
|
on_mouse_down: Optional[
|
|
522
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
541
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
523
542
|
] = None,
|
|
524
543
|
on_mouse_enter: Optional[
|
|
525
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
544
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
526
545
|
] = None,
|
|
527
546
|
on_mouse_leave: Optional[
|
|
528
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
547
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
529
548
|
] = None,
|
|
530
549
|
on_mouse_move: Optional[
|
|
531
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
550
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
532
551
|
] = None,
|
|
533
552
|
on_mouse_out: Optional[
|
|
534
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
553
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
535
554
|
] = None,
|
|
536
555
|
on_mouse_over: Optional[
|
|
537
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
556
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
538
557
|
] = None,
|
|
539
558
|
on_mouse_up: Optional[
|
|
540
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
559
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
560
|
+
] = None,
|
|
561
|
+
on_scroll: Optional[
|
|
562
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
541
563
|
] = None,
|
|
542
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
543
564
|
on_unmount: Optional[
|
|
544
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
565
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
545
566
|
] = None,
|
|
546
567
|
**props,
|
|
547
568
|
) -> "Span":
|
|
@@ -595,70 +616,80 @@ class Em(elements.Em, RadixThemesComponent):
|
|
|
595
616
|
def create( # type: ignore
|
|
596
617
|
cls,
|
|
597
618
|
*children,
|
|
598
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
619
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
599
620
|
auto_capitalize: Optional[
|
|
600
|
-
Union[Var[Union[bool, int, str]],
|
|
621
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
601
622
|
] = None,
|
|
602
623
|
content_editable: Optional[
|
|
603
|
-
Union[Var[Union[bool, int, str]],
|
|
624
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
604
625
|
] = None,
|
|
605
626
|
context_menu: Optional[
|
|
606
|
-
Union[Var[Union[bool, int, str]],
|
|
627
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
607
628
|
] = None,
|
|
608
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
609
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
629
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
630
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
610
631
|
enter_key_hint: Optional[
|
|
611
|
-
Union[Var[Union[bool, int, str]],
|
|
612
|
-
] = None,
|
|
613
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
614
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
615
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
616
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
617
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
618
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
619
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
620
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
621
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
632
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
633
|
+
] = None,
|
|
634
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
635
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
636
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
637
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
638
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
639
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
640
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
641
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
642
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
622
643
|
style: Optional[Style] = None,
|
|
623
644
|
key: Optional[Any] = None,
|
|
624
645
|
id: Optional[Any] = None,
|
|
625
646
|
class_name: Optional[Any] = None,
|
|
626
647
|
autofocus: Optional[bool] = None,
|
|
627
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
628
|
-
on_blur: Optional[
|
|
629
|
-
|
|
648
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
649
|
+
on_blur: Optional[
|
|
650
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
651
|
+
] = None,
|
|
652
|
+
on_click: Optional[
|
|
653
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
654
|
+
] = None,
|
|
630
655
|
on_context_menu: Optional[
|
|
631
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
656
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
632
657
|
] = None,
|
|
633
658
|
on_double_click: Optional[
|
|
634
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
659
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
660
|
+
] = None,
|
|
661
|
+
on_focus: Optional[
|
|
662
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
663
|
+
] = None,
|
|
664
|
+
on_mount: Optional[
|
|
665
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
635
666
|
] = None,
|
|
636
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
637
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
638
667
|
on_mouse_down: Optional[
|
|
639
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
668
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
640
669
|
] = None,
|
|
641
670
|
on_mouse_enter: Optional[
|
|
642
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
671
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
643
672
|
] = None,
|
|
644
673
|
on_mouse_leave: Optional[
|
|
645
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
674
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
646
675
|
] = None,
|
|
647
676
|
on_mouse_move: Optional[
|
|
648
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
677
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
649
678
|
] = None,
|
|
650
679
|
on_mouse_out: Optional[
|
|
651
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
680
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
652
681
|
] = None,
|
|
653
682
|
on_mouse_over: Optional[
|
|
654
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
683
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
655
684
|
] = None,
|
|
656
685
|
on_mouse_up: Optional[
|
|
657
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
686
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
687
|
+
] = None,
|
|
688
|
+
on_scroll: Optional[
|
|
689
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
658
690
|
] = None,
|
|
659
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
660
691
|
on_unmount: Optional[
|
|
661
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
692
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
662
693
|
] = None,
|
|
663
694
|
**props,
|
|
664
695
|
) -> "Em":
|
|
@@ -706,74 +737,84 @@ class Kbd(elements.Kbd, RadixThemesComponent):
|
|
|
706
737
|
*children,
|
|
707
738
|
size: Optional[
|
|
708
739
|
Union[
|
|
709
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
710
740
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
741
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
711
742
|
]
|
|
712
743
|
] = None,
|
|
713
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
744
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
714
745
|
auto_capitalize: Optional[
|
|
715
|
-
Union[Var[Union[bool, int, str]],
|
|
746
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
716
747
|
] = None,
|
|
717
748
|
content_editable: Optional[
|
|
718
|
-
Union[Var[Union[bool, int, str]],
|
|
749
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
719
750
|
] = None,
|
|
720
751
|
context_menu: Optional[
|
|
721
|
-
Union[Var[Union[bool, int, str]],
|
|
752
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
722
753
|
] = None,
|
|
723
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
724
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
754
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
755
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
725
756
|
enter_key_hint: Optional[
|
|
726
|
-
Union[Var[Union[bool, int, str]],
|
|
727
|
-
] = None,
|
|
728
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
729
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
730
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
731
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
732
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
733
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
734
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
735
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
736
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
757
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
758
|
+
] = None,
|
|
759
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
760
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
761
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
762
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
763
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
764
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
765
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
766
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
767
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
737
768
|
style: Optional[Style] = None,
|
|
738
769
|
key: Optional[Any] = None,
|
|
739
770
|
id: Optional[Any] = None,
|
|
740
771
|
class_name: Optional[Any] = None,
|
|
741
772
|
autofocus: Optional[bool] = None,
|
|
742
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
743
|
-
on_blur: Optional[
|
|
744
|
-
|
|
773
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
774
|
+
on_blur: Optional[
|
|
775
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
776
|
+
] = None,
|
|
777
|
+
on_click: Optional[
|
|
778
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
779
|
+
] = None,
|
|
745
780
|
on_context_menu: Optional[
|
|
746
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
781
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
747
782
|
] = None,
|
|
748
783
|
on_double_click: Optional[
|
|
749
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
784
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
785
|
+
] = None,
|
|
786
|
+
on_focus: Optional[
|
|
787
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
788
|
+
] = None,
|
|
789
|
+
on_mount: Optional[
|
|
790
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
750
791
|
] = None,
|
|
751
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
752
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
753
792
|
on_mouse_down: Optional[
|
|
754
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
793
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
755
794
|
] = None,
|
|
756
795
|
on_mouse_enter: Optional[
|
|
757
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
796
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
758
797
|
] = None,
|
|
759
798
|
on_mouse_leave: Optional[
|
|
760
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
799
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
761
800
|
] = None,
|
|
762
801
|
on_mouse_move: Optional[
|
|
763
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
802
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
764
803
|
] = None,
|
|
765
804
|
on_mouse_out: Optional[
|
|
766
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
805
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
767
806
|
] = None,
|
|
768
807
|
on_mouse_over: Optional[
|
|
769
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
808
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
770
809
|
] = None,
|
|
771
810
|
on_mouse_up: Optional[
|
|
772
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
811
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
812
|
+
] = None,
|
|
813
|
+
on_scroll: Optional[
|
|
814
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
773
815
|
] = None,
|
|
774
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
775
816
|
on_unmount: Optional[
|
|
776
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
817
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
777
818
|
] = None,
|
|
778
819
|
**props,
|
|
779
820
|
) -> "Kbd":
|
|
@@ -820,71 +861,81 @@ class Quote(elements.Q, RadixThemesComponent):
|
|
|
820
861
|
def create( # type: ignore
|
|
821
862
|
cls,
|
|
822
863
|
*children,
|
|
823
|
-
cite: Optional[Union[Var[Union[bool, int, str]],
|
|
824
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
864
|
+
cite: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
865
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
825
866
|
auto_capitalize: Optional[
|
|
826
|
-
Union[Var[Union[bool, int, str]],
|
|
867
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
827
868
|
] = None,
|
|
828
869
|
content_editable: Optional[
|
|
829
|
-
Union[Var[Union[bool, int, str]],
|
|
870
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
830
871
|
] = None,
|
|
831
872
|
context_menu: Optional[
|
|
832
|
-
Union[Var[Union[bool, int, str]],
|
|
873
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
833
874
|
] = None,
|
|
834
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
835
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
875
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
876
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
836
877
|
enter_key_hint: Optional[
|
|
837
|
-
Union[Var[Union[bool, int, str]],
|
|
838
|
-
] = None,
|
|
839
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
840
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
841
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
842
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
843
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
844
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
845
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
846
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
847
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
878
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
879
|
+
] = None,
|
|
880
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
881
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
882
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
883
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
884
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
885
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
886
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
887
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
888
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
848
889
|
style: Optional[Style] = None,
|
|
849
890
|
key: Optional[Any] = None,
|
|
850
891
|
id: Optional[Any] = None,
|
|
851
892
|
class_name: Optional[Any] = None,
|
|
852
893
|
autofocus: Optional[bool] = None,
|
|
853
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
854
|
-
on_blur: Optional[
|
|
855
|
-
|
|
894
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
895
|
+
on_blur: Optional[
|
|
896
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
897
|
+
] = None,
|
|
898
|
+
on_click: Optional[
|
|
899
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
900
|
+
] = None,
|
|
856
901
|
on_context_menu: Optional[
|
|
857
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
902
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
858
903
|
] = None,
|
|
859
904
|
on_double_click: Optional[
|
|
860
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
905
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
906
|
+
] = None,
|
|
907
|
+
on_focus: Optional[
|
|
908
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
909
|
+
] = None,
|
|
910
|
+
on_mount: Optional[
|
|
911
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
861
912
|
] = None,
|
|
862
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
863
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
864
913
|
on_mouse_down: Optional[
|
|
865
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
914
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
866
915
|
] = None,
|
|
867
916
|
on_mouse_enter: Optional[
|
|
868
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
917
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
869
918
|
] = None,
|
|
870
919
|
on_mouse_leave: Optional[
|
|
871
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
920
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
872
921
|
] = None,
|
|
873
922
|
on_mouse_move: Optional[
|
|
874
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
923
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
875
924
|
] = None,
|
|
876
925
|
on_mouse_out: Optional[
|
|
877
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
926
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
878
927
|
] = None,
|
|
879
928
|
on_mouse_over: Optional[
|
|
880
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
929
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
881
930
|
] = None,
|
|
882
931
|
on_mouse_up: Optional[
|
|
883
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
932
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
933
|
+
] = None,
|
|
934
|
+
on_scroll: Optional[
|
|
935
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
884
936
|
] = None,
|
|
885
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
886
937
|
on_unmount: Optional[
|
|
887
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
938
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
888
939
|
] = None,
|
|
889
940
|
**props,
|
|
890
941
|
) -> "Quote":
|
|
@@ -931,70 +982,80 @@ class Strong(elements.Strong, RadixThemesComponent):
|
|
|
931
982
|
def create( # type: ignore
|
|
932
983
|
cls,
|
|
933
984
|
*children,
|
|
934
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
985
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
935
986
|
auto_capitalize: Optional[
|
|
936
|
-
Union[Var[Union[bool, int, str]],
|
|
987
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
937
988
|
] = None,
|
|
938
989
|
content_editable: Optional[
|
|
939
|
-
Union[Var[Union[bool, int, str]],
|
|
990
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
940
991
|
] = None,
|
|
941
992
|
context_menu: Optional[
|
|
942
|
-
Union[Var[Union[bool, int, str]],
|
|
993
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
943
994
|
] = None,
|
|
944
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
945
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
995
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
996
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
946
997
|
enter_key_hint: Optional[
|
|
947
|
-
Union[Var[Union[bool, int, str]],
|
|
948
|
-
] = None,
|
|
949
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
950
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
951
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
952
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
953
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
954
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
955
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
956
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
957
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
998
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
999
|
+
] = None,
|
|
1000
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1001
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1002
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1003
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1004
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1005
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1006
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1007
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1008
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
958
1009
|
style: Optional[Style] = None,
|
|
959
1010
|
key: Optional[Any] = None,
|
|
960
1011
|
id: Optional[Any] = None,
|
|
961
1012
|
class_name: Optional[Any] = None,
|
|
962
1013
|
autofocus: Optional[bool] = None,
|
|
963
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
964
|
-
on_blur: Optional[
|
|
965
|
-
|
|
1014
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
1015
|
+
on_blur: Optional[
|
|
1016
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1017
|
+
] = None,
|
|
1018
|
+
on_click: Optional[
|
|
1019
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1020
|
+
] = None,
|
|
966
1021
|
on_context_menu: Optional[
|
|
967
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1022
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
968
1023
|
] = None,
|
|
969
1024
|
on_double_click: Optional[
|
|
970
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1025
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1026
|
+
] = None,
|
|
1027
|
+
on_focus: Optional[
|
|
1028
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1029
|
+
] = None,
|
|
1030
|
+
on_mount: Optional[
|
|
1031
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
971
1032
|
] = None,
|
|
972
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
973
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
974
1033
|
on_mouse_down: Optional[
|
|
975
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1034
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
976
1035
|
] = None,
|
|
977
1036
|
on_mouse_enter: Optional[
|
|
978
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1037
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
979
1038
|
] = None,
|
|
980
1039
|
on_mouse_leave: Optional[
|
|
981
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1040
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
982
1041
|
] = None,
|
|
983
1042
|
on_mouse_move: Optional[
|
|
984
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1043
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
985
1044
|
] = None,
|
|
986
1045
|
on_mouse_out: Optional[
|
|
987
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1046
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
988
1047
|
] = None,
|
|
989
1048
|
on_mouse_over: Optional[
|
|
990
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1049
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
991
1050
|
] = None,
|
|
992
1051
|
on_mouse_up: Optional[
|
|
993
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1052
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1053
|
+
] = None,
|
|
1054
|
+
on_scroll: Optional[
|
|
1055
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
994
1056
|
] = None,
|
|
995
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
996
1057
|
on_unmount: Optional[
|
|
997
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1058
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
998
1059
|
] = None,
|
|
999
1060
|
**props,
|
|
1000
1061
|
) -> "Strong":
|
|
@@ -1047,54 +1108,52 @@ class TextNamespace(ComponentNamespace):
|
|
|
1047
1108
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
1048
1109
|
as_: Optional[
|
|
1049
1110
|
Union[
|
|
1050
|
-
Literal[
|
|
1051
|
-
"abbr",
|
|
1052
|
-
"b",
|
|
1053
|
-
"cite",
|
|
1054
|
-
"del",
|
|
1055
|
-
"div",
|
|
1056
|
-
"em",
|
|
1057
|
-
"i",
|
|
1058
|
-
"ins",
|
|
1059
|
-
"kbd",
|
|
1060
|
-
"label",
|
|
1061
|
-
"mark",
|
|
1062
|
-
"p",
|
|
1063
|
-
"s",
|
|
1064
|
-
"samp",
|
|
1065
|
-
"span",
|
|
1066
|
-
"sub",
|
|
1067
|
-
"sup",
|
|
1068
|
-
"u",
|
|
1069
|
-
],
|
|
1070
1111
|
Var[
|
|
1071
1112
|
Literal[
|
|
1072
|
-
"
|
|
1113
|
+
"p",
|
|
1114
|
+
"label",
|
|
1115
|
+
"div",
|
|
1116
|
+
"span",
|
|
1073
1117
|
"b",
|
|
1118
|
+
"i",
|
|
1119
|
+
"u",
|
|
1120
|
+
"abbr",
|
|
1074
1121
|
"cite",
|
|
1075
1122
|
"del",
|
|
1076
|
-
"div",
|
|
1077
1123
|
"em",
|
|
1078
|
-
"i",
|
|
1079
1124
|
"ins",
|
|
1080
1125
|
"kbd",
|
|
1081
|
-
"label",
|
|
1082
1126
|
"mark",
|
|
1083
|
-
"p",
|
|
1084
1127
|
"s",
|
|
1085
1128
|
"samp",
|
|
1086
|
-
"span",
|
|
1087
1129
|
"sub",
|
|
1088
1130
|
"sup",
|
|
1089
|
-
"u",
|
|
1090
1131
|
]
|
|
1091
1132
|
],
|
|
1133
|
+
Literal[
|
|
1134
|
+
"p",
|
|
1135
|
+
"label",
|
|
1136
|
+
"div",
|
|
1137
|
+
"span",
|
|
1138
|
+
"b",
|
|
1139
|
+
"i",
|
|
1140
|
+
"u",
|
|
1141
|
+
"abbr",
|
|
1142
|
+
"cite",
|
|
1143
|
+
"del",
|
|
1144
|
+
"em",
|
|
1145
|
+
"ins",
|
|
1146
|
+
"kbd",
|
|
1147
|
+
"mark",
|
|
1148
|
+
"s",
|
|
1149
|
+
"samp",
|
|
1150
|
+
"sub",
|
|
1151
|
+
"sup",
|
|
1152
|
+
],
|
|
1092
1153
|
]
|
|
1093
1154
|
] = None,
|
|
1094
1155
|
size: Optional[
|
|
1095
1156
|
Union[
|
|
1096
|
-
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1097
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1098
1157
|
Var[
|
|
1099
1158
|
Union[
|
|
1100
1159
|
Breakpoints[
|
|
@@ -1103,171 +1162,183 @@ class TextNamespace(ComponentNamespace):
|
|
|
1103
1162
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1104
1163
|
]
|
|
1105
1164
|
],
|
|
1165
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1166
|
+
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1106
1167
|
]
|
|
1107
1168
|
] = None,
|
|
1108
1169
|
weight: Optional[
|
|
1109
1170
|
Union[
|
|
1110
|
-
Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
|
|
1111
|
-
Literal["bold", "light", "medium", "regular"],
|
|
1112
1171
|
Var[
|
|
1113
1172
|
Union[
|
|
1114
|
-
Breakpoints[str, Literal["
|
|
1115
|
-
Literal["
|
|
1173
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
1174
|
+
Literal["light", "regular", "medium", "bold"],
|
|
1116
1175
|
]
|
|
1117
1176
|
],
|
|
1177
|
+
Literal["light", "regular", "medium", "bold"],
|
|
1178
|
+
Breakpoints[str, Literal["light", "regular", "medium", "bold"]],
|
|
1118
1179
|
]
|
|
1119
1180
|
] = None,
|
|
1120
1181
|
align: Optional[
|
|
1121
1182
|
Union[
|
|
1122
|
-
Breakpoints[str, Literal["center", "left", "right"]],
|
|
1123
|
-
Literal["center", "left", "right"],
|
|
1124
1183
|
Var[
|
|
1125
1184
|
Union[
|
|
1126
|
-
Breakpoints[str, Literal["
|
|
1127
|
-
Literal["
|
|
1185
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
1186
|
+
Literal["left", "center", "right"],
|
|
1128
1187
|
]
|
|
1129
1188
|
],
|
|
1189
|
+
Literal["left", "center", "right"],
|
|
1190
|
+
Breakpoints[str, Literal["left", "center", "right"]],
|
|
1130
1191
|
]
|
|
1131
1192
|
] = None,
|
|
1132
1193
|
trim: Optional[
|
|
1133
1194
|
Union[
|
|
1134
|
-
Breakpoints[str, Literal["both", "end", "normal", "start"]],
|
|
1135
|
-
Literal["both", "end", "normal", "start"],
|
|
1136
1195
|
Var[
|
|
1137
1196
|
Union[
|
|
1138
|
-
Breakpoints[str, Literal["
|
|
1139
|
-
Literal["
|
|
1197
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
1198
|
+
Literal["normal", "start", "end", "both"],
|
|
1140
1199
|
]
|
|
1141
1200
|
],
|
|
1201
|
+
Literal["normal", "start", "end", "both"],
|
|
1202
|
+
Breakpoints[str, Literal["normal", "start", "end", "both"]],
|
|
1142
1203
|
]
|
|
1143
1204
|
] = None,
|
|
1144
1205
|
color_scheme: Optional[
|
|
1145
1206
|
Union[
|
|
1146
|
-
Literal[
|
|
1147
|
-
"amber",
|
|
1148
|
-
"blue",
|
|
1149
|
-
"bronze",
|
|
1150
|
-
"brown",
|
|
1151
|
-
"crimson",
|
|
1152
|
-
"cyan",
|
|
1153
|
-
"gold",
|
|
1154
|
-
"grass",
|
|
1155
|
-
"gray",
|
|
1156
|
-
"green",
|
|
1157
|
-
"indigo",
|
|
1158
|
-
"iris",
|
|
1159
|
-
"jade",
|
|
1160
|
-
"lime",
|
|
1161
|
-
"mint",
|
|
1162
|
-
"orange",
|
|
1163
|
-
"pink",
|
|
1164
|
-
"plum",
|
|
1165
|
-
"purple",
|
|
1166
|
-
"red",
|
|
1167
|
-
"ruby",
|
|
1168
|
-
"sky",
|
|
1169
|
-
"teal",
|
|
1170
|
-
"tomato",
|
|
1171
|
-
"violet",
|
|
1172
|
-
"yellow",
|
|
1173
|
-
],
|
|
1174
1207
|
Var[
|
|
1175
1208
|
Literal[
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
"brown",
|
|
1209
|
+
"tomato",
|
|
1210
|
+
"red",
|
|
1211
|
+
"ruby",
|
|
1180
1212
|
"crimson",
|
|
1181
|
-
"cyan",
|
|
1182
|
-
"gold",
|
|
1183
|
-
"grass",
|
|
1184
|
-
"gray",
|
|
1185
|
-
"green",
|
|
1186
|
-
"indigo",
|
|
1187
|
-
"iris",
|
|
1188
|
-
"jade",
|
|
1189
|
-
"lime",
|
|
1190
|
-
"mint",
|
|
1191
|
-
"orange",
|
|
1192
1213
|
"pink",
|
|
1193
1214
|
"plum",
|
|
1194
1215
|
"purple",
|
|
1195
|
-
"red",
|
|
1196
|
-
"ruby",
|
|
1197
|
-
"sky",
|
|
1198
|
-
"teal",
|
|
1199
|
-
"tomato",
|
|
1200
1216
|
"violet",
|
|
1217
|
+
"iris",
|
|
1218
|
+
"indigo",
|
|
1219
|
+
"blue",
|
|
1220
|
+
"cyan",
|
|
1221
|
+
"teal",
|
|
1222
|
+
"jade",
|
|
1223
|
+
"green",
|
|
1224
|
+
"grass",
|
|
1225
|
+
"brown",
|
|
1226
|
+
"orange",
|
|
1227
|
+
"sky",
|
|
1228
|
+
"mint",
|
|
1229
|
+
"lime",
|
|
1201
1230
|
"yellow",
|
|
1231
|
+
"amber",
|
|
1232
|
+
"gold",
|
|
1233
|
+
"bronze",
|
|
1234
|
+
"gray",
|
|
1202
1235
|
]
|
|
1203
1236
|
],
|
|
1237
|
+
Literal[
|
|
1238
|
+
"tomato",
|
|
1239
|
+
"red",
|
|
1240
|
+
"ruby",
|
|
1241
|
+
"crimson",
|
|
1242
|
+
"pink",
|
|
1243
|
+
"plum",
|
|
1244
|
+
"purple",
|
|
1245
|
+
"violet",
|
|
1246
|
+
"iris",
|
|
1247
|
+
"indigo",
|
|
1248
|
+
"blue",
|
|
1249
|
+
"cyan",
|
|
1250
|
+
"teal",
|
|
1251
|
+
"jade",
|
|
1252
|
+
"green",
|
|
1253
|
+
"grass",
|
|
1254
|
+
"brown",
|
|
1255
|
+
"orange",
|
|
1256
|
+
"sky",
|
|
1257
|
+
"mint",
|
|
1258
|
+
"lime",
|
|
1259
|
+
"yellow",
|
|
1260
|
+
"amber",
|
|
1261
|
+
"gold",
|
|
1262
|
+
"bronze",
|
|
1263
|
+
"gray",
|
|
1264
|
+
],
|
|
1204
1265
|
]
|
|
1205
1266
|
] = None,
|
|
1206
1267
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
1207
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
1268
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1208
1269
|
auto_capitalize: Optional[
|
|
1209
|
-
Union[Var[Union[bool, int, str]],
|
|
1270
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
1210
1271
|
] = None,
|
|
1211
1272
|
content_editable: Optional[
|
|
1212
|
-
Union[Var[Union[bool, int, str]],
|
|
1273
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
1213
1274
|
] = None,
|
|
1214
1275
|
context_menu: Optional[
|
|
1215
|
-
Union[Var[Union[bool, int, str]],
|
|
1276
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
1216
1277
|
] = None,
|
|
1217
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
1218
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
1278
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1279
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1219
1280
|
enter_key_hint: Optional[
|
|
1220
|
-
Union[Var[Union[bool, int, str]],
|
|
1221
|
-
] = None,
|
|
1222
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
1223
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
1224
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
1225
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
1226
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
1227
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
1228
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
1229
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
1230
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
1281
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
1282
|
+
] = None,
|
|
1283
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1284
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1285
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1286
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1287
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1288
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1289
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1290
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1291
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
1231
1292
|
style: Optional[Style] = None,
|
|
1232
1293
|
key: Optional[Any] = None,
|
|
1233
1294
|
id: Optional[Any] = None,
|
|
1234
1295
|
class_name: Optional[Any] = None,
|
|
1235
1296
|
autofocus: Optional[bool] = None,
|
|
1236
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
1237
|
-
on_blur: Optional[
|
|
1238
|
-
|
|
1297
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
1298
|
+
on_blur: Optional[
|
|
1299
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1300
|
+
] = None,
|
|
1301
|
+
on_click: Optional[
|
|
1302
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1303
|
+
] = None,
|
|
1239
1304
|
on_context_menu: Optional[
|
|
1240
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1305
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1241
1306
|
] = None,
|
|
1242
1307
|
on_double_click: Optional[
|
|
1243
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1308
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1309
|
+
] = None,
|
|
1310
|
+
on_focus: Optional[
|
|
1311
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1312
|
+
] = None,
|
|
1313
|
+
on_mount: Optional[
|
|
1314
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1244
1315
|
] = None,
|
|
1245
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
1246
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
1247
1316
|
on_mouse_down: Optional[
|
|
1248
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1317
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1249
1318
|
] = None,
|
|
1250
1319
|
on_mouse_enter: Optional[
|
|
1251
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1320
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1252
1321
|
] = None,
|
|
1253
1322
|
on_mouse_leave: Optional[
|
|
1254
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1323
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1255
1324
|
] = None,
|
|
1256
1325
|
on_mouse_move: Optional[
|
|
1257
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1326
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1258
1327
|
] = None,
|
|
1259
1328
|
on_mouse_out: Optional[
|
|
1260
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1329
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1261
1330
|
] = None,
|
|
1262
1331
|
on_mouse_over: Optional[
|
|
1263
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1332
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1264
1333
|
] = None,
|
|
1265
1334
|
on_mouse_up: Optional[
|
|
1266
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1335
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1336
|
+
] = None,
|
|
1337
|
+
on_scroll: Optional[
|
|
1338
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1267
1339
|
] = None,
|
|
1268
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
1269
1340
|
on_unmount: Optional[
|
|
1270
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
1341
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
1271
1342
|
] = None,
|
|
1272
1343
|
**props,
|
|
1273
1344
|
) -> "Text":
|