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
@@ -0,0 +1,537 @@
1
+ """Stub file for reflex/components/radix/themes/layout/stack.py"""
2
+ # ------------------- DO NOT EDIT ----------------------
3
+ # This file was generated by `scripts/pyi_generator.py`!
4
+ # ------------------------------------------------------
5
+
6
+ from typing import Any, Dict, Literal, Optional, Union, overload
7
+ from reflex.vars import Var, BaseVar, ComputedVar
8
+ from reflex.event import EventChain, EventHandler, EventSpec
9
+ from reflex.style import Style
10
+ from typing import Literal, Optional
11
+ from reflex.components.component import Component
12
+ from .flex import Flex
13
+
14
+ LiteralJustify = Literal["start", "center", "end"]
15
+ LiteralAlign = Literal["start", "center", "end", "stretch"]
16
+
17
+ class Stack(Flex):
18
+ @overload
19
+ @classmethod
20
+ def create( # type: ignore
21
+ cls,
22
+ *children,
23
+ justify: Optional[LiteralJustify] = "start",
24
+ align: Optional[LiteralAlign] = "center",
25
+ spacing: Optional[str] = "0.5rem",
26
+ as_child: Optional[Union[Var[bool], bool]] = None,
27
+ display: Optional[
28
+ Union[
29
+ Var[Literal["none", "inline-flex", "flex"]],
30
+ Literal["none", "inline-flex", "flex"],
31
+ ]
32
+ ] = None,
33
+ direction: Optional[
34
+ Union[
35
+ Var[Literal["row", "column", "row-reverse", "column-reverse"]],
36
+ Literal["row", "column", "row-reverse", "column-reverse"],
37
+ ]
38
+ ] = None,
39
+ wrap: Optional[
40
+ Union[
41
+ Var[Literal["nowrap", "wrap", "wrap-reverse"]],
42
+ Literal["nowrap", "wrap", "wrap-reverse"],
43
+ ]
44
+ ] = None,
45
+ gap: Optional[
46
+ Union[
47
+ Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
48
+ Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
49
+ ]
50
+ ] = None,
51
+ access_key: Optional[
52
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
53
+ ] = None,
54
+ auto_capitalize: Optional[
55
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
56
+ ] = None,
57
+ content_editable: Optional[
58
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
59
+ ] = None,
60
+ context_menu: Optional[
61
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
62
+ ] = None,
63
+ dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
64
+ draggable: Optional[
65
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
66
+ ] = None,
67
+ enter_key_hint: Optional[
68
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
69
+ ] = None,
70
+ hidden: Optional[
71
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
72
+ ] = None,
73
+ input_mode: Optional[
74
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
75
+ ] = None,
76
+ item_prop: Optional[
77
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
78
+ ] = None,
79
+ lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
80
+ role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
81
+ slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
82
+ spell_check: Optional[
83
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
84
+ ] = None,
85
+ tab_index: Optional[
86
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
87
+ ] = None,
88
+ title: Optional[
89
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
90
+ ] = None,
91
+ translate: Optional[
92
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
93
+ ] = None,
94
+ style: Optional[Style] = None,
95
+ key: Optional[Any] = None,
96
+ id: Optional[Any] = None,
97
+ class_name: Optional[Any] = None,
98
+ autofocus: Optional[bool] = None,
99
+ _rename_props: Optional[Dict[str, str]] = None,
100
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
101
+ on_blur: Optional[
102
+ Union[EventHandler, EventSpec, list, function, BaseVar]
103
+ ] = None,
104
+ on_click: Optional[
105
+ Union[EventHandler, EventSpec, list, function, BaseVar]
106
+ ] = None,
107
+ on_context_menu: Optional[
108
+ Union[EventHandler, EventSpec, list, function, BaseVar]
109
+ ] = None,
110
+ on_double_click: Optional[
111
+ Union[EventHandler, EventSpec, list, function, BaseVar]
112
+ ] = None,
113
+ on_focus: Optional[
114
+ Union[EventHandler, EventSpec, list, function, BaseVar]
115
+ ] = None,
116
+ on_mount: Optional[
117
+ Union[EventHandler, EventSpec, list, function, BaseVar]
118
+ ] = None,
119
+ on_mouse_down: Optional[
120
+ Union[EventHandler, EventSpec, list, function, BaseVar]
121
+ ] = None,
122
+ on_mouse_enter: Optional[
123
+ Union[EventHandler, EventSpec, list, function, BaseVar]
124
+ ] = None,
125
+ on_mouse_leave: Optional[
126
+ Union[EventHandler, EventSpec, list, function, BaseVar]
127
+ ] = None,
128
+ on_mouse_move: Optional[
129
+ Union[EventHandler, EventSpec, list, function, BaseVar]
130
+ ] = None,
131
+ on_mouse_out: Optional[
132
+ Union[EventHandler, EventSpec, list, function, BaseVar]
133
+ ] = None,
134
+ on_mouse_over: Optional[
135
+ Union[EventHandler, EventSpec, list, function, BaseVar]
136
+ ] = None,
137
+ on_mouse_up: Optional[
138
+ Union[EventHandler, EventSpec, list, function, BaseVar]
139
+ ] = None,
140
+ on_scroll: Optional[
141
+ Union[EventHandler, EventSpec, list, function, BaseVar]
142
+ ] = None,
143
+ on_unmount: Optional[
144
+ Union[EventHandler, EventSpec, list, function, BaseVar]
145
+ ] = None,
146
+ **props
147
+ ) -> "Stack":
148
+ """Create a new instance of the component.
149
+
150
+ Args:
151
+ *children: The children of the stack.
152
+ justify: The justify of the stack elements.
153
+ align: The alignment of the stack elements.
154
+ spacing: The spacing between each stack item.
155
+ as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
156
+ display: How to display the element: "none" | "inline-flex" | "flex"
157
+ direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse"
158
+ wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"
159
+ gap: Gap between children: "0" - "9"
160
+ access_key: Provides a hint for generating a keyboard shortcut for the current element.
161
+ auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
162
+ content_editable: Indicates whether the element's content is editable.
163
+ context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
164
+ dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
165
+ draggable: Defines whether the element can be dragged.
166
+ enter_key_hint: Hints what media types the media element is able to play.
167
+ hidden: Defines whether the element is hidden.
168
+ input_mode: Defines the type of the element.
169
+ item_prop: Defines the name of the element for metadata purposes.
170
+ lang: Defines the language used in the element.
171
+ role: Defines the role of the element.
172
+ slot: Assigns a slot in a shadow DOM shadow tree to an element.
173
+ spell_check: Defines whether the element may be checked for spelling errors.
174
+ tab_index: Defines the position of the current element in the tabbing order.
175
+ title: Defines a tooltip for the element.
176
+ translate: Specifies whether the content of an element should be translated or not.
177
+ style: The style of the component.
178
+ key: A unique key for the component.
179
+ id: The id for the component.
180
+ class_name: The class name for the component.
181
+ autofocus: Whether the component should take the focus once the page is loaded
182
+ _rename_props: props to change the name of
183
+ custom_attrs: custom attribute
184
+ **props: The properties of the stack.
185
+
186
+ Returns:
187
+ The stack component.
188
+ """
189
+ ...
190
+
191
+ class VStack(Stack):
192
+ @overload
193
+ @classmethod
194
+ def create( # type: ignore
195
+ cls,
196
+ *children,
197
+ justify: Optional[LiteralJustify] = "start",
198
+ align: Optional[LiteralAlign] = "center",
199
+ spacing: Optional[str] = "0.5rem",
200
+ as_child: Optional[Union[Var[bool], bool]] = None,
201
+ display: Optional[
202
+ Union[
203
+ Var[Literal["none", "inline-flex", "flex"]],
204
+ Literal["none", "inline-flex", "flex"],
205
+ ]
206
+ ] = None,
207
+ direction: Optional[
208
+ Union[
209
+ Var[Literal["row", "column", "row-reverse", "column-reverse"]],
210
+ Literal["row", "column", "row-reverse", "column-reverse"],
211
+ ]
212
+ ] = None,
213
+ wrap: Optional[
214
+ Union[
215
+ Var[Literal["nowrap", "wrap", "wrap-reverse"]],
216
+ Literal["nowrap", "wrap", "wrap-reverse"],
217
+ ]
218
+ ] = None,
219
+ gap: Optional[
220
+ Union[
221
+ Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
222
+ Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
223
+ ]
224
+ ] = None,
225
+ access_key: Optional[
226
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
227
+ ] = None,
228
+ auto_capitalize: Optional[
229
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
230
+ ] = None,
231
+ content_editable: Optional[
232
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
233
+ ] = None,
234
+ context_menu: Optional[
235
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
236
+ ] = None,
237
+ dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
238
+ draggable: Optional[
239
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
240
+ ] = None,
241
+ enter_key_hint: Optional[
242
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
243
+ ] = None,
244
+ hidden: Optional[
245
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
246
+ ] = None,
247
+ input_mode: Optional[
248
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
249
+ ] = None,
250
+ item_prop: Optional[
251
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
252
+ ] = None,
253
+ lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
254
+ role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
255
+ slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
256
+ spell_check: Optional[
257
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
258
+ ] = None,
259
+ tab_index: Optional[
260
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
261
+ ] = None,
262
+ title: Optional[
263
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
264
+ ] = None,
265
+ translate: Optional[
266
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
267
+ ] = None,
268
+ style: Optional[Style] = None,
269
+ key: Optional[Any] = None,
270
+ id: Optional[Any] = None,
271
+ class_name: Optional[Any] = None,
272
+ autofocus: Optional[bool] = None,
273
+ _rename_props: Optional[Dict[str, str]] = None,
274
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
275
+ on_blur: Optional[
276
+ Union[EventHandler, EventSpec, list, function, BaseVar]
277
+ ] = None,
278
+ on_click: Optional[
279
+ Union[EventHandler, EventSpec, list, function, BaseVar]
280
+ ] = None,
281
+ on_context_menu: Optional[
282
+ Union[EventHandler, EventSpec, list, function, BaseVar]
283
+ ] = None,
284
+ on_double_click: Optional[
285
+ Union[EventHandler, EventSpec, list, function, BaseVar]
286
+ ] = None,
287
+ on_focus: Optional[
288
+ Union[EventHandler, EventSpec, list, function, BaseVar]
289
+ ] = None,
290
+ on_mount: Optional[
291
+ Union[EventHandler, EventSpec, list, function, BaseVar]
292
+ ] = None,
293
+ on_mouse_down: Optional[
294
+ Union[EventHandler, EventSpec, list, function, BaseVar]
295
+ ] = None,
296
+ on_mouse_enter: Optional[
297
+ Union[EventHandler, EventSpec, list, function, BaseVar]
298
+ ] = None,
299
+ on_mouse_leave: Optional[
300
+ Union[EventHandler, EventSpec, list, function, BaseVar]
301
+ ] = None,
302
+ on_mouse_move: Optional[
303
+ Union[EventHandler, EventSpec, list, function, BaseVar]
304
+ ] = None,
305
+ on_mouse_out: Optional[
306
+ Union[EventHandler, EventSpec, list, function, BaseVar]
307
+ ] = None,
308
+ on_mouse_over: Optional[
309
+ Union[EventHandler, EventSpec, list, function, BaseVar]
310
+ ] = None,
311
+ on_mouse_up: Optional[
312
+ Union[EventHandler, EventSpec, list, function, BaseVar]
313
+ ] = None,
314
+ on_scroll: Optional[
315
+ Union[EventHandler, EventSpec, list, function, BaseVar]
316
+ ] = None,
317
+ on_unmount: Optional[
318
+ Union[EventHandler, EventSpec, list, function, BaseVar]
319
+ ] = None,
320
+ **props
321
+ ) -> "VStack":
322
+ """Create a new instance of the component.
323
+
324
+ Args:
325
+ *children: The children of the stack.
326
+ justify: The justify of the stack elements.
327
+ align: The alignment of the stack elements.
328
+ spacing: The spacing between each stack item.
329
+ as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
330
+ display: How to display the element: "none" | "inline-flex" | "flex"
331
+ direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse"
332
+ wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"
333
+ gap: Gap between children: "0" - "9"
334
+ access_key: Provides a hint for generating a keyboard shortcut for the current element.
335
+ auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
336
+ content_editable: Indicates whether the element's content is editable.
337
+ context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
338
+ dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
339
+ draggable: Defines whether the element can be dragged.
340
+ enter_key_hint: Hints what media types the media element is able to play.
341
+ hidden: Defines whether the element is hidden.
342
+ input_mode: Defines the type of the element.
343
+ item_prop: Defines the name of the element for metadata purposes.
344
+ lang: Defines the language used in the element.
345
+ role: Defines the role of the element.
346
+ slot: Assigns a slot in a shadow DOM shadow tree to an element.
347
+ spell_check: Defines whether the element may be checked for spelling errors.
348
+ tab_index: Defines the position of the current element in the tabbing order.
349
+ title: Defines a tooltip for the element.
350
+ translate: Specifies whether the content of an element should be translated or not.
351
+ style: The style of the component.
352
+ key: A unique key for the component.
353
+ id: The id for the component.
354
+ class_name: The class name for the component.
355
+ autofocus: Whether the component should take the focus once the page is loaded
356
+ _rename_props: props to change the name of
357
+ custom_attrs: custom attribute
358
+ **props: The properties of the stack.
359
+
360
+ Returns:
361
+ The stack component.
362
+ """
363
+ ...
364
+
365
+ class HStack(Stack):
366
+ @overload
367
+ @classmethod
368
+ def create( # type: ignore
369
+ cls,
370
+ *children,
371
+ justify: Optional[LiteralJustify] = "start",
372
+ align: Optional[LiteralAlign] = "center",
373
+ spacing: Optional[str] = "0.5rem",
374
+ as_child: Optional[Union[Var[bool], bool]] = None,
375
+ display: Optional[
376
+ Union[
377
+ Var[Literal["none", "inline-flex", "flex"]],
378
+ Literal["none", "inline-flex", "flex"],
379
+ ]
380
+ ] = None,
381
+ direction: Optional[
382
+ Union[
383
+ Var[Literal["row", "column", "row-reverse", "column-reverse"]],
384
+ Literal["row", "column", "row-reverse", "column-reverse"],
385
+ ]
386
+ ] = None,
387
+ wrap: Optional[
388
+ Union[
389
+ Var[Literal["nowrap", "wrap", "wrap-reverse"]],
390
+ Literal["nowrap", "wrap", "wrap-reverse"],
391
+ ]
392
+ ] = None,
393
+ gap: Optional[
394
+ Union[
395
+ Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
396
+ Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
397
+ ]
398
+ ] = None,
399
+ access_key: Optional[
400
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
401
+ ] = None,
402
+ auto_capitalize: Optional[
403
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
404
+ ] = None,
405
+ content_editable: Optional[
406
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
407
+ ] = None,
408
+ context_menu: Optional[
409
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
410
+ ] = None,
411
+ dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
412
+ draggable: Optional[
413
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
414
+ ] = None,
415
+ enter_key_hint: Optional[
416
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
417
+ ] = None,
418
+ hidden: Optional[
419
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
420
+ ] = None,
421
+ input_mode: Optional[
422
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
423
+ ] = None,
424
+ item_prop: Optional[
425
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
426
+ ] = None,
427
+ lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
428
+ role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
429
+ slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
430
+ spell_check: Optional[
431
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
432
+ ] = None,
433
+ tab_index: Optional[
434
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
435
+ ] = None,
436
+ title: Optional[
437
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
438
+ ] = None,
439
+ translate: Optional[
440
+ Union[Var[Union[str, int, bool]], Union[str, int, bool]]
441
+ ] = None,
442
+ style: Optional[Style] = None,
443
+ key: Optional[Any] = None,
444
+ id: Optional[Any] = None,
445
+ class_name: Optional[Any] = None,
446
+ autofocus: Optional[bool] = None,
447
+ _rename_props: Optional[Dict[str, str]] = None,
448
+ custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
449
+ on_blur: Optional[
450
+ Union[EventHandler, EventSpec, list, function, BaseVar]
451
+ ] = None,
452
+ on_click: Optional[
453
+ Union[EventHandler, EventSpec, list, function, BaseVar]
454
+ ] = None,
455
+ on_context_menu: Optional[
456
+ Union[EventHandler, EventSpec, list, function, BaseVar]
457
+ ] = None,
458
+ on_double_click: Optional[
459
+ Union[EventHandler, EventSpec, list, function, BaseVar]
460
+ ] = None,
461
+ on_focus: Optional[
462
+ Union[EventHandler, EventSpec, list, function, BaseVar]
463
+ ] = None,
464
+ on_mount: Optional[
465
+ Union[EventHandler, EventSpec, list, function, BaseVar]
466
+ ] = None,
467
+ on_mouse_down: Optional[
468
+ Union[EventHandler, EventSpec, list, function, BaseVar]
469
+ ] = None,
470
+ on_mouse_enter: Optional[
471
+ Union[EventHandler, EventSpec, list, function, BaseVar]
472
+ ] = None,
473
+ on_mouse_leave: Optional[
474
+ Union[EventHandler, EventSpec, list, function, BaseVar]
475
+ ] = None,
476
+ on_mouse_move: Optional[
477
+ Union[EventHandler, EventSpec, list, function, BaseVar]
478
+ ] = None,
479
+ on_mouse_out: Optional[
480
+ Union[EventHandler, EventSpec, list, function, BaseVar]
481
+ ] = None,
482
+ on_mouse_over: Optional[
483
+ Union[EventHandler, EventSpec, list, function, BaseVar]
484
+ ] = None,
485
+ on_mouse_up: Optional[
486
+ Union[EventHandler, EventSpec, list, function, BaseVar]
487
+ ] = None,
488
+ on_scroll: Optional[
489
+ Union[EventHandler, EventSpec, list, function, BaseVar]
490
+ ] = None,
491
+ on_unmount: Optional[
492
+ Union[EventHandler, EventSpec, list, function, BaseVar]
493
+ ] = None,
494
+ **props
495
+ ) -> "HStack":
496
+ """Create a new instance of the component.
497
+
498
+ Args:
499
+ *children: The children of the stack.
500
+ justify: The justify of the stack elements.
501
+ align: The alignment of the stack elements.
502
+ spacing: The spacing between each stack item.
503
+ as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
504
+ display: How to display the element: "none" | "inline-flex" | "flex"
505
+ direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse"
506
+ wrap: Whether children should wrap when they reach the end of their container: "nowrap" | "wrap" | "wrap-reverse"
507
+ gap: Gap between children: "0" - "9"
508
+ access_key: Provides a hint for generating a keyboard shortcut for the current element.
509
+ auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
510
+ content_editable: Indicates whether the element's content is editable.
511
+ context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
512
+ dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
513
+ draggable: Defines whether the element can be dragged.
514
+ enter_key_hint: Hints what media types the media element is able to play.
515
+ hidden: Defines whether the element is hidden.
516
+ input_mode: Defines the type of the element.
517
+ item_prop: Defines the name of the element for metadata purposes.
518
+ lang: Defines the language used in the element.
519
+ role: Defines the role of the element.
520
+ slot: Assigns a slot in a shadow DOM shadow tree to an element.
521
+ spell_check: Defines whether the element may be checked for spelling errors.
522
+ tab_index: Defines the position of the current element in the tabbing order.
523
+ title: Defines a tooltip for the element.
524
+ translate: Specifies whether the content of an element should be translated or not.
525
+ style: The style of the component.
526
+ key: A unique key for the component.
527
+ id: The id for the component.
528
+ class_name: The class name for the component.
529
+ autofocus: Whether the component should take the focus once the page is loaded
530
+ _rename_props: props to change the name of
531
+ custom_attrs: custom attribute
532
+ **props: The properties of the stack.
533
+
534
+ Returns:
535
+ The stack component.
536
+ """
537
+ ...
@@ -8,7 +8,6 @@ from reflex import el
8
8
  from reflex.vars import Var
