reflex 0.6.0a1__py3-none-any.whl → 0.6.0a3__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.

Files changed (252) hide show
  1. reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +2 -2
  2. reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
  3. reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
  4. reflex/__init__.py +8 -2
  5. reflex/__init__.pyi +2 -1
  6. reflex/app.py +10 -4
  7. reflex/base.py +1 -1
  8. reflex/compiler/compiler.py +2 -2
  9. reflex/compiler/utils.py +3 -3
  10. reflex/components/base/app_wrap.py +2 -2
  11. reflex/components/base/app_wrap.pyi +17 -27
  12. reflex/components/base/bare.py +4 -5
  13. reflex/components/base/body.pyi +17 -27
  14. reflex/components/base/document.pyi +81 -131
  15. reflex/components/base/error_boundary.py +6 -7
  16. reflex/components/base/error_boundary.pyi +20 -33
  17. reflex/components/base/fragment.pyi +17 -27
  18. reflex/components/base/head.pyi +33 -53
  19. reflex/components/base/link.py +1 -1
  20. reflex/components/base/link.pyi +33 -54
  21. reflex/components/base/meta.pyi +65 -105
  22. reflex/components/base/script.py +1 -2
  23. reflex/components/base/script.pyi +21 -38
  24. reflex/components/component.py +45 -47
  25. reflex/components/core/banner.py +23 -27
  26. reflex/components/core/banner.pyi +134 -171
  27. reflex/components/core/breakpoints.py +3 -1
  28. reflex/components/core/client_side_routing.py +2 -3
  29. reflex/components/core/client_side_routing.pyi +33 -54
  30. reflex/components/core/clipboard.py +2 -1
  31. reflex/components/core/clipboard.pyi +20 -33
  32. reflex/components/core/cond.py +5 -5
  33. reflex/components/core/debounce.py +5 -5
  34. reflex/components/core/debounce.pyi +20 -33
  35. reflex/components/core/foreach.py +3 -4
  36. reflex/components/core/html.py +1 -1
  37. reflex/components/core/html.pyi +35 -46
  38. reflex/components/core/match.py +17 -17
  39. reflex/components/core/upload.py +17 -23
  40. reflex/components/core/upload.pyi +78 -124
  41. reflex/components/datadisplay/code.py +9 -10
  42. reflex/components/datadisplay/code.pyi +302 -412
  43. reflex/components/datadisplay/dataeditor.py +8 -10
  44. reflex/components/datadisplay/dataeditor.pyi +40 -53
  45. reflex/components/el/element.pyi +17 -27
  46. reflex/components/el/elements/base.py +1 -1
  47. reflex/components/el/elements/base.pyi +34 -45
  48. reflex/components/el/elements/forms.py +16 -16
  49. reflex/components/el/elements/forms.pyi +554 -707
  50. reflex/components/el/elements/inline.py +1 -1
  51. reflex/components/el/elements/inline.pyi +937 -1218
  52. reflex/components/el/elements/media.py +1 -1
  53. reflex/components/el/elements/media.pyi +786 -997
  54. reflex/components/el/elements/metadata.py +3 -6
  55. reflex/components/el/elements/metadata.pyi +181 -242
  56. reflex/components/el/elements/other.py +1 -1
  57. reflex/components/el/elements/other.pyi +235 -306
  58. reflex/components/el/elements/scripts.py +1 -1
  59. reflex/components/el/elements/scripts.pyi +109 -140
  60. reflex/components/el/elements/sectioning.py +0 -2
  61. reflex/components/el/elements/sectioning.pyi +496 -647
  62. reflex/components/el/elements/tables.py +1 -1
  63. reflex/components/el/elements/tables.pyi +351 -452
  64. reflex/components/el/elements/typography.py +1 -1
  65. reflex/components/el/elements/typography.pyi +506 -657
  66. reflex/components/gridjs/datatable.py +6 -9
  67. reflex/components/gridjs/datatable.pyi +35 -56
  68. reflex/components/lucide/icon.py +1 -1
  69. reflex/components/lucide/icon.pyi +33 -54
  70. reflex/components/markdown/markdown.py +26 -31
  71. reflex/components/markdown/markdown.pyi +27 -37
  72. reflex/components/moment/moment.py +13 -12
  73. reflex/components/moment/moment.pyi +23 -35
  74. reflex/components/next/base.pyi +17 -27
  75. reflex/components/next/image.py +1 -1
  76. reflex/components/next/image.pyi +22 -37
  77. reflex/components/next/link.py +1 -1
  78. reflex/components/next/link.pyi +17 -28
  79. reflex/components/next/video.py +1 -1
  80. reflex/components/next/video.pyi +17 -28
  81. reflex/components/plotly/plotly.py +12 -13
  82. reflex/components/plotly/plotly.pyi +39 -54
  83. reflex/components/props.py +1 -1
  84. reflex/components/radix/__init__.pyi +1 -0
  85. reflex/components/radix/primitives/__init__.pyi +1 -0
  86. reflex/components/radix/primitives/accordion.py +4 -4
  87. reflex/components/radix/primitives/accordion.pyi +424 -495
  88. reflex/components/radix/primitives/base.py +1 -1
  89. reflex/components/radix/primitives/base.pyi +33 -54
  90. reflex/components/radix/primitives/drawer.py +1 -1
  91. reflex/components/radix/primitives/drawer.pyi +172 -273
  92. reflex/components/radix/primitives/form.py +1 -1
  93. reflex/components/radix/primitives/form.pyi +257 -364
  94. reflex/components/radix/primitives/progress.py +1 -1
  95. reflex/components/radix/primitives/progress.pyi +231 -282
  96. reflex/components/radix/primitives/slider.py +1 -1
  97. reflex/components/radix/primitives/slider.pyi +87 -138
  98. reflex/components/radix/themes/base.py +3 -24
  99. reflex/components/radix/themes/base.pyi +178 -250
  100. reflex/components/radix/themes/color_mode.py +5 -5
  101. reflex/components/radix/themes/color_mode.pyi +187 -220
  102. reflex/components/radix/themes/components/alert_dialog.py +1 -1
  103. reflex/components/radix/themes/components/alert_dialog.pyi +136 -207
  104. reflex/components/radix/themes/components/aspect_ratio.py +1 -1
  105. reflex/components/radix/themes/components/aspect_ratio.pyi +17 -28
  106. reflex/components/radix/themes/components/avatar.py +1 -1
  107. reflex/components/radix/themes/components/avatar.pyi +70 -81
  108. reflex/components/radix/themes/components/badge.py +1 -1
  109. reflex/components/radix/themes/components/badge.pyi +88 -99
  110. reflex/components/radix/themes/components/button.py +1 -1
  111. reflex/components/radix/themes/components/button.pyi +98 -109
  112. reflex/components/radix/themes/components/callout.py +1 -1
  113. reflex/components/radix/themes/components/callout.pyi +322 -373
  114. reflex/components/radix/themes/components/card.py +1 -1
  115. reflex/components/radix/themes/components/card.pyi +38 -49
  116. reflex/components/radix/themes/components/checkbox.py +1 -2
  117. reflex/components/radix/themes/components/checkbox.pyi +208 -245
  118. reflex/components/radix/themes/components/checkbox_cards.py +1 -1
  119. reflex/components/radix/themes/components/checkbox_cards.pyi +94 -115
  120. reflex/components/radix/themes/components/checkbox_group.py +1 -1
  121. reflex/components/radix/themes/components/checkbox_group.pyi +86 -107
  122. reflex/components/radix/themes/components/context_menu.py +1 -1
  123. reflex/components/radix/themes/components/context_menu.pyi +238 -319
  124. reflex/components/radix/themes/components/data_list.py +1 -1
  125. reflex/components/radix/themes/components/data_list.pyi +130 -171
  126. reflex/components/radix/themes/components/dialog.py +1 -1
  127. reflex/components/radix/themes/components/dialog.pyi +139 -210
  128. reflex/components/radix/themes/components/dropdown_menu.py +1 -1
  129. reflex/components/radix/themes/components/dropdown_menu.pyi +249 -332
  130. reflex/components/radix/themes/components/hover_card.py +1 -1
  131. reflex/components/radix/themes/components/hover_card.pyi +90 -131
  132. reflex/components/radix/themes/components/icon_button.py +2 -3
  133. reflex/components/radix/themes/components/icon_button.pyi +98 -109
  134. reflex/components/radix/themes/components/inset.py +1 -1
  135. reflex/components/radix/themes/components/inset.pyi +47 -58
  136. reflex/components/radix/themes/components/popover.py +1 -1
  137. reflex/components/radix/themes/components/popover.pyi +95 -136
  138. reflex/components/radix/themes/components/progress.py +1 -1
  139. reflex/components/radix/themes/components/progress.pyi +71 -82
  140. reflex/components/radix/themes/components/radio.py +1 -1
  141. reflex/components/radix/themes/components/radio.pyi +69 -80
  142. reflex/components/radix/themes/components/radio_cards.py +1 -1
  143. reflex/components/radix/themes/components/radio_cards.pyi +98 -119
  144. reflex/components/radix/themes/components/radio_group.py +8 -11
  145. reflex/components/radix/themes/components/radio_group.pyi +228 -271
  146. reflex/components/radix/themes/components/scroll_area.py +1 -1
  147. reflex/components/radix/themes/components/scroll_area.pyi +21 -32
  148. reflex/components/radix/themes/components/segmented_control.py +1 -1
  149. reflex/components/radix/themes/components/segmented_control.pyi +90 -113
  150. reflex/components/radix/themes/components/select.py +2 -3
  151. reflex/components/radix/themes/components/select.pyi +374 -471
  152. reflex/components/radix/themes/components/separator.py +1 -2
  153. reflex/components/radix/themes/components/separator.pyi +69 -80
  154. reflex/components/radix/themes/components/skeleton.py +1 -1
  155. reflex/components/radix/themes/components/skeleton.pyi +23 -34
  156. reflex/components/radix/themes/components/slider.py +2 -3
  157. reflex/components/radix/themes/components/slider.pyi +75 -88
  158. reflex/components/radix/themes/components/spinner.py +1 -1
  159. reflex/components/radix/themes/components/spinner.pyi +19 -30
  160. reflex/components/radix/themes/components/switch.py +1 -1
  161. reflex/components/radix/themes/components/switch.pyi +71 -84
  162. reflex/components/radix/themes/components/table.py +1 -1
  163. reflex/components/radix/themes/components/table.pyi +261 -332
  164. reflex/components/radix/themes/components/tabs.py +1 -1
  165. reflex/components/radix/themes/components/tabs.pyi +139 -194
  166. reflex/components/radix/themes/components/text_area.py +1 -1
  167. reflex/components/radix/themes/components/text_area.pyi +96 -111
  168. reflex/components/radix/themes/components/text_field.py +1 -1
  169. reflex/components/radix/themes/components/text_field.pyi +247 -286
  170. reflex/components/radix/themes/components/tooltip.py +1 -1
  171. reflex/components/radix/themes/components/tooltip.pyi +26 -37
  172. reflex/components/radix/themes/layout/__init__.pyi +1 -0
  173. reflex/components/radix/themes/layout/base.py +1 -1
  174. reflex/components/radix/themes/layout/base.pyi +56 -67
  175. reflex/components/radix/themes/layout/box.pyi +34 -45
  176. reflex/components/radix/themes/layout/center.pyi +56 -67
  177. reflex/components/radix/themes/layout/container.py +1 -2
  178. reflex/components/radix/themes/layout/container.pyi +36 -47
  179. reflex/components/radix/themes/layout/flex.py +1 -1
  180. reflex/components/radix/themes/layout/flex.pyi +56 -67
  181. reflex/components/radix/themes/layout/grid.py +1 -1
  182. reflex/components/radix/themes/layout/grid.pyi +64 -75
  183. reflex/components/radix/themes/layout/list.py +5 -6
  184. reflex/components/radix/themes/layout/list.pyi +193 -244
  185. reflex/components/radix/themes/layout/section.py +1 -2
  186. reflex/components/radix/themes/layout/section.pyi +36 -47
  187. reflex/components/radix/themes/layout/spacer.pyi +56 -67
  188. reflex/components/radix/themes/layout/stack.py +1 -1
  189. reflex/components/radix/themes/layout/stack.pyi +128 -159
  190. reflex/components/radix/themes/typography/blockquote.py +1 -1
  191. reflex/components/radix/themes/typography/blockquote.pyi +89 -100
  192. reflex/components/radix/themes/typography/code.py +1 -1
  193. reflex/components/radix/themes/typography/code.pyi +90 -101
  194. reflex/components/radix/themes/typography/heading.py +1 -1
  195. reflex/components/radix/themes/typography/heading.pyi +96 -107
  196. reflex/components/radix/themes/typography/link.py +1 -1
  197. reflex/components/radix/themes/typography/link.pyi +102 -113
  198. reflex/components/radix/themes/typography/text.py +1 -1
  199. reflex/components/radix/themes/typography/text.pyi +501 -572
  200. reflex/components/react_player/audio.pyi +33 -60
  201. reflex/components/react_player/react_player.py +1 -1
  202. reflex/components/react_player/react_player.pyi +33 -60
  203. reflex/components/react_player/video.pyi +33 -60
  204. reflex/components/recharts/cartesian.py +2 -3
  205. reflex/components/recharts/cartesian.pyi +678 -861
  206. reflex/components/recharts/charts.py +4 -5
  207. reflex/components/recharts/charts.pyi +252 -357
  208. reflex/components/recharts/general.py +1 -2
  209. reflex/components/recharts/general.pyi +180 -231
  210. reflex/components/recharts/polar.py +4 -5
  211. reflex/components/recharts/polar.pyi +144 -181
  212. reflex/components/recharts/recharts.pyi +33 -53
  213. reflex/components/sonner/toast.py +16 -17
  214. reflex/components/sonner/toast.pyi +36 -47
  215. reflex/components/suneditor/editor.py +2 -3
  216. reflex/components/suneditor/editor.pyi +55 -78
  217. reflex/components/tags/cond_tag.py +6 -4
  218. reflex/components/tags/iter_tag.py +28 -16
  219. reflex/components/tags/match_tag.py +6 -4
  220. reflex/components/tags/tag.py +40 -23
  221. reflex/custom_components/custom_components.py +3 -1
  222. reflex/event.py +115 -67
  223. reflex/experimental/client_state.py +18 -18
  224. reflex/experimental/hooks.py +16 -16
  225. reflex/experimental/layout.py +5 -5
  226. reflex/experimental/layout.pyi +136 -187
  227. reflex/middleware/hydrate_middleware.py +2 -0
  228. reflex/middleware/middleware.py +3 -3
  229. reflex/state.py +149 -82
  230. reflex/style.py +21 -22
  231. reflex/utils/exceptions.py +20 -0
  232. reflex/utils/format.py +54 -34
  233. reflex/utils/imports.py +16 -73
  234. reflex/utils/prerequisites.py +15 -8
  235. reflex/utils/pyi_generator.py +13 -8
  236. reflex/utils/serializers.py +12 -22
  237. reflex/utils/telemetry.py +3 -2
  238. reflex/utils/types.py +11 -6
  239. reflex/{ivars → vars}/__init__.py +6 -2
  240. reflex/{ivars → vars}/base.py +599 -216
  241. reflex/{ivars → vars}/function.py +15 -19
  242. reflex/{ivars → vars}/number.py +41 -20
  243. reflex/{ivars → vars}/object.py +28 -30
  244. reflex/{ivars → vars}/sequence.py +53 -42
  245. {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/METADATA +4 -6
  246. reflex-0.6.0a3.dist-info/RECORD +382 -0
  247. reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +0 -36
  248. reflex/vars.py +0 -501
  249. reflex-0.6.0a1.dist-info/RECORD +0 -384
  250. {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/LICENSE +0 -0
  251. {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/WHEEL +0 -0
  252. {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/entry_points.txt +0 -0
@@ -9,9 +9,8 @@ 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
13
12
  from reflex.style import Style
14
- from reflex.vars import Var
13
+ from reflex.vars.base import Var
15
14
 
16
15
  from ..base import RadixThemesComponent
17
16
 
@@ -26,158 +25,148 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
26
25
  as_child: Optional[Union[Var[bool], bool]] = None,
27
26
  size: Optional[
28
27
  Union[
28
+ Breakpoints[str, Literal["1", "2", "3"]],
29
+ Literal["1", "2", "3"],
29
30
  Var[
30
31
  Union[
31
32
  Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
32
33
  ]
33
34
  ],
34
- Literal["1", "2", "3"],
35
- Breakpoints[str, Literal["1", "2", "3"]],
36
35
  ]
37
36
  ] = None,
38
37
  variant: Optional[
39
38
  Union[
40
- Var[Literal["soft", "surface", "outline"]],
41
- Literal["soft", "surface", "outline"],
39
+ Literal["outline", "soft", "surface"],
40
+ Var[Literal["outline", "soft", "surface"]],
42
41
  ]
43
42
  ] = None,
44
43
  color_scheme: Optional[
45
44
  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
+ ],
46
73
  Var[
47
74
  Literal[
48
- "tomato",
49
- "red",
50
- "ruby",
51
- "crimson",
52
- "pink",
53
- "plum",
54
- "purple",
55
- "violet",
56
- "iris",
57
- "indigo",
75
+ "amber",
58
76
  "blue",
77
+ "bronze",
78
+ "brown",
79
+ "crimson",
59
80
  "cyan",
60
- "teal",
61
- "jade",
62
- "green",
81
+ "gold",
63
82
  "grass",
64
- "brown",
83
+ "gray",
84
+ "green",
85
+ "indigo",
86
+ "iris",
87
+ "jade",
88
+ "lime",
89
+ "mint",
65
90
  "orange",
91
+ "pink",
92
+ "plum",
93
+ "purple",
94
+ "red",
95
+ "ruby",
66
96
  "sky",
67
- "mint",
68
- "lime",
97
+ "teal",
98
+ "tomato",
99
+ "violet",
69
100
  "yellow",
70
- "amber",
71
- "gold",
72
- "bronze",
73
- "gray",
74
101
  ]
75
102
  ],
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
- ],
104
103
  ]
105
104
  ] = None,
106
105
  high_contrast: Optional[Union[Var[bool], bool]] = None,
107
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
106
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
108
107
  auto_capitalize: Optional[
109
- Union[Var[Union[bool, int, str]], str, int, bool]
108
+ Union[Var[Union[bool, int, str]], bool, int, str]
110
109
  ] = None,
111
110
  content_editable: Optional[
112
- Union[Var[Union[bool, int, str]], str, int, bool]
111
+ Union[Var[Union[bool, int, str]], bool, int, str]
113
112
  ] = None,
114
113
  context_menu: Optional[
115
- Union[Var[Union[bool, int, str]], str, int, bool]
114
+ Union[Var[Union[bool, int, str]], bool, int, str]
116
115
  ] = None,
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,
116
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
117
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
119
118
  enter_key_hint: Optional[
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,
119
+ Union[Var[Union[bool, int, str]], bool, int, str]
120
+ ] = None,
121
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
122
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
123
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
124
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
125
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
126
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
127
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
128
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
129
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
131
130
  style: Optional[Style] = None,
132
131
  key: Optional[Any] = None,
133
132
  id: Optional[Any] = None,
134
133
  class_name: Optional[Any] = None,
135
134
  autofocus: Optional[bool] = None,
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,
135
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
136
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
137
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
143
138
  on_context_menu: Optional[
144
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
139
+ Union[EventHandler, EventSpec, list, Callable, Var]
145
140
  ] = None,
146
141
  on_double_click: Optional[
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]
142
+ Union[EventHandler, EventSpec, list, Callable, Var]
154
143
  ] = None,
