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
@@ -2,15 +2,15 @@
2
2
  from typing import Any, Dict, Literal
3
3
 
4
4
  from reflex import el
5
+ from reflex.constants import EventTriggers
5
6
  from reflex.vars import Var
6
7
 
7
8
  from ..base import (
8
- CommonMarginProps,
9
9
  RadixThemesComponent,
10
10
  )
11
11
 
12
12
 
13
- class DialogRoot(CommonMarginProps, RadixThemesComponent):
13
+ class DialogRoot(RadixThemesComponent):
14
14
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
15
15
 
16
16
  tag = "Dialog.Root"
@@ -18,9 +18,6 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
18
18
  # The controlled open state of the dialog.
19
19
  open: Var[bool]
20
20
 
21
- # The modality of the dialog. When set to true, interaction with outside elements will be disabled and only dialog content will be visible to screen readers.
22
- modal: Var[bool]
23
-
24
21
  def get_event_triggers(self) -> Dict[str, Any]:
25
22
  """Get the events triggers signatures for the component.
26
23
 
@@ -29,23 +26,23 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
29
26
  """
30
27
  return {
31
28
  **super().get_event_triggers(),
32
- "on_open_change": lambda e0: [e0],
29
+ EventTriggers.ON_OPEN_CHANGE: lambda e0: [e0],
33
30
  }
34
31
 
35
32
 
36
- class DialogTrigger(CommonMarginProps, RadixThemesComponent):
33
+ class DialogTrigger(RadixThemesComponent):
37
34
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
38
35
 
39
36
  tag = "Dialog.Trigger"
40
37
 
41
38
 
42
- class DialogTitle(CommonMarginProps, RadixThemesComponent):
39
+ class DialogTitle(RadixThemesComponent):
43
40
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
44
41
 
45
42
  tag = "Dialog.Title"
46
43
 
47
44
 
48
- class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
45
+ class DialogContent(el.Div, RadixThemesComponent):
49
46
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
50
47
 
51
48
  tag = "Dialog.Content"
@@ -61,21 +58,21 @@ class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
61
58
  """
62
59
  return {
63
60
  **super().get_event_triggers(),
64
- "on_open_auto_focus": lambda e0: [e0],
65
- "on_close_auto_focus": lambda e0: [e0],
66
- "on_escape_key_down": lambda e0: [e0],
67
- "on_pointer_down_outside": lambda e0: [e0],
68
- "on_interact_outside": lambda e0: [e0],
61
+ EventTriggers.ON_OPEN_AUTO_FOCUS: lambda e0: [e0],
62
+ EventTriggers.ON_CLOSE_AUTO_FOCUS: lambda e0: [e0],
63
+ EventTriggers.ON_ESCAPE_KEY_DOWN: lambda e0: [e0],
64
+ EventTriggers.ON_POINTER_DOWN_OUTSIDE: lambda e0: [e0],
65
+ EventTriggers.ON_INTERACT_OUTSIDE: lambda e0: [e0],
69
66
  }
70
67
 
71
68
 
72
- class DialogDescription(CommonMarginProps, RadixThemesComponent):
69
+ class DialogDescription(RadixThemesComponent):
73
70
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
74
71
 
75
72
  tag = "Dialog.Description"
76
73
 
77
74
 
78
- class DialogClose(CommonMarginProps, RadixThemesComponent):
75
+ class DialogClose(RadixThemesComponent):
79
76
  """Trigger an action or event, such as submitting a form or displaying a dialog."""
80
77
 
81
78
  tag = "Dialog.Close"
@@ -9,10 +9,11 @@ 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, RadixThemesComponent
14
+ from ..base import RadixThemesComponent
14
15
 
15
- class DialogRoot(CommonMarginProps, RadixThemesComponent):
16
+ class DialogRoot(RadixThemesComponent):
16
17
  def get_event_triggers(self) -> Dict[str, Any]: ...
17
18
  @overload
18
19
  @classmethod
@@ -83,54 +84,12 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
83
84
  ]
84
85
  ] = None,
85
86
  open: Optional[Union[Var[bool], bool]] = None,
86
- modal: Optional[Union[Var[bool], bool]] = None,
87
- m: Optional[
88
- Union[
89
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
90
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
91
- ]
92
- ] = None,
93
- mx: Optional[
94
- Union[
95
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
96
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
97
- ]
98
- ] = None,
99
- my: Optional[
100
- Union[
101
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
102
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
103
- ]
104
- ] = None,
105
- mt: Optional[
106
- Union[
107
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
108
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
109
- ]
110
- ] = None,
111
- mr: Optional[
112
- Union[
113
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
114
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
115
- ]
116
- ] = None,
117
- mb: Optional[
118
- Union[
119
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
120
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
121
- ]
122
- ] = None,
123
- ml: Optional[
124
- Union[
125
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
126
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
127
- ]
128
- ] = None,
129
87
  style: Optional[Style] = None,
130
88
  key: Optional[Any] = None,
131
89
  id: Optional[Any] = None,
132
90
  class_name: Optional[Any] = None,
133
91
  autofocus: Optional[bool] = None,
92
+ _rename_props: Optional[Dict[str, str]] = None,
134
93
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
135
94
  on_blur: Optional[
136
95
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -192,19 +151,12 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
192
151
  color: map to CSS default color property.
193
152
  color_scheme: map to radix color property.
194
153
  open: The controlled open state of the dialog.
195
- modal: The modality of the dialog. When set to true, interaction with outside elements will be disabled and only dialog content will be visible to screen readers.
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
154
  style: The style of the component.
204
155
  key: A unique key for the component.
205
156
  id: The id for the component.
206
157
  class_name: The class name for the component.
207
158
  autofocus: Whether the component should take the focus once the page is loaded
159
+ _rename_props: props to change the name of
208
160
  custom_attrs: custom attribute
209
161
  **props: Component properties.
210
162
 
@@ -213,7 +165,7 @@ class DialogRoot(CommonMarginProps, RadixThemesComponent):
213
165
  """
