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
@@ -8,9 +8,8 @@ from typing import Any, Callable, Dict, Iterable, Literal, Optional, Union, over
8
8
  from reflex.components.component import Component, ComponentNamespace
9
9
  from reflex.components.el.elements.typography import Li, Ol, Ul
10
10
  from reflex.event import EventHandler, EventSpec
11
- from reflex.ivars.base import ImmutableVar
12
11
  from reflex.style import Style
13
- from reflex.vars import Var
12
+ from reflex.vars.base import Var
14
13
 
15
14
  LiteralListStyleTypeUnordered = Literal["none", "disc", "circle", "square"]
16
15
  LiteralListStyleTypeOrdered = Literal[
@@ -36,47 +35,47 @@ class BaseList(Component):
36
35
  def create( # type: ignore
37
36
  cls,
38
37
  *children,
39
- items: Optional[ImmutableVar[Iterable]] = None,
38
+ items: Optional[Union[Iterable, Var[Iterable]]] = None,
40
39
  list_style_type: Optional[
41
40
  Union[
41
+ Literal[
42
+ "armenian",
43
+ "decimal",
44
+ "decimal-leading-zero",
45
+ "georgian",
46
+ "hiragana",
47
+ "katakana",
48
+ "lower-alpha",
49
+ "lower-greek",
50
+ "lower-latin",
51
+ "lower-roman",
52
+ "none",
53
+ "upper-alpha",
54
+ "upper-latin",
55
+ "upper-roman",
56
+ ],
57
+ Literal["circle", "disc", "none", "square"],
42
58
  Var[
43
59
  Union[
44
60
  Literal[
45
- "none",
61
+ "armenian",
46
62
  "decimal",
47
63
  "decimal-leading-zero",
48
- "lower-roman",
49
- "upper-roman",
50
- "lower-greek",
51
- "lower-latin",
52
- "upper-latin",
53
- "armenian",
54
64
  "georgian",
55
- "lower-alpha",
56
- "upper-alpha",
57
65
  "hiragana",
58
66
  "katakana",
67
+ "lower-alpha",
68
+ "lower-greek",
69
+ "lower-latin",
70
+ "lower-roman",
71
+ "none",
72
+ "upper-alpha",
73
+ "upper-latin",
74
+ "upper-roman",
59
75
  ],
60
- Literal["none", "disc", "circle", "square"],
76
+ Literal["circle", "disc", "none", "square"],
61
77
  ]
62
78
  ],
63
- Literal["none", "disc", "circle", "square"],
64
- Literal[
65
- "none",
66
- "decimal",
67
- "decimal-leading-zero",
68
- "lower-roman",
69
- "upper-roman",
70
- "lower-greek",
71
- "lower-latin",
72
- "upper-latin",
73
- "armenian",
74
- "georgian",
75
- "lower-alpha",
76
- "upper-alpha",
77
- "hiragana",
78
- "katakana",
79
- ],
80
79
  ]
81
80
  ] = None,
82
81
  style: Optional[Style] = None,
@@ -84,51 +83,41 @@ class BaseList(Component):
84
83
  id: Optional[Any] = None,
85
84
  class_name: Optional[Any] = None,
86
85
  autofocus: Optional[bool] = None,
87
- custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
88
- on_blur: Optional[
89
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
90
- ] = None,
91
- on_click: Optional[
92
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
93
- ] = None,
86
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
87
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
88
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
94
89
  on_context_menu: Optional[
95
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
90
+ Union[EventHandler, EventSpec, list, Callable, Var]
96
91
  ] = None,
97
92
  on_double_click: Optional[
98
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
99
- ] = None,
100
- on_focus: Optional[
101
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
102
- ] = None,
103
- on_mount: Optional[
104
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
93
+ Union[EventHandler, EventSpec, list, Callable, Var]
105
94
  ] = None,
95
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
96
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
106
97
  on_mouse_down: Optional[
107
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
98
+ Union[EventHandler, EventSpec, list, Callable, Var]
108
99
  ] = None,
109
100
  on_mouse_enter: Optional[
110
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
101
+ Union[EventHandler, EventSpec, list, Callable, Var]
111
102
  ] = None,
112
103
  on_mouse_leave: Optional[
113
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
104
+ Union[EventHandler, EventSpec, list, Callable, Var]
114
105
  ] = None,
115
106
  on_mouse_move: Optional[
116
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
107
+ Union[EventHandler, EventSpec, list, Callable, Var]
117
108
  ] = None,
118
109
  on_mouse_out: Optional[
119
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
110
+ Union[EventHandler, EventSpec, list, Callable, Var]
120
111
  ] = None,
121
112
  on_mouse_over: Optional[
122
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
113
+ Union[EventHandler, EventSpec, list, Callable, Var]
123
114
  ] = None,
124
115
  on_mouse_up: Optional[
125
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
126
- ] = None,
127
- on_scroll: Optional[
128
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
116
+ Union[EventHandler, EventSpec, list, Callable, Var]
129
117
  ] = None,
118
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
130
119
  on_unmount: Optional[
131
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
120
+ Union[EventHandler, EventSpec, list, Callable, Var]
132
121
  ] = None,
133
122
  **props,
134
123
  ) -> "BaseList":
@@ -160,82 +149,72 @@ class UnorderedList(BaseList, Ul):
160
149
  def create( # type: ignore
161
150
  cls,
162
151
  *children,
163
- items: Optional[ImmutableVar[Iterable]] = None,
152
+ items: Optional[Union[Iterable, Var[Iterable]]] = None,
164
153
  list_style_type: Optional[LiteralListStyleTypeUnordered] = "disc",
165
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
154
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
166
155
  auto_capitalize: Optional[
167
- Union[Var[Union[bool, int, str]], str, int, bool]
156
+ Union[Var[Union[bool, int, str]], bool, int, str]
168
157
  ] = None,
169
158
  content_editable: Optional[
170
- Union[Var[Union[bool, int, str]], str, int, bool]
159
+ Union[Var[Union[bool, int, str]], bool, int, str]
171
160
  ] = None,
172
161
  context_menu: Optional[
173
- Union[Var[Union[bool, int, str]], str, int, bool]
162
+ Union[Var[Union[bool, int, str]], bool, int, str]
174
163
  ] = None,
175
- dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
176
- draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
164
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
165
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
177
166
  enter_key_hint: Optional[
178
- Union[Var[Union[bool, int, str]], str, int, bool]
179
- ] = None,
180
- hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
181
- input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
182
- item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
183
- lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
184
- role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
185
- slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
186
- spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
187
- tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
188
- title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
167
+ Union[Var[Union[bool, int, str]], bool, int, str]
168
+ ] = None,
169
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
170
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
171
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
172
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
173
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
174
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
175
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
176
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
177
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
189
178
  style: Optional[Style] = None,
190
179
  key: Optional[Any] = None,
191
180
  id: Optional[Any] = None,
192
181
  class_name: Optional[Any] = None,
193
182
  autofocus: Optional[bool] = None,
194
- custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
195
- on_blur: Optional[
196
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
197
- ] = None,
198
- on_click: Optional[
199
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
200
- ] = None,
183
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
184
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
185
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
201
186
  on_context_menu: Optional[
202
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
187
+ Union[EventHandler, EventSpec, list, Callable, Var]
203
188
  ] = None,
204
189
  on_double_click: Optional[
205
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
206
- ] = None,
207
- on_focus: Optional[
208
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
209
- ] = None,
210
- on_mount: Optional[
211
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
190
+ Union[EventHandler, EventSpec, list, Callable, Var]
212
191
  ] = None,
192
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
193
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
213
194
  on_mouse_down: Optional[
214
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
195
+ Union[EventHandler, EventSpec, list, Callable, Var]
215
196
  ] = None,
216
197
  on_mouse_enter: Optional[
217
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
198
+ Union[EventHandler, EventSpec, list, Callable, Var]
218
199
  ] = None,
219
200
  on_mouse_leave: Optional[
220
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
201
+ Union[EventHandler, EventSpec, list, Callable, Var]
221
202
  ] = None,
222
203
  on_mouse_move: Optional[
223
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
204
+ Union[EventHandler, EventSpec, list, Callable, Var]
224
205
  ] = None,
225
206
  on_mouse_out: Optional[
226
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
207
+ Union[EventHandler, EventSpec, list, Callable, Var]
227
208
  ] = None,
228
209
  on_mouse_over: Optional[
229
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
210
+ Union[EventHandler, EventSpec, list, Callable, Var]
230
211
  ] = None,
231
212
  on_mouse_up: Optional[
232
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
233
- ] = None,
234
- on_scroll: Optional[
235
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
213
+ Union[EventHandler, EventSpec, list, Callable, Var]
236
214
  ] = None,
215
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
237
216
  on_unmount: Optional[
238
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
217
+ Union[EventHandler, EventSpec, list, Callable, Var]
239
218
  ] = None,
240
219
  **props,
241
220
  ) -> "UnorderedList":