144
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
145
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
155
146
  on_mouse_down: Optional[
156
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
147
+ Union[EventHandler, EventSpec, list, Callable, Var]
157
148
  ] = None,
158
149
  on_mouse_enter: Optional[
159
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
150
+ Union[EventHandler, EventSpec, list, Callable, Var]
160
151
  ] = None,
161
152
  on_mouse_leave: Optional[
162
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
153
+ Union[EventHandler, EventSpec, list, Callable, Var]
163
154
  ] = None,
164
155
  on_mouse_move: Optional[
165
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
156
+ Union[EventHandler, EventSpec, list, Callable, Var]
166
157
  ] = None,
167
158
  on_mouse_out: Optional[
168
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
159
+ Union[EventHandler, EventSpec, list, Callable, Var]
169
160
  ] = None,
170
161
  on_mouse_over: Optional[
171
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
162
+ Union[EventHandler, EventSpec, list, Callable, Var]
172
163
  ] = None,
173
164
  on_mouse_up: Optional[
174
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
175
- ] = None,
176
- on_scroll: Optional[
177
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
165
+ Union[EventHandler, EventSpec, list, Callable, Var]
178
166
  ] = None,
167
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
179
168
  on_unmount: Optional[
180
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
169
+ Union[EventHandler, EventSpec, list, Callable, Var]
181
170
  ] = None,
