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
|
|
|
@@ -25,148 +26,158 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
|
|
|
25
26
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
26
27
|
size: Optional[
|
|
27
28
|
Union[
|
|
28
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
29
|
-
Literal["1", "2", "3"],
|
|
30
29
|
Var[
|
|
31
30
|
Union[
|
|
32
31
|
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
33
32
|
]
|
|
34
33
|
],
|
|
34
|
+
Literal["1", "2", "3"],
|
|
35
|
+
Breakpoints[str, Literal["1", "2", "3"]],
|
|
35
36
|
]
|
|
36
37
|
] = None,
|
|
37
38
|
variant: Optional[
|
|
38
39
|
Union[
|
|
39
|
-
Literal["
|
|
40
|
-
|
|
40
|
+
Var[Literal["soft", "surface", "outline"]],
|
|
41
|
+
Literal["soft", "surface", "outline"],
|
|
41
42
|
]
|
|
42
43
|
] = None,
|
|
43
44
|
color_scheme: Optional[
|
|
44
45
|
Union[
|
|
45
|
-
Literal[
|
|
46
|
-
"amber",
|
|
47
|
-
"blue",
|
|
48
|
-
"bronze",
|
|
49
|
-
"brown",
|
|
50
|
-
"crimson",
|
|
51
|
-
"cyan",
|
|
52
|
-
"gold",
|
|
53
|
-
"grass",
|
|
54
|
-
"gray",
|
|
55
|
-
"green",
|
|
56
|
-
"indigo",
|
|
57
|
-
"iris",
|
|
58
|
-
"jade",
|
|
59
|
-
"lime",
|
|
60
|
-
"mint",
|
|
61
|
-
"orange",
|
|
62
|
-
"pink",
|
|
63
|
-
"plum",
|
|
64
|
-
"purple",
|
|
65
|
-
"red",
|
|
66
|
-
"ruby",
|
|
67
|
-
"sky",
|
|
68
|
-
"teal",
|
|
69
|
-
"tomato",
|
|
70
|
-
"violet",
|
|
71
|
-
"yellow",
|
|
72
|
-
],
|
|
73
46
|
Var[
|
|
74
47
|
Literal[
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"brown",
|
|
48
|
+
"tomato",
|
|
49
|
+
"red",
|
|
50
|
+
"ruby",
|
|
79
51
|
"crimson",
|
|
80
|
-
"cyan",
|
|
81
|
-
"gold",
|
|
82
|
-
"grass",
|
|
83
|
-
"gray",
|
|
84
|
-
"green",
|
|
85
|
-
"indigo",
|
|
86
|
-
"iris",
|
|
87
|
-
"jade",
|
|
88
|
-
"lime",
|
|
89
|
-
"mint",
|
|
90
|
-
"orange",
|
|
91
52
|
"pink",
|
|
92
53
|
"plum",
|
|
93
54
|
"purple",
|
|
94
|
-
"red",
|
|
95
|
-
"ruby",
|
|
96
|
-
"sky",
|
|
97
|
-
"teal",
|
|
98
|
-
"tomato",
|
|
99
55
|
"violet",
|
|
56
|
+
"iris",
|
|
57
|
+
"indigo",
|
|
58
|
+
"blue",
|
|
59
|
+
"cyan",
|
|
60
|
+
"teal",
|
|
61
|
+
"jade",
|
|
62
|
+
"green",
|
|
63
|
+
"grass",
|
|
64
|
+
"brown",
|
|
65
|
+
"orange",
|
|
66
|
+
"sky",
|
|
67
|
+
"mint",
|
|
68
|
+
"lime",
|
|
100
69
|
"yellow",
|
|
70
|
+
"amber",
|
|
71
|
+
"gold",
|
|
72
|
+
"bronze",
|
|
73
|
+
"gray",
|
|
101
74
|
]
|
|
102
75
|
],
|
|
76
|
+
Literal[
|
|
77
|
+
"tomato",
|
|
78
|
+
"red",
|
|
79
|
+
"ruby",
|
|
80
|
+
"crimson",
|
|
81
|
+
"pink",
|
|
82
|
+
"plum",
|
|
83
|
+
"purple",
|
|
84
|
+
"violet",
|
|
85
|
+
"iris",
|
|
86
|
+
"indigo",
|
|
87
|
+
"blue",
|
|
88
|
+
"cyan",
|
|
89
|
+
"teal",
|
|
90
|
+
"jade",
|
|
91
|
+
"green",
|
|
92
|
+
"grass",
|
|
93
|
+
"brown",
|
|
94
|
+
"orange",
|
|
95
|
+
"sky",
|
|
96
|
+
"mint",
|
|
97
|
+
"lime",
|
|
98
|
+
"yellow",
|
|
99
|
+
"amber",
|
|
100
|
+
"gold",
|
|
101
|
+
"bronze",
|
|
102
|
+
"gray",
|
|
103
|
+
],
|
|
103
104
|
]
|
|
104
105
|
] = None,
|
|
105
106
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
106
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
107
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
107
108
|
auto_capitalize: Optional[
|
|
108
|
-
Union[Var[Union[bool, int, str]],
|
|
109
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
109
110
|
] = None,
|
|
110
111
|
content_editable: Optional[
|
|
111
|
-
Union[Var[Union[bool, int, str]],
|
|
112
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
112
113
|
] = None,
|
|
113
114
|
context_menu: Optional[
|
|
114
|
-
Union[Var[Union[bool, int, str]],
|
|
115
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
115
116
|
] = None,
|
|
116
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
117
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
117
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
118
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
118
119
|
enter_key_hint: Optional[
|
|
119
|
-
Union[Var[Union[bool, int, str]],
|
|
120
|
-
] = None,
|
|
121
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
122
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
123
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
124
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
125
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
126
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
127
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
128
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
129
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
120
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
121
|
+
] = None,
|
|
122
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
123
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
124
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
125
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
126
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
127
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
128
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
129
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
130
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
130
131
|
style: Optional[Style] = None,
|
|
131
132
|
key: Optional[Any] = None,
|
|
132
133
|
id: Optional[Any] = None,
|
|
133
134
|
class_name: Optional[Any] = None,
|
|
134
135
|
autofocus: Optional[bool] = None,
|
|
135
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
136
|
-
on_blur: Optional[
|
|
137
|
-
|
|
136
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
137
|
+
on_blur: Optional[
|
|
138
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
139
|
+
] = None,
|
|
140
|
+
on_click: Optional[
|
|
141
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
142
|
+
] = None,
|
|
138
143
|
on_context_menu: Optional[
|
|
139
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
144
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
140
145
|
] = None,
|
|
141
146
|
on_double_click: Optional[
|
|
142
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
147
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
148
|
+
] = None,
|
|
149
|
+
on_focus: Optional[
|
|
150
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
151
|
+
] = None,
|
|
152
|
+
on_mount: Optional[
|
|
153
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
143
154
|
] = None,
|
|
144
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
145
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
146
155
|
on_mouse_down: Optional[
|
|
147
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
156
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
148
157
|
] = None,
|
|
149
158
|
on_mouse_enter: Optional[
|
|
150
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
159
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
151
160
|
] = None,
|
|
152
161
|
on_mouse_leave: Optional[
|
|
153
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
162
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
154
163
|
] = None,
|
|
155
164
|
on_mouse_move: Optional[
|
|
156
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
165
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
157
166
|
] = None,
|
|
158
167
|
on_mouse_out: Optional[
|
|
159
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
168
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
160
169
|
] = None,
|
|
161
170
|
on_mouse_over: Optional[
|
|
162
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
171
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
163
172
|
] = None,
|
|
164
173
|
on_mouse_up: Optional[
|
|
165
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
174
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
175
|
+
] = None,
|
|
176
|
+
on_scroll: Optional[
|
|
177
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
166
178
|
] = None,
|
|
167
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
168
179
|
on_unmount: Optional[
|
|
169
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
180
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
170
181
|
] = None,
|
|
171
182
|
**props,
|
|
172
183
|
) -> "CalloutRoot":
|
|
@@ -217,70 +228,80 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
|
|
|
217
228
|
def create( # type: ignore
|
|
218
229
|
cls,
|
|
219
230
|
*children,
|
|
220
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
231
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
221
232
|
auto_capitalize: Optional[
|
|
222
|
-
Union[Var[Union[bool, int, str]],
|
|
233
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
223
234
|
] = None,
|
|
224
235
|
content_editable: Optional[
|
|
225
|
-
Union[Var[Union[bool, int, str]],
|
|
236
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
226
237
|
] = None,
|
|
227
238
|
context_menu: Optional[
|
|
228
|
-
Union[Var[Union[bool, int, str]],
|
|
239
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
229
240
|
] = None,
|
|
230
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
231
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
241
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
242
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
232
243
|
enter_key_hint: Optional[
|
|
233
|
-
Union[Var[Union[bool, int, str]],
|
|
234
|
-
] = None,
|
|
235
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
236
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
237
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
238
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
239
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
240
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
241
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
242
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
243
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
244
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
245
|
+
] = None,
|
|
246
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
247
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
248
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
249
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
250
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
251
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
252
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
253
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
254
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
244
255
|
style: Optional[Style] = None,
|
|
245
256
|
key: Optional[Any] = None,
|
|
246
257
|
id: Optional[Any] = None,
|
|
247
258
|
class_name: Optional[Any] = None,
|
|
248
259
|
autofocus: Optional[bool] = None,
|
|
249
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
250
|
-
on_blur: Optional[
|
|
251
|
-
|
|
260
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
261
|
+
on_blur: Optional[
|
|
262
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
263
|
+
] = None,
|
|
264
|
+
on_click: Optional[
|
|
265
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
266
|
+
] = None,
|
|
252
267
|
on_context_menu: Optional[
|
|
253
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
268
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
254
269
|
] = None,
|
|
255
270
|
on_double_click: Optional[
|
|
256
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
271
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
272
|
+
] = None,
|
|
273
|
+
on_focus: Optional[
|
|
274
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
275
|
+
] = None,
|
|
276
|
+
on_mount: Optional[
|
|
277
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
257
278
|
] = None,
|
|
258
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
259
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
260
279
|
on_mouse_down: Optional[
|
|
261
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
280
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
262
281
|
] = None,
|
|
263
282
|
on_mouse_enter: Optional[
|
|
264
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
283
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
265
284
|
] = None,
|
|
266
285
|
on_mouse_leave: Optional[
|
|
267
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
286
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
268
287
|
] = None,
|
|
269
288
|
on_mouse_move: Optional[
|
|
270
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
289
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
271
290
|
] = None,
|
|
272
291
|
on_mouse_out: Optional[
|
|
273
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
292
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
274
293
|
] = None,
|
|
275
294
|
on_mouse_over: Optional[
|
|
276
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
295
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
277
296
|
] = None,
|
|
278
297
|
on_mouse_up: Optional[
|
|
279
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
298
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
299
|
+
] = None,
|
|
300
|
+
on_scroll: Optional[
|
|
301
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
280
302
|
] = None,
|
|
281
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
282
303
|
on_unmount: Optional[
|
|
283
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
304
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
284
305
|
] = None,
|
|
285
306
|
**props,
|
|
286
307
|
) -> "CalloutIcon":
|
|
@@ -326,70 +347,80 @@ class CalloutText(elements.P, RadixThemesComponent):
|
|
|
326
347
|
def create( # type: ignore
|
|
327
348
|
cls,
|
|
328
349
|
*children,
|
|
329
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
350
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
330
351
|
auto_capitalize: Optional[
|
|
331
|
-
Union[Var[Union[bool, int, str]],
|
|
352
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
332
353
|
] = None,
|
|
333
354
|
content_editable: Optional[
|
|
334
|
-
Union[Var[Union[bool, int, str]],
|
|
355
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
335
356
|
] = None,
|
|
336
357
|
context_menu: Optional[
|
|
337
|
-
Union[Var[Union[bool, int, str]],
|
|
358
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
338
359
|
] = None,
|
|
339
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
340
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
360
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
361
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
341
362
|
enter_key_hint: Optional[
|
|
342
|
-
Union[Var[Union[bool, int, str]],
|
|
343
|
-
] = None,
|
|
344
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
345
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
346
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
347
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
348
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
349
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
350
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
351
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
352
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
363
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
364
|
+
] = None,
|
|
365
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
366
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
367
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
368
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
369
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
370
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
371
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
372
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
373
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
353
374
|
style: Optional[Style] = None,
|
|
354
375
|
key: Optional[Any] = None,
|
|
355
376
|
id: Optional[Any] = None,
|
|
356
377
|
class_name: Optional[Any] = None,
|
|
357
378
|
autofocus: Optional[bool] = None,
|
|
358
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
359
|
-
on_blur: Optional[
|
|
360
|
-
|
|
379
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
380
|
+
on_blur: Optional[
|
|
381
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
382
|
+
] = None,
|
|
383
|
+
on_click: Optional[
|
|
384
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
385
|
+
] = None,
|
|
361
386
|
on_context_menu: Optional[
|
|
362
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
387
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
363
388
|
] = None,
|
|
364
389
|
on_double_click: Optional[
|
|
365
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
390
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
391
|
+
] = None,
|
|
392
|
+
on_focus: Optional[
|
|
393
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
394
|
+
] = None,
|
|
395
|
+
on_mount: Optional[
|
|
396
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
366
397
|
] = None,
|
|
367
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
368
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
369
398
|
on_mouse_down: Optional[
|
|
370
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
399
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
371
400
|
] = None,
|
|
372
401
|
on_mouse_enter: Optional[
|
|
373
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
402
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
374
403
|
] = None,
|
|
375
404
|
on_mouse_leave: Optional[
|
|
376
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
405
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
377
406
|
] = None,
|
|
378
407
|
on_mouse_move: Optional[
|
|
379
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
408
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
380
409
|
] = None,
|
|
381
410
|
on_mouse_out: Optional[
|
|
382
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
411
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
383
412
|
] = None,
|
|
384
413
|
on_mouse_over: Optional[
|
|
385
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
414
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
386
415
|
] = None,
|
|
387
416
|
on_mouse_up: Optional[
|
|
388
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
417
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
418
|
+
] = None,
|
|
419
|
+
on_scroll: Optional[
|
|
420
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
389
421
|
] = None,
|
|
390
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
391
422
|
on_unmount: Optional[
|
|
392
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
423
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
393
424
|
] = None,
|
|
394
425
|
**props,
|
|
395
426
|
) -> "CalloutText":
|
|
@@ -440,148 +471,158 @@ class Callout(CalloutRoot):
|
|
|
440
471
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
441
472
|
size: Optional[
|
|
442
473
|
Union[
|
|
443
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
444
|
-
Literal["1", "2", "3"],
|
|
445
474
|
Var[
|
|
446
475
|
Union[
|
|
447
476
|
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
448
477
|
]
|
|
449
478
|
],
|
|
479
|
+
Literal["1", "2", "3"],
|
|
480
|
+
Breakpoints[str, Literal["1", "2", "3"]],
|
|
450
481
|
]
|
|
451
482
|
] = None,
|
|
452
483
|
variant: Optional[
|
|
453
484
|
Union[
|
|
454
|
-
Literal["
|
|
455
|
-
|
|
485
|
+
Var[Literal["soft", "surface", "outline"]],
|
|
486
|
+
Literal["soft", "surface", "outline"],
|
|
456
487
|
]
|
|
457
488
|
] = None,
|
|
458
489
|
color_scheme: Optional[
|
|
459
490
|
Union[
|
|
460
|
-
Literal[
|
|
461
|
-
"amber",
|
|
462
|
-
"blue",
|
|
463
|
-
"bronze",
|
|
464
|
-
"brown",
|
|
465
|
-
"crimson",
|
|
466
|
-
"cyan",
|
|
467
|
-
"gold",
|
|
468
|
-
"grass",
|
|
469
|
-
"gray",
|
|
470
|
-
"green",
|
|
471
|
-
"indigo",
|
|
472
|
-
"iris",
|
|
473
|
-
"jade",
|
|
474
|
-
"lime",
|
|
475
|
-
"mint",
|
|
476
|
-
"orange",
|
|
477
|
-
"pink",
|
|
478
|
-
"plum",
|
|
479
|
-
"purple",
|
|
480
|
-
"red",
|
|
481
|
-
"ruby",
|
|
482
|
-
"sky",
|
|
483
|
-
"teal",
|
|
484
|
-
"tomato",
|
|
485
|
-
"violet",
|
|
486
|
-
"yellow",
|
|
487
|
-
],
|
|
488
491
|
Var[
|
|
489
492
|
Literal[
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"brown",
|
|
493
|
+
"tomato",
|
|
494
|
+
"red",
|
|
495
|
+
"ruby",
|
|
494
496
|
"crimson",
|
|
495
|
-
"cyan",
|
|
496
|
-
"gold",
|
|
497
|
-
"grass",
|
|
498
|
-
"gray",
|
|
499
|
-
"green",
|
|
500
|
-
"indigo",
|
|
501
|
-
"iris",
|
|
502
|
-
"jade",
|
|
503
|
-
"lime",
|
|
504
|
-
"mint",
|
|
505
|
-
"orange",
|
|
506
497
|
"pink",
|
|
507
498
|
"plum",
|
|
508
499
|
"purple",
|
|
509
|
-
"red",
|
|
510
|
-
"ruby",
|
|
511
|
-
"sky",
|
|
512
|
-
"teal",
|
|
513
|
-
"tomato",
|
|
514
500
|
"violet",
|
|
501
|
+
"iris",
|
|
502
|
+
"indigo",
|
|
503
|
+
"blue",
|
|
504
|
+
"cyan",
|
|
505
|
+
"teal",
|
|
506
|
+
"jade",
|
|
507
|
+
"green",
|
|
508
|
+
"grass",
|
|
509
|
+
"brown",
|
|
510
|
+
"orange",
|
|
511
|
+
"sky",
|
|
512
|
+
"mint",
|
|
513
|
+
"lime",
|
|
515
514
|
"yellow",
|
|
515
|
+
"amber",
|
|
516
|
+
"gold",
|
|
517
|
+
"bronze",
|
|
518
|
+
"gray",
|
|
516
519
|
]
|
|
517
520
|
],
|
|
521
|
+
Literal[
|
|
522
|
+
"tomato",
|
|
523
|
+
"red",
|
|
524
|
+
"ruby",
|
|
525
|
+
"crimson",
|
|
526
|
+
"pink",
|
|
527
|
+
"plum",
|
|
528
|
+
"purple",
|
|
529
|
+
"violet",
|
|
530
|
+
"iris",
|
|
531
|
+
"indigo",
|
|
532
|
+
"blue",
|
|
533
|
+
"cyan",
|
|
534
|
+
"teal",
|
|
535
|
+
"jade",
|
|
536
|
+
"green",
|
|
537
|
+
"grass",
|
|
538
|
+
"brown",
|
|
539
|
+
"orange",
|
|
540
|
+
"sky",
|
|
541
|
+
"mint",
|
|
542
|
+
"lime",
|
|
543
|
+
"yellow",
|
|
544
|
+
"amber",
|
|
545
|
+
"gold",
|
|
546
|
+
"bronze",
|
|
547
|
+
"gray",
|
|
548
|
+
],
|
|
518
549
|
]
|
|
519
550
|
] = None,
|
|
520
551
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
521
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
552
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
522
553
|
auto_capitalize: Optional[
|
|
523
|
-
Union[Var[Union[bool, int, str]],
|
|
554
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
524
555
|
] = None,
|
|
525
556
|
content_editable: Optional[
|
|
526
|
-
Union[Var[Union[bool, int, str]],
|
|
557
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
527
558
|
] = None,
|
|
528
559
|
context_menu: Optional[
|
|
529
|
-
Union[Var[Union[bool, int, str]],
|
|
560
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
530
561
|
] = None,
|
|
531
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
532
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
562
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
563
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
533
564
|
enter_key_hint: Optional[
|
|
534
|
-
Union[Var[Union[bool, int, str]],
|
|
535
|
-
] = None,
|
|
536
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
537
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
538
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
539
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
540
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
541
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
542
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
543
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
544
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
565
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
566
|
+
] = None,
|
|
567
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
568
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
569
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
570
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
571
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
572
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
573
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
574
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
575
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
545
576
|
style: Optional[Style] = None,
|
|
546
577
|
key: Optional[Any] = None,
|
|
547
578
|
id: Optional[Any] = None,
|
|
548
579
|
class_name: Optional[Any] = None,
|
|
549
580
|
autofocus: Optional[bool] = None,
|
|
550
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
551
|
-
on_blur: Optional[
|
|
552
|
-
|
|
581
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
582
|
+
on_blur: Optional[
|
|
583
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
584
|
+
] = None,
|
|
585
|
+
on_click: Optional[
|
|
586
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
587
|
+
] = None,
|
|
553
588
|
on_context_menu: Optional[
|
|
554
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
589
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
555
590
|
] = None,
|
|
556
591
|
on_double_click: Optional[
|
|
557
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
592
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
593
|
+
] = None,
|
|
594
|
+
on_focus: Optional[
|
|
595
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
596
|
+
] = None,
|
|
597
|
+
on_mount: Optional[
|
|
598
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
558
599
|
] = None,
|
|
559
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
560
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
561
600
|
on_mouse_down: Optional[
|
|
562
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
601
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
563
602
|
] = None,
|
|
564
603
|
on_mouse_enter: Optional[
|
|
565
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
604
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
566
605
|
] = None,
|
|
567
606
|
on_mouse_leave: Optional[
|
|
568
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
607
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
569
608
|
] = None,
|
|
570
609
|
on_mouse_move: Optional[
|
|
571
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
610
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
572
611
|
] = None,
|
|
573
612
|
on_mouse_out: Optional[
|
|
574
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
613
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
575
614
|
] = None,
|
|
576
615
|
on_mouse_over: Optional[
|
|
577
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
616
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
578
617
|
] = None,
|
|
579
618
|
on_mouse_up: Optional[
|
|
580
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
619
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
620
|
+
] = None,
|
|
621
|
+
on_scroll: Optional[
|
|
622
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
581
623
|
] = None,
|
|
582
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
583
624
|
on_unmount: Optional[
|
|
584
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
625
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
585
626
|
] = None,
|
|
586
627
|
**props,
|
|
587
628
|
) -> "Callout":
|
|
@@ -638,148 +679,158 @@ class CalloutNamespace(ComponentNamespace):
|
|
|
638
679
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
639
680
|
size: Optional[
|
|
640
681
|
Union[
|
|
641
|
-
Breakpoints[str, Literal["1", "2", "3"]],
|
|
642
|
-
Literal["1", "2", "3"],
|
|
643
682
|
Var[
|
|
644
683
|
Union[
|
|
645
684
|
Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
|
|
646
685
|
]
|
|
647
686
|
],
|
|
687
|
+
Literal["1", "2", "3"],
|
|
688
|
+
Breakpoints[str, Literal["1", "2", "3"]],
|
|
648
689
|
]
|
|
649
690
|
] = None,
|
|
650
691
|
variant: Optional[
|
|
651
692
|
Union[
|
|
652
|
-
Literal["
|
|
653
|
-
|
|
693
|
+
Var[Literal["soft", "surface", "outline"]],
|
|
694
|
+
Literal["soft", "surface", "outline"],
|
|
654
695
|
]
|
|
655
696
|
] = None,
|
|
656
697
|
color_scheme: Optional[
|
|
657
698
|
Union[
|
|
658
|
-
Literal[
|
|
659
|
-
"amber",
|
|
660
|
-
"blue",
|
|
661
|
-
"bronze",
|
|
662
|
-
"brown",
|
|
663
|
-
"crimson",
|
|
664
|
-
"cyan",
|
|
665
|
-
"gold",
|
|
666
|
-
"grass",
|
|
667
|
-
"gray",
|
|
668
|
-
"green",
|
|
669
|
-
"indigo",
|
|
670
|
-
"iris",
|
|
671
|
-
"jade",
|
|
672
|
-
"lime",
|
|
673
|
-
"mint",
|
|
674
|
-
"orange",
|
|
675
|
-
"pink",
|
|
676
|
-
"plum",
|
|
677
|
-
"purple",
|
|
678
|
-
"red",
|
|
679
|
-
"ruby",
|
|
680
|
-
"sky",
|
|
681
|
-
"teal",
|
|
682
|
-
"tomato",
|
|
683
|
-
"violet",
|
|
684
|
-
"yellow",
|
|
685
|
-
],
|
|
686
699
|
Var[
|
|
687
700
|
Literal[
|
|
688
|
-
"
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"brown",
|
|
701
|
+
"tomato",
|
|
702
|
+
"red",
|
|
703
|
+
"ruby",
|
|
692
704
|
"crimson",
|
|
693
|
-
"cyan",
|
|
694
|
-
"gold",
|
|
695
|
-
"grass",
|
|
696
|
-
"gray",
|
|
697
|
-
"green",
|
|
698
|
-
"indigo",
|
|
699
|
-
"iris",
|
|
700
|
-
"jade",
|
|
701
|
-
"lime",
|
|
702
|
-
"mint",
|
|
703
|
-
"orange",
|
|
704
705
|
"pink",
|
|
705
706
|
"plum",
|
|
706
707
|
"purple",
|
|
707
|
-
"red",
|
|
708
|
-
"ruby",
|
|
709
|
-
"sky",
|
|
710
|
-
"teal",
|
|
711
|
-
"tomato",
|
|
712
708
|
"violet",
|
|
709
|
+
"iris",
|
|
710
|
+
"indigo",
|
|
711
|
+
"blue",
|
|
712
|
+
"cyan",
|
|
713
|
+
"teal",
|
|
714
|
+
"jade",
|
|
715
|
+
"green",
|
|
716
|
+
"grass",
|
|
717
|
+
"brown",
|
|
718
|
+
"orange",
|
|
719
|
+
"sky",
|
|
720
|
+
"mint",
|
|
721
|
+
"lime",
|
|
713
722
|
"yellow",
|
|
723
|
+
"amber",
|
|
724
|
+
"gold",
|
|
725
|
+
"bronze",
|
|
726
|
+
"gray",
|
|
714
727
|
]
|
|
715
728
|
],
|
|
729
|
+
Literal[
|
|
730
|
+
"tomato",
|
|
731
|
+
"red",
|
|
732
|
+
"ruby",
|
|
733
|
+
"crimson",
|
|
734
|
+
"pink",
|
|
735
|
+
"plum",
|
|
736
|
+
"purple",
|
|
737
|
+
"violet",
|
|
738
|
+
"iris",
|
|
739
|
+
"indigo",
|
|
740
|
+
"blue",
|
|
741
|
+
"cyan",
|
|
742
|
+
"teal",
|
|
743
|
+
"jade",
|
|
744
|
+
"green",
|
|
745
|
+
"grass",
|
|
746
|
+
"brown",
|
|
747
|
+
"orange",
|
|
748
|
+
"sky",
|
|
749
|
+
"mint",
|
|
750
|
+
"lime",
|
|
751
|
+
"yellow",
|
|
752
|
+
"amber",
|
|
753
|
+
"gold",
|
|
754
|
+
"bronze",
|
|
755
|
+
"gray",
|
|
756
|
+
],
|
|
716
757
|
]
|
|
717
758
|
] = None,
|
|
718
759
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
719
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
760
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
720
761
|
auto_capitalize: Optional[
|
|
721
|
-
Union[Var[Union[bool, int, str]],
|
|
762
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
722
763
|
] = None,
|
|
723
764
|
content_editable: Optional[
|
|
724
|
-
Union[Var[Union[bool, int, str]],
|
|
765
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
725
766
|
] = None,
|
|
726
767
|
context_menu: Optional[
|
|
727
|
-
Union[Var[Union[bool, int, str]],
|
|
768
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
728
769
|
] = None,
|
|
729
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
730
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
770
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
771
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
731
772
|
enter_key_hint: Optional[
|
|
732
|
-
Union[Var[Union[bool, int, str]],
|
|
733
|
-
] = None,
|
|
734
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
735
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
736
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
737
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
738
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
739
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
740
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
741
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
742
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
773
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
774
|
+
] = None,
|
|
775
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
776
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
777
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
778
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
779
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
780
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
781
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
782
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
783
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
743
784
|
style: Optional[Style] = None,
|
|
744
785
|
key: Optional[Any] = None,
|
|
745
786
|
id: Optional[Any] = None,
|
|
746
787
|
class_name: Optional[Any] = None,
|
|
747
788
|
autofocus: Optional[bool] = None,
|
|
748
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
749
|
-
on_blur: Optional[
|
|
750
|
-
|
|
789
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
790
|
+
on_blur: Optional[
|
|
791
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
792
|
+
] = None,
|
|
793
|
+
on_click: Optional[
|
|
794
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
795
|
+
] = None,
|
|
751
796
|
on_context_menu: Optional[
|
|
752
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
797
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
753
798
|
] = None,
|
|
754
799
|
on_double_click: Optional[
|
|
755
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
800
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
801
|
+
] = None,
|
|
802
|
+
on_focus: Optional[
|
|
803
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
804
|
+
] = None,
|
|
805
|
+
on_mount: Optional[
|
|
806
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
756
807
|
] = None,
|
|
757
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
758
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
759
808
|
on_mouse_down: Optional[
|
|
760
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
809
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
761
810
|
] = None,
|
|
762
811
|
on_mouse_enter: Optional[
|
|
763
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
812
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
764
813
|
] = None,
|
|
765
814
|
on_mouse_leave: Optional[
|
|
766
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
815
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
767
816
|
] = None,
|
|
768
817
|
on_mouse_move: Optional[
|
|
769
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
818
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
770
819
|
] = None,
|
|
771
820
|
on_mouse_out: Optional[
|
|
772
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
821
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
773
822
|
] = None,
|
|
774
823
|
on_mouse_over: Optional[
|
|
775
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
824
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
776
825
|
] = None,
|
|
777
826
|
on_mouse_up: Optional[
|
|
778
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
827
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
828
|
+
] = None,
|
|
829
|
+
on_scroll: Optional[
|
|
830
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
779
831
|
] = None,
|
|
780
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
781
832
|
on_unmount: Optional[
|
|
782
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
833
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
783
834
|
] = None,
|
|
784
835
|
**props,
|
|
785
836
|
) -> "Callout":
|