9
9
 
10
10
  from ..base import (
11
- CommonMarginProps,
12
11
  LiteralAccentColor,
13
12
  RadixThemesComponent,
14
13
  )
@@ -18,7 +17,7 @@ from .base import (
18
17
  )
19
18
 
20
19
 
21
- class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
20
+ class Blockquote(el.Blockquote, RadixThemesComponent):
22
21
  """A block level extended quotation."""
23
22
 
24
23
  tag = "Blockquote"
@@ -30,7 +29,7 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
30
29
  weight: Var[LiteralTextWeight]
31
30
 
32
31
  # Overrides the accent color inherited from the Theme.
33
- color: Var[LiteralAccentColor]
32
+ color_scheme: Var[LiteralAccentColor]
34
33
 
35
34
  # Whether to render the text with higher contrast color
36
35
  high_contrast: Var[bool]
@@ -9,10 +9,10 @@ from reflex.event import EventChain, EventHandler, EventSpec
9
9
  from reflex.style import Style
10
10
  from reflex import el
11
11
  from reflex.vars import Var
12
- from ..base import CommonMarginProps, LiteralAccentColor, RadixThemesComponent
12
+ from ..base import LiteralAccentColor, RadixThemesComponent
13
13
  from .base import LiteralTextSize, LiteralTextWeight