182
171
  **props,
183
172
  ) -> "CalloutRoot":
@@ -228,80 +217,70 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
228
217
  def create( # type: ignore
229
218
  cls,
230
219
  *children,
231
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
220
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
232
221
  auto_capitalize: Optional[
233
- Union[Var[Union[bool, int, str]], str, int, bool]
222
+ Union[Var[Union[bool, int, str]], bool, int, str]
234
223
  ] = None,
235
224
  content_editable: Optional[
236
- Union[Var[Union[bool, int, str]], str, int, bool]
225
+ Union[Var[Union[bool, int, str]], bool, int, str]
237
226
  ] = None,
238
227
  context_menu: Optional[
239
- Union[Var[Union[bool, int, str]], str, int, bool]
228
+ Union[Var[Union[bool, int, str]], bool, int, str]
240
229
  ] = None,
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,
230
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
231
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
243
232
  enter_key_hint: Optional[
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,
233
+ Union[Var[Union[bool, int, str]], bool, int, str]
234
+ ] = None,
235
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
236
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
237
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
238
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
239
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
240
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
241
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
242
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
243
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
255
244
  style: Optional[Style] = None,
256
245
  key: Optional[Any] = None,
257
246
  id: Optional[Any] = None,
258
247
  class_name: Optional[Any] = None,
259
248
  autofocus: Optional[bool] = None,
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,
249
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
250
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
251
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
267
252
  on_context_menu: Optional[
268
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
253
+ Union[EventHandler, EventSpec, list, Callable, Var]
269
254
  ] = None,
270
255
  on_double_click: Optional[
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]
256
+ Union[EventHandler, EventSpec, list, Callable, Var]
278
257
  ] = None,