214
166
  ...
215
167
 
216
- class DialogTrigger(CommonMarginProps, RadixThemesComponent):
168
+ class DialogTrigger(RadixThemesComponent):
217
169
  @overload
218
170
  @classmethod
219
171
  def create( # type: ignore
@@ -282,53 +234,12 @@ class DialogTrigger(CommonMarginProps, RadixThemesComponent):
282
234
  ],
283
235
  ]
284
236
  ] = 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
237
  style: Optional[Style] = None,
328
238
  key: Optional[Any] = None,
329
239
  id: Optional[Any] = None,
330
240
  class_name: Optional[Any] = None,
331
241
  autofocus: Optional[bool] = None,
242
+ _rename_props: Optional[Dict[str, str]] = None,
332
243
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
333
244
  on_blur: Optional[
334
245
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -386,18 +297,12 @@ class DialogTrigger(CommonMarginProps, RadixThemesComponent):
386
297
  *children: Child components.
387
298
  color: map to CSS default color property.
388
299
  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
300
  style: The style of the component.
397
301
  key: A unique key for the component.
398
302
  id: The id for the component.
399
303
  class_name: The class name for the component.
400
304
  autofocus: Whether the component should take the focus once the page is loaded
305
+ _rename_props: props to change the name of
401
306
  custom_attrs: custom attribute
402
307
  **props: Component properties.
403
308
 
@@ -406,7 +311,7 @@ class DialogTrigger(CommonMarginProps, RadixThemesComponent):
406
311
  """
407
312
  ...
408
313
 
409
- class DialogTitle(CommonMarginProps, RadixThemesComponent):
314
+ class DialogTitle(RadixThemesComponent):
410
315
  @overload
411
316
  @classmethod
412
317
  def create( # type: ignore
@@ -475,53 +380,12 @@ class DialogTitle(CommonMarginProps, RadixThemesComponent):
475
380
  ],
476
381
  ]
477
382
  ] = None,
478
- m: Optional[
479
- Union[
480
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
481
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
482
- ]
483
- ] = None,
484
- mx: Optional[
485
- Union[
486
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
487
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
488
- ]
489
- ] = None,
490
- my: Optional[
491
- Union[
492
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
493
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
494
- ]
495
- ] = None,
496
- mt: Optional[
497
- Union[
498
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
499
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
500
- ]
501
- ] = None,
502
- mr: Optional[
503
- Union[
504
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
505
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
506
- ]
507
- ] = None,
508
- mb: Optional[
509
- Union[
510
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
511
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
512
- ]
513
- ] = None,
514
- ml: Optional[
515
- Union[
516
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
517
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
518
- ]
519
- ] = None,
520
383
  style: Optional[Style] = None,
521
384
  key: Optional[Any] = None,
522
385
  id: Optional[Any] = None,
523
386
  class_name: Optional[Any] = None,
524
387
  autofocus: Optional[bool] = None,
388
+ _rename_props: Optional[Dict[str, str]] = None,
525
389
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
526
390
  on_blur: Optional[
527
391
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -579,18 +443,12 @@ class DialogTitle(CommonMarginProps, RadixThemesComponent):
579
443
  *children: Child components.
580
444
  color: map to CSS default color property.
581
445
  color_scheme: map to radix color property.
582
- m: Margin: "0" - "9"
583
- mx: Margin horizontal: "0" - "9"
584
- my: Margin vertical: "0" - "9"
585
- mt: Margin top: "0" - "9"
586
- mr: Margin right: "0" - "9"
587
- mb: Margin bottom: "0" - "9"
588
- ml: Margin left: "0" - "9"
589
446
  style: The style of the component.
590
447
  key: A unique key for the component.
591
448
  id: The id for the component.
592
449
  class_name: The class name for the component.
593
450
  autofocus: Whether the component should take the focus once the page is loaded
451
+ _rename_props: props to change the name of
594
452
  custom_attrs: custom attribute
595
453
  **props: Component properties.
596
454
 
@@ -599,7 +457,7 @@ class DialogTitle(CommonMarginProps, RadixThemesComponent):
599
457
  """
600
458
  ...
601
459
 
602
- class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
460
+ class DialogContent(el.Div, RadixThemesComponent):
603
461
  def get_event_triggers(self) -> Dict[str, Any]: ...
604
462
  @overload
605
463
  @classmethod
@@ -713,53 +571,12 @@ class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
713
571
  translate: Optional[
714
572
  Union[Var[Union[str, int, bool]], Union[str, int, bool]]
715
573
  ] = None,
716
- m: Optional[
717
- Union[
718
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
719
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
720
- ]
721
- ] = None,
722
- mx: Optional[
723
- Union[
724
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
725
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
726
- ]
727
- ] = None,
728
- my: Optional[
729
- Union[
730
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
731
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
732
- ]
733
- ] = None,
734
- mt: Optional[
735
- Union[
736
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
737
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
738
- ]
739
- ] = None,
740
- mr: Optional[
741
- Union[
742
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
743
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
744
- ]
745
- ] = None,
746
- mb: Optional[
747
- Union[
748
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
749
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
750
- ]
751
- ] = None,
752
- ml: Optional[
753
- Union[
754
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
755
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
756
- ]
757
- ] = None,
758
574
  style: Optional[Style] = None,
759
575
  key: Optional[Any] = None,
760
576
  id: Optional[Any] = None,
761
577
  class_name: Optional[Any] = None,
762
578
  autofocus: Optional[bool] = None,
579
+ _rename_props: Optional[Dict[str, str]] = None,
763
580
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
764
581
  on_blur: Optional[
765
582
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -850,18 +667,12 @@ class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
850
667
  tab_index: Defines the position of the current element in the tabbing order.
851
668
  title: Defines a tooltip for the element.
852
669
  translate: Specifies whether the content of an element should be translated or not.
853
- m: Margin: "0" - "9"
854
- mx: Margin horizontal: "0" - "9"
855
- my: Margin vertical: "0" - "9"
856
- mt: Margin top: "0" - "9"
857
- mr: Margin right: "0" - "9"
858
- mb: Margin bottom: "0" - "9"
859
- ml: Margin left: "0" - "9"
860
670
  style: The style of the component.
861
671
  key: A unique key for the component.
862
672
  id: The id for the component.
863
673
  class_name: The class name for the component.
864
674
  autofocus: Whether the component should take the focus once the page is loaded
675
+ _rename_props: props to change the name of
865
676
  custom_attrs: custom attribute
866
677
  **props: Component properties.
867
678
 
@@ -870,7 +681,7 @@ class DialogContent(el.Div, CommonMarginProps, RadixThemesComponent):
870
681
  """
871
682
  ...
872
683
 
873
- class DialogDescription(CommonMarginProps, RadixThemesComponent):
684
+ class DialogDescription(RadixThemesComponent):
874
685
  @overload
875
686
  @classmethod
876
687
  def create( # type: ignore
@@ -939,53 +750,12 @@ class DialogDescription(CommonMarginProps, RadixThemesComponent):
939
750
  ],
940
751
  ]
941
752
  ] = None,
942
- m: Optional[
943
- Union[
944
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
945
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
946
- ]
947
- ] = None,
948
- mx: Optional[
949
- Union[
950
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
951
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
952
- ]
953
- ] = None,
954
- my: Optional[
955
- Union[
956
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
957
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
958
- ]
959
- ] = None,
960
- mt: Optional[
961
- Union[
962
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
963
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
964
- ]
965
- ] = None,
966
- mr: Optional[
967
- Union[
968
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
969
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
970
- ]
971
- ] = None,
972
- mb: Optional[
973
- Union[
974
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
975
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
976
- ]
977
- ] = None,
978
- ml: Optional[
979
- Union[
980
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
981
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
982
- ]
983
- ] = None,
984
753
  style: Optional[Style] = None,
985
754
  key: Optional[Any] = None,
986
755
  id: Optional[Any] = None,
987
756
  class_name: Optional[Any] = None,
988
757
  autofocus: Optional[bool] = None,
758
+ _rename_props: Optional[Dict[str, str]] = None,
989
759
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
990
760
  on_blur: Optional[
991
761
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1043,18 +813,12 @@ class DialogDescription(CommonMarginProps, RadixThemesComponent):
1043
813
  *children: Child components.
1044
814
  color: map to CSS default color property.
1045
815
  color_scheme: map to radix color property.
1046
- m: Margin: "0" - "9"
1047
- mx: Margin horizontal: "0" - "9"
1048
- my: Margin vertical: "0" - "9"
1049
- mt: Margin top: "0" - "9"
1050
- mr: Margin right: "0" - "9"
1051
- mb: Margin bottom: "0" - "9"
1052
- ml: Margin left: "0" - "9"
1053
816
  style: The style of the component.
1054
817
  key: A unique key for the component.
1055
818
  id: The id for the component.
1056
819
  class_name: The class name for the component.
1057
820
  autofocus: Whether the component should take the focus once the page is loaded
821
+ _rename_props: props to change the name of
1058
822
  custom_attrs: custom attribute
1059
823
  **props: Component properties.
1060
824
 
@@ -1063,7 +827,7 @@ class DialogDescription(CommonMarginProps, RadixThemesComponent):
1063
827
  """
1064
828
  ...
1065
829
 
1066
- class DialogClose(CommonMarginProps, RadixThemesComponent):
830
+ class DialogClose(RadixThemesComponent):
1067
831
  @overload
1068
832
  @classmethod
1069
833
  def create( # type: ignore
@@ -1132,53 +896,12 @@ class DialogClose(CommonMarginProps, RadixThemesComponent):
1132
896
  ],
1133
897
  ]
1134
898
  ] = None,
