reflex 0.8.15a1__py3-none-any.whl → 0.8.16a1__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 (139) hide show
  1. reflex/.templates/web/utils/state.js +68 -8
  2. reflex/app.py +45 -51
  3. reflex/app_mixins/lifespan.py +12 -5
  4. reflex/base.py +1 -0
  5. reflex/compiler/compiler.py +4 -6
  6. reflex/compiler/templates.py +25 -31
  7. reflex/compiler/utils.py +6 -5
  8. reflex/components/base/body.pyi +1 -195
  9. reflex/components/base/link.pyi +1 -407
  10. reflex/components/base/meta.pyi +1 -405
  11. reflex/components/base/script.pyi +1 -237
  12. reflex/components/component.py +41 -46
  13. reflex/components/core/auto_scroll.pyi +1 -195
  14. reflex/components/core/banner.pyi +1 -391
  15. reflex/components/core/breakpoints.py +14 -18
  16. reflex/components/core/html.pyi +1 -197
  17. reflex/components/core/match.py +2 -2
  18. reflex/components/core/sticky.py +11 -15
  19. reflex/components/core/sticky.pyi +0 -788
  20. reflex/components/core/upload.py +1 -3
  21. reflex/components/datadisplay/code.pyi +1 -0
  22. reflex/components/datadisplay/dataeditor.py +4 -6
  23. reflex/components/datadisplay/shiki_code_block.py +106 -110
  24. reflex/components/dynamic.py +4 -6
  25. reflex/components/el/elements/__init__.py +5 -7
  26. reflex/components/el/elements/__init__.pyi +5 -7
  27. reflex/components/el/elements/base.py +1 -1
  28. reflex/components/el/elements/base.pyi +1 -195
  29. reflex/components/el/elements/forms.py +7 -9
  30. reflex/components/el/elements/forms.pyi +12 -3112
  31. reflex/components/el/elements/inline.pyi +0 -5481
  32. reflex/components/el/elements/media.pyi +0 -10280
  33. reflex/components/el/elements/metadata.pyi +1 -835
  34. reflex/components/el/elements/other.pyi +1 -1365
  35. reflex/components/el/elements/scripts.pyi +1 -625
  36. reflex/components/el/elements/sectioning.pyi +1 -2911
  37. reflex/components/el/elements/tables.pyi +1 -1973
  38. reflex/components/el/elements/typography.pyi +1 -3125
  39. reflex/components/lucide/icon.py +4 -4
  40. reflex/components/lucide/icon.pyi +0 -4
  41. reflex/components/markdown/markdown.py +15 -19
  42. reflex/components/markdown/markdown.pyi +1 -0
  43. reflex/components/moment/moment.pyi +0 -49
  44. reflex/components/props.py +3 -3
  45. reflex/components/radix/primitives/accordion.py +4 -6
  46. reflex/components/radix/primitives/accordion.pyi +0 -14
  47. reflex/components/radix/primitives/base.pyi +0 -5
  48. reflex/components/radix/primitives/dialog.py +2 -0
  49. reflex/components/radix/primitives/dialog.pyi +1 -233
  50. reflex/components/radix/primitives/drawer.pyi +0 -18
  51. reflex/components/radix/primitives/form.pyi +30 -632
  52. reflex/components/radix/primitives/progress.pyi +0 -10
  53. reflex/components/radix/primitives/slider.pyi +0 -10
  54. reflex/components/radix/themes/color_mode.pyi +1 -284
  55. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  56. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  57. reflex/components/radix/themes/components/avatar.pyi +0 -80
  58. reflex/components/radix/themes/components/badge.pyi +1 -270
  59. reflex/components/radix/themes/components/button.pyi +1 -274
  60. reflex/components/radix/themes/components/callout.pyi +0 -1197
  61. reflex/components/radix/themes/components/card.pyi +1 -209
  62. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  63. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  64. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  65. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  66. reflex/components/radix/themes/components/data_list.pyi +1 -107
  67. reflex/components/radix/themes/components/dialog.pyi +1 -210
  68. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  69. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  70. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  71. reflex/components/radix/themes/components/inset.pyi +0 -252
  72. reflex/components/radix/themes/components/popover.pyi +1 -234
  73. reflex/components/radix/themes/components/progress.pyi +1 -84
  74. reflex/components/radix/themes/components/radio.pyi +1 -72
  75. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  76. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  77. reflex/components/radix/themes/components/select.pyi +1 -376
  78. reflex/components/radix/themes/components/separator.pyi +0 -77
  79. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  80. reflex/components/radix/themes/components/slider.py +3 -5
  81. reflex/components/radix/themes/components/spinner.pyi +0 -5
  82. reflex/components/radix/themes/components/switch.pyi +0 -89
  83. reflex/components/radix/themes/components/table.pyi +0 -1453
  84. reflex/components/radix/themes/components/text_area.pyi +7 -282
  85. reflex/components/radix/themes/components/text_field.pyi +6 -392
  86. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  87. reflex/components/radix/themes/layout/box.pyi +1 -195
  88. reflex/components/radix/themes/layout/center.pyi +0 -194
  89. reflex/components/radix/themes/layout/container.pyi +0 -178
  90. reflex/components/radix/themes/layout/flex.pyi +0 -194
  91. reflex/components/radix/themes/layout/grid.pyi +0 -194
  92. reflex/components/radix/themes/layout/list.pyi +0 -978
  93. reflex/components/radix/themes/layout/section.pyi +0 -194
  94. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  95. reflex/components/radix/themes/layout/stack.pyi +0 -582
  96. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  97. reflex/components/radix/themes/typography/code.pyi +0 -194
  98. reflex/components/radix/themes/typography/heading.pyi +0 -194
  99. reflex/components/radix/themes/typography/link.pyi +0 -237
  100. reflex/components/radix/themes/typography/text.pyi +0 -1360
  101. reflex/components/react_router/dom.pyi +0 -237
  102. reflex/components/recharts/cartesian.py +12 -18
  103. reflex/components/recharts/general.py +12 -18
  104. reflex/constants/installer.py +5 -5
  105. reflex/custom_components/custom_components.py +6 -5
  106. reflex/environment.py +30 -7
  107. reflex/event.py +14 -12
  108. reflex/experimental/client_state.py +11 -12
  109. reflex/istate/data.py +8 -10
  110. reflex/istate/manager/__init__.py +3 -0
  111. reflex/istate/manager/disk.py +151 -5
  112. reflex/model.py +1 -1
  113. reflex/plugins/_screenshot.py +2 -2
  114. reflex/plugins/shared_tailwind.py +9 -14
  115. reflex/reflex.py +7 -9
  116. reflex/state.py +30 -37
  117. reflex/style.py +6 -6
  118. reflex/testing.py +54 -30
  119. reflex/utils/codespaces.py +31 -2
  120. reflex/utils/compat.py +1 -0
  121. reflex/utils/decorator.py +3 -3
  122. reflex/utils/format.py +18 -22
  123. reflex/utils/prerequisites.py +1 -1
  124. reflex/utils/pyi_generator.py +51 -57
  125. reflex/utils/serializers.py +1 -1
  126. reflex/utils/telemetry.py +1 -1
  127. reflex/utils/templates.py +4 -4
  128. reflex/utils/types.py +11 -4
  129. reflex/vars/base.py +26 -29
  130. reflex/vars/color.py +6 -8
  131. reflex/vars/dep_tracking.py +5 -3
  132. reflex/vars/function.py +3 -3
  133. reflex/vars/object.py +9 -13
  134. reflex/vars/sequence.py +18 -24
  135. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
  136. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/RECORD +139 -139
  137. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
  138. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
  139. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/licenses/LICENSE +0 -0
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.component import ComponentNamespace
10
10
  from reflex.components.core.breakpoints import Breakpoints