258
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
259
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
279
260
  on_mouse_down: Optional[
280
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
261
+ Union[EventHandler, EventSpec, list, Callable, Var]
281
262
  ] = None,
282
263
  on_mouse_enter: Optional[
283
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
264
+ Union[EventHandler, EventSpec, list, Callable, Var]
284
265
  ] = None,
285
266
  on_mouse_leave: Optional[
286
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
267
+ Union[EventHandler, EventSpec, list, Callable, Var]
287
268
  ] = None,
288
269
  on_mouse_move: Optional[
289
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
270
+ Union[EventHandler, EventSpec, list, Callable, Var]
290
271
  ] = None,
291
272
  on_mouse_out: Optional[
292
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
273
+ Union[EventHandler, EventSpec, list, Callable, Var]
293
274
  ] = None,
294
275
  on_mouse_over: Optional[
295
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
276
+ Union[EventHandler, EventSpec, list, Callable, Var]
296
277
  ] = None,
297
278
  on_mouse_up: Optional[
298
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
299
- ] = None,
300
- on_scroll: Optional[
301
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
279
+ Union[EventHandler, EventSpec, list, Callable, Var]
302
280
  ] = None,
281
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
303
282
  on_unmount: Optional[
304
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
283
+ Union[EventHandler, EventSpec, list, Callable, Var]
305
284
  ] = None,