@@ -281,85 +260,75 @@ class OrderedList(BaseList, Ol):
281
260
  def create( # type: ignore
282
261
  cls,
283
262
  *children,
284
- items: Optional[ImmutableVar[Iterable]] = None,
263
+ items: Optional[Union[Iterable, Var[Iterable]]] = None,
285
264
  list_style_type: Optional[LiteralListStyleTypeOrdered] = "decimal",
286
- reversed: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
287
- start: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
288
- type: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
289
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
265
+ reversed: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
266
+ start: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
267
+ type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
268
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
290
269
  auto_capitalize: Optional[
291
- Union[Var[Union[bool, int, str]], str, int, bool]
270
+ Union[Var[Union[bool, int, str]], bool, int, str]
292
271
  ] = None,
293
272
  content_editable: Optional[
294
- Union[Var[Union[bool, int, str]], str, int, bool]
273
+ Union[Var[Union[bool, int, str]], bool, int, str]
295
274
  ] = None,
296
275
  context_menu: Optional[
297
- Union[Var[Union[bool, int, str]], str, int, bool]
276
+ Union[Var[Union[bool, int, str]], bool, int, str]
298
277
  ] = None,
299
- dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
300
- draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
278
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
279
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
301
280
  enter_key_hint: Optional[
302
- Union[Var[Union[bool, int, str]], str, int, bool]
303
- ] = None,
304
- hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
305
- input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
306
- item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
307
- lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
308
- role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
309
- slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
310
- spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
311
- tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
312
- title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
281
+ Union[Var[Union[bool, int, str]], bool, int, str]
282
+ ] = None,
283
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
284
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
285
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
286
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
287
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
288
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
289
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
290
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
291
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
313
292
  style: Optional[Style] = None,
