reflex 0.6.0__py3-none-any.whl → 0.6.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of reflex might be problematic. Click here for more details.

Files changed (253) 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/.templates/web/components/reflex/chakra_color_mode_provider.js +36 -0
  5. reflex/.templates/web/utils/state.js +1 -3
  6. reflex/__init__.py +2 -8
  7. reflex/__init__.pyi +1 -2
  8. reflex/app.py +2 -4
  9. reflex/app_module_for_backend.py +1 -1
  10. reflex/base.py +1 -1
  11. reflex/compiler/compiler.py +2 -2
  12. reflex/compiler/utils.py +3 -3
  13. reflex/components/base/app_wrap.py +2 -2
  14. reflex/components/base/app_wrap.pyi +27 -17
  15. reflex/components/base/bare.py +5 -4
  16. reflex/components/base/body.pyi +27 -17
  17. reflex/components/base/document.pyi +131 -81
  18. reflex/components/base/error_boundary.py +7 -6
  19. reflex/components/base/error_boundary.pyi +33 -20
  20. reflex/components/base/fragment.pyi +27 -17
  21. reflex/components/base/head.pyi +53 -33
  22. reflex/components/base/link.py +1 -1
  23. reflex/components/base/link.pyi +54 -33
  24. reflex/components/base/meta.pyi +105 -65
  25. reflex/components/base/script.py +2 -1
  26. reflex/components/base/script.pyi +38 -21
  27. reflex/components/component.py +47 -53
  28. reflex/components/core/banner.py +27 -23
  29. reflex/components/core/banner.pyi +171 -134
  30. reflex/components/core/client_side_routing.py +3 -2
  31. reflex/components/core/client_side_routing.pyi +54 -33
  32. reflex/components/core/clipboard.py +1 -2
  33. reflex/components/core/clipboard.pyi +33 -20
  34. reflex/components/core/cond.py +5 -5
  35. reflex/components/core/debounce.py +5 -5
  36. reflex/components/core/debounce.pyi +33 -20
  37. reflex/components/core/foreach.py +4 -3
  38. reflex/components/core/html.py +1 -1
  39. reflex/components/core/html.pyi +46 -35
  40. reflex/components/core/match.py +17 -17
  41. reflex/components/core/upload.py +23 -17
  42. reflex/components/core/upload.pyi +124 -78
  43. reflex/components/datadisplay/code.py +10 -9
  44. reflex/components/datadisplay/code.pyi +409 -299
  45. reflex/components/datadisplay/dataeditor.py +10 -8
  46. reflex/components/datadisplay/dataeditor.pyi +53 -40
  47. reflex/components/el/element.pyi +27 -17
  48. reflex/components/el/elements/base.py +1 -1
  49. reflex/components/el/elements/base.pyi +45 -34
  50. reflex/components/el/elements/forms.py +16 -16
  51. reflex/components/el/elements/forms.pyi +707 -554
  52. reflex/components/el/elements/inline.py +1 -1
  53. reflex/components/el/elements/inline.pyi +1218 -937
  54. reflex/components/el/elements/media.py +1 -1
  55. reflex/components/el/elements/media.pyi +997 -786
  56. reflex/components/el/elements/metadata.py +6 -3
  57. reflex/components/el/elements/metadata.pyi +242 -181
  58. reflex/components/el/elements/other.py +1 -1
  59. reflex/components/el/elements/other.pyi +306 -235
  60. reflex/components/el/elements/scripts.py +1 -1
  61. reflex/components/el/elements/scripts.pyi +140 -109
  62. reflex/components/el/elements/sectioning.py +2 -0
  63. reflex/components/el/elements/sectioning.pyi +647 -496
  64. reflex/components/el/elements/tables.py +1 -1
  65. reflex/components/el/elements/tables.pyi +452 -351
  66. reflex/components/el/elements/typography.py +1 -1
  67. reflex/components/el/elements/typography.pyi +657 -506
  68. reflex/components/gridjs/datatable.py +9 -6
  69. reflex/components/gridjs/datatable.pyi +56 -35
  70. reflex/components/lucide/icon.py +1 -1
  71. reflex/components/lucide/icon.pyi +54 -33
  72. reflex/components/markdown/markdown.py +31 -26
  73. reflex/components/markdown/markdown.pyi +37 -27
  74. reflex/components/moment/moment.py +12 -13
  75. reflex/components/moment/moment.pyi +35 -23
  76. reflex/components/next/base.pyi +27 -17
  77. reflex/components/next/image.py +1 -1
  78. reflex/components/next/image.pyi +37 -22
  79. reflex/components/next/link.py +1 -1
  80. reflex/components/next/link.pyi +28 -17
  81. reflex/components/next/video.py +1 -1
  82. reflex/components/next/video.pyi +28 -17
  83. reflex/components/plotly/plotly.py +13 -12
  84. reflex/components/plotly/plotly.pyi +54 -39
  85. reflex/components/props.py +1 -1
  86. reflex/components/radix/__init__.pyi +0 -1
  87. reflex/components/radix/primitives/__init__.pyi +0 -1
  88. reflex/components/radix/primitives/accordion.py +4 -4
  89. reflex/components/radix/primitives/accordion.pyi +495 -424
  90. reflex/components/radix/primitives/base.py +1 -1
  91. reflex/components/radix/primitives/base.pyi +54 -33
  92. reflex/components/radix/primitives/drawer.py +1 -1
  93. reflex/components/radix/primitives/drawer.pyi +273 -172
  94. reflex/components/radix/primitives/form.py +1 -1
  95. reflex/components/radix/primitives/form.pyi +364 -257
  96. reflex/components/radix/primitives/progress.py +1 -1
  97. reflex/components/radix/primitives/progress.pyi +282 -231
  98. reflex/components/radix/primitives/slider.py +1 -1
  99. reflex/components/radix/primitives/slider.pyi +138 -87
  100. reflex/components/radix/themes/base.py +24 -3
  101. reflex/components/radix/themes/base.pyi +250 -178
  102. reflex/components/radix/themes/color_mode.py +5 -5
  103. reflex/components/radix/themes/color_mode.pyi +220 -187
  104. reflex/components/radix/themes/components/alert_dialog.py +1 -1
  105. reflex/components/radix/themes/components/alert_dialog.pyi +207 -136
  106. reflex/components/radix/themes/components/aspect_ratio.py +1 -1
  107. reflex/components/radix/themes/components/aspect_ratio.pyi +28 -17
  108. reflex/components/radix/themes/components/avatar.py +1 -1
  109. reflex/components/radix/themes/components/avatar.pyi +81 -70
  110. reflex/components/radix/themes/components/badge.py +1 -1
  111. reflex/components/radix/themes/components/badge.pyi +99 -88
  112. reflex/components/radix/themes/components/button.py +1 -1
  113. reflex/components/radix/themes/components/button.pyi +109 -98
  114. reflex/components/radix/themes/components/callout.py +1 -1
  115. reflex/components/radix/themes/components/callout.pyi +373 -322
  116. reflex/components/radix/themes/components/card.py +1 -1
  117. reflex/components/radix/themes/components/card.pyi +49 -38
  118. reflex/components/radix/themes/components/checkbox.py +2 -1
  119. reflex/components/radix/themes/components/checkbox.pyi +245 -208
  120. reflex/components/radix/themes/components/checkbox_cards.py +1 -1
  121. reflex/components/radix/themes/components/checkbox_cards.pyi +115 -94
  122. reflex/components/radix/themes/components/checkbox_group.py +1 -1
  123. reflex/components/radix/themes/components/checkbox_group.pyi +107 -86
  124. reflex/components/radix/themes/components/context_menu.py +1 -1
  125. reflex/components/radix/themes/components/context_menu.pyi +319 -238
  126. reflex/components/radix/themes/components/data_list.py +1 -1
  127. reflex/components/radix/themes/components/data_list.pyi +171 -130
  128. reflex/components/radix/themes/components/dialog.py +1 -1
  129. reflex/components/radix/themes/components/dialog.pyi +210 -139
  130. reflex/components/radix/themes/components/dropdown_menu.py +1 -1
  131. reflex/components/radix/themes/components/dropdown_menu.pyi +332 -249
  132. reflex/components/radix/themes/components/hover_card.py +1 -1
  133. reflex/components/radix/themes/components/hover_card.pyi +131 -90
  134. reflex/components/radix/themes/components/icon_button.py +3 -2
  135. reflex/components/radix/themes/components/icon_button.pyi +109 -98
  136. reflex/components/radix/themes/components/inset.py +1 -1
  137. reflex/components/radix/themes/components/inset.pyi +58 -47
  138. reflex/components/radix/themes/components/popover.py +1 -1
  139. reflex/components/radix/themes/components/popover.pyi +136 -95
  140. reflex/components/radix/themes/components/progress.py +1 -1
  141. reflex/components/radix/themes/components/progress.pyi +82 -71
  142. reflex/components/radix/themes/components/radio.py +1 -1
  143. reflex/components/radix/themes/components/radio.pyi +80 -69
  144. reflex/components/radix/themes/components/radio_cards.py +1 -1
  145. reflex/components/radix/themes/components/radio_cards.pyi +119 -98
  146. reflex/components/radix/themes/components/radio_group.py +11 -8
  147. reflex/components/radix/themes/components/radio_group.pyi +271 -228
  148. reflex/components/radix/themes/components/scroll_area.py +1 -1
  149. reflex/components/radix/themes/components/scroll_area.pyi +32 -21
  150. reflex/components/radix/themes/components/segmented_control.py +1 -1
  151. reflex/components/radix/themes/components/segmented_control.pyi +113 -90
  152. reflex/components/radix/themes/components/select.py +3 -2
  153. reflex/components/radix/themes/components/select.pyi +471 -374
  154. reflex/components/radix/themes/components/separator.py +2 -1
  155. reflex/components/radix/themes/components/separator.pyi +80 -69
  156. reflex/components/radix/themes/components/skeleton.py +1 -1
  157. reflex/components/radix/themes/components/skeleton.pyi +34 -23
  158. reflex/components/radix/themes/components/slider.py +3 -2
  159. reflex/components/radix/themes/components/slider.pyi +88 -75
  160. reflex/components/radix/themes/components/spinner.py +1 -1
  161. reflex/components/radix/themes/components/spinner.pyi +30 -19
  162. reflex/components/radix/themes/components/switch.py +1 -1
  163. reflex/components/radix/themes/components/switch.pyi +84 -71
  164. reflex/components/radix/themes/components/table.py +1 -1
  165. reflex/components/radix/themes/components/table.pyi +332 -261
  166. reflex/components/radix/themes/components/tabs.py +1 -1
  167. reflex/components/radix/themes/components/tabs.pyi +194 -139
  168. reflex/components/radix/themes/components/text_area.py +1 -1
  169. reflex/components/radix/themes/components/text_area.pyi +111 -96
  170. reflex/components/radix/themes/components/text_field.py +1 -1
  171. reflex/components/radix/themes/components/text_field.pyi +286 -247
  172. reflex/components/radix/themes/components/tooltip.py +1 -1
  173. reflex/components/radix/themes/components/tooltip.pyi +37 -26
  174. reflex/components/radix/themes/layout/__init__.pyi +0 -1
  175. reflex/components/radix/themes/layout/base.py +1 -1
  176. reflex/components/radix/themes/layout/base.pyi +67 -56
  177. reflex/components/radix/themes/layout/box.pyi +45 -34
  178. reflex/components/radix/themes/layout/center.pyi +67 -56
  179. reflex/components/radix/themes/layout/container.py +2 -1
  180. reflex/components/radix/themes/layout/container.pyi +47 -36
  181. reflex/components/radix/themes/layout/flex.py +1 -1
  182. reflex/components/radix/themes/layout/flex.pyi +67 -56
  183. reflex/components/radix/themes/layout/grid.py +1 -1
  184. reflex/components/radix/themes/layout/grid.pyi +75 -64
  185. reflex/components/radix/themes/layout/list.py +6 -5
  186. reflex/components/radix/themes/layout/list.pyi +244 -193
  187. reflex/components/radix/themes/layout/section.py +2 -1
  188. reflex/components/radix/themes/layout/section.pyi +47 -36
  189. reflex/components/radix/themes/layout/spacer.pyi +67 -56
  190. reflex/components/radix/themes/layout/stack.py +1 -1
  191. reflex/components/radix/themes/layout/stack.pyi +159 -128
  192. reflex/components/radix/themes/typography/blockquote.py +1 -1
  193. reflex/components/radix/themes/typography/blockquote.pyi +100 -89
  194. reflex/components/radix/themes/typography/code.py +1 -1
  195. reflex/components/radix/themes/typography/code.pyi +101 -90
  196. reflex/components/radix/themes/typography/heading.py +1 -1
  197. reflex/components/radix/themes/typography/heading.pyi +107 -96
  198. reflex/components/radix/themes/typography/link.py +1 -1
  199. reflex/components/radix/themes/typography/link.pyi +113 -102
  200. reflex/components/radix/themes/typography/text.py +1 -1
  201. reflex/components/radix/themes/typography/text.pyi +572 -501
  202. reflex/components/react_player/audio.pyi +60 -33
  203. reflex/components/react_player/react_player.py +1 -1
  204. reflex/components/react_player/react_player.pyi +60 -33
  205. reflex/components/react_player/video.pyi +60 -33
  206. reflex/components/recharts/cartesian.py +3 -2
  207. reflex/components/recharts/cartesian.pyi +861 -678
  208. reflex/components/recharts/charts.py +5 -4
  209. reflex/components/recharts/charts.pyi +357 -252
  210. reflex/components/recharts/general.py +2 -1
  211. reflex/components/recharts/general.pyi +231 -180
  212. reflex/components/recharts/polar.py +5 -4
  213. reflex/components/recharts/polar.pyi +181 -144
  214. reflex/components/recharts/recharts.pyi +53 -33
  215. reflex/components/sonner/toast.py +17 -16
  216. reflex/components/sonner/toast.pyi +47 -36
  217. reflex/components/suneditor/editor.py +3 -2
  218. reflex/components/suneditor/editor.pyi +78 -55
  219. reflex/components/tags/cond_tag.py +4 -6
  220. reflex/components/tags/iter_tag.py +16 -28
  221. reflex/components/tags/match_tag.py +4 -6
  222. reflex/components/tags/tag.py +23 -40
  223. reflex/custom_components/custom_components.py +1 -3
  224. reflex/event.py +65 -113
  225. reflex/experimental/client_state.py +24 -25
  226. reflex/experimental/hooks.py +16 -16
  227. reflex/experimental/layout.py +5 -5
  228. reflex/experimental/layout.pyi +187 -136
  229. reflex/{vars → ivars}/__init__.py +2 -6
  230. reflex/{vars → ivars}/base.py +216 -599
  231. reflex/{vars → ivars}/function.py +19 -15
  232. reflex/{vars → ivars}/number.py +20 -41
  233. reflex/{vars → ivars}/object.py +30 -28
  234. reflex/{vars → ivars}/sequence.py +50 -53
  235. reflex/middleware/hydrate_middleware.py +0 -2
  236. reflex/middleware/middleware.py +3 -3
  237. reflex/state.py +82 -148
  238. reflex/style.py +22 -21
  239. reflex/utils/exceptions.py +0 -20
  240. reflex/utils/format.py +34 -54
  241. reflex/utils/imports.py +73 -16
  242. reflex/utils/prerequisites.py +15 -35
  243. reflex/utils/pyi_generator.py +8 -13
  244. reflex/utils/serializers.py +22 -12
  245. reflex/utils/telemetry.py +2 -3
  246. reflex/utils/types.py +5 -10
  247. reflex/vars.py +501 -0
  248. {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/METADATA +5 -4
  249. reflex-0.6.0a1.dist-info/RECORD +384 -0
  250. reflex-0.6.0.dist-info/RECORD +0 -382
  251. {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/LICENSE +0 -0
  252. {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/WHEEL +0 -0
  253. {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/entry_points.txt +0 -0
@@ -8,8 +8,9 @@ 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
11
12
  from reflex.style import Style
12
- from reflex.vars.base import Var
13
+ from reflex.vars import Var
13
14
 
14
15
  LiteralListStyleTypeUnordered = Literal["none", "disc", "circle", "square"]
15
16
  LiteralListStyleTypeOrdered = Literal[
@@ -35,47 +36,47 @@ class BaseList(Component):
35
36
  def create( # type: ignore
36
37
  cls,
37
38
  *children,
38
- items: Optional[Union[Iterable, Var[Iterable]]] = None,
39
+ items: Optional[ImmutableVar[Iterable]] = None,
39
40
  list_style_type: Optional[
40
41
  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"],
58
42
  Var[
59
43
  Union[
60
44
  Literal[
61
- "armenian",
45
+ "none",
62
46
  "decimal",
63
47
  "decimal-leading-zero",
64
- "georgian",
65
- "hiragana",
66
- "katakana",
67
- "lower-alpha",
48
+ "lower-roman",
49
+ "upper-roman",
68
50
  "lower-greek",
69
51
  "lower-latin",
70
- "lower-roman",
71
- "none",
72
- "upper-alpha",
73
52
  "upper-latin",
74
- "upper-roman",
53
+ "armenian",
54
+ "georgian",
55
+ "lower-alpha",
56
+ "upper-alpha",
57
+ "hiragana",
58
+ "katakana",
75
59
  ],
76
- Literal["circle", "disc", "none", "square"],
60
+ Literal["none", "disc", "circle", "square"],
77
61
  ]
78
62
  ],
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
+ ],
79
80
  ]
80
81
  ] = None,
81
82
  style: Optional[Style] = None,
@@ -83,41 +84,51 @@ class BaseList(Component):
83
84
  id: Optional[Any] = None,
84
85
  class_name: Optional[Any] = None,
85
86
  autofocus: Optional[bool] = 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,
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,
89
94
  on_context_menu: Optional[
90
- Union[EventHandler, EventSpec, list, Callable, Var]
95
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
91
96
  ] = None,
92
97
  on_double_click: Optional[
93
- Union[EventHandler, EventSpec, list, Callable, Var]
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]
94
105
  ] = None,
95
- on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
96
- on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
97
106
  on_mouse_down: Optional[
98
- Union[EventHandler, EventSpec, list, Callable, Var]
107
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
99
108
  ] = None,
100
109
  on_mouse_enter: Optional[
101
- Union[EventHandler, EventSpec, list, Callable, Var]
110
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
102
111
  ] = None,
103
112
  on_mouse_leave: Optional[
104
- Union[EventHandler, EventSpec, list, Callable, Var]
113
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
105
114
  ] = None,
106
115
  on_mouse_move: Optional[
107
- Union[EventHandler, EventSpec, list, Callable, Var]
116
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
108
117
  ] = None,
109
118
  on_mouse_out: Optional[
110
- Union[EventHandler, EventSpec, list, Callable, Var]
119
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
111
120
  ] = None,
112
121
  on_mouse_over: Optional[
113
- Union[EventHandler, EventSpec, list, Callable, Var]
122
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
114
123
  ] = None,
115
124
  on_mouse_up: Optional[
116
- Union[EventHandler, EventSpec, list, Callable, Var]
125
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
126
+ ] = None,
127
+ on_scroll: Optional[
128
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
117
129
  ] = None,
118
- on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
119
130
  on_unmount: Optional[
120
- Union[EventHandler, EventSpec, list, Callable, Var]
131
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
121
132
  ] = None,
122
133
  **props,
123
134
  ) -> "BaseList":
@@ -149,72 +160,82 @@ class UnorderedList(BaseList, Ul):
149
160
  def create( # type: ignore
150
161
  cls,
151
162
  *children,
152
- items: Optional[Union[Iterable, Var[Iterable]]] = None,
163
+ items: Optional[ImmutableVar[Iterable]] = None,
153
164
  list_style_type: Optional[LiteralListStyleTypeUnordered] = "disc",
154
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
165
+ access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
155
166
  auto_capitalize: Optional[
156
- Union[Var[Union[bool, int, str]], bool, int, str]
167
+ Union[Var[Union[bool, int, str]], str, int, bool]
157
168
  ] = None,
158
169
  content_editable: Optional[
159
- Union[Var[Union[bool, int, str]], bool, int, str]
170
+ Union[Var[Union[bool, int, str]], str, int, bool]
160
171
  ] = None,
161
172
  context_menu: Optional[
162
- Union[Var[Union[bool, int, str]], bool, int, str]
173
+ Union[Var[Union[bool, int, str]], str, int, bool]
163
174
  ] = 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,
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,
166
177
  enter_key_hint: Optional[
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,
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,
178
189
  style: Optional[Style] = None,
179
190
  key: Optional[Any] = None,
180
191
  id: Optional[Any] = None,
181
192
  class_name: Optional[Any] = None,
182
193
  autofocus: Optional[bool] = 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,
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,
186
201
  on_context_menu: Optional[
187
- Union[EventHandler, EventSpec, list, Callable, Var]
202
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
188
203
  ] = None,
189
204
  on_double_click: Optional[
190
- Union[EventHandler, EventSpec, list, Callable, Var]
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]
191
212
  ] = None,
192
- on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
193
- on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
194
213
  on_mouse_down: Optional[
195
- Union[EventHandler, EventSpec, list, Callable, Var]
214
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
196
215
  ] = None,
197
216
  on_mouse_enter: Optional[
198
- Union[EventHandler, EventSpec, list, Callable, Var]
217
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
199
218
  ] = None,
200
219
  on_mouse_leave: Optional[
201
- Union[EventHandler, EventSpec, list, Callable, Var]
220
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
202
221
  ] = None,
203
222
  on_mouse_move: Optional[
204
- Union[EventHandler, EventSpec, list, Callable, Var]
223
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
205
224
  ] = None,
206
225
  on_mouse_out: Optional[
207
- Union[EventHandler, EventSpec, list, Callable, Var]
226
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
208
227
  ] = None,
209
228
  on_mouse_over: Optional[
210
- Union[EventHandler, EventSpec, list, Callable, Var]
229
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
211
230
  ] = None,
212
231
  on_mouse_up: Optional[
213
- Union[EventHandler, EventSpec, list, Callable, Var]
232
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
233
+ ] = None,
234
+ on_scroll: Optional[
235
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
214
236
  ] = None,
215
- on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
216
237
  on_unmount: Optional[
217
- Union[EventHandler, EventSpec, list, Callable, Var]
238
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
218
239
  ] = None,
219
240
  **props,
220
241
  ) -> "UnorderedList":
@@ -260,75 +281,85 @@ class OrderedList(BaseList, Ol):
260
281
  def create( # type: ignore
261
282
  cls,
262
283
  *children,
263
- items: Optional[Union[Iterable, Var[Iterable]]] = None,
284
+ items: Optional[ImmutableVar[Iterable]] = None,
264
285
  list_style_type: Optional[LiteralListStyleTypeOrdered] = "decimal",
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,
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,
269
290
  auto_capitalize: Optional[
270
- Union[Var[Union[bool, int, str]], bool, int, str]
291
+ Union[Var[Union[bool, int, str]], str, int, bool]
271
292
  ] = None,
272
293
  content_editable: Optional[
273
- Union[Var[Union[bool, int, str]], bool, int, str]
294
+ Union[Var[Union[bool, int, str]], str, int, bool]
274
295
  ] = None,
275
296
  context_menu: Optional[
276
- Union[Var[Union[bool, int, str]], bool, int, str]
297
+ Union[Var[Union[bool, int, str]], str, int, bool]
277
298
  ] = 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,
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,
280
301
  enter_key_hint: Optional[
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,
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,
292
313
  style: Optional[Style] = None,
293
314
  key: Optional[Any] = None,
294
315
  id: Optional[Any] = None,
295
316
  class_name: Optional[Any] = None,
296
317
  autofocus: Optional[bool] = 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,
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,
300
325
  on_context_menu: Optional[
301
- Union[EventHandler, EventSpec, list, Callable, Var]
326
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
302
327
  ] = None,
303
328
  on_double_click: Optional[
304
- Union[EventHandler, EventSpec, list, Callable, Var]
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]
305
336
  ] = None,
306
- on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
307
- on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
308
337
  on_mouse_down: Optional[
309
- Union[EventHandler, EventSpec, list, Callable, Var]
338
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
310
339
  ] = None,
311
340
  on_mouse_enter: Optional[
312
- Union[EventHandler, EventSpec, list, Callable, Var]
341
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
313
342
  ] = None,
314
343
  on_mouse_leave: Optional[
315
- Union[EventHandler, EventSpec, list, Callable, Var]
344
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
316
345
  ] = None,
317
346
  on_mouse_move: Optional[
318
- Union[EventHandler, EventSpec, list, Callable, Var]
347
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
319
348
  ] = None,
320
349
  on_mouse_out: Optional[
321
- Union[EventHandler, EventSpec, list, Callable, Var]
350
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
322
351
  ] = None,
323
352
  on_mouse_over: Optional[
324
- Union[EventHandler, EventSpec, list, Callable, Var]
353
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
325
354
  ] = None,
326
355
  on_mouse_up: Optional[
327
- Union[EventHandler, EventSpec, list, Callable, Var]
356
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
357
+ ] = None,
358
+ on_scroll: Optional[
359
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
328
360
  ] = None,
329
- on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
330
361
  on_unmount: Optional[
331
- Union[EventHandler, EventSpec, list, Callable, Var]
362
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
332
363
  ] = None,
333
364
  **props,
334
365
  ) -> "OrderedList":
@@ -377,70 +408,80 @@ class ListItem(Li):
377
408
  def create( # type: ignore
378
409
  cls,
379
410
  *children,
380
- access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
411
+ access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
381
412
  auto_capitalize: Optional[
382
- Union[Var[Union[bool, int, str]], bool, int, str]
413
+ Union[Var[Union[bool, int, str]], str, int, bool]
383
414
  ] = None,
384
415
  content_editable: Optional[
385
- Union[Var[Union[bool, int, str]], bool, int, str]
416
+ Union[Var[Union[bool, int, str]], str, int, bool]
386
417
  ] = None,
387
418
  context_menu: Optional[
388
- Union[Var[Union[bool, int, str]], bool, int, str]
419
+ Union[Var[Union[bool, int, str]], str, int, bool]
389
420
  ] = 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,
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,
392
423
  enter_key_hint: Optional[
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,
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,
404
435
  style: Optional[Style] = None,
405
436
  key: Optional[Any] = None,
406
437
  id: Optional[Any] = None,
407
438
  class_name: Optional[Any] = None,
408
439
  autofocus: Optional[bool] = 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,
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,
412
447
  on_context_menu: Optional[
413
- Union[EventHandler, EventSpec, list, Callable, Var]
448
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
414
449
  ] = None,
415
450
  on_double_click: Optional[
416
- Union[EventHandler, EventSpec, list, Callable, Var]
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]
417
458
  ] = None,
418
- on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
419
- on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
420
459
  on_mouse_down: Optional[
421
- Union[EventHandler, EventSpec, list, Callable, Var]
460
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
422
461
  ] = None,
423
462
  on_mouse_enter: Optional[
424
- Union[EventHandler, EventSpec, list, Callable, Var]
463
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
425
464
  ] = None,
426
465
  on_mouse_leave: Optional[
427
- Union[EventHandler, EventSpec, list, Callable, Var]
466
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
428
467
  ] = None,
429
468
  on_mouse_move: Optional[
430
- Union[EventHandler, EventSpec, list, Callable, Var]
469
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
431
470
  ] = None,
432
471
  on_mouse_out: Optional[
433
- Union[EventHandler, EventSpec, list, Callable, Var]
472
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
434
473
  ] = None,
435
474
  on_mouse_over: Optional[
436
- Union[EventHandler, EventSpec, list, Callable, Var]
475
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
437
476
  ] = None,
438
477
  on_mouse_up: Optional[
439
- Union[EventHandler, EventSpec, list, Callable, Var]
478
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
479
+ ] = None,
480
+ on_scroll: Optional[
481
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
440
482
  ] = None,
441
- on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
442
483
  on_unmount: Optional[
443
- Union[EventHandler, EventSpec, list, Callable, Var]
484
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
444
485
  ] = None,
445
486
  **props,
446
487
  ) -> "ListItem":
@@ -486,47 +527,47 @@ class List(ComponentNamespace):
486
527
  @staticmethod
487
528
  def __call__(
488
529
  *children,
489
- items: Optional[Union[Iterable, Var[Iterable]]] = None,
530
+ items: Optional[ImmutableVar[Iterable]] = None,
490
531
  list_style_type: Optional[
491
532
  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"],
509
533
  Var[
510
534
  Union[
511
535
  Literal[
512
- "armenian",
536
+ "none",
513
537
  "decimal",
514
538
  "decimal-leading-zero",
515
- "georgian",
516
- "hiragana",
517
- "katakana",
518
- "lower-alpha",
539
+ "lower-roman",
540
+ "upper-roman",
519
541
  "lower-greek",
520
542
  "lower-latin",
521
- "lower-roman",
522
- "none",
523
- "upper-alpha",
524
543
  "upper-latin",
525
- "upper-roman",
544
+ "armenian",
545
+ "georgian",
546
+ "lower-alpha",
547
+ "upper-alpha",
548
+ "hiragana",
549
+ "katakana",
526
550
  ],
527
- Literal["circle", "disc", "none", "square"],
551
+ Literal["none", "disc", "circle", "square"],
528
552
  ]
529
553
  ],
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
+ ],
530
571
  ]
531
572
  ] = None,
532
573
  style: Optional[Style] = None,
@@ -534,41 +575,51 @@ class List(ComponentNamespace):
534
575
  id: Optional[Any] = None,
535
576
  class_name: Optional[Any] = None,
536
577
  autofocus: Optional[bool] = 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,
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,
540
585
  on_context_menu: Optional[
541
- Union[EventHandler, EventSpec, list, Callable, Var]
586
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
542
587
  ] = None,
543
588
  on_double_click: Optional[
544
- Union[EventHandler, EventSpec, list, Callable, Var]
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]
545
596
  ] = None,