306
285
  **props,
307
286
  ) -> "CalloutIcon":
@@ -347,80 +326,70 @@ class CalloutText(elements.P, RadixThemesComponent):
347
326
  def create( # type: ignore
348
327
  cls,
349
328
  *children,
350
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
329
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
351
330
  auto_capitalize: Optional[
352
- Union[Var[Union[bool, int, str]], str, int, bool]
331
+ Union[Var[Union[bool, int, str]], bool, int, str]
353
332
  ] = None,
354
333
  content_editable: Optional[
355
- Union[Var[Union[bool, int, str]], str, int, bool]
334
+ Union[Var[Union[bool, int, str]], bool, int, str]
356
335
  ] = None,
357
336
  context_menu: Optional[
358
- Union[Var[Union[bool, int, str]], str, int, bool]
337
+ Union[Var[Union[bool, int, str]], bool, int, str]
359
338
  ] = None,
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,
339
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
340
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
362
341
  enter_key_hint: Optional[
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,
342
+ Union[Var[Union[bool, int, str]], bool, int, str]
343
+ ] = None,
344
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
345
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
346
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
347
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
348
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
349
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
350
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
351
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
352
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
374
353
  style: Optional[Style] = None,
375
354
  key: Optional[Any] = None,
376
355
  id: Optional[Any] = None,
377
356
  class_name: Optional[Any] = None,
378
357
  autofocus: Optional[bool] = None,
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,
358
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
359
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
360
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
386
361
  on_context_menu: Optional[
387
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
362
+ Union[EventHandler, EventSpec, list, Callable, Var]
388
363
  ] = None,
389
364
  on_double_click: Optional[
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]
365
+ Union[EventHandler, EventSpec, list, Callable, Var]
397
366
  ] = None,
