reflex 0.3.9a3__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 (247) hide show
  1. reflex/__init__.py +3 -1
  2. reflex/__init__.pyi +3 -1
  3. reflex/app.py +116 -86
  4. reflex/compiler/compiler.py +110 -0
  5. reflex/compiler/utils.py +13 -12
  6. reflex/components/base/app_wrap.pyi +1 -0
  7. reflex/components/base/body.pyi +2 -0
  8. reflex/components/base/document.pyi +10 -0
  9. reflex/components/base/fragment.pyi +2 -0
  10. reflex/components/base/head.pyi +4 -0
  11. reflex/components/base/link.pyi +4 -0
  12. reflex/components/base/meta.pyi +8 -0
  13. reflex/components/base/script.pyi +2 -0
  14. reflex/components/chakra/base.pyi +7 -0
  15. reflex/components/chakra/datadisplay/badge.pyi +2 -0
  16. reflex/components/chakra/datadisplay/code.pyi +4 -0
  17. reflex/components/chakra/datadisplay/divider.pyi +2 -0
  18. reflex/components/chakra/datadisplay/keyboard_key.pyi +2 -0
  19. reflex/components/chakra/datadisplay/list.pyi +8 -0
  20. reflex/components/chakra/datadisplay/stat.pyi +12 -0
  21. reflex/components/chakra/datadisplay/table.pyi +18 -0
  22. reflex/components/chakra/datadisplay/tag.pyi +9 -0
  23. reflex/components/chakra/disclosure/accordion.pyi +10 -0
  24. reflex/components/chakra/disclosure/tabs.py +8 -0
  25. reflex/components/chakra/disclosure/tabs.pyi +10 -0
  26. reflex/components/chakra/disclosure/transition.pyi +12 -0
  27. reflex/components/chakra/disclosure/visuallyhidden.pyi +2 -0
  28. reflex/components/chakra/feedback/alert.pyi +8 -0
  29. reflex/components/chakra/feedback/circularprogress.pyi +4 -0
  30. reflex/components/chakra/feedback/progress.pyi +2 -0
  31. reflex/components/chakra/feedback/skeleton.pyi +6 -0
  32. reflex/components/chakra/feedback/spinner.pyi +2 -0
  33. reflex/components/chakra/forms/button.pyi +4 -0
  34. reflex/components/chakra/forms/checkbox.pyi +4 -0
  35. reflex/components/chakra/forms/colormodeswitch.pyi +7 -0
  36. reflex/components/chakra/forms/date_picker.pyi +2 -0
  37. reflex/components/chakra/forms/date_time_picker.pyi +2 -0
  38. reflex/components/chakra/forms/editable.pyi +8 -0
  39. reflex/components/chakra/forms/email.pyi +2 -0
  40. reflex/components/chakra/forms/form.pyi +10 -0
  41. reflex/components/chakra/forms/iconbutton.py +1 -0
  42. reflex/components/chakra/forms/iconbutton.pyi +2 -0
  43. reflex/components/chakra/forms/input.pyi +12 -0
  44. reflex/components/chakra/forms/numberinput.pyi +10 -0
  45. reflex/components/chakra/forms/password.pyi +2 -0
  46. reflex/components/chakra/forms/pininput.pyi +4 -0
  47. reflex/components/chakra/forms/radio.pyi +4 -0
  48. reflex/components/chakra/forms/rangeslider.pyi +8 -0
  49. reflex/components/chakra/forms/select.pyi +4 -0
  50. reflex/components/chakra/forms/slider.pyi +10 -0
  51. reflex/components/chakra/forms/switch.pyi +2 -0
  52. reflex/components/chakra/forms/textarea.pyi +2 -0
  53. reflex/components/chakra/forms/time_picker.pyi +2 -0
  54. reflex/components/chakra/layout/aspect_ratio.pyi +2 -0
  55. reflex/components/chakra/layout/box.pyi +2 -0
  56. reflex/components/chakra/layout/card.pyi +7 -0
  57. reflex/components/chakra/layout/center.pyi +6 -0
  58. reflex/components/chakra/layout/container.pyi +2 -0
  59. reflex/components/chakra/layout/flex.pyi +2 -0
  60. reflex/components/chakra/layout/grid.pyi +6 -0
  61. reflex/components/chakra/layout/html.pyi +2 -0
  62. reflex/components/chakra/layout/spacer.pyi +2 -0
  63. reflex/components/chakra/layout/stack.pyi +6 -0
  64. reflex/components/chakra/layout/wrap.pyi +4 -0
  65. reflex/components/chakra/media/avatar.pyi +6 -0
  66. reflex/components/chakra/media/icon.pyi +4 -0
  67. reflex/components/chakra/media/image.pyi +2 -0
  68. reflex/components/chakra/navigation/breadcrumb.pyi +8 -0
  69. reflex/components/chakra/navigation/link.pyi +2 -0
  70. reflex/components/chakra/navigation/linkoverlay.pyi +4 -0
  71. reflex/components/chakra/navigation/stepper.pyi +18 -0
  72. reflex/components/chakra/overlay/alertdialog.pyi +14 -0
  73. reflex/components/chakra/overlay/drawer.pyi +14 -0
  74. reflex/components/chakra/overlay/menu.pyi +16 -0
  75. reflex/components/chakra/overlay/modal.pyi +14 -0
  76. reflex/components/chakra/overlay/popover.pyi +18 -0
  77. reflex/components/chakra/overlay/tooltip.pyi +2 -0
  78. reflex/components/chakra/typography/heading.pyi +2 -0
  79. reflex/components/chakra/typography/highlight.pyi +2 -0
  80. reflex/components/chakra/typography/span.pyi +2 -0
  81. reflex/components/chakra/typography/text.pyi +2 -0
  82. reflex/components/component.py +41 -3
  83. reflex/components/core/__init__.py +2 -0
  84. reflex/components/core/banner.pyi +3 -0
  85. reflex/components/core/client_side_routing.pyi +4 -0
  86. reflex/components/core/colors.py +21 -0
  87. reflex/components/core/cond.py +11 -2
  88. reflex/components/core/debounce.pyi +1 -0
  89. reflex/components/core/layout/__init__.py +1 -0
  90. reflex/components/core/match.py +44 -18
  91. reflex/components/core/upload.py +8 -2
  92. reflex/components/core/upload.pyi +7 -1
  93. reflex/components/datadisplay/dataeditor.pyi +2 -0
  94. reflex/components/el/element.pyi +2 -0
  95. reflex/components/el/elements/base.pyi +2 -0
  96. reflex/components/el/elements/forms.py +3 -0
  97. reflex/components/el/elements/forms.pyi +32 -0
  98. reflex/components/el/elements/inline.pyi +56 -0
  99. reflex/components/el/elements/media.pyi +28 -0
  100. reflex/components/el/elements/metadata.pyi +10 -0
  101. reflex/components/el/elements/other.pyi +14 -0
  102. reflex/components/el/elements/scripts.pyi +6 -0
  103. reflex/components/el/elements/sectioning.pyi +30 -0
  104. reflex/components/el/elements/tables.pyi +20 -0
  105. reflex/components/el/elements/typography.pyi +30 -0
  106. reflex/components/gridjs/datatable.pyi +4 -0
  107. reflex/components/lucide/__init__.py +5 -0
  108. reflex/components/lucide/icon.py +1484 -0
  109. reflex/components/lucide/icon.pyi +1594 -0
  110. reflex/components/markdown/markdown.pyi +2 -0
  111. reflex/components/moment/moment.pyi +2 -0
  112. reflex/components/next/base.pyi +2 -0
  113. reflex/components/next/image.pyi +2 -0
  114. reflex/components/next/link.pyi +2 -0
  115. reflex/components/next/video.pyi +2 -0
  116. reflex/components/plotly/plotly.pyi +4 -0
  117. reflex/components/radix/primitives/__init__.py +10 -0
  118. reflex/components/radix/primitives/accordion.py +51 -32
  119. reflex/components/radix/primitives/accordion.pyi +16 -3
  120. reflex/components/radix/primitives/base.pyi +4 -0
  121. reflex/components/radix/primitives/drawer.py +240 -0
  122. reflex/components/radix/primitives/drawer.pyi +814 -0
  123. reflex/components/radix/primitives/form.py +40 -7
  124. reflex/components/radix/primitives/form.pyi +32 -10
  125. reflex/components/radix/primitives/progress.py +2 -2
  126. reflex/components/radix/primitives/progress.pyi +6 -0
  127. reflex/components/radix/primitives/slider.pyi +10 -0
  128. reflex/components/radix/themes/base.py +46 -12
  129. reflex/components/radix/themes/base.pyi +23 -9
  130. reflex/components/radix/themes/components/__init__.py +4 -2
  131. reflex/components/radix/themes/components/alertdialog.py +13 -12
  132. reflex/components/radix/themes/components/alertdialog.pyi +23 -351
  133. reflex/components/radix/themes/components/aspectratio.py +2 -5
  134. reflex/components/radix/themes/components/aspectratio.pyi +4 -51
  135. reflex/components/radix/themes/components/avatar.py +3 -4
  136. reflex/components/radix/themes/components/avatar.pyi +4 -57
  137. reflex/components/radix/themes/components/badge.py +3 -4
  138. reflex/components/radix/themes/components/badge.pyi +4 -56
  139. reflex/components/radix/themes/components/button.py +2 -3
  140. reflex/components/radix/themes/components/button.pyi +3 -51
  141. reflex/components/radix/themes/components/callout.py +9 -12
  142. reflex/components/radix/themes/components/callout.pyi +24 -217
  143. reflex/components/radix/themes/components/card.py +1 -2
  144. reflex/components/radix/themes/components/card.pyi +4 -51
  145. reflex/components/radix/themes/components/checkbox.py +11 -5
  146. reflex/components/radix/themes/components/checkbox.pyi +13 -112
  147. reflex/components/radix/themes/components/contextmenu.py +21 -21
  148. reflex/components/radix/themes/components/contextmenu.pyi +26 -401
  149. reflex/components/radix/themes/components/dialog.py +13 -16
  150. reflex/components/radix/themes/components/dialog.pyi +20 -303
  151. reflex/components/radix/themes/components/dropdownmenu.py +196 -32
  152. reflex/components/radix/themes/components/dropdownmenu.pyi +147 -389
  153. reflex/components/radix/themes/components/hovercard.py +5 -5
  154. reflex/components/radix/themes/components/hovercard.pyi +11 -151
  155. reflex/components/radix/themes/components/iconbutton.py +56 -4
  156. reflex/components/radix/themes/components/iconbutton.pyi +25 -71
  157. reflex/components/radix/themes/components/icons.pyi +4 -0
  158. reflex/components/radix/themes/components/inset.py +1 -2
  159. reflex/components/radix/themes/components/inset.pyi +4 -51
  160. reflex/components/radix/themes/components/popover.py +12 -12
  161. reflex/components/radix/themes/components/popover.pyi +14 -201
  162. reflex/components/radix/themes/components/radiogroup.py +47 -20
  163. reflex/components/radix/themes/components/radiogroup.pyi +26 -171
  164. reflex/components/radix/themes/components/scrollarea.py +2 -3
  165. reflex/components/radix/themes/components/scrollarea.pyi +4 -51
  166. reflex/components/radix/themes/components/select.py +28 -25
  167. reflex/components/radix/themes/components/select.pyi +43 -419
  168. reflex/components/radix/themes/components/separator.py +4 -5
  169. reflex/components/radix/themes/components/separator.pyi +5 -52
  170. reflex/components/radix/themes/components/slider.py +8 -5
  171. reflex/components/radix/themes/components/slider.pyi +9 -60
  172. reflex/components/radix/themes/components/switch.py +6 -4
  173. reflex/components/radix/themes/components/switch.pyi +5 -53
  174. reflex/components/radix/themes/components/table.py +14 -15
  175. reflex/components/radix/themes/components/table.pyi +22 -351
  176. reflex/components/radix/themes/components/tabs.py +9 -6
  177. reflex/components/radix/themes/components/tabs.pyi +18 -205
  178. reflex/components/radix/themes/components/textarea.py +2 -3
  179. reflex/components/radix/themes/components/textarea.pyi +10 -53
  180. reflex/components/radix/themes/components/textfield.py +105 -4
  181. reflex/components/radix/themes/components/textfield.pyi +200 -108
  182. reflex/components/radix/themes/components/tooltip.py +102 -2
  183. reflex/components/radix/themes/components/tooltip.pyi +66 -110
  184. reflex/components/radix/themes/layout/__init__.py +7 -0
  185. reflex/components/radix/themes/layout/base.pyi +2 -0
  186. reflex/components/radix/themes/layout/box.py +2 -2
  187. reflex/components/radix/themes/layout/box.pyi +4 -104
  188. reflex/components/radix/themes/layout/center.py +19 -0
  189. reflex/components/radix/themes/layout/center.pyi +261 -0
  190. reflex/components/radix/themes/layout/container.py +2 -2
  191. reflex/components/radix/themes/layout/container.pyi +4 -104
  192. reflex/components/radix/themes/layout/flex.py +2 -2
  193. reflex/components/radix/themes/layout/flex.pyi +4 -105
  194. reflex/components/radix/themes/layout/grid.pyi +2 -0
  195. reflex/components/radix/themes/layout/section.py +2 -2
  196. reflex/components/radix/themes/layout/section.pyi +4 -104
  197. reflex/components/radix/themes/layout/spacer.py +19 -0
  198. reflex/components/radix/themes/layout/spacer.pyi +261 -0
  199. reflex/components/radix/themes/layout/stack.py +60 -0
  200. reflex/components/radix/themes/layout/stack.pyi +537 -0
  201. reflex/components/radix/themes/typography/blockquote.py +2 -3
  202. reflex/components/radix/themes/typography/blockquote.pyi +4 -51
  203. reflex/components/radix/themes/typography/code.py +2 -3
  204. reflex/components/radix/themes/typography/code.pyi +4 -56
  205. reflex/components/radix/themes/typography/em.py +1 -2
  206. reflex/components/radix/themes/typography/em.pyi +4 -51
  207. reflex/components/radix/themes/typography/heading.py +2 -3
  208. reflex/components/radix/themes/typography/heading.pyi +4 -51
  209. reflex/components/radix/themes/typography/kbd.py +1 -2
  210. reflex/components/radix/themes/typography/kbd.pyi +4 -51
  211. reflex/components/radix/themes/typography/link.py +34 -3
  212. reflex/components/radix/themes/typography/link.pyi +41 -86
  213. reflex/components/radix/themes/typography/quote.py +1 -2
  214. reflex/components/radix/themes/typography/quote.pyi +4 -51
  215. reflex/components/radix/themes/typography/strong.py +1 -2
  216. reflex/components/radix/themes/typography/strong.pyi +4 -51
  217. reflex/components/radix/themes/typography/text.py +2 -3
  218. reflex/components/radix/themes/typography/text.pyi +4 -51
  219. reflex/components/radix/themes/typography.py +10 -11
  220. reflex/components/react_player/audio.pyi +2 -0
  221. reflex/components/react_player/react_player.pyi +2 -0
  222. reflex/components/react_player/video.pyi +2 -0
  223. reflex/components/recharts/cartesian.pyi +38 -0
  224. reflex/components/recharts/charts.pyi +22 -0
  225. reflex/components/recharts/general.pyi +10 -0
  226. reflex/components/recharts/polar.pyi +12 -0
  227. reflex/components/recharts/recharts.pyi +4 -0
  228. reflex/components/suneditor/editor.pyi +2 -0
  229. reflex/components/tags/tag.py +1 -1
  230. reflex/constants/base.py +5 -1
  231. reflex/constants/colors.py +80 -0
  232. reflex/constants/event.py +10 -1
  233. reflex/page.py +1 -1
  234. reflex/reflex.py +4 -0
  235. reflex/style.py +8 -3
  236. reflex/testing.py +21 -10
  237. reflex/utils/format.py +13 -9
  238. reflex/utils/prerequisites.py +41 -3
  239. reflex/utils/serializers.py +14 -0
  240. reflex/utils/telemetry.py +8 -2
  241. reflex/utils/types.py +36 -2
  242. reflex/vars.py +53 -18
  243. {reflex-0.3.9a3.dist-info → reflex-0.3.10.dist-info}/METADATA +1 -2
  244. {reflex-0.3.9a3.dist-info → reflex-0.3.10.dist-info}/RECORD +247 -233
  245. {reflex-0.3.9a3.dist-info → reflex-0.3.10.dist-info}/WHEEL +1 -1
  246. {reflex-0.3.9a3.dist-info → reflex-0.3.10.dist-info}/LICENSE +0 -0
  247. {reflex-0.3.9a3.dist-info → reflex-0.3.10.dist-info}/entry_points.txt +0 -0