314
293
  key: Optional[Any] = None,
315
294
  id: Optional[Any] = None,
316
295
  class_name: Optional[Any] = None,
317
296
  autofocus: Optional[bool] = None,
318
- custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
319
- on_blur: Optional[
320
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
321
- ] = None,
322
- on_click: Optional[
323
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
324
- ] = None,
297
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
298
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
299
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
325
300
  on_context_menu: Optional[
326
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
301
+ Union[EventHandler, EventSpec, list, Callable, Var]
327
302
  ] = None,
328
303
  on_double_click: Optional[
329
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
330
- ] = None,
331
- on_focus: Optional[
332
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
333
- ] = None,
334
- on_mount: Optional[
335
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
304
+ Union[EventHandler, EventSpec, list, Callable, Var]
336
305
  ] = None,
306
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
307
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
337
308
  on_mouse_down: Optional[
338
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
309
+ Union[EventHandler, EventSpec, list, Callable, Var]
339
310
  ] = None,
340
311
  on_mouse_enter: Optional[
341
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
312
+ Union[EventHandler, EventSpec, list, Callable, Var]
342
313
  ] = None,
343
314
  on_mouse_leave: Optional[
344
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
315
+ Union[EventHandler, EventSpec, list, Callable, Var]
345
316
  ] = None,
346
317
  on_mouse_move: Optional[
347
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
318
+ Union[EventHandler, EventSpec, list, Callable, Var]
348
319
  ] = None,
349
320
  on_mouse_out: Optional[
350
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
321
+ Union[EventHandler, EventSpec, list, Callable, Var]
351
322
  ] = None,
352
323
  on_mouse_over: Optional[
353
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
324
+ Union[EventHandler, EventSpec, list, Callable, Var]
354
325
  ] = None,
355
326
  on_mouse_up: Optional[
356
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
357
- ] = None,
358
- on_scroll: Optional[
359
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
327
+ Union[EventHandler, EventSpec, list, Callable, Var]
360
328
  ] = None,