367
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
368
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
398
369
  on_mouse_down: Optional[
399
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
370
+ Union[EventHandler, EventSpec, list, Callable, Var]
400
371
  ] = None,
401
372
  on_mouse_enter: Optional[
402
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
373
+ Union[EventHandler, EventSpec, list, Callable, Var]
403
374
  ] = None,
404
375
  on_mouse_leave: Optional[
405
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
376
+ Union[EventHandler, EventSpec, list, Callable, Var]
406
377
  ] = None,
407
378
  on_mouse_move: Optional[
408
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
379
+ Union[EventHandler, EventSpec, list, Callable, Var]
409
380
  ] = None,
410
381
  on_mouse_out: Optional[
411
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
382
+ Union[EventHandler, EventSpec, list, Callable, Var]
412
383
  ] = None,
413
384
  on_mouse_over: Optional[
414
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
385
+ Union[EventHandler, EventSpec, list, Callable, Var]
415
386
  ] = None,
416
387
  on_mouse_up: Optional[
417
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
418
- ] = None,
419
- on_scroll: Optional[
420
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
388
+ Union[EventHandler, EventSpec, list, Callable, Var]
421
389
  ] = None,
390
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
422
391
  on_unmount: Optional[
423
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
392
+ Union[EventHandler, EventSpec, list, Callable, Var]
424
393
  ] = None,
425
394
  **props,
426
395
  ) -> "CalloutText":
@@ -471,158 +440,148 @@ class Callout(CalloutRoot):
471
440
  as_child: Optional[Union[Var[bool], bool]] = None,
472
441
  size: Optional[
473
442
  Union[
443
+ Breakpoints[str, Literal["1", "2", "3"]],
444
+ Literal["1", "2", "3"],
474
445
  Var[
475
446
  Union[
476
447
  Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
477
448
  ]
478
449
  ],
479
- Literal["1", "2", "3"],
480
- Breakpoints[str, Literal["1", "2", "3"]],
481
450
  ]
482
451
  ] = None,
483
452
  variant: Optional[
484
453
  Union[
485
- Var[Literal["soft", "surface", "outline"]],
486
- Literal["soft", "surface", "outline"],
454
+ Literal["outline", "soft", "surface"],
455
+ Var[Literal["outline", "soft", "surface"]],
487
456
  ]
488
457
  ] = None,