@@ -9,12 +9,13 @@ from reflex.event import EventChain, EventHandler, EventSpec
9
9
  from reflex.style import Style
10
10
  from typing import Any, Dict, Literal
11
11
  from reflex import el
12
+ from reflex.constants import EventTriggers
12
13
  from reflex.vars import Var
13
- from ..base import CommonMarginProps, LiteralSize, RadixThemesComponent
14
+ from ..base import LiteralSize, RadixThemesComponent
14
15
 
15
16
  LiteralSwitchSize = Literal["1", "2", "3", "4"]
16
17
 
17
- class AlertDialogRoot(CommonMarginProps, RadixThemesComponent):
18
+ class AlertDialogRoot(RadixThemesComponent):
18
19
  def get_event_triggers(self) -> Dict[str, Any]: ...
19
20
  @overload
20
21
  @classmethod
@@ -85,53 +86,12 @@ class AlertDialogRoot(CommonMarginProps, RadixThemesComponent):
85
86
  ]
86
87
  ] = None,
87
88
  open: Optional[Union[Var[bool], bool]] = None,
88
- m: Optional[
89
- Union[
90
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
91
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
92
- ]
93
- ] = None,
94
- mx: Optional[
95
- Union[
96
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
97
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
98
- ]
99
- ] = None,
100
- my: Optional[
101
- Union[
102
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
103
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
104
- ]
105
- ] = None,
106
- mt: Optional[
107
- Union[
108
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
109
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
110
- ]
111
- ] = None,
112
- mr: Optional[
113
- Union[
114
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
115
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
116
- ]
117
- ] = None,
118
- mb: Optional[
119
- Union[
120
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
121
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
122
- ]
123
- ] = None,
124
- ml: Optional[
125
- Union[
126
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
127
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
128
- ]
129
- ] = None,
130
89
  style: Optional[Style] = None,