546
- on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
547
- on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
548
597
  on_mouse_down: Optional[
549
- Union[EventHandler, EventSpec, list, Callable, Var]
598
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
550
599
  ] = None,
551
600
  on_mouse_enter: Optional[
552
- Union[EventHandler, EventSpec, list, Callable, Var]
601
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
553
602
  ] = None,
554
603
  on_mouse_leave: Optional[
555
- Union[EventHandler, EventSpec, list, Callable, Var]
604
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
556
605
  ] = None,
557
606
  on_mouse_move: Optional[
558
- Union[EventHandler, EventSpec, list, Callable, Var]
607
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
559
608
  ] = None,
560
609
  on_mouse_out: Optional[
561
- Union[EventHandler, EventSpec, list, Callable, Var]
610
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
562
611
  ] = None,
563
612
  on_mouse_over: Optional[
564
- Union[EventHandler, EventSpec, list, Callable, Var]
613
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
565
614
  ] = None,
566
615
  on_mouse_up: Optional[
567
- Union[EventHandler, EventSpec, list, Callable, Var]
616
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
617
+ ] = None,
618
+ on_scroll: Optional[
619
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
568
620
  ] = None,
569
- on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
570
621
  on_unmount: Optional[
571
- Union[EventHandler, EventSpec, list, Callable, Var]
622
+ Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
572
623
  ] = None,
573
624
  **props,
574
625
  ) -> "BaseList":