reflex 0.3.9a2__py3-none-any.whl → 0.3.10__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 (246) hide show
  1. reflex/__init__.py +3 -1
  2. reflex/__init__.pyi +3 -1
  3. reflex/app.py +13 -5
  4. reflex/compiler/utils.py +13 -12
  5. reflex/components/base/app_wrap.pyi +1 -0
  6. reflex/components/base/body.pyi +2 -0
  7. reflex/components/base/document.pyi +10 -0
  8. reflex/components/base/fragment.pyi +2 -0
  9. reflex/components/base/head.pyi +4 -0
  10. reflex/components/base/link.pyi +4 -0
  11. reflex/components/base/meta.pyi +8 -0
  12. reflex/components/base/script.pyi +2 -0
  13. reflex/components/chakra/base.pyi +7 -0
  14. reflex/components/chakra/datadisplay/badge.pyi +2 -0
  15. reflex/components/chakra/datadisplay/code.pyi +4 -0
  16. reflex/components/chakra/datadisplay/divider.pyi +2 -0
  17. reflex/components/chakra/datadisplay/keyboard_key.pyi +2 -0
  18. reflex/components/chakra/datadisplay/list.pyi +8 -0
  19. reflex/components/chakra/datadisplay/stat.pyi +12 -0
  20. reflex/components/chakra/datadisplay/table.pyi +18 -0
  21. reflex/components/chakra/datadisplay/tag.pyi +9 -0
  22. reflex/components/chakra/disclosure/accordion.pyi +10 -0
  23. reflex/components/chakra/disclosure/tabs.py +8 -0
  24. reflex/components/chakra/disclosure/tabs.pyi +10 -0
  25. reflex/components/chakra/disclosure/transition.pyi +12 -0
  26. reflex/components/chakra/disclosure/visuallyhidden.pyi +2 -0
  27. reflex/components/chakra/feedback/alert.pyi +8 -0
  28. reflex/components/chakra/feedback/circularprogress.pyi +4 -0
  29. reflex/components/chakra/feedback/progress.pyi +2 -0
  30. reflex/components/chakra/feedback/skeleton.pyi +6 -0
  31. reflex/components/chakra/feedback/spinner.pyi +2 -0
  32. reflex/components/chakra/forms/button.pyi +4 -0
  33. reflex/components/chakra/forms/checkbox.pyi +4 -0
  34. reflex/components/chakra/forms/colormodeswitch.pyi +7 -0
  35. reflex/components/chakra/forms/date_picker.pyi +2 -0
  36. reflex/components/chakra/forms/date_time_picker.pyi +2 -0
  37. reflex/components/chakra/forms/editable.pyi +8 -0
  38. reflex/components/chakra/forms/email.pyi +2 -0
  39. reflex/components/chakra/forms/form.pyi +10 -0
  40. reflex/components/chakra/forms/iconbutton.py +1 -0
  41. reflex/components/chakra/forms/iconbutton.pyi +2 -0
  42. reflex/components/chakra/forms/input.pyi +12 -0
  43. reflex/components/chakra/forms/numberinput.pyi +10 -0
  44. reflex/components/chakra/forms/password.pyi +2 -0
  45. reflex/components/chakra/forms/pininput.pyi +4 -0
  46. reflex/components/chakra/forms/radio.pyi +4 -0
  47. reflex/components/chakra/forms/rangeslider.pyi +8 -0
  48. reflex/components/chakra/forms/select.pyi +4 -0
  49. reflex/components/chakra/forms/slider.pyi +10 -0
  50. reflex/components/chakra/forms/switch.pyi +2 -0
  51. reflex/components/chakra/forms/textarea.pyi +2 -0
  52. reflex/components/chakra/forms/time_picker.pyi +2 -0
  53. reflex/components/chakra/layout/aspect_ratio.pyi +2 -0
  54. reflex/components/chakra/layout/box.pyi +2 -0
  55. reflex/components/chakra/layout/card.pyi +7 -0
  56. reflex/components/chakra/layout/center.pyi +6 -0
  57. reflex/components/chakra/layout/container.pyi +2 -0
  58. reflex/components/chakra/layout/flex.pyi +2 -0
  59. reflex/components/chakra/layout/grid.pyi +6 -0
  60. reflex/components/chakra/layout/html.pyi +2 -0
  61. reflex/components/chakra/layout/spacer.pyi +2 -0
  62. reflex/components/chakra/layout/stack.pyi +6 -0
  63. reflex/components/chakra/layout/wrap.pyi +4 -0
  64. reflex/components/chakra/media/avatar.pyi +6 -0
  65. reflex/components/chakra/media/icon.pyi +4 -0
  66. reflex/components/chakra/media/image.pyi +2 -0
  67. reflex/components/chakra/navigation/breadcrumb.pyi +8 -0
  68. reflex/components/chakra/navigation/link.pyi +2 -0
  69. reflex/components/chakra/navigation/linkoverlay.pyi +4 -0
  70. reflex/components/chakra/navigation/stepper.pyi +18 -0
  71. reflex/components/chakra/overlay/alertdialog.pyi +14 -0
  72. reflex/components/chakra/overlay/drawer.pyi +14 -0
  73. reflex/components/chakra/overlay/menu.pyi +16 -0
  74. reflex/components/chakra/overlay/modal.pyi +14 -0
  75. reflex/components/chakra/overlay/popover.pyi +18 -0
  76. reflex/components/chakra/overlay/tooltip.pyi +2 -0
  77. reflex/components/chakra/typography/heading.pyi +2 -0
  78. reflex/components/chakra/typography/highlight.pyi +2 -0
  79. reflex/components/chakra/typography/span.pyi +2 -0
  80. reflex/components/chakra/typography/text.pyi +2 -0
  81. reflex/components/component.py +41 -3
  82. reflex/components/core/__init__.py +2 -0
  83. reflex/components/core/banner.pyi +3 -0
  84. reflex/components/core/client_side_routing.pyi +4 -0
  85. reflex/components/core/colors.py +21 -0
  86. reflex/components/core/cond.py +11 -2
  87. reflex/components/core/debounce.pyi +1 -0
  88. reflex/components/core/layout/__init__.py +1 -0
  89. reflex/components/core/match.py +44 -18
  90. reflex/components/core/upload.py +8 -2
  91. reflex/components/core/upload.pyi +7 -1
  92. reflex/components/datadisplay/dataeditor.pyi +2 -0
  93. reflex/components/el/element.pyi +2 -0
  94. reflex/components/el/elements/base.pyi +2 -0
  95. reflex/components/el/elements/forms.py +3 -0
  96. reflex/components/el/elements/forms.pyi +32 -0
  97. reflex/components/el/elements/inline.pyi +56 -0
  98. reflex/components/el/elements/media.pyi +28 -0
  99. reflex/components/el/elements/metadata.pyi +10 -0
  100. reflex/components/el/elements/other.pyi +14 -0
  101. reflex/components/el/elements/scripts.pyi +6 -0
  102. reflex/components/el/elements/sectioning.pyi +30 -0
  103. reflex/components/el/elements/tables.pyi +20 -0
  104. reflex/components/el/elements/typography.pyi +30 -0
  105. reflex/components/gridjs/datatable.pyi +4 -0
  106. reflex/components/lucide/__init__.py +5 -0
  107. reflex/components/lucide/icon.py +1484 -0
  108. reflex/components/lucide/icon.pyi +1594 -0
  109. reflex/components/markdown/markdown.pyi +2 -0
  110. reflex/components/moment/moment.pyi +2 -0
  111. reflex/components/next/base.pyi +2 -0
  112. reflex/components/next/image.pyi +2 -0
  113. reflex/components/next/link.pyi +2 -0
  114. reflex/components/next/video.pyi +2 -0
  115. reflex/components/plotly/plotly.pyi +4 -0
  116. reflex/components/radix/primitives/__init__.py +10 -0
  117. reflex/components/radix/primitives/accordion.py +51 -32
  118. reflex/components/radix/primitives/accordion.pyi +16 -3
  119. reflex/components/radix/primitives/base.pyi +4 -0
  120. reflex/components/radix/primitives/drawer.py +240 -0
  121. reflex/components/radix/primitives/drawer.pyi +814 -0
  122. reflex/components/radix/primitives/form.py +40 -7
  123. reflex/components/radix/primitives/form.pyi +32 -10
  124. reflex/components/radix/primitives/progress.py +2 -2
  125. reflex/components/radix/primitives/progress.pyi +6 -0
  126. reflex/components/radix/primitives/slider.pyi +10 -0
  127. reflex/components/radix/themes/base.py +46 -12
  128. reflex/components/radix/themes/base.pyi +23 -9
  129. reflex/components/radix/themes/components/__init__.py +4 -2
  130. reflex/components/radix/themes/components/alertdialog.py +13 -12
  131. reflex/components/radix/themes/components/alertdialog.pyi +23 -351
  132. reflex/components/radix/themes/components/aspectratio.py +2 -5
  133. reflex/components/radix/themes/components/aspectratio.pyi +4 -51
  134. reflex/components/radix/themes/components/avatar.py +3 -4
  135. reflex/components/radix/themes/components/avatar.pyi +4 -57
  136. reflex/components/radix/themes/components/badge.py +3 -4
  137. reflex/components/radix/themes/components/badge.pyi +4 -56
  138. reflex/components/radix/themes/components/button.py +2 -3
  139. reflex/components/radix/themes/components/button.pyi +3 -51
  140. reflex/components/radix/themes/components/callout.py +9 -12
  141. reflex/components/radix/themes/components/callout.pyi +24 -217
  142. reflex/components/radix/themes/components/card.py +1 -2
  143. reflex/components/radix/themes/components/card.pyi +4 -51
  144. reflex/components/radix/themes/components/checkbox.py +11 -5
  145. reflex/components/radix/themes/components/checkbox.pyi +13 -112
  146. reflex/components/radix/themes/components/contextmenu.py +21 -21
  147. reflex/components/radix/themes/components/contextmenu.pyi +26 -401
  148. reflex/components/radix/themes/components/dialog.py +13 -16
  149. reflex/components/radix/themes/components/dialog.pyi +20 -303
  150. reflex/components/radix/themes/components/dropdownmenu.py +196 -32
  151. reflex/components/radix/themes/components/dropdownmenu.pyi +147 -389
  152. reflex/components/radix/themes/components/hovercard.py +5 -5
  153. reflex/components/radix/themes/components/hovercard.pyi +11 -151
  154. reflex/components/radix/themes/components/iconbutton.py +56 -4
  155. reflex/components/radix/themes/components/iconbutton.pyi +25 -71
  156. reflex/components/radix/themes/components/icons.pyi +4 -0
  157. reflex/components/radix/themes/components/inset.py +1 -2
  158. reflex/components/radix/themes/components/inset.pyi +4 -51
  159. reflex/components/radix/themes/components/popover.py +12 -12
  160. reflex/components/radix/themes/components/popover.pyi +14 -201
  161. reflex/components/radix/themes/components/radiogroup.py +47 -20
  162. reflex/components/radix/themes/components/radiogroup.pyi +26 -171
  163. reflex/components/radix/themes/components/scrollarea.py +2 -3
  164. reflex/components/radix/themes/components/scrollarea.pyi +4 -51
  165. reflex/components/radix/themes/components/select.py +28 -25
  166. reflex/components/radix/themes/components/select.pyi +43 -419
  167. reflex/components/radix/themes/components/separator.py +4 -5
  168. reflex/components/radix/themes/components/separator.pyi +5 -52
  169. reflex/components/radix/themes/components/slider.py +8 -5
  170. reflex/components/radix/themes/components/slider.pyi +9 -60
  171. reflex/components/radix/themes/components/switch.py +6 -4
  172. reflex/components/radix/themes/components/switch.pyi +5 -53
  173. reflex/components/radix/themes/components/table.py +14 -15
  174. reflex/components/radix/themes/components/table.pyi +22 -351
  175. reflex/components/radix/themes/components/tabs.py +9 -6
  176. reflex/components/radix/themes/components/tabs.pyi +18 -205
  177. reflex/components/radix/themes/components/textarea.py +2 -3
  178. reflex/components/radix/themes/components/textarea.pyi +10 -53
  179. reflex/components/radix/themes/components/textfield.py +105 -4
  180. reflex/components/radix/themes/components/textfield.pyi +200 -108
  181. reflex/components/radix/themes/components/tooltip.py +102 -2
  182. reflex/components/radix/themes/components/tooltip.pyi +66 -110
  183. reflex/components/radix/themes/layout/__init__.py +7 -0
  184. reflex/components/radix/themes/layout/base.pyi +2 -0
  185. reflex/components/radix/themes/layout/box.py +2 -2
  186. reflex/components/radix/themes/layout/box.pyi +4 -104
  187. reflex/components/radix/themes/layout/center.py +19 -0
  188. reflex/components/radix/themes/layout/center.pyi +261 -0
  189. reflex/components/radix/themes/layout/container.py +2 -2
  190. reflex/components/radix/themes/layout/container.pyi +4 -104
  191. reflex/components/radix/themes/layout/flex.py +2 -2
  192. reflex/components/radix/themes/layout/flex.pyi +4 -105
  193. reflex/components/radix/themes/layout/grid.pyi +2 -0
  194. reflex/components/radix/themes/layout/section.py +2 -2
  195. reflex/components/radix/themes/layout/section.pyi +4 -104
  196. reflex/components/radix/themes/layout/spacer.py +19 -0
  197. reflex/components/radix/themes/layout/spacer.pyi +261 -0
  198. reflex/components/radix/themes/layout/stack.py +60 -0
  199. reflex/components/radix/themes/layout/stack.pyi +537 -0
  200. reflex/components/radix/themes/typography/blockquote.py +2 -3
  201. reflex/components/radix/themes/typography/blockquote.pyi +4 -51
  202. reflex/components/radix/themes/typography/code.py +2 -3
  203. reflex/components/radix/themes/typography/code.pyi +4 -56
  204. reflex/components/radix/themes/typography/em.py +1 -2
  205. reflex/components/radix/themes/typography/em.pyi +4 -51
  206. reflex/components/radix/themes/typography/heading.py +2 -3
  207. reflex/components/radix/themes/typography/heading.pyi +4 -51
  208. reflex/components/radix/themes/typography/kbd.py +1 -2
  209. reflex/components/radix/themes/typography/kbd.pyi +4 -51
  210. reflex/components/radix/themes/typography/link.py +34 -3
  211. reflex/components/radix/themes/typography/link.pyi +41 -86
  212. reflex/components/radix/themes/typography/quote.py +1 -2
  213. reflex/components/radix/themes/typography/quote.pyi +4 -51
  214. reflex/components/radix/themes/typography/strong.py +1 -2
  215. reflex/components/radix/themes/typography/strong.pyi +4 -51
  216. reflex/components/radix/themes/typography/text.py +2 -3
  217. reflex/components/radix/themes/typography/text.pyi +4 -51
  218. reflex/components/radix/themes/typography.py +10 -11
  219. reflex/components/react_player/audio.pyi +2 -0
  220. reflex/components/react_player/react_player.pyi +2 -0
  221. reflex/components/react_player/video.pyi +2 -0
  222. reflex/components/recharts/cartesian.pyi +38 -0
  223. reflex/components/recharts/charts.pyi +22 -0
  224. reflex/components/recharts/general.pyi +10 -0
  225. reflex/components/recharts/polar.pyi +12 -0
  226. reflex/components/recharts/recharts.pyi +4 -0
  227. reflex/components/suneditor/editor.pyi +2 -0
  228. reflex/components/tags/tag.py +1 -1
  229. reflex/constants/base.py +5 -1
  230. reflex/constants/colors.py +80 -0
  231. reflex/constants/event.py +10 -1
  232. reflex/page.py +1 -1
  233. reflex/reflex.py +4 -0
  234. reflex/style.py +8 -3
  235. reflex/testing.py +21 -10
  236. reflex/utils/format.py +13 -9
  237. reflex/utils/prerequisites.py +41 -3
  238. reflex/utils/serializers.py +14 -0
  239. reflex/utils/telemetry.py +8 -2
  240. reflex/utils/types.py +36 -2
  241. reflex/vars.py +53 -18
  242. {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/METADATA +1 -2
  243. {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/RECORD +246 -232
  244. {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/WHEEL +1 -1
  245. {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/LICENSE +0 -0
  246. {reflex-0.3.9a2.dist-info → reflex-0.3.10.dist-info}/entry_points.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  """A file upload component."""
2
2
  from __future__ import annotations
3
3
 
4
- from typing import Any, Dict, List, Optional, Union
4
+ from typing import Any, ClassVar, Dict, List, Optional, Union
5
5
 
6
6
  from reflex import constants
7
7
  from reflex.components.chakra.forms.input import Input
@@ -137,6 +137,9 @@ class Upload(Component):
137
137
  # Whether to disable using the space/enter keys to upload.
138
138
  no_keyboard: Var[bool]
139
139
 
140
+ # Marked True when any Upload component is created.
141
+ is_used: ClassVar[bool] = False
142
+
140
143
  @classmethod
141
144
  def create(cls, *children, **props) -> Component:
142
145
  """Create an upload component.
@@ -148,6 +151,9 @@ class Upload(Component):
148
151
  Returns:
149
152
  The upload component.
150
153
  """
154
+ # Mark the Upload component as used in the app.
155
+ cls.is_used = True
156
+
151
157
  # get only upload component props
152
158
  supported_props = cls.get_props()
153
159
  upload_props = {
@@ -192,5 +198,5 @@ class Upload(Component):
192
198
  @staticmethod
193
199
  def _get_app_wrap_components() -> dict[tuple[int, str], Component]:
194
200
  return {
195
- (5, "UploadFilesProvider"): UploadFilesProvider(),
201
+ (5, "UploadFilesProvider"): UploadFilesProvider.create(),
196
202
  }
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
7
7
  from reflex.vars import Var, BaseVar, ComputedVar
8
8
  from reflex.event import EventChain, EventHandler, EventSpec
9
9
  from reflex.style import Style
10
- from typing import Any, Dict, List, Optional, Union
10
+ from typing import Any, ClassVar, Dict, List, Optional, Union
11
11
  from reflex import constants
12
12
  from reflex.components.chakra.forms.input import Input
13
13
  from reflex.components.chakra.layout.box import Box
@@ -39,6 +39,7 @@ class UploadFilesProvider(Component):
39
39
  id: Optional[Any] = None,
40
40
  class_name: Optional[Any] = None,
41
41
  autofocus: Optional[bool] = None,
42
+ _rename_props: Optional[Dict[str, str]] = None,
42
43
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
43
44
  on_blur: Optional[
44
45
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -96,6 +97,7 @@ class UploadFilesProvider(Component):
96
97
  id: The id for the component.
97
98
  class_name: The class name for the component.
98
99
  autofocus: Whether the component should take the focus once the page is loaded
100
+ _rename_props: props to change the name of
99
101
  custom_attrs: custom attribute
100
102
  **props: The props of the component.
101
103
 
@@ -108,6 +110,8 @@ class UploadFilesProvider(Component):
108
110
  ...
109
111
 
110
112
  class Upload(Component):
113
+ is_used: ClassVar[bool] = False
114
+
111
115
  @overload
112
116
  @classmethod
113
117
  def create( # type: ignore
@@ -129,6 +133,7 @@ class Upload(Component):
129
133
  id: Optional[Any] = None,
130
134
  class_name: Optional[Any] = None,
131
135
  autofocus: Optional[bool] = None,
136
+ _rename_props: Optional[Dict[str, str]] = None,
132
137
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
133
138
  on_blur: Optional[
134
139
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -198,6 +203,7 @@ class Upload(Component):
198
203
  id: The id for the component.
199
204
  class_name: The class name for the component.
200
205
  autofocus: Whether the component should take the focus once the page is loaded
206
+ _rename_props: props to change the name of
201
207
  custom_attrs: custom attribute
202
208
  **props: The properties of the component.
203
209
 
@@ -134,6 +134,7 @@ class DataEditor(NoSSRComponent):
134
134
  id: Optional[Any] = None,
135
135
  class_name: Optional[Any] = None,
136
136
  autofocus: Optional[bool] = None,
137
+ _rename_props: Optional[Dict[str, str]] = None,
137
138
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
138
139
  on_cell_activated: Optional[
139
140
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -223,6 +224,7 @@ class DataEditor(NoSSRComponent):
223
224
  id: The id for the component.
224
225
  class_name: The class name for the component.
225
226
  autofocus: Whether the component should take the focus once the page is loaded
227
+ _rename_props: props to change the name of
226
228
  custom_attrs: custom attribute
227
229
  **props: The props of the data editor.
228
230
 
@@ -20,6 +20,7 @@ class Element(Component):
20
20
  id: Optional[Any] = None,
21
21
  class_name: Optional[Any] = None,
22
22
  autofocus: Optional[bool] = None,
23
+ _rename_props: Optional[Dict[str, str]] = None,
23
24
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
24
25
  on_blur: Optional[
25
26
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -77,6 +78,7 @@ class Element(Component):
77
78
  id: The id for the component.
78
79
  class_name: The class name for the component.
79
80
  autofocus: Whether the component should take the focus once the page is loaded
81
+ _rename_props: props to change the name of
80
82
  custom_attrs: custom attribute
81
83
  **props: The props of the component.
82
84
 
@@ -65,6 +65,7 @@ class BaseHTML(Element):
65
65
  id: Optional[Any] = None,
66
66
  class_name: Optional[Any] = None,
67
67
  autofocus: Optional[bool] = None,
68
+ _rename_props: Optional[Dict[str, str]] = None,
68
69
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
69
70
  on_blur: Optional[
70
71
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -139,6 +140,7 @@ class BaseHTML(Element):
139
140
  id: The id for the component.
140
141
  class_name: The class name for the component.
141
142
  autofocus: Whether the component should take the focus once the page is loaded
143
+ _rename_props: props to change the name of
142
144
  custom_attrs: custom attribute
143
145
  **props: The props of the component.
144
146
 
@@ -413,6 +413,9 @@ class Textarea(BaseHTML):
413
413
  # Visible number of lines in the text control
414
414
  rows: Var[Union[str, int, bool]]
415
415
 
416
+ # The controlled value of the textarea, read only unless used with on_change
417
+ value: Var[Union[str, int, bool]]
418
+
416
419
  # How the text in the textarea is to be wrapped when submitting the form
417
420
  wrap: Var[Union[str, int, bool]]
418
421
 
@@ -94,6 +94,7 @@ class Button(BaseHTML):
94
94
  id: Optional[Any] = None,
95
95
  class_name: Optional[Any] = None,
96
96
  autofocus: Optional[bool] = None,
97
+ _rename_props: Optional[Dict[str, str]] = None,
97
98
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
98
99
  on_blur: Optional[
99
100
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -179,6 +180,7 @@ class Button(BaseHTML):
179
180
  id: The id for the component.
180
181
  class_name: The class name for the component.
181
182
  autofocus: Whether the component should take the focus once the page is loaded
183
+ _rename_props: props to change the name of
182
184
  custom_attrs: custom attribute
183
185
  **props: The props of the component.
184
186
 
@@ -244,6 +246,7 @@ class Datalist(BaseHTML):
244
246
  id: Optional[Any] = None,
245
247
  class_name: Optional[Any] = None,
246
248
  autofocus: Optional[bool] = None,
249
+ _rename_props: Optional[Dict[str, str]] = None,
247
250
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
248
251
  on_blur: Optional[
249
252
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -318,6 +321,7 @@ class Datalist(BaseHTML):
318
321
  id: The id for the component.
319
322
  class_name: The class name for the component.
320
323
  autofocus: Whether the component should take the focus once the page is loaded
324
+ _rename_props: props to change the name of
321
325
  custom_attrs: custom attribute
322
326
  **props: The props of the component.
323
327
 
@@ -345,6 +349,7 @@ class Fieldset(Element):
345
349
  id: Optional[Any] = None,
346
350
  class_name: Optional[Any] = None,
347
351
  autofocus: Optional[bool] = None,
352
+ _rename_props: Optional[Dict[str, str]] = None,
348
353
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
349
354
  on_blur: Optional[
350
355
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -405,6 +410,7 @@ class Fieldset(Element):
405
410
  id: The id for the component.
406
411
  class_name: The class name for the component.
407
412
  autofocus: Whether the component should take the focus once the page is loaded
413
+ _rename_props: props to change the name of
408
414
  custom_attrs: custom attribute
409
415
  **props: The props of the component.
410
416
 
@@ -495,6 +501,7 @@ class Form(BaseHTML):
495
501
  id: Optional[Any] = None,
496
502
  class_name: Optional[Any] = None,
497
503
  autofocus: Optional[bool] = None,
504
+ _rename_props: Optional[Dict[str, str]] = None,
498
505
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
499
506
  on_blur: Optional[
500
507
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -578,6 +585,7 @@ class Form(BaseHTML):
578
585
  id: The id for the component.
579
586
  class_name: The class name for the component.
580
587
  autofocus: Whether the component should take the focus once the page is loaded
588
+ _rename_props: props to change the name of
581
589
  custom_attrs: custom attribute
582
590
  **props: The props of the component.
583
591
 
@@ -723,6 +731,7 @@ class Input(BaseHTML):
723
731
  id: Optional[Any] = None,
724
732
  class_name: Optional[Any] = None,
725
733
  autofocus: Optional[bool] = None,
734
+ _rename_props: Optional[Dict[str, str]] = None,
726
735
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
727
736
  on_blur: Optional[
728
737
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -839,6 +848,7 @@ class Input(BaseHTML):
839
848
  id: The id for the component.
840
849
  class_name: The class name for the component.
841
850
  autofocus: Whether the component should take the focus once the page is loaded
851
+ _rename_props: props to change the name of
842
852
  custom_attrs: custom attribute
843
853
  **props: The props of the component.
844
854
 
@@ -908,6 +918,7 @@ class Label(BaseHTML):
908
918
  id: Optional[Any] = None,
909
919
  class_name: Optional[Any] = None,
910
920
  autofocus: Optional[bool] = None,
921
+ _rename_props: Optional[Dict[str, str]] = None,
911
922
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
912
923
  on_blur: Optional[
913
924
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -984,6 +995,7 @@ class Label(BaseHTML):
984
995
  id: The id for the component.
985
996
  class_name: The class name for the component.
986
997
  autofocus: Whether the component should take the focus once the page is loaded
998
+ _rename_props: props to change the name of
987
999
  custom_attrs: custom attribute
988
1000
  **props: The props of the component.
989
1001
 
@@ -1049,6 +1061,7 @@ class Legend(BaseHTML):
1049
1061
  id: Optional[Any] = None,
1050
1062
  class_name: Optional[Any] = None,
1051
1063
  autofocus: Optional[bool] = None,
1064
+ _rename_props: Optional[Dict[str, str]] = None,
1052
1065
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1053
1066
  on_blur: Optional[
1054
1067
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1123,6 +1136,7 @@ class Legend(BaseHTML):
1123
1136
  id: The id for the component.
1124
1137
  class_name: The class name for the component.
1125
1138
  autofocus: Whether the component should take the focus once the page is loaded
1139
+ _rename_props: props to change the name of
1126
1140
  custom_attrs: custom attribute
1127
1141
  **props: The props of the component.
1128
1142
 
@@ -1199,6 +1213,7 @@ class Meter(BaseHTML):
1199
1213
  id: Optional[Any] = None,
1200
1214
  class_name: Optional[Any] = None,
1201
1215
  autofocus: Optional[bool] = None,
1216
+ _rename_props: Optional[Dict[str, str]] = None,
1202
1217
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1203
1218
  on_blur: Optional[
1204
1219
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1280,6 +1295,7 @@ class Meter(BaseHTML):
1280
1295
  id: The id for the component.
1281
1296
  class_name: The class name for the component.
1282
1297
  autofocus: Whether the component should take the focus once the page is loaded
1298
+ _rename_props: props to change the name of
1283
1299
  custom_attrs: custom attribute
1284
1300
  **props: The props of the component.
1285
1301
 
@@ -1351,6 +1367,7 @@ class Optgroup(BaseHTML):
1351
1367
  id: Optional[Any] = None,
1352
1368
  class_name: Optional[Any] = None,
1353
1369
  autofocus: Optional[bool] = None,
1370
+ _rename_props: Optional[Dict[str, str]] = None,
1354
1371
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1355
1372
  on_blur: Optional[
1356
1373
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1427,6 +1444,7 @@ class Optgroup(BaseHTML):
1427
1444
  id: The id for the component.
1428
1445
  class_name: The class name for the component.
1429
1446
  autofocus: Whether the component should take the focus once the page is loaded
1447
+ _rename_props: props to change the name of
1430
1448
  custom_attrs: custom attribute
1431
1449
  **props: The props of the component.
1432
1450
 
@@ -1504,6 +1522,7 @@ class Option(BaseHTML):
1504
1522
  id: Optional[Any] = None,
1505
1523
  class_name: Optional[Any] = None,
1506
1524
  autofocus: Optional[bool] = None,
1525
+ _rename_props: Optional[Dict[str, str]] = None,
1507
1526
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1508
1527
  on_blur: Optional[
1509
1528
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1582,6 +1601,7 @@ class Option(BaseHTML):
1582
1601
  id: The id for the component.
1583
1602
  class_name: The class name for the component.
1584
1603
  autofocus: Whether the component should take the focus once the page is loaded
1604
+ _rename_props: props to change the name of
1585
1605
  custom_attrs: custom attribute
1586
1606
  **props: The props of the component.
1587
1607
 
@@ -1652,6 +1672,7 @@ class Output(BaseHTML):
1652
1672
  id: Optional[Any] = None,
1653
1673
  class_name: Optional[Any] = None,
1654
1674
  autofocus: Optional[bool] = None,
1675
+ _rename_props: Optional[Dict[str, str]] = None,
1655
1676
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1656
1677
  on_blur: Optional[
1657
1678
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1729,6 +1750,7 @@ class Output(BaseHTML):
1729
1750
  id: The id for the component.
1730
1751
  class_name: The class name for the component.
1731
1752
  autofocus: Whether the component should take the focus once the page is loaded
1753
+ _rename_props: props to change the name of
1732
1754
  custom_attrs: custom attribute
1733
1755
  **props: The props of the component.
1734
1756
 
@@ -1799,6 +1821,7 @@ class Progress(BaseHTML):
1799
1821
  id: Optional[Any] = None,
1800
1822
  class_name: Optional[Any] = None,
1801
1823
  autofocus: Optional[bool] = None,
1824
+ _rename_props: Optional[Dict[str, str]] = None,
1802
1825
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1803
1826
  on_blur: Optional[
1804
1827
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1876,6 +1899,7 @@ class Progress(BaseHTML):
1876
1899
  id: The id for the component.
1877
1900
  class_name: The class name for the component.
1878
1901
  autofocus: Whether the component should take the focus once the page is loaded
1902
+ _rename_props: props to change the name of
1879
1903
  custom_attrs: custom attribute
1880
1904
  **props: The props of the component.
1881
1905
 
@@ -1960,6 +1984,7 @@ class Select(BaseHTML):
1960
1984
  id: Optional[Any] = None,
1961
1985
  class_name: Optional[Any] = None,
1962
1986
  autofocus: Optional[bool] = None,
1987
+ _rename_props: Optional[Dict[str, str]] = None,
1963
1988
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1964
1989
  on_blur: Optional[
1965
1990
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -2045,6 +2070,7 @@ class Select(BaseHTML):
2045
2070
  id: The id for the component.
2046
2071
  class_name: The class name for the component.
2047
2072
  autofocus: Whether the component should take the focus once the page is loaded
2073
+ _rename_props: props to change the name of
2048
2074
  custom_attrs: custom attribute
2049
2075
  **props: The props of the component.
2050
2076
 
@@ -2094,6 +2120,9 @@ class Textarea(BaseHTML):
2094
2120
  Union[Var[Union[str, int, bool]], Union[str, int, bool]]
2095
2121
  ] = None,
2096
2122
  rows: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
2123
+ value: Optional[
2124
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
2125
+ ] = None,
2097
2126
  wrap: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
2098
2127
  access_key: Optional[
2099
2128
  Union[Var[Union[str, int, bool]], Union[str, int, bool]]
@@ -2143,6 +2172,7 @@ class Textarea(BaseHTML):
2143
2172
  id: Optional[Any] = None,
2144
2173
  class_name: Optional[Any] = None,
2145
2174
  autofocus: Optional[bool] = None,
2175
+ _rename_props: Optional[Dict[str, str]] = None,
2146
2176
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
2147
2177
  on_blur: Optional[
2148
2178
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -2217,6 +2247,7 @@ class Textarea(BaseHTML):
2217
2247
  read_only: Indicates whether the textarea is read-only
2218
2248
  required: Indicates that the textarea is required
2219
2249
  rows: Visible number of lines in the text control
2250
+ value: The controlled value of the textarea, read only unless used with on_change
2220
2251
  wrap: How the text in the textarea is to be wrapped when submitting the form
2221
2252
  access_key: Provides a hint for generating a keyboard shortcut for the current element.
2222
2253
  auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
@@ -2240,6 +2271,7 @@ class Textarea(BaseHTML):
2240
2271
  id: The id for the component.
2241
2272
  class_name: The class name for the component.
2242
2273
  autofocus: Whether the component should take the focus once the page is loaded
2274
+ _rename_props: props to change the name of
2243
2275
  custom_attrs: custom attribute
2244
2276
  **props: The props of the component.
2245
2277