131
90
  key: Optional[Any] = None,
132
91
  id: Optional[Any] = None,
133
92
  class_name: Optional[Any] = None,
134
93
  autofocus: Optional[bool] = None,
94
+ _rename_props: Optional[Dict[str, str]] = None,
135
95
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
136
96
  on_blur: Optional[
137
97
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -193,18 +153,12 @@ class AlertDialogRoot(CommonMarginProps, RadixThemesComponent):
193
153
  color: map to CSS default color property.
194
154
  color_scheme: map to radix color property.
195
155
  open: The controlled open state of the dialog.
196
- m: Margin: "0" - "9"
197
- mx: Margin horizontal: "0" - "9"
198
- my: Margin vertical: "0" - "9"
199
- mt: Margin top: "0" - "9"
200
- mr: Margin right: "0" - "9"
201
- mb: Margin bottom: "0" - "9"
202
- ml: Margin left: "0" - "9"
203
156
  style: The style of the component.
204
157
  key: A unique key for the component.
205
158
  id: The id for the component.
206
159
  class_name: The class name for the component.
207
160
  autofocus: Whether the component should take the focus once the page is loaded
161
+ _rename_props: props to change the name of
208
162
  custom_attrs: custom attribute
209
163
  **props: Component properties.
210
164
 
@@ -213,7 +167,7 @@ class AlertDialogRoot(CommonMarginProps, RadixThemesComponent):
213
167
  """
214
168
  ...
215
169
 
216
- class AlertDialogTrigger(CommonMarginProps, RadixThemesComponent):
170
+ class AlertDialogTrigger(RadixThemesComponent):
217
171
  @overload
218
172
  @classmethod
219
173
  def create( # type: ignore
@@ -282,53 +236,12 @@ class AlertDialogTrigger(CommonMarginProps, RadixThemesComponent):
282
236
  ],
283
237
  ]
284
238
  ] = None,
285
- m: Optional[
286
- Union[
287
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
288
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
289
- ]
290
- ] = None,
291
- mx: Optional[
292
- Union[
293
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
294
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
295
- ]
296
- ] = None,
297
- my: Optional[
298
- Union[
299
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
300
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
301
- ]
302
- ] = None,
303
- mt: Optional[
304
- Union[
305
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
306
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
307
- ]
308
- ] = None,
309
- mr: Optional[
310
- Union[
311
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
312
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
313
- ]
314
- ] = None,
315
- mb: Optional[
316
- Union[
317
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
318
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
319
- ]
320
- ] = None,
321
- ml: Optional[
322
- Union[
323
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
324
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
325
- ]
326
- ] = None,
327
239
  style: Optional[Style] = None,
328
240
  key: Optional[Any] = None,
329
241
  id: Optional[Any] = None,
330
242
  class_name: Optional[Any] = None,
331
243
  autofocus: Optional[bool] = None,
244
+ _rename_props: Optional[Dict[str, str]] = None,
332
245
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
333
246
  on_blur: Optional[
334
247
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -386,18 +299,12 @@ class AlertDialogTrigger(CommonMarginProps, RadixThemesComponent):
386
299
  *children: Child components.
387
300
  color: map to CSS default color property.
388
301
  color_scheme: map to radix color property.
389
- m: Margin: "0" - "9"
390
- mx: Margin horizontal: "0" - "9"
391
- my: Margin vertical: "0" - "9"
392
- mt: Margin top: "0" - "9"
393
- mr: Margin right: "0" - "9"
394
- mb: Margin bottom: "0" - "9"
395
- ml: Margin left: "0" - "9"
396
302
  style: The style of the component.
397
303
  key: A unique key for the component.
398
304
  id: The id for the component.
399
305
  class_name: The class name for the component.
400
306
  autofocus: Whether the component should take the focus once the page is loaded
307
+ _rename_props: props to change the name of
401
308
  custom_attrs: custom attribute
402
309
  **props: Component properties.
403
310
 
@@ -406,7 +313,7 @@ class AlertDialogTrigger(CommonMarginProps, RadixThemesComponent):
406
313
  """
407
314
  ...
408
315
 
409
- class AlertDialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
316
+ class AlertDialogContent(el.Div, RadixThemesComponent):
410
317
  def get_event_triggers(self) -> Dict[str, Any]: ...
411
318
  @overload
412
319
  @classmethod
@@ -526,53 +433,12 @@ class AlertDialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
526
433
  translate: Optional[
527
434
  Union[Var[Union[str, int, bool]], Union[str, int, bool]]
528
435
  ] = None,
529
- m: Optional[
530
- Union[
531
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
532
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
533
- ]
534
- ] = None,
535
- mx: Optional[
536
- Union[
537
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
538
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
539
- ]
540
- ] = None,
541
- my: Optional[
542
- Union[
543
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
544
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
545
- ]
546
- ] = None,
547
- mt: Optional[
548
- Union[
549
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
550
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
551
- ]
552
- ] = None,
553
- mr: Optional[
554
- Union[
555
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
556
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
557
- ]
558
- ] = None,
559
- mb: Optional[
560
- Union[
561
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
562
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
563
- ]
564
- ] = None,
565
- ml: Optional[
566
- Union[
567
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
568
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
569
- ]
570
- ] = None,
571
436
  style: Optional[Style] = None,
572
437
  key: Optional[Any] = None,
573
438
  id: Optional[Any] = None,
574
439
  class_name: Optional[Any] = None,
575
440
  autofocus: Optional[bool] = None,
441
+ _rename_props: Optional[Dict[str, str]] = None,
576
442
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
577
443
  on_blur: Optional[
578
444
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -658,18 +524,12 @@ class AlertDialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
658
524
  tab_index: Defines the position of the current element in the tabbing order.
659
525
  title: Defines a tooltip for the element.
660
526
  translate: Specifies whether the content of an element should be translated or not.
661
- m: Margin: "0" - "9"
662
- mx: Margin horizontal: "0" - "9"
663
- my: Margin vertical: "0" - "9"
664
- mt: Margin top: "0" - "9"
665
- mr: Margin right: "0" - "9"
666
- mb: Margin bottom: "0" - "9"
667
- ml: Margin left: "0" - "9"
668
527
  style: The style of the component.
669
528
  key: A unique key for the component.
670
529
  id: The id for the component.
671
530
  class_name: The class name for the component.
672
531
  autofocus: Whether the component should take the focus once the page is loaded
532
+ _rename_props: props to change the name of
673
533
  custom_attrs: custom attribute
674
534
  **props: Component properties.
675
535
 
@@ -678,7 +538,7 @@ class AlertDialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
678
538
  """
679
539
  ...
680
540
 
681
- class AlertDialogTitle(CommonMarginProps, RadixThemesComponent):
541
+ class AlertDialogTitle(RadixThemesComponent):
682
542
  @overload
683
543
  @classmethod
684
544
  def create( # type: ignore
@@ -747,53 +607,12 @@ class AlertDialogTitle(CommonMarginProps, RadixThemesComponent):
747
607
  ],
748
608
  ]
749
609
  ] = None,
750
- m: Optional[
751
- Union[
752
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
753
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
754
- ]
755
- ] = None,
756
- mx: Optional[
757
- Union[
758
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
759
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
760
- ]
761
- ] = None,
762
- my: Optional[
763
- Union[
764
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
765
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
766
- ]
767
- ] = None,
768
- mt: Optional[
769
- Union[
770
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
771
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
772
- ]
773
- ] = None,
774
- mr: Optional[
775
- Union[
776
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
777
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
778
- ]
779
- ] = None,
780
- mb: Optional[
781
- Union[
782
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
783
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
784
- ]
785
- ] = None,
786
- ml: Optional[
787
- Union[
788
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
789
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
790
- ]
791
- ] = None,
792
610
  style: Optional[Style] = None,
793
611
  key: Optional[Any] = None,
794
612
  id: Optional[Any] = None,
795
613
  class_name: Optional[Any] = None,
796
614
  autofocus: Optional[bool] = None,
615
+ _rename_props: Optional[Dict[str, str]] = None,
797
616
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
798
617
  on_blur: Optional[
799
618
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -851,18 +670,12 @@ class AlertDialogTitle(CommonMarginProps, RadixThemesComponent):
851
670
  *children: Child components.
852
671
  color: map to CSS default color property.
853
672
  color_scheme: map to radix color property.
854
- m: Margin: "0" - "9"
855
- mx: Margin horizontal: "0" - "9"
856
- my: Margin vertical: "0" - "9"
857
- mt: Margin top: "0" - "9"
858
- mr: Margin right: "0" - "9"
859
- mb: Margin bottom: "0" - "9"
860
- ml: Margin left: "0" - "9"
861
673
  style: The style of the component.
862
674
  key: A unique key for the component.
863
675
  id: The id for the component.
864
676
  class_name: The class name for the component.
865
677
  autofocus: Whether the component should take the focus once the page is loaded
678
+ _rename_props: props to change the name of
866
679
  custom_attrs: custom attribute
867
680
  **props: Component properties.
868
681
 
@@ -871,7 +684,7 @@ class AlertDialogTitle(CommonMarginProps, RadixThemesComponent):
871
684
  """
872
685
  ...
873
686
 
874
- class AlertDialogDescription(CommonMarginProps, RadixThemesComponent):
687
+ class AlertDialogDescription(RadixThemesComponent):
875
688
  @overload
876
689
  @classmethod
877
690
  def create( # type: ignore
@@ -940,53 +753,12 @@ class AlertDialogDescription(CommonMarginProps, RadixThemesComponent):
940
753
  ],
941
754
  ]
942
755
  ] = None,