489
458
  color_scheme: Optional[
490
459
  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
+ ],
491
488
  Var[
492
489
  Literal[
493
- "tomato",
494
- "red",
495
- "ruby",
496
- "crimson",
497
- "pink",
498
- "plum",
499
- "purple",
500
- "violet",
501
- "iris",
502
- "indigo",
490
+ "amber",
503
491
  "blue",
492
+ "bronze",
493
+ "brown",
494
+ "crimson",
504
495
  "cyan",
505
- "teal",
506
- "jade",
507
- "green",
496
+ "gold",
508
497
  "grass",
509
- "brown",
498
+ "gray",
499
+ "green",
500
+ "indigo",
501
+ "iris",
502
+ "jade",
503
+ "lime",
504
+ "mint",
510
505
  "orange",
506
+ "pink",
507
+ "plum",
508
+ "purple",
509
+ "red",
510
+ "ruby",
511
511
  "sky",
512
- "mint",
513
- "lime",
512
+ "teal",
513
+ "tomato",
514
+ "violet",
514
515
  "yellow",
515
- "amber",
516
- "gold",
517
- "bronze",
518
- "gray",
519
516
  ]
520
517
  ],
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
- ],
549
518
  ]
550
519
  ] = None,
551
520
  high_contrast: Optional[Union[Var[bool], bool]] = None,
552
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
521
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
553
522
  auto_capitalize: Optional[
554
- Union[Var[Union[bool, int, str]], str, int, bool]
523
+ Union[Var[Union[bool, int, str]], bool, int, str]
555
524
  ] = None,
556
525
  content_editable: Optional[
557
- Union[Var[Union[bool, int, str]], str, int, bool]
526
+ Union[Var[Union[bool, int, str]], bool, int, str]
558
527
  ] = None,
559
528
  context_menu: Optional[
560
- Union[Var[Union[bool, int, str]], str, int, bool]
529
+ Union[Var[Union[bool, int, str]], bool, int, str]
561
530
  ] = None,
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,
531
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
532
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
564
533
  enter_key_hint: Optional[
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,
534
+ Union[Var[Union[bool, int, str]], bool, int, str]
535
+ ] = None,
536
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
537
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
538
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
539
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
540
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
541
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
542
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
543
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
544
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
576
545
  style: Optional[Style] = None,
577
546
  key: Optional[Any] = None,
578
547
  id: Optional[Any] = None,
579
548
  class_name: Optional[Any] = None,
580
549
  autofocus: Optional[bool] = None,
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,
550
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
551
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
552
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
588
553
  on_context_menu: Optional[
589
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
554
+ Union[EventHandler, EventSpec, list, Callable, Var]
590
555
  ] = None,
591
556
  on_double_click: Optional[
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]
557
+ Union[EventHandler, EventSpec, list, Callable, Var]
599
558
  ] = None,
559
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
560
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
600
561
  on_mouse_down: Optional[
601
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
562
+ Union[EventHandler, EventSpec, list, Callable, Var]
602
563
  ] = None,
603
564
  on_mouse_enter: Optional[
604
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
565
+ Union[EventHandler, EventSpec, list, Callable, Var]
605
566
  ] = None,
606
567
  on_mouse_leave: Optional[
607
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
568
+ Union[EventHandler, EventSpec, list, Callable, Var]
608
569
  ] = None,
609
570
  on_mouse_move: Optional[
610
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
571
+ Union[EventHandler, EventSpec, list, Callable, Var]
611
572
  ] = None,
612
573
  on_mouse_out: Optional[
613
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
574
+ Union[EventHandler, EventSpec, list, Callable, Var]
614
575
  ] = None,
615
576
  on_mouse_over: Optional[
616
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
577
+ Union[EventHandler, EventSpec, list, Callable, Var]
617
578
  ] = None,
618
579
  on_mouse_up: Optional[
619
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
620
- ] = None,
621
- on_scroll: Optional[
622
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
580
+ Union[EventHandler, EventSpec, list, Callable, Var]
623
581
  ] = None,
582
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
624
583
  on_unmount: Optional[
625
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
584
+ Union[EventHandler, EventSpec, list, Callable, Var]
626
585
  ] = None,
627
586
  **props,
628
587
  ) -> "Callout":
@@ -679,158 +638,148 @@ class CalloutNamespace(ComponentNamespace):
679
638
  as_child: Optional[Union[Var[bool], bool]] = None,
680
639
  size: Optional[
681
640
  Union[
641
+ Breakpoints[str, Literal["1", "2", "3"]],
642
+ Literal["1", "2", "3"],
682
643
  Var[
683
644
  Union[
684
645
  Breakpoints[str, Literal["1", "2", "3"]], Literal["1", "2", "3"]
685
646
  ]
686
647
  ],
687
- Literal["1", "2", "3"],
688
- Breakpoints[str, Literal["1", "2", "3"]],
689
648
  ]
690
649
  ] = None,