1135
- m: Optional[
1136
- Union[
1137
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1138
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1139
- ]
1140
- ] = None,
1141
- mx: Optional[
1142
- Union[
1143
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1144
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1145
- ]
1146
- ] = None,
1147
- my: Optional[
1148
- Union[
1149
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1150
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1151
- ]
1152
- ] = None,
1153
- mt: Optional[
1154
- Union[
1155
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1156
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1157
- ]
1158
- ] = None,
1159
- mr: Optional[
1160
- Union[
1161
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1162
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1163
- ]
1164
- ] = None,
1165
- mb: Optional[
1166
- Union[
1167
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1168
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1169
- ]
1170
- ] = None,
1171
- ml: Optional[
1172
- Union[
1173
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
1174
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
1175
- ]
1176
- ] = None,
1177
899
  style: Optional[Style] = None,
1178
900
  key: Optional[Any] = None,
1179
901
  id: Optional[Any] = None,
1180
902
  class_name: Optional[Any] = None,
1181
903
  autofocus: Optional[bool] = None,
904
+ _rename_props: Optional[Dict[str, str]] = None,
1182
905
  custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
1183
906
  on_blur: Optional[
1184
907
  Union[EventHandler, EventSpec, list, function, BaseVar]
@@ -1236,18 +959,12 @@ class DialogClose(CommonMarginProps, RadixThemesComponent):
1236
959
  *children: Child components.
1237
960
  color: map to CSS default color property.
1238
961
  color_scheme: map to radix color property.
1239
- m: Margin: "0" - "9"
1240
- mx: Margin horizontal: "0" - "9"
1241
- my: Margin vertical: "0" - "9"
1242
- mt: Margin top: "0" - "9"
1243
- mr: Margin right: "0" - "9"
1244
- mb: Margin bottom: "0" - "9"
1245
- ml: Margin left: "0" - "9"
1246
962
  style: The style of the component.
1247
963
  key: A unique key for the component.
1248
964
  id: The id for the component.
1249
965
  class_name: The class name for the component.
1250
966
  autofocus: Whether the component should take the focus once the page is loaded
967
+ _rename_props: props to change the name of
1251
968
  custom_attrs: custom attribute
1252
969
  **props: Component properties.
1253
970