943
- m: Optional[
944
- Union[
945
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
946
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
947
- ]
948
- ] = None,
949
- mx: Optional[
950
- Union[
951
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
952
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
953
- ]
954
- ] = None,
955
- my: Optional[
956
- Union[
957
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
958
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
959
- ]
960
- ] = None,
961
- mt: Optional[
962
- Union[
963
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
964
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
965
- ]
966
- ] = None,
967
- mr: Optional[
968
- Union[
969
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
970
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
971
- ]
972
- ] = None,
973
- mb: Optional[
974
- Union[
975
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
976
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
977
- ]
978
- ] = None,
979
- ml: Optional[
980
- Union[
981
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
982
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
983
- ]
984
- ] = None,
985
756
  style: Optional[Style] = None,
986
757
  key: Optional[Any] = None,
987
758
  id: Optional[Any] = None,
988
759
  class_name: Optional[Any] = None,
989
760
  autofocus: Optional[bool] = None,
761
+ _rename_props: Optional[Dict[str, str]] = None,
990
762
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
991
763
  on_blur: Optional[
992
764
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1044,18 +816,12 @@ class AlertDialogDescription(CommonMarginProps, RadixThemesComponent):
1044
816
  *children: Child components.
1045
817
  color: map to CSS default color property.
1046
818
  color_scheme: map to radix color property.
1047
- m: Margin: "0" - "9"
1048
- mx: Margin horizontal: "0" - "9"
1049
- my: Margin vertical: "0" - "9"
1050
- mt: Margin top: "0" - "9"
1051
- mr: Margin right: "0" - "9"
1052
- mb: Margin bottom: "0" - "9"
1053
- ml: Margin left: "0" - "9"
1054
819
  style: The style of the component.
1055
820
  key: A unique key for the component.
1056
821
  id: The id for the component.
1057
822
  class_name: The class name for the component.
1058
823
  autofocus: Whether the component should take the focus once the page is loaded
824
+ _rename_props: props to change the name of
1059
825
  custom_attrs: custom attribute
1060
826
  **props: Component properties.
1061
827
 
@@ -1064,7 +830,7 @@ class AlertDialogDescription(CommonMarginProps, RadixThemesComponent):
1064
830
  """
1065
831
  ...
1066
832
 
1067
- class AlertDialogAction(CommonMarginProps, RadixThemesComponent):
833
+ class AlertDialogAction(RadixThemesComponent):
1068
834
  @overload
1069
835
  @classmethod
1070
836
  def create( # type: ignore
@@ -1133,53 +899,12 @@ class AlertDialogAction(CommonMarginProps, RadixThemesComponent):
1133
899
  ],
1134
900
  ]
1135
901
  ] = None,
1136
- m: Optional[
1137
- Union[
1138
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1139
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1140
- ]
1141
- ] = None,
1142
- mx: Optional[
1143
- Union[
1144
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1145
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1146
- ]
1147
- ] = None,
1148
- my: Optional[
1149
- Union[
1150
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1151
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1152
- ]
1153
- ] = None,
1154
- mt: Optional[
1155
- Union[
1156
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1157
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1158
- ]
1159
- ] = None,
1160
- mr: Optional[
1161
- Union[
1162
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1163
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1164
- ]
1165
- ] = None,
1166
- mb: Optional[
1167
- Union[
1168
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1169
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1170
- ]
1171
- ] = None,
1172
- ml: Optional[
1173
- Union[
1174
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1175
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1176
- ]
1177
- ] = None,
1178
902
  style: Optional[Style] = None,
1179
903
  key: Optional[Any] = None,
1180
904
  id: Optional[Any] = None,
1181
905
  class_name: Optional[Any] = None,
1182
906
  autofocus: Optional[bool] = None,
907
+ _rename_props: Optional[Dict[str, str]] = None,
1183
908
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1184
909
  on_blur: Optional[
1185
910
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1237,18 +962,12 @@ class AlertDialogAction(CommonMarginProps, RadixThemesComponent):
1237
962
  *children: Child components.
1238
963
  color: map to CSS default color property.
1239
964
  color_scheme: map to radix color property.
1240
- m: Margin: "0" - "9"
1241
- mx: Margin horizontal: "0" - "9"
1242
- my: Margin vertical: "0" - "9"
1243
- mt: Margin top: "0" - "9"
1244
- mr: Margin right: "0" - "9"
1245
- mb: Margin bottom: "0" - "9"
1246
- ml: Margin left: "0" - "9"
1247
965
  style: The style of the component.
1248
966
  key: A unique key for the component.
1249
967
  id: The id for the component.
1250
968
  class_name: The class name for the component.
1251
969
  autofocus: Whether the component should take the focus once the page is loaded
970
+ _rename_props: props to change the name of
1252
971
  custom_attrs: custom attribute
1253
972
  **props: Component properties.
1254
973
 
@@ -1257,7 +976,7 @@ class AlertDialogAction(CommonMarginProps, RadixThemesComponent):
1257
976
  """
1258
977
  ...
1259
978
 
1260
- class AlertDialogCancel(CommonMarginProps, RadixThemesComponent):
979
+ class AlertDialogCancel(RadixThemesComponent):
1261
980
  @overload
1262
981
  @classmethod
1263
982
  def create( # type: ignore
@@ -1326,53 +1045,12 @@ class AlertDialogCancel(CommonMarginProps, RadixThemesComponent):
1326
1045
  ],
1327
1046
  ]