329
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
361
330
  on_unmount: Optional[
362
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
331
+ Union[EventHandler, EventSpec, list, Callable, Var]
363
332
  ] = None,
364
333
  **props,
365
334
  ) -> "OrderedList":
@@ -408,80 +377,70 @@ class ListItem(Li):
408
377
  def create( # type: ignore
409
378
  cls,
410
379
  *children,
411
- access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
380
+ access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
412
381
  auto_capitalize: Optional[
413
- Union[Var[Union[bool, int, str]], str, int, bool]
382
+ Union[Var[Union[bool, int, str]], bool, int, str]
414
383
  ] = None,
415
384
  content_editable: Optional[
416
- Union[Var[Union[bool, int, str]], str, int, bool]
385
+ Union[Var[Union[bool, int, str]], bool, int, str]
417
386
  ] = None,
418
387
  context_menu: Optional[
419
- Union[Var[Union[bool, int, str]], str, int, bool]
388
+ Union[Var[Union[bool, int, str]], bool, int, str]
420
389
  ] = None,
421
- dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
422
- draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
390
+ dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
391
+ draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
423
392
  enter_key_hint: Optional[
424
- Union[Var[Union[bool, int, str]], str, int, bool]
425
- ] = None,
426
- hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
427
- input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
428
- item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
429
- lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
430
- role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
431
- slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
432
- spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
433
- tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
434
- title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
393
+ Union[Var[Union[bool, int, str]], bool, int, str]
394
+ ] = None,
395
+ hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
396
+ input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
397
+ item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
398
+ lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
399
+ role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
400
+ slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
401
+ spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
402
+ tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
403
+ title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
435
404
  style: Optional[Style] = None,
436
405
  key: Optional[Any] = None,
437
406
  id: Optional[Any] = None,
438
407
  class_name: Optional[Any] = None,
439
408
  autofocus: Optional[bool] = None,
440
- custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
441
- on_blur: Optional[
442
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
443
- ] = None,
444
- on_click: Optional[
445
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
446
- ] = None,
409
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
410
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
411
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
447
412
  on_context_menu: Optional[
448
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
413
+ Union[EventHandler, EventSpec, list, Callable, Var]
449
414
  ] = None,
450
415
  on_double_click: Optional[
451
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
452
- ] = None,
453
- on_focus: Optional[
454
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
455
- ] = None,
456
- on_mount: Optional[
457
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
416
+ Union[EventHandler, EventSpec, list, Callable, Var]
458
417
  ] = None,
418
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
419
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
459
420
  on_mouse_down: Optional[
460
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
421
+ Union[EventHandler, EventSpec, list, Callable, Var]
461
422
  ] = None,
462
423
  on_mouse_enter: Optional[
463
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
424
+ Union[EventHandler, EventSpec, list, Callable, Var]
464
425
  ] = None,
465
426
  on_mouse_leave: Optional[
466
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
427
+ Union[EventHandler, EventSpec, list, Callable, Var]
467
428
  ] = None,
468
429
  on_mouse_move: Optional[
469
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
430
+ Union[EventHandler, EventSpec, list, Callable, Var]
470
431
  ] = None,
471
432
  on_mouse_out: Optional[
472
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
433
+ Union[EventHandler, EventSpec, list, Callable, Var]
473
434
  ] = None,
474
435
  on_mouse_over: Optional[
475
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
436
+ Union[EventHandler, EventSpec, list, Callable, Var]
476
437
  ] = None,
477
438
  on_mouse_up: Optional[
478
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
479
- ] = None,
480
- on_scroll: Optional[
481
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
439
+ Union[EventHandler, EventSpec, list, Callable, Var]
482
440
  ] = None,
441
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
483
442
  on_unmount: Optional[
484
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
443
+ Union[EventHandler, EventSpec, list, Callable, Var]
485
444
  ] = None,
486
445
  **props,
487
446
  ) -> "ListItem":
@@ -527,47 +486,47 @@ class List(ComponentNamespace):
527
486
  @staticmethod