691
650
  variant: Optional[
692
651
  Union[
693
- Var[Literal["soft", "surface", "outline"]],
694
- Literal["soft", "surface", "outline"],
652
+ Literal["outline", "soft", "surface"],
653
+ Var[Literal["outline", "soft", "surface"]],
695
654
  ]
696
655
  ] = None,
697
656
  color_scheme: Optional[
698
657
  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
+ ],
699
686
  Var[
700
687
  Literal[
701
- "tomato",
702
- "red",
703
- "ruby",
704
- "crimson",
705
- "pink",
706
- "plum",
707
- "purple",
708
- "violet",
709
- "iris",
710
- "indigo",
688
+ "amber",
711
689
  "blue",
690
+ "bronze",
691
+ "brown",
692
+ "crimson",
712
693
  "cyan",
713
- "teal",
714
- "jade",
715
- "green",
694
+ "gold",
716
695
  "grass",
717
- "brown",
696
+ "gray",
697
+ "green",
698
+ "indigo",
699
+ "iris",
700
+ "jade",
701
+ "lime",
702
+ "mint",
718
703
  "orange",
704
+ "pink",
705
+ "plum",
706
+ "purple",
707
+ "red",
708
+ "ruby",
719
709
  "sky",
720
- "mint",
721
- "lime",
710
+ "teal",
711
+ "tomato",
712
+ "violet",
722
713
  "yellow",
723
- "amber",
724
- "gold",
725
- "bronze",
726
- "gray",
727
714
  ]
728
715
  ],
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
- ],
757
716
  ]
758
717
  ] = None,
759
718
  high_contrast: Optional[Union[Var[bool], bool]] = None,
760
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
719
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
761
720
  auto_capitalize: Optional[
762
- Union[Var[Union[bool, int, str]], str, int, bool]
721
+ Union[Var[Union[bool, int, str]], bool, int, str]
763
722
  ] = None,
764
723
  content_editable: Optional[
765
- Union[Var[Union[bool, int, str]], str, int, bool]
724
+ Union[Var[Union[bool, int, str]], bool, int, str]
766
725
  ] = None,
767
726
  context_menu: Optional[
768
- Union[Var[Union[bool, int, str]], str, int, bool]
727
+ Union[Var[Union[bool, int, str]], bool, int, str]
769
728
  ] = None,
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,
729
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
730
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
772
731
  enter_key_hint: Optional[
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,
732
+ Union[Var[Union[bool, int, str]], bool, int, str]
733
+ ] = None,
734
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
735
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
736
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
737
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
738
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
739
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
740
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
741
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
742
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
784
743
  style: Optional[Style] = None,
785
744
  key: Optional[Any] = None,
786
745
  id: Optional[Any] = None,
787
746
  class_name: Optional[Any] = None,
788
747
  autofocus: Optional[bool] = None,
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,
748
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
749
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
750
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
796
751
  on_context_menu: Optional[
797
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
752
+ Union[EventHandler, EventSpec, list, Callable, Var]
798
753
  ] = None,
799
754
  on_double_click: Optional[
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]
755
+ Union[EventHandler, EventSpec, list, Callable, Var]
807
756
  ] = None,
757
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
758
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
808
759
  on_mouse_down: Optional[
809
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
760
+ Union[EventHandler, EventSpec, list, Callable, Var]
810
761
  ] = None,
811
762
  on_mouse_enter: Optional[
812
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
763
+ Union[EventHandler, EventSpec, list, Callable, Var]
813
764
  ] = None,
814
765
  on_mouse_leave: Optional[
815
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
766
+ Union[EventHandler, EventSpec, list, Callable, Var]
816
767
  ] = None,
817
768
  on_mouse_move: Optional[
818
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
769
+ Union[EventHandler, EventSpec, list, Callable, Var]
819
770
  ] = None,
820
771
  on_mouse_out: Optional[
821
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
772
+ Union[EventHandler, EventSpec, list, Callable, Var]
822
773
  ] = None,
823
774
  on_mouse_over: Optional[
824
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
775
+ Union[EventHandler, EventSpec, list, Callable, Var]
825
776
  ] = None,
826
777
  on_mouse_up: Optional[
827
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
828
- ] = None,
829
- on_scroll: Optional[
830
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
778
+ Union[EventHandler, EventSpec, list, Callable, Var]
831
779
  ] = None,
780
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
832
781
  on_unmount: Optional[
833
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
782
+ Union[EventHandler, EventSpec, list, Callable, Var]
834
783
  ] = None,
835
784
  **props,
836
785
  ) -> "Callout":