1328
1047
  ] = None,
1329
- m: Optional[
1330
- Union[
1331
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1332
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1333
- ]
1334
- ] = None,
1335
- mx: Optional[
1336
- Union[
1337
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1338
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1339
- ]
1340
- ] = None,
1341
- my: Optional[
1342
- Union[
1343
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1344
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1345
- ]
1346
- ] = None,
1347
- mt: Optional[
1348
- Union[
1349
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1350
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1351
- ]
1352
- ] = None,
1353
- mr: Optional[
1354
- Union[
1355
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1356
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1357
- ]
1358
- ] = None,
1359
- mb: Optional[
1360
- Union[
1361
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1362
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1363
- ]
1364
- ] = None,
1365
- ml: Optional[
1366
- Union[
1367
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1368
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1369
- ]
1370
- ] = None,
1371
1048
  style: Optional[Style] = None,
1372
1049
  key: Optional[Any] = None,
1373
1050
  id: Optional[Any] = None,
1374
1051
  class_name: Optional[Any] = None,
1375
1052
  autofocus: Optional[bool] = None,
1053
+ _rename_props: Optional[Dict[str, str]] = None,
1376
1054
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1377
1055
  on_blur: Optional[
1378
1056
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1430,18 +1108,12 @@ class AlertDialogCancel(CommonMarginProps, RadixThemesComponent):
1430
1108
  *children: Child components.
1431
1109
  color: map to CSS default color property.
1432
1110
  color_scheme: map to radix color property.
1433
- m: Margin: "0" - "9"
1434
- mx: Margin horizontal: "0" - "9"
1435
- my: Margin vertical: "0" - "9"
1436
- mt: Margin top: "0" - "9"
1437
- mr: Margin right: "0" - "9"
1438
- mb: Margin bottom: "0" - "9"
1439
- ml: Margin left: "0" - "9"
1440
1111
  style: The style of the component.
1441
1112
  key: A unique key for the component.
1442
1113
  id: The id for the component.
1443
1114
  class_name: The class name for the component.
1444
1115
  autofocus: Whether the component should take the focus once the page is loaded
1116
+ _rename_props: props to change the name of
1445
1117
  custom_attrs: custom attribute
1446
1118
  **props: Component properties.
1447
1119
 
@@ -3,13 +3,10 @@ from typing import Union
3
3
 
4
4
  from reflex.vars import Var
5
5
 
6
- from ..base import (
7
- CommonMarginProps,
8
- RadixThemesComponent,
9
- )
6
+ from ..base import RadixThemesComponent
10
7
 
11
8
 
12
- class AspectRatio(CommonMarginProps, RadixThemesComponent):
9
+ class AspectRatio(RadixThemesComponent):
13
10
  """Displays content with a desired ratio."""
14
11
 
15
12
  tag = "AspectRatio"