528
487
  def __call__(
529
488
  *children,
530
- items: Optional[ImmutableVar[Iterable]] = None,
489
+ items: Optional[Union[Iterable, Var[Iterable]]] = None,
531
490
  list_style_type: Optional[
532
491
  Union[
492
+ Literal[
493
+ "armenian",
494
+ "decimal",
495
+ "decimal-leading-zero",
496
+ "georgian",
497
+ "hiragana",
498
+ "katakana",
499
+ "lower-alpha",
500
+ "lower-greek",
501
+ "lower-latin",
502
+ "lower-roman",
503
+ "none",
504
+ "upper-alpha",
505
+ "upper-latin",
506
+ "upper-roman",
507
+ ],
508
+ Literal["circle", "disc", "none", "square"],
533
509
  Var[
534
510
  Union[
535
511
  Literal[
536
- "none",
512
+ "armenian",
537
513
  "decimal",
538
514
  "decimal-leading-zero",
539
- "lower-roman",
540
- "upper-roman",
541
- "lower-greek",
542
- "lower-latin",
543
- "upper-latin",
544
- "armenian",
545
515
  "georgian",
546
- "lower-alpha",
547
- "upper-alpha",
548
516
  "hiragana",
549
517
  "katakana",
518
+ "lower-alpha",
519
+ "lower-greek",
520
+ "lower-latin",
521
+ "lower-roman",
522
+ "none",
523
+ "upper-alpha",
524
+ "upper-latin",
525
+ "upper-roman",
550
526
  ],
551
- Literal["none", "disc", "circle", "square"],
527
+ Literal["circle", "disc", "none", "square"],
552
528
  ]
553
529
  ],
554
- Literal["none", "disc", "circle", "square"],
555
- Literal[
556
- "none",
557
- "decimal",
558
- "decimal-leading-zero",
559
- "lower-roman",
560
- "upper-roman",
561
- "lower-greek",
562
- "lower-latin",
563
- "upper-latin",
564
- "armenian",
565
- "georgian",
566
- "lower-alpha",
567
- "upper-alpha",
568
- "hiragana",
569
- "katakana",
570
- ],
571
530
  ]
572
531
  ] = None,
573
532
  style: Optional[Style] = None,
@@ -575,51 +534,41 @@ class List(ComponentNamespace):
575
534
  id: Optional[Any] = None,
576
535
  class_name: Optional[Any] = None,
577
536
  autofocus: Optional[bool] = None,
578
- custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
579
- on_blur: Optional[
580
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
581
- ] = None,
582
- on_click: Optional[
583
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
584
- ] = None,
537
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
538
+ on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
539
+ on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
585
540
  on_context_menu: Optional[
586
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
541
+ Union[EventHandler, EventSpec, list, Callable, Var]
587
542
  ] = None,
588
543
  on_double_click: Optional[
589
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
590
- ] = None,
591
- on_focus: Optional[
592
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
593
- ] = None,
594
- on_mount: Optional[
595
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
544
+ Union[EventHandler, EventSpec, list, Callable, Var]
596
545
  ] = None,
546
+ on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
547
+ on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
597
548
  on_mouse_down: Optional[
598
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
549
+ Union[EventHandler, EventSpec, list, Callable, Var]
599
550
  ] = None,
600
551
  on_mouse_enter: Optional[
601
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
552
+ Union[EventHandler, EventSpec, list, Callable, Var]
602
553
  ] = None,
603
554
  on_mouse_leave: Optional[
604
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
555
+ Union[EventHandler, EventSpec, list, Callable, Var]
605
556
  ] = None,
606
557
  on_mouse_move: Optional[
607
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
558
+ Union[EventHandler, EventSpec, list, Callable, Var]
608
559
  ] = None,
609
560
  on_mouse_out: Optional[
610
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
561
+ Union[EventHandler, EventSpec, list, Callable, Var]
611
562
  ] = None,
612
563
  on_mouse_over: Optional[
613
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
564
+ Union[EventHandler, EventSpec, list, Callable, Var]
614
565
  ] = None,
615
566
  on_mouse_up: Optional[
616
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
617
- ] = None,
618
- on_scroll: Optional[
619
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
567
+ Union[EventHandler, EventSpec, list, Callable, Var]
620
568
  ] = None,
569
+ on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
621
570
  on_unmount: Optional[
622
- Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
571
+ Union[EventHandler, EventSpec, list, Callable, Var]
623
572
  ] = None,
624
573
  **props,
625
574
  ) -> "BaseList":