14
14
 
15
- class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
15
+ class Blockquote(el.Blockquote, RadixThemesComponent):
16
16
  @overload
17
17
  @classmethod
18
18
  def create( # type: ignore
@@ -138,53 +138,12 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
138
138
  translate: Optional[
139
139
  Union[Var[Union[str, int, bool]], Union[str, int, bool]]
140
140
  ] = None,
141
- m: Optional[
142
- Union[
143
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
144
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
145
- ]
146
- ] = None,
147
- mx: Optional[
148
- Union[
149
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
150
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
151
- ]
152
- ] = None,
153
- my: Optional[
154
- Union[
155
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
156
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
157
- ]
158
- ] = None,
159
- mt: Optional[
160
- Union[
161
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
162
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
163
- ]
164
- ] = None,
165
- mr: Optional[
166
- Union[
167
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
168
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
169
- ]
170
- ] = None,
171
- mb: Optional[
172
- Union[
173
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
174
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
175
- ]
176
- ] = None,
177
- ml: Optional[
178
- Union[
179
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
180
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
181
- ]
182
- ] = None,
183
141
  style: Optional[Style] = None,
184
142
  key: Optional[Any] = None,
185
143
  id: Optional[Any] = None,
186
144
  class_name: Optional[Any] = None,
187
145
  autofocus: Optional[bool] = None,
146
+ _rename_props: Optional[Dict[str, str]] = None,
188
147
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
189
148
  on_blur: Optional[
190
149
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -263,18 +222,12 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
263
222
  tab_index: Defines the position of the current element in the tabbing order.
264
223
  title: Defines a tooltip for the element.
265
224
  translate: Specifies whether the content of an element should be translated or not.
266
- m: Margin: "0" - "9"
267
- mx: Margin horizontal: "0" - "9"
268
- my: Margin vertical: "0" - "9"
269
- mt: Margin top: "0" - "9"
270
- mr: Margin right: "0" - "9"
271
- mb: Margin bottom: "0" - "9"
272
- ml: Margin left: "0" - "9"
273
225
  style: The style of the component.
274
226
  key: A unique key for the component.
275
227
  id: The id for the component.
276
228
  class_name: The class name for the component.
277
229
  autofocus: Whether the component should take the focus once the page is loaded
230
+ _rename_props: props to change the name of
278
231
  custom_attrs: custom attribute
279
232
  **props: Component properties.
280
233
 
@@ -8,7 +8,6 @@ from reflex import el
8
8
  from reflex.vars import Var
9
9
 
10
10
  from ..base import (
11
- CommonMarginProps,
12
11
  LiteralAccentColor,
13
12
  LiteralVariant,
14
13
  RadixThemesComponent,
@@ -19,7 +18,7 @@ from .base import (
19
18
  )
20
19
 
21
20
 
22
- class Code(el.Code, CommonMarginProps, RadixThemesComponent):
21
+ class Code(el.Code, RadixThemesComponent):
23
22
  """A block level extended quotation."""
24
23
 
25
24
  tag = "Code"
@@ -34,7 +33,7 @@ class Code(el.Code, CommonMarginProps, RadixThemesComponent):
34
33
  weight: Var[LiteralTextWeight]
35
34
 
36
35
  # Overrides the accent color inherited from the Theme.
37
- color: Var[LiteralAccentColor]
36
+ color_scheme: Var[LiteralAccentColor]
38
37
 
39
38
  # Whether to render the text with higher contrast color
40
39
  high_contrast: Var[bool]