@@ -21,9 +21,6 @@ class PopoverRoot(RadixThemesComponent):
21
21
  def create(
22
22
  cls,
23
23
  *children,
24
- open: Var[bool] | bool | None = None,
25
- modal: Var[bool] | bool | None = None,
26
- default_open: Var[bool] | bool | None = None,
27
24
  style: Sequence[Mapping[str, Any]]
28
25
  | Mapping[str, Any]
29
26
  | Var[Mapping[str, Any]]
@@ -60,10 +57,7 @@ class PopoverRoot(RadixThemesComponent):
60
57
 
61
58
  Args:
62
59
  *children: Child components.
63
- open: The controlled open state of the popover.
64
- modal: The modality of the popover. When set to true, interaction with outside elements will be disabled and only popover content will be visible to screen readers.
65
60
  on_open_change: Fired when the open state changes.
66
- default_open: The open state of the popover when it is initially rendered. Use when you do not need to control its open state.
67
61
  style: The style of the component.
68
62
  key: A unique key for the component.
69
63
  id: The id for the component.
@@ -124,208 +118,6 @@ class PopoverContent(elements.Div, RadixThemesComponent):
124
118
  def create(
125
119
  cls,
126
120
  *children,
127
- size: Breakpoints[str, Literal["1", "2", "3", "4"]]
128
- | Literal["1", "2", "3", "4"]
129
- | Var[
130
- Breakpoints[str, Literal["1", "2", "3", "4"]] | Literal["1", "2", "3", "4"]
131
- ]
132
- | None = None,
133
- side: Literal["bottom", "left", "right", "top"]
134
- | Var[Literal["bottom", "left", "right", "top"]]
135
- | None = None,
136
- side_offset: Var[int] | int | None = None,
137
- align: Literal["center", "end", "start"]
138
- | Var[Literal["center", "end", "start"]]
139
- | None = None,
140
- align_offset: Var[int] | int | None = None,
141
- avoid_collisions: Var[bool] | bool | None = None,
142
- collision_padding: Var[dict[str, float | int] | float | int]
143
- | dict[str, float | int]
144
- | float
145
- | int
146
- | None = None,
147
- sticky: Literal["always", "partial"]
148
- | Var[Literal["always", "partial"]]
149
- | None = None,
150
- hide_when_detached: Var[bool] | bool | None = None,
151
- access_key: Var[str] | str | None = None,
152
- auto_capitalize: Literal[
153
- "characters", "none", "off", "on", "sentences", "words"
154
- ]
155
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
156
- | None = None,
157
- content_editable: Literal["inherit", "plaintext-only", False, True]
158
- | Var[Literal["inherit", "plaintext-only", False, True]]
159
- | None = None,
160
- context_menu: Var[str] | str | None = None,
161
- dir: Var[str] | str | None = None,
162
- draggable: Var[bool] | bool | None = None,
163
- enter_key_hint: Literal[
164
- "done", "enter", "go", "next", "previous", "search", "send"
165
- ]
166
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
167
- | None = None,
168
- hidden: Var[bool] | bool | None = None,
169
- input_mode: Literal[
170
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
171
- ]
172
- | Var[
173
- Literal[
174
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
175
- ]
176
- ]
177
- | None = None,
178
- item_prop: Var[str] | str | None = None,
179
- lang: Var[str] | str | None = None,
180
- role: Literal[
181
- "alert",
182
- "alertdialog",
183
- "application",
184
- "article",
185
- "banner",
186
- "button",
187
- "cell",
188
- "checkbox",
189
- "columnheader",
190
- "combobox",
191
- "complementary",
192
- "contentinfo",
193
- "definition",
194
- "dialog",
195
- "directory",
196
- "document",
197
- "feed",
198
- "figure",
199
- "form",
200
- "grid",
201
- "gridcell",
202
- "group",
203
- "heading",
204
- "img",
205
- "link",
206
- "list",
207
- "listbox",
208
- "listitem",
209
- "log",
210
- "main",
211
- "marquee",
212
- "math",
213
- "menu",
214
- "menubar",
215
- "menuitem",
216
- "menuitemcheckbox",
217
- "menuitemradio",
218
- "navigation",
219
- "none",
220
- "note",
221
- "option",
222
- "presentation",
223
- "progressbar",
224
- "radio",
225
- "radiogroup",
226
- "region",
227
- "row",
228
- "rowgroup",
229
- "rowheader",
230
- "scrollbar",
231
- "search",
232
- "searchbox",
233
- "separator",
234
- "slider",
235
- "spinbutton",
236
- "status",
237
- "switch",
238
- "tab",
239
- "table",
240
- "tablist",
241
- "tabpanel",
242
- "term",
243
- "textbox",
244
- "timer",
245
- "toolbar",
246
- "tooltip",
247
- "tree",
248
- "treegrid",
249
- "treeitem",
250
- ]
251
- | Var[
252
- Literal[
253
- "alert",
254
- "alertdialog",
255
- "application",
256
- "article",
257
- "banner",
258
- "button",
259
- "cell",
260
- "checkbox",
261
- "columnheader",
262
- "combobox",
263
- "complementary",
264
- "contentinfo",
265
- "definition",
266
- "dialog",
267
- "directory",
268
- "document",
269
- "feed",
270
- "figure",
271
- "form",
272
- "grid",
273
- "gridcell",
274
- "group",
275
- "heading",
276
- "img",
277
- "link",
278
- "list",
279
- "listbox",
280
- "listitem",
281
- "log",
282
- "main",
283
- "marquee",
284
- "math",
285
- "menu",
286
- "menubar",
287
- "menuitem",
288
- "menuitemcheckbox",
289
- "menuitemradio",
290
- "navigation",
291
- "none",
292
- "note",
293
- "option",
294
- "presentation",
295
- "progressbar",
296
- "radio",
297
- "radiogroup",
298
- "region",
299
- "row",
300
- "rowgroup",
301
- "rowheader",
302
- "scrollbar",
303
- "search",
304
- "searchbox",
305
- "separator",
306
- "slider",
307
- "spinbutton",
308
- "status",
309
- "switch",
310
- "tab",
311
- "table",
312
- "tablist",
313
- "tabpanel",
314
- "term",
315
- "textbox",
316
- "timer",
317
- "toolbar",
318
- "tooltip",
319
- "tree",
320
- "treegrid",
321
- "treeitem",
322
- ]
323
- ]
324
- | None = None,
325
- slot: Var[str] | str | None = None,
326
- spell_check: Var[bool] | bool | None = None,
327
- tab_index: Var[int] | int | None = None,
328
- title: Var[str] | str | None = None,
329
121
  style: Sequence[Mapping[str, Any]]
330
122
  | Mapping[str, Any]
331
123
  | Var[Mapping[str, Any]]
@@ -367,37 +159,12 @@ class PopoverContent(elements.Div, RadixThemesComponent):
367
159
 
368
160
  Args:
369
161
  *children: Child components.
370
- size: Size of the button: "1" | "2" | "3" | "4"
371
- side: The preferred side of the anchor to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.
372
- side_offset: The distance in pixels from the anchor.
373
- align: The preferred alignment against the anchor. May change when collisions occur.
374
- align_offset: The vertical distance in pixels from the anchor.
375
- avoid_collisions: When true, overrides the side andalign preferences to prevent collisions with boundary edges.
376
- collision_padding: The distance in pixels from the boundary edges where collision detection should occur. Accepts a number (same for all sides), or a partial padding object, for example: { "top": 20, "left": 20 }. Defaults to 0.
377
- sticky: The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
378
- hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
379
162
  on_open_auto_focus: Fired when the dialog is opened.
380
163
  on_close_auto_focus: Fired when the dialog is closed.
381
164
  on_escape_key_down: Fired when the escape key is pressed.
382
165
  on_pointer_down_outside: Fired when the pointer is down outside the dialog.
383
166
  on_focus_outside: Fired when focus moves outside the dialog.
384
167
  on_interact_outside: Fired when the pointer interacts outside the dialog.
385
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
386
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
387
- content_editable: Indicates whether the element's content is editable.
388
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
389
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
390
- draggable: Defines whether the element can be dragged.
391
- enter_key_hint: Hints what media types the media element is able to play.
392
- hidden: Defines whether the element is hidden.
393
- input_mode: Defines the type of the element.
394
- item_prop: Defines the name of the element for metadata purposes.
395
- lang: Defines the language used in the element.
396
- role: Defines the role of the element.
397
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
398
- spell_check: Defines whether the element may be checked for spelling errors.
399
- tab_index: Defines the position of the current element in the tabbing order.
400
- title: Defines a tooltip for the element.
401
168
  style: The style of the component.
402
169
  key: A unique key for the component.
403
170
  id: The id for the component.
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.core.breakpoints import Breakpoints
10
10
  from reflex.components.radix.themes.base import RadixThemesComponent
@@ -16,80 +16,6 @@ class Progress(RadixThemesComponent):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- value: Var[int] | int | None = None,
20
- max: Var[int] | int | None = None,
21
- size: Breakpoints[str, Literal["1", "2", "3"]]
22
- | Literal["1", "2", "3"]
23
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
24
- | None = None,
25
- variant: Literal["classic", "soft", "surface"]
26
- | Var[Literal["classic", "soft", "surface"]]
27
- | None = None,
28
- color_scheme: Literal[
29
- "amber",
30
- "blue",
31
- "bronze",
32
- "brown",
33
- "crimson",
34
- "cyan",
35
- "gold",
36
- "grass",
37
- "gray",
38
- "green",
39
- "indigo",
40
- "iris",
41
- "jade",
42
- "lime",
43
- "mint",
44
- "orange",
45
- "pink",
46
- "plum",
47
- "purple",
48
- "red",
49
- "ruby",
50
- "sky",
51
- "teal",
52
- "tomato",
53
- "violet",
54
- "yellow",
55
- ]
56
- | Var[
57
- Literal[
58
- "amber",
59
- "blue",
60
- "bronze",
61
- "brown",
62
- "crimson",
63
- "cyan",
64
- "gold",
65
- "grass",
66
- "gray",
67
- "green",
68
- "indigo",
69
- "iris",
70
- "jade",
71
- "lime",
72
- "mint",
73
- "orange",
74
- "pink",
75
- "plum",
76
- "purple",
77
- "red",
78
- "ruby",
79
- "sky",
80
- "teal",
81
- "tomato",
82
- "violet",
83
- "yellow",
84
- ]
85
- ]
86
- | None = None,
87
- high_contrast: Var[bool] | bool | None = None,
88
- radius: Literal["full", "large", "medium", "none", "small"]
89
- | Var[Literal["full", "large", "medium", "none", "small"]]
90
- | None = None,
91
- duration: Var[str] | str | None = None,
92
- fill_color: Var[str] | str | None = None,
93
19
  style: Sequence[Mapping[str, Any]]
94
20
  | Mapping[str, Any]
95
21
  | Var[Mapping[str, Any]]
@@ -122,15 +48,6 @@ class Progress(RadixThemesComponent):
122
48
 
123
49
  Args:
124
50
  *children: The children of the component.
125
- value: The value of the progress bar: 0 to max (default 100)
126
- max: The maximum progress value.
127
- size: The size of the progress bar: "1" | "2" | "3"
128
- variant: The variant of the progress bar: "classic" | "surface" | "soft"
129
- color_scheme: The color theme of the progress bar
130
- high_contrast: Whether to render the progress bar with higher contrast color against background
131
- radius: Override theme radius for progress bar: "none" | "small" | "medium" | "large" | "full"
132
- duration: The duration of the progress bar animation. Once the duration times out, the progress bar will start an indeterminate animation.
133
- fill_color: The color of the progress bar fill animation.
134
51
  style: The style of the component.
135
52
  key: A unique key for the component.
136
53
  id: The id for the component.
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.core.breakpoints import Breakpoints
10
10
  from reflex.components.radix.themes.base import RadixThemesComponent
@@ -16,73 +16,6 @@ class Radio(RadixThemesComponent):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- size: Breakpoints[str, Literal["1", "2", "3"]]
20
- | Literal["1", "2", "3"]
21
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
22
- | None = None,
23
- variant: Literal["classic", "soft", "surface"]
24
- | Var[Literal["classic", "soft", "surface"]]
25
- | None = None,
26
- color_scheme: Literal[
27
- "amber",
28
- "blue",
29
- "bronze",
30
- "brown",
31
- "crimson",
32
- "cyan",
33
- "gold",
34
- "grass",
35
- "gray",
36
- "green",
37
- "indigo",
38
- "iris",
39
- "jade",
40
- "lime",
41
- "mint",
42
- "orange",
43
- "pink",
44
- "plum",
45
- "purple",
46
- "red",
47
- "ruby",
48
- "sky",
49
- "teal",
50
- "tomato",
51
- "violet",
52
- "yellow",
53
- ]
54
- | Var[
55
- Literal[
56
- "amber",
57
- "blue",
58
- "bronze",
59
- "brown",
60
- "crimson",
61
- "cyan",
62
- "gold",
63
- "grass",
64
- "gray",
65
- "green",
66
- "indigo",
67
- "iris",
68
- "jade",
69
- "lime",
70
- "mint",
71
- "orange",
72
- "pink",
73
- "plum",
74
- "purple",
75
- "red",
76
- "ruby",
77
- "sky",
78
- "teal",
79
- "tomato",
80
- "violet",
81
- "yellow",
82
- ]
83
- ]
84
- | None = None,
85
- high_contrast: Var[bool] | bool | None = None,
86
19
  style: Sequence[Mapping[str, Any]]
87
20
  | Mapping[str, Any]
88
21
  | Var[Mapping[str, Any]]
@@ -118,10 +51,6 @@ class Radio(RadixThemesComponent):
118
51
 
119
52
  Args:
120
53
  *children: Child components.
121
- size: The size of the radio: "1" | "2" | "3"
122
- variant: Variant of button: "classic" | "surface" | "soft"
123
- color_scheme: Override theme color for button
124
- high_contrast: Uses a higher contrast color for the component.
125
54
  style: The style of the component.
126
55
  key: A unique key for the component.
127
56
  id: The id for the component.
@@ -5,7 +5,7 @@
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
7
  from types import SimpleNamespace
8
- from typing import Any, Literal
8
+ from typing import Any
9
9
 
10
10
  from reflex.components.core.breakpoints import Breakpoints
11
11
  from reflex.components.radix.themes.base import RadixThemesComponent
@@ -17,106 +17,6 @@ class RadioCardsRoot(RadixThemesComponent):
17
17
  def create(
18
18
  cls,
19
19
  *children,
20
- as_child: Var[bool] | bool | None = None,
21
- size: Breakpoints[str, Literal["1", "2", "3"]]
22
- | Literal["1", "2", "3"]
23
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
24
- | None = None,
25
- variant: Literal["classic", "surface"]
26
- | Var[Literal["classic", "surface"]]
27
- | None = None,
28
- color_scheme: Literal[
29
- "amber",
30
- "blue",
31
- "bronze",
32
- "brown",
33
- "crimson",
34
- "cyan",
35
- "gold",
36
- "grass",
37
- "gray",
38
- "green",
39
- "indigo",
40
- "iris",
41
- "jade",
42
- "lime",
43
- "mint",
44
- "orange",
45
- "pink",
46
- "plum",
47
- "purple",
48
- "red",
49
- "ruby",
50
- "sky",
51
- "teal",
52
- "tomato",
53
- "violet",
54
- "yellow",
55
- ]
56
- | Var[
57
- Literal[
58
- "amber",
59
- "blue",
60
- "bronze",
61
- "brown",
62
- "crimson",
63
- "cyan",
64
- "gold",
65
- "grass",
66
- "gray",
67
- "green",
68
- "indigo",
69
- "iris",
70
- "jade",
71
- "lime",
72
- "mint",
73
- "orange",
74
- "pink",
75
- "plum",
76
- "purple",
77
- "red",
78
- "ruby",
79
- "sky",
80
- "teal",
81
- "tomato",
82
- "violet",
83
- "yellow",
84
- ]
85
- ]
86
- | None = None,
87
- high_contrast: Var[bool] | bool | None = None,
88
- columns: Breakpoints[
89
- str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"] | str
90
- ]
91
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
92
- | Var[
93
- Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"] | str]
94
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
95
- | str
96
- ]
97
- | str
98
- | None = None,
99
- gap: Breakpoints[
100
- str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"] | str
101
- ]
102
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
103
- | Var[
104
- Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"] | str]
105
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
106
- | str
107
- ]
108
- | str
109
- | None = None,
110
- default_value: Var[str] | str | None = None,
111
- value: Var[str] | str | None = None,
112
- name: Var[str] | str | None = None,
113
- disabled: Var[bool] | bool | None = None,
114
- required: Var[bool] | bool | None = None,
115
- orientation: Literal["horizontal", "undefined", "vertical"]
116
- | Var[Literal["horizontal", "undefined", "vertical"]]
117
- | None = None,
118
- dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
119
- loop: Var[bool] | bool | None = None,
120
20
  style: Sequence[Mapping[str, Any]]
121
21
  | Mapping[str, Any]
122
22
  | Var[Mapping[str, Any]]
@@ -153,20 +53,6 @@ class RadioCardsRoot(RadixThemesComponent):
153
53
 
154
54
  Args:
155
55
  *children: Child components.
156
- as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
157
- size: The size of the checkbox cards: "1" | "2" | "3"
158
- variant: Variant of button: "classic" | "surface" | "soft"
159
- color_scheme: Override theme color for button
160
- high_contrast: Uses a higher contrast color for the component.
161
- columns: The number of columns:
162
- gap: The gap between the checkbox cards:
163
- value: The controlled value of the radio item to check. Should be used in conjunction with onValueChange.
164
- name: The name of the group. Submitted with its owning form as part of a name/value pair.
165
- disabled: When true, prevents the user from interacting with radio items.
166
- required: When true, indicates that the user must check a radio item before the owning form can be submitted.
167
- orientation: The orientation of the component.
168
- dir: The reading direction of the radio group. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
169
- loop: When true, keyboard navigation will loop from last item to first, and vice versa.
170
56
  on_value_change: Event handler called when the value changes.
171
57
  style: The style of the component.
172
58
  key: A unique key for the component.
@@ -185,10 +71,6 @@ class RadioCardsItem(RadixThemesComponent):
185
71
  def create(
186
72
  cls,
187
73
  *children,
188
- as_child: Var[bool] | bool | None = None,
189
- value: Var[str] | str | None = None,
190
- disabled: Var[bool] | bool | None = None,
191
- required: Var[bool] | bool | None = None,
192
74
  style: Sequence[Mapping[str, Any]]
193
75
  | Mapping[str, Any]
194
76
  | Var[Mapping[str, Any]]
@@ -224,10 +106,6 @@ class RadioCardsItem(RadixThemesComponent):
224
106
 
225
107
  Args:
226
108
  *children: Child components.
227
- as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
228
- value: The value given as data when submitted with a name.
229
- disabled: When true, prevents the user from interacting with the radio item.
230
- required: When true, indicates that the user must check the radio item before the owning form can be submitted.
231
109
  style: The style of the component.
232
110
  key: A unique key for the component.
233
111
  id: The id for the component.
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.core.breakpoints import Breakpoints
10
10
  from reflex.components.radix.themes.base import RadixThemesComponent
@@ -16,13 +16,6 @@ class ScrollArea(RadixThemesComponent):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- scrollbars: Literal["both", "horizontal", "vertical"]
20
- | Var[Literal["both", "horizontal", "vertical"]]
21
- | None = None,
22
- type: Literal["always", "auto", "hover", "scroll"]
23
- | Var[Literal["always", "auto", "hover", "scroll"]]
24
- | None = None,
25
- scroll_hide_delay: Var[int] | int | None = None,
26
19
  style: Sequence[Mapping[str, Any]]
27
20
  | Mapping[str, Any]
28
21
  | Var[Mapping[str, Any]]
@@ -58,9 +51,6 @@ class ScrollArea(RadixThemesComponent):
58
51
 
59
52
  Args:
60
53
  *children: Child components.
61
- scrollbars: The alignment of the scroll area
62
- type: Describes the nature of scrollbar visibility, similar to how the scrollbar preferences in MacOS control visibility of native scrollbars. "auto" | "always" | "scroll" | "hover"
63
- scroll_hide_delay: If type is set to either "scroll" or "hover", this prop determines the length of time, in milliseconds, before the scrollbars are hidden after the user stops interacting with scrollbars.
64
54
  style: The style of the component.
65
55
  key: A unique key for the component.
66
56
  id: The id for the component.