reflex 0.8.15a2__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 (138) hide show
  1. reflex/app.py +40 -46
  2. reflex/app_mixins/lifespan.py +12 -5
  3. reflex/base.py +1 -0
  4. reflex/compiler/compiler.py +4 -6
  5. reflex/compiler/templates.py +25 -31
  6. reflex/compiler/utils.py +6 -5
  7. reflex/components/base/body.pyi +1 -195
  8. reflex/components/base/link.pyi +1 -407
  9. reflex/components/base/meta.pyi +1 -405
  10. reflex/components/base/script.pyi +1 -237
  11. reflex/components/component.py +41 -46
  12. reflex/components/core/auto_scroll.pyi +1 -195
  13. reflex/components/core/banner.pyi +1 -391
  14. reflex/components/core/breakpoints.py +14 -18
  15. reflex/components/core/html.pyi +1 -197
  16. reflex/components/core/match.py +2 -2
  17. reflex/components/core/sticky.py +11 -15
  18. reflex/components/core/sticky.pyi +0 -788
  19. reflex/components/core/upload.py +1 -3
  20. reflex/components/datadisplay/code.pyi +1 -0
  21. reflex/components/datadisplay/dataeditor.py +4 -6
  22. reflex/components/datadisplay/shiki_code_block.py +106 -110
  23. reflex/components/dynamic.py +4 -6
  24. reflex/components/el/elements/__init__.py +5 -7
  25. reflex/components/el/elements/__init__.pyi +5 -7
  26. reflex/components/el/elements/base.py +1 -1
  27. reflex/components/el/elements/base.pyi +1 -195
  28. reflex/components/el/elements/forms.py +7 -9
  29. reflex/components/el/elements/forms.pyi +12 -3112
  30. reflex/components/el/elements/inline.pyi +0 -5481
  31. reflex/components/el/elements/media.pyi +0 -10280
  32. reflex/components/el/elements/metadata.pyi +1 -835
  33. reflex/components/el/elements/other.pyi +1 -1365
  34. reflex/components/el/elements/scripts.pyi +1 -625
  35. reflex/components/el/elements/sectioning.pyi +1 -2911
  36. reflex/components/el/elements/tables.pyi +1 -1973
  37. reflex/components/el/elements/typography.pyi +1 -3125
  38. reflex/components/lucide/icon.py +4 -4
  39. reflex/components/lucide/icon.pyi +0 -4
  40. reflex/components/markdown/markdown.py +15 -19
  41. reflex/components/markdown/markdown.pyi +1 -0
  42. reflex/components/moment/moment.pyi +0 -49
  43. reflex/components/props.py +3 -3
  44. reflex/components/radix/primitives/accordion.py +4 -6
  45. reflex/components/radix/primitives/accordion.pyi +0 -14
  46. reflex/components/radix/primitives/base.pyi +0 -5
  47. reflex/components/radix/primitives/dialog.py +2 -0
  48. reflex/components/radix/primitives/dialog.pyi +1 -233
  49. reflex/components/radix/primitives/drawer.pyi +0 -18
  50. reflex/components/radix/primitives/form.pyi +30 -632
  51. reflex/components/radix/primitives/progress.pyi +0 -10
  52. reflex/components/radix/primitives/slider.pyi +0 -10
  53. reflex/components/radix/themes/color_mode.pyi +1 -284
  54. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  55. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  56. reflex/components/radix/themes/components/avatar.pyi +0 -80
  57. reflex/components/radix/themes/components/badge.pyi +1 -270
  58. reflex/components/radix/themes/components/button.pyi +1 -274
  59. reflex/components/radix/themes/components/callout.pyi +0 -1197
  60. reflex/components/radix/themes/components/card.pyi +1 -209
  61. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  62. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  63. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  64. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  65. reflex/components/radix/themes/components/data_list.pyi +1 -107
  66. reflex/components/radix/themes/components/dialog.pyi +1 -210
  67. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  68. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  69. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  70. reflex/components/radix/themes/components/inset.pyi +0 -252
  71. reflex/components/radix/themes/components/popover.pyi +1 -234
  72. reflex/components/radix/themes/components/progress.pyi +1 -84
  73. reflex/components/radix/themes/components/radio.pyi +1 -72
  74. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  75. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  76. reflex/components/radix/themes/components/select.pyi +1 -376
  77. reflex/components/radix/themes/components/separator.pyi +0 -77
  78. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  79. reflex/components/radix/themes/components/slider.py +3 -5
  80. reflex/components/radix/themes/components/spinner.pyi +0 -5
  81. reflex/components/radix/themes/components/switch.pyi +0 -89
  82. reflex/components/radix/themes/components/table.pyi +0 -1453
  83. reflex/components/radix/themes/components/text_area.pyi +7 -282
  84. reflex/components/radix/themes/components/text_field.pyi +6 -392
  85. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  86. reflex/components/radix/themes/layout/box.pyi +1 -195
  87. reflex/components/radix/themes/layout/center.pyi +0 -194
  88. reflex/components/radix/themes/layout/container.pyi +0 -178
  89. reflex/components/radix/themes/layout/flex.pyi +0 -194
  90. reflex/components/radix/themes/layout/grid.pyi +0 -194
  91. reflex/components/radix/themes/layout/list.pyi +0 -978
  92. reflex/components/radix/themes/layout/section.pyi +0 -194
  93. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  94. reflex/components/radix/themes/layout/stack.pyi +0 -582
  95. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  96. reflex/components/radix/themes/typography/code.pyi +0 -194
  97. reflex/components/radix/themes/typography/heading.pyi +0 -194
  98. reflex/components/radix/themes/typography/link.pyi +0 -237
  99. reflex/components/radix/themes/typography/text.pyi +0 -1360
  100. reflex/components/react_router/dom.pyi +0 -237
  101. reflex/components/recharts/cartesian.py +12 -18
  102. reflex/components/recharts/general.py +12 -18
  103. reflex/constants/installer.py +5 -5
  104. reflex/custom_components/custom_components.py +6 -5
  105. reflex/environment.py +30 -7
  106. reflex/event.py +14 -12
  107. reflex/experimental/client_state.py +11 -12
  108. reflex/istate/data.py +8 -10
  109. reflex/istate/manager/__init__.py +3 -0
  110. reflex/istate/manager/disk.py +151 -5
  111. reflex/model.py +1 -1
  112. reflex/plugins/_screenshot.py +2 -2
  113. reflex/plugins/shared_tailwind.py +9 -14
  114. reflex/reflex.py +7 -9
  115. reflex/state.py +30 -37
  116. reflex/style.py +6 -6
  117. reflex/testing.py +54 -30
  118. reflex/utils/codespaces.py +1 -1
  119. reflex/utils/compat.py +1 -0
  120. reflex/utils/decorator.py +3 -3
  121. reflex/utils/format.py +18 -22
  122. reflex/utils/prerequisites.py +1 -1
  123. reflex/utils/pyi_generator.py +51 -57
  124. reflex/utils/serializers.py +1 -1
  125. reflex/utils/telemetry.py +1 -1
  126. reflex/utils/templates.py +4 -4
  127. reflex/utils/types.py +3 -3
  128. reflex/vars/base.py +26 -29
  129. reflex/vars/color.py +6 -8
  130. reflex/vars/dep_tracking.py +5 -3
  131. reflex/vars/function.py +3 -3
  132. reflex/vars/object.py +9 -13
  133. reflex/vars/sequence.py +18 -24
  134. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
  135. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/RECORD +138 -138
  136. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
  137. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
  138. {reflex-0.8.15a2.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
@@ -17,17 +17,6 @@ class SelectRoot(RadixThemesComponent):
17
17
  def create(
18
18
  cls,
19
19
  *children,
20
- size: Breakpoints[str, Literal["1", "2", "3"]]
21
- | Literal["1", "2", "3"]
22
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
23
- | None = None,
24
- default_value: Var[str] | str | None = None,
25
- value: Var[str] | str | None = None,
26
- default_open: Var[bool] | bool | None = None,
27
- open: Var[bool] | bool | None = None,
28
- name: Var[str] | str | None = None,
29
- disabled: Var[bool] | bool | None = None,
30
- required: Var[bool] | bool | None = None,
31
20
  style: Sequence[Mapping[str, Any]]
32
21
  | Mapping[str, Any]
33
22
  | Var[Mapping[str, Any]]
@@ -65,14 +54,6 @@ class SelectRoot(RadixThemesComponent):
65
54
 
66
55
  Args:
67
56
  *children: Child components.
68
- size: The size of the select: "1" | "2" | "3"
69
- default_value: The value of the select when initially rendered. Use when you do not need to control the state of the select.
70
- value: The controlled value of the select. Should be used in conjunction with on_change.
71
- default_open: The open state of the select when it is initially rendered. Use when you do not need to control its open state.
72
- open: The controlled open state of the select. Must be used in conjunction with on_open_change.
73
- name: The name of the select control when submitting the form.
74
- disabled: When True, prevents the user from interacting with select.
75
- required: When True, indicates that the user must select a value before the owning form can be submitted.
76
57
  on_change: Fired when the value of the select changes.
77
58
  on_open_change: Fired when the select is opened or closed.
78
59
  style: The style of the component.
@@ -92,72 +73,6 @@ class SelectTrigger(RadixThemesComponent):
92
73
  def create(
93
74
  cls,
94
75
  *children,
95
- variant: Literal["classic", "ghost", "soft", "surface"]
96
- | Var[Literal["classic", "ghost", "soft", "surface"]]
97
- | None = None,
98
- color_scheme: Literal[
99
- "amber",
100
- "blue",
101
- "bronze",
102
- "brown",
103
- "crimson",
104
- "cyan",
105
- "gold",
106
- "grass",
107
- "gray",
108
- "green",
109
- "indigo",
110
- "iris",
111
- "jade",
112
- "lime",
113
- "mint",
114
- "orange",
115
- "pink",
116
- "plum",
117
- "purple",
118
- "red",
119
- "ruby",
120
- "sky",
121
- "teal",
122
- "tomato",
123
- "violet",
124
- "yellow",
125
- ]
126
- | Var[
127
- Literal[
128
- "amber",
129
- "blue",
130
- "bronze",
131
- "brown",
132
- "crimson",
133
- "cyan",
134
- "gold",
135
- "grass",
136
- "gray",
137
- "green",
138
- "indigo",
139
- "iris",
140
- "jade",
141
- "lime",
142
- "mint",
143
- "orange",
144
- "pink",
145
- "plum",
146
- "purple",
147
- "red",
148
- "ruby",
149
- "sky",
150
- "teal",
151
- "tomato",
152
- "violet",
153
- "yellow",
154
- ]
155
- ]
156
- | None = None,
157
- radius: Literal["full", "large", "medium", "none", "small"]
158
- | Var[Literal["full", "large", "medium", "none", "small"]]
159
- | None = None,
160
- placeholder: Var[str] | str | None = None,
161
76
  style: Sequence[Mapping[str, Any]]
162
77
  | Mapping[str, Any]
163
78
  | Var[Mapping[str, Any]]
@@ -193,10 +108,6 @@ class SelectTrigger(RadixThemesComponent):
193
108
 
194
109
  Args:
195
110
  *children: Child components.
196
- variant: Variant of the select trigger
197
- color_scheme: The color of the select trigger
198
- radius: The radius of the select trigger
199
- placeholder: The placeholder of the select trigger
200
111
  style: The style of the component.
201
112
  key: A unique key for the component.
202
113
  id: The id for the component.
@@ -214,78 +125,6 @@ class SelectContent(RadixThemesComponent):
214
125
  def create(
215
126
  cls,
216
127
  *children,
217
- variant: Literal["soft", "solid"] | Var[Literal["soft", "solid"]] | None = None,
218
- color_scheme: Literal[
219
- "amber",
220
- "blue",
221
- "bronze",
222
- "brown",
223
- "crimson",
224
- "cyan",
225
- "gold",
226
- "grass",
227
- "gray",
228
- "green",
229
- "indigo",
230
- "iris",
231
- "jade",
232
- "lime",
233
- "mint",
234
- "orange",
235
- "pink",
236
- "plum",
237
- "purple",
238
- "red",
239
- "ruby",
240
- "sky",
241
- "teal",
242
- "tomato",
243
- "violet",
244
- "yellow",
245
- ]
246
- | Var[
247
- Literal[
248
- "amber",
249
- "blue",
250
- "bronze",
251
- "brown",
252
- "crimson",
253
- "cyan",
254
- "gold",
255
- "grass",
256
- "gray",
257
- "green",
258
- "indigo",
259
- "iris",
260
- "jade",
261
- "lime",
262
- "mint",
263
- "orange",
264
- "pink",
265
- "plum",
266
- "purple",
267
- "red",
268
- "ruby",
269
- "sky",
270
- "teal",
271
- "tomato",
272
- "violet",
273
- "yellow",
274
- ]
275
- ]
276
- | None = None,
277
- high_contrast: Var[bool] | bool | None = None,
278
- position: Literal["item-aligned", "popper"]
279
- | Var[Literal["item-aligned", "popper"]]
280
- | None = None,
281
- side: Literal["bottom", "left", "right", "top"]
282
- | Var[Literal["bottom", "left", "right", "top"]]
283
- | None = None,
284
- side_offset: Var[int] | int | None = None,
285
- align: Literal["center", "end", "start"]
286
- | Var[Literal["center", "end", "start"]]
287
- | None = None,
288
- align_offset: Var[int] | int | None = None,
289
128
  style: Sequence[Mapping[str, Any]]
290
129
  | Mapping[str, Any]
291
130
  | Var[Mapping[str, Any]]
@@ -324,14 +163,6 @@ class SelectContent(RadixThemesComponent):
324
163
 
325
164
  Args:
326
165
  *children: Child components.
327
- variant: The variant of the select content
328
- color_scheme: The color of the select content
329
- high_contrast: Whether to render the select content with higher contrast color against background
330
- position: The positioning mode to use, item-aligned is the default and behaves similarly to a native MacOS menu by positioning content relative to the active item. popper positions content in the same way as our other primitives, for example Popover or DropdownMenu.
331
- side: The preferred side of the anchor to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled. Only available when position is set to popper.
332
- side_offset: The distance in pixels from the anchor. Only available when position is set to popper.
333
- align: The preferred alignment against the anchor. May change when collisions occur. Only available when position is set to popper.
334
- align_offset: The vertical distance in pixels from the anchor. Only available when position is set to popper.
335
166
  on_close_auto_focus: Fired when the select content is closed.
336
167
  on_escape_key_down: Fired when the escape key is pressed.
337
168
  on_pointer_down_outside: Fired when a pointer down event happens outside the select content.
@@ -404,8 +235,6 @@ class SelectItem(RadixThemesComponent):
404
235
  def create(
405
236
  cls,
406
237
  *children,
407
- value: Var[str] | str | None = None,
408
- disabled: Var[bool] | bool | None = None,
409
238
  style: Sequence[Mapping[str, Any]]
410
239
  | Mapping[str, Any]
411
240
  | Var[Mapping[str, Any]]
@@ -441,8 +270,6 @@ class SelectItem(RadixThemesComponent):
441
270
 
442
271
  Args:
443
272
  *children: Child components.
444
- value: The value given as data when submitting a form with a name.
445
- disabled: Whether the select item is disabled
446
273
  style: The style of the component.
447
274
  key: A unique key for the component.
448
275
  id: The id for the component.
@@ -564,90 +391,6 @@ class HighLevelSelect(SelectRoot):
564
391
  def create(
565
392
  cls,
566
393
  *children,
567
- items: Sequence[str] | Var[Sequence[str]] | None = None,
568
- placeholder: Var[str] | str | None = None,
569
- label: Var[str] | str | None = None,
570
- color_scheme: Literal[
571
- "amber",
572
- "blue",
573
- "bronze",
574
- "brown",
575
- "crimson",
576
- "cyan",
577
- "gold",
578
- "grass",
579
- "gray",
580
- "green",
581
- "indigo",
582
- "iris",
583
- "jade",
584
- "lime",
585
- "mint",
586
- "orange",
587
- "pink",
588
- "plum",
589
- "purple",
590
- "red",
591
- "ruby",
592
- "sky",
593
- "teal",
594
- "tomato",
595
- "violet",
596
- "yellow",
597
- ]
598
- | Var[
599
- Literal[
600
- "amber",
601
- "blue",
602
- "bronze",
603
- "brown",
604
- "crimson",
605
- "cyan",
606
- "gold",
607
- "grass",
608
- "gray",
609
- "green",
610
- "indigo",
611
- "iris",
612
- "jade",
613
- "lime",
614
- "mint",
615
- "orange",
616
- "pink",
617
- "plum",
618
- "purple",
619
- "red",
620
- "ruby",
621
- "sky",
622
- "teal",
623
- "tomato",
624
- "violet",
625
- "yellow",
626
- ]
627
- ]
628
- | None = None,
629
- high_contrast: Var[bool] | bool | None = None,
630
- variant: Literal["classic", "ghost", "soft", "surface"]
631
- | Var[Literal["classic", "ghost", "soft", "surface"]]
632
- | None = None,
633
- radius: Literal["full", "large", "medium", "none", "small"]
634
- | Var[Literal["full", "large", "medium", "none", "small"]]
635
- | None = None,
636
- width: Var[str] | str | None = None,
637
- position: Literal["item-aligned", "popper"]
638
- | Var[Literal["item-aligned", "popper"]]
639
- | None = None,
640
- size: Breakpoints[str, Literal["1", "2", "3"]]
641
- | Literal["1", "2", "3"]
642
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
643
- | None = None,
644
- default_value: Var[str] | str | None = None,
645
- value: Var[str] | str | None = None,
646
- default_open: Var[bool] | bool | None = None,
647
- open: Var[bool] | bool | None = None,
648
- name: Var[str] | str | None = None,
649
- disabled: Var[bool] | bool | None = None,
650
- required: Var[bool] | bool | None = None,
651
394
  style: Sequence[Mapping[str, Any]]
652
395
  | Mapping[str, Any]
653
396
  | Var[Mapping[str, Any]]
@@ -682,23 +425,6 @@ class HighLevelSelect(SelectRoot):
682
425
 
683
426
  Args:
684
427
  items: The items of the select.
685
- items: The items of the select.
686
- placeholder: The placeholder of the select.
687
- label: The label of the select.
688
- color_scheme: The color of the select.
689
- high_contrast: Whether to render the select with higher contrast color against background.
690
- variant: The variant of the select.
691
- radius: The radius of the select.
692
- width: The width of the select.
693
- position: The positioning mode to use. Default is "item-aligned".
694
- size: The size of the select: "1" | "2" | "3"
695
- default_value: The value of the select when initially rendered. Use when you do not need to control the state of the select.
696
- value: The controlled value of the select. Should be used in conjunction with on_change.
697
- default_open: The open state of the select when it is initially rendered. Use when you do not need to control its open state.
698
- open: The controlled open state of the select. Must be used in conjunction with on_open_change.
699
- name: The name of the select control when submitting the form.
700
- disabled: When True, prevents the user from interacting with select.
701
- required: When True, indicates that the user must select a value before the owning form can be submitted.
702
428
  on_change: Fired when the value of the select changes.
703
429
  on_open_change: Fired when the select is opened or closed.
704
430
  style: The style of the component.
@@ -725,90 +451,6 @@ class Select(ComponentNamespace):
725
451
  @staticmethod
726
452
  def __call__(
727
453
  *children,
728
- items: Sequence[str] | Var[Sequence[str]] | None = None,
729
- placeholder: Var[str] | str | None = None,
730
- label: Var[str] | str | None = None,
731
- color_scheme: Literal[
732
- "amber",
733
- "blue",
734
- "bronze",
735
- "brown",
736
- "crimson",
737
- "cyan",
738
- "gold",
739
- "grass",
740
- "gray",
741
- "green",
742
- "indigo",
743
- "iris",
744
- "jade",
745
- "lime",
746
- "mint",
747
- "orange",
748
- "pink",
749
- "plum",
750
- "purple",
751
- "red",
752
- "ruby",
753
- "sky",
754
- "teal",
755
- "tomato",
756
- "violet",
757
- "yellow",
758
- ]
759
- | Var[
760
- Literal[
761
- "amber",
762
- "blue",
763
- "bronze",
764
- "brown",
765
- "crimson",
766
- "cyan",
767
- "gold",
768
- "grass",
769
- "gray",
770
- "green",
771
- "indigo",
772
- "iris",
773
- "jade",
774
- "lime",
775
- "mint",
776
- "orange",
777
- "pink",
778
- "plum",
779
- "purple",
780
- "red",
781
- "ruby",
782
- "sky",
783
- "teal",
784
- "tomato",
785
- "violet",
786
- "yellow",
787
- ]
788
- ]
789
- | None = None,
790
- high_contrast: Var[bool] | bool | None = None,
791
- variant: Literal["classic", "ghost", "soft", "surface"]
792
- | Var[Literal["classic", "ghost", "soft", "surface"]]
793
- | None = None,
794
- radius: Literal["full", "large", "medium", "none", "small"]
795
- | Var[Literal["full", "large", "medium", "none", "small"]]
796
- | None = None,
797
- width: Var[str] | str | None = None,
798
- position: Literal["item-aligned", "popper"]
799
- | Var[Literal["item-aligned", "popper"]]
800
- | None = None,
801
- size: Breakpoints[str, Literal["1", "2", "3"]]
802
- | Literal["1", "2", "3"]
803
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
804
- | None = None,
805
- default_value: Var[str] | str | None = None,
806
- value: Var[str] | str | None = None,
807
- default_open: Var[bool] | bool | None = None,
808
- open: Var[bool] | bool | None = None,
809
- name: Var[str] | str | None = None,
810
- disabled: Var[bool] | bool | None = None,
811
- required: Var[bool] | bool | None = None,
812
454
  style: Sequence[Mapping[str, Any]]
813
455
  | Mapping[str, Any]
814
456
  | Var[Mapping[str, Any]]
@@ -843,23 +485,6 @@ class Select(ComponentNamespace):
843
485
 
844
486
  Args:
845
487
  items: The items of the select.
846
- items: The items of the select.
847
- placeholder: The placeholder of the select.
848
- label: The label of the select.
849
- color_scheme: The color of the select.
850
- high_contrast: Whether to render the select with higher contrast color against background.
851
- variant: The variant of the select.
852
- radius: The radius of the select.
853
- width: The width of the select.
854
- position: The positioning mode to use. Default is "item-aligned".
855
- size: The size of the select: "1" | "2" | "3"
856
- default_value: The value of the select when initially rendered. Use when you do not need to control the state of the select.
857
- value: The controlled value of the select. Should be used in conjunction with on_change.
858
- default_open: The open state of the select when it is initially rendered. Use when you do not need to control its open state.
859
- open: The controlled open state of the select. Must be used in conjunction with on_open_change.
860
- name: The name of the select control when submitting the form.
861
- disabled: When True, prevents the user from interacting with select.
862
- required: When True, indicates that the user must select a value before the owning form can be submitted.
863
488
  on_change: Fired when the value of the select changes.
864
489
  on_open_change: Fired when the select is opened or closed.
865
490
  style: The style of the component.
@@ -18,79 +18,6 @@ class Separator(RadixThemesComponent):
18
18
  def create(
19
19
  cls,
20
20
  *children,
21
- size: Breakpoints[str, Literal["1", "2", "3", "4"]]
22
- | Literal["1", "2", "3", "4"]
23
- | Var[
24
- Breakpoints[str, Literal["1", "2", "3", "4"]] | Literal["1", "2", "3", "4"]
25
- ]
26
- | None = None,
27
- color_scheme: Literal[
28
- "amber",
29
- "blue",
30
- "bronze",
31
- "brown",
32
- "crimson",
33
- "cyan",
34
- "gold",
35
- "grass",
36
- "gray",
37
- "green",
38
- "indigo",
39
- "iris",
40
- "jade",
41
- "lime",
42
- "mint",
43
- "orange",
44
- "pink",
45
- "plum",
46
- "purple",
47
- "red",
48
- "ruby",
49
- "sky",
50
- "teal",
51
- "tomato",
52
- "violet",
53
- "yellow",
54
- ]
55
- | Var[
56
- Literal[
57
- "amber",
58
- "blue",
59
- "bronze",
60
- "brown",
61
- "crimson",
62
- "cyan",
63
- "gold",
64
- "grass",
65
- "gray",
66
- "green",
67
- "indigo",
68
- "iris",
69
- "jade",
70
- "lime",
71
- "mint",
72
- "orange",
73
- "pink",
74
- "plum",
75
- "purple",
76
- "red",
77
- "ruby",
78
- "sky",
79
- "teal",
80
- "tomato",
81
- "violet",
82
- "yellow",
83
- ]
84
- ]
85
- | None = None,
86
- orientation: Breakpoints[str, Literal["horizontal", "vertical"]]
87
- | Literal["horizontal", "vertical"]
88
- | Var[
89
- Breakpoints[str, Literal["horizontal", "vertical"]]
90
- | Literal["horizontal", "vertical"]
91
- ]
92
- | None = None,
93
- decorative: Var[bool] | bool | None = None,
94
21
  style: Sequence[Mapping[str, Any]]
95
22
  | Mapping[str, Any]
96
23
  | Var[Mapping[str, Any]]
@@ -126,10 +53,6 @@ class Separator(RadixThemesComponent):
126
53
 
127
54
  Args:
128
55
  *children: Child components.
129
- size: The size of the separator: "1" | "2" | "3" | "4"
130
- color_scheme: The color of the separator
131
- orientation: The orientation of the separator.
132
- decorative: When true, signifies that it is purely visual, carries no semantic meaning, and ensures it is not present in the accessibility tree.
133
56
  style: The style of the component.
134
57
  key: A unique key for the component.
135
58
  id: The id for the component.
@@ -16,30 +16,6 @@ class Skeleton(RadixLoadingProp, RadixThemesComponent):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- width: Breakpoints[str, str]
20
- | Var[Breakpoints[str, str] | str]
21
- | str
22
- | None = None,
23
- min_width: Breakpoints[str, str]
24
- | Var[Breakpoints[str, str] | str]
25
- | str
26
- | None = None,
27
- max_width: Breakpoints[str, str]
28
- | Var[Breakpoints[str, str] | str]
29
- | str
30
- | None = None,
31
- height: Breakpoints[str, str]
32
- | Var[Breakpoints[str, str] | str]
33
- | str
34
- | None = None,
35
- min_height: Breakpoints[str, str]
36
- | Var[Breakpoints[str, str] | str]
37
- | str
38
- | None = None,
39
- max_height: Breakpoints[str, str]
40
- | Var[Breakpoints[str, str] | str]
41
- | str
42
- | None = None,
43
19
  loading: Var[bool] | bool | None = None,
44
20
  style: Sequence[Mapping[str, Any]]
45
21
  | Mapping[str, Any]
@@ -76,12 +52,6 @@ class Skeleton(RadixLoadingProp, RadixThemesComponent):
76
52
 
77
53
  Args:
78
54
  *children: Child components.
79
- width: The width of the skeleton
80
- min_width: The minimum width of the skeleton
81
- max_width: The maximum width of the skeleton
82
- height: The height of the skeleton
83
- min_height: The minimum height of the skeleton
84
- max_height: The maximum height of the skeleton
85
55
  loading: If set, show an rx.spinner instead of the component children.
86
56
  style: The style of the component.
87
57
  key: A unique key for the component.
@@ -103,11 +103,9 @@ class Slider(RadixThemesComponent):
103
103
  default_value = [default_value]
104
104
 
105
105
  style = props.setdefault("style", {})
106
- style.update(
107
- {
108
- "width": width,
109
- }
110
- )
106
+ style.update({
107
+ "width": width,
108
+ })
111
109
  return super().create(*children, default_value=default_value, **props)
112
110
 
113
111
 
@@ -18,10 +18,6 @@ class Spinner(RadixLoadingProp, RadixThemesComponent):
18
18
  def create(
19
19
  cls,
20
20
  *children,
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
21
  loading: Var[bool] | bool | None = None,
26
22
  style: Sequence[Mapping[str, Any]]
27
23
  | Mapping[str, Any]
@@ -58,7 +54,6 @@ class Spinner(RadixLoadingProp, RadixThemesComponent):
58
54
 
59
55
  Args:
60
56
  *children: Child components.
61
- size: The size of the spinner.
62
57
  loading: If set, show an rx.spinner instead of the component children.
63
58
  style: The style of the component.
64
59
  key: A unique key for the component.