reflex 0.7.11__py3-none-any.whl → 0.7.12__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 (142) hide show
  1. reflex/app.py +8 -4
  2. reflex/components/base/app_wrap.pyi +1 -0
  3. reflex/components/base/body.pyi +2 -0
  4. reflex/components/base/document.pyi +10 -0
  5. reflex/components/base/error_boundary.pyi +2 -0
  6. reflex/components/base/fragment.pyi +2 -0
  7. reflex/components/base/head.pyi +4 -0
  8. reflex/components/base/link.pyi +4 -0
  9. reflex/components/base/meta.pyi +8 -0
  10. reflex/components/base/script.pyi +2 -0
  11. reflex/components/base/strict_mode.pyi +2 -0
  12. reflex/components/component.py +39 -63
  13. reflex/components/core/auto_scroll.pyi +2 -0
  14. reflex/components/core/banner.pyi +10 -0
  15. reflex/components/core/client_side_routing.pyi +4 -0
  16. reflex/components/core/clipboard.pyi +2 -0
  17. reflex/components/core/debounce.pyi +1 -0
  18. reflex/components/core/html.pyi +2 -0
  19. reflex/components/core/sticky.pyi +4 -0
  20. reflex/components/core/upload.pyi +10 -0
  21. reflex/components/datadisplay/code.pyi +4 -0
  22. reflex/components/datadisplay/dataeditor.py +3 -3
  23. reflex/components/datadisplay/dataeditor.pyi +2 -0
  24. reflex/components/datadisplay/shiki_code_block.pyi +6 -0
  25. reflex/components/el/element.pyi +2 -0
  26. reflex/components/el/elements/base.pyi +2 -0
  27. reflex/components/el/elements/forms.pyi +34 -0
  28. reflex/components/el/elements/inline.pyi +56 -0
  29. reflex/components/el/elements/media.pyi +50 -0
  30. reflex/components/el/elements/metadata.pyi +12 -0
  31. reflex/components/el/elements/other.pyi +14 -0
  32. reflex/components/el/elements/scripts.pyi +6 -0
  33. reflex/components/el/elements/sectioning.pyi +30 -0
  34. reflex/components/el/elements/tables.pyi +20 -0
  35. reflex/components/el/elements/typography.pyi +30 -0
  36. reflex/components/gridjs/datatable.pyi +4 -0
  37. reflex/components/lucide/icon.py +3 -1
  38. reflex/components/lucide/icon.pyi +8 -0
  39. reflex/components/markdown/markdown.pyi +2 -0
  40. reflex/components/moment/moment.pyi +2 -0
  41. reflex/components/next/base.pyi +2 -0
  42. reflex/components/next/image.pyi +2 -0
  43. reflex/components/next/link.pyi +2 -0
  44. reflex/components/next/video.pyi +2 -0
  45. reflex/components/plotly/plotly.pyi +18 -0
  46. reflex/components/radix/primitives/accordion.py +1 -1
  47. reflex/components/radix/primitives/accordion.pyi +14 -0
  48. reflex/components/radix/primitives/base.py +0 -2
  49. reflex/components/radix/primitives/base.pyi +4 -0
  50. reflex/components/radix/primitives/drawer.py +1 -1
  51. reflex/components/radix/primitives/drawer.pyi +22 -0
  52. reflex/components/radix/primitives/form.py +1 -1
  53. reflex/components/radix/primitives/form.pyi +20 -0
  54. reflex/components/radix/primitives/progress.py +1 -1
  55. reflex/components/radix/primitives/progress.pyi +10 -0
  56. reflex/components/radix/primitives/slider.py +1 -1
  57. reflex/components/radix/primitives/slider.pyi +10 -0
  58. reflex/components/radix/themes/base.py +1 -1
  59. reflex/components/radix/themes/base.pyi +15 -0
  60. reflex/components/radix/themes/color_mode.pyi +5 -0
  61. reflex/components/radix/themes/components/alert_dialog.pyi +11 -0
  62. reflex/components/radix/themes/components/aspect_ratio.pyi +2 -0
  63. reflex/components/radix/themes/components/avatar.pyi +2 -0
  64. reflex/components/radix/themes/components/badge.pyi +2 -0
  65. reflex/components/radix/themes/components/button.pyi +2 -0
  66. reflex/components/radix/themes/components/callout.pyi +10 -0
  67. reflex/components/radix/themes/components/card.pyi +2 -0
  68. reflex/components/radix/themes/components/checkbox.pyi +6 -0
  69. reflex/components/radix/themes/components/checkbox_cards.pyi +4 -0
  70. reflex/components/radix/themes/components/checkbox_group.pyi +4 -0
  71. reflex/components/radix/themes/components/context_menu.pyi +26 -0
  72. reflex/components/radix/themes/components/data_list.pyi +8 -0
  73. reflex/components/radix/themes/components/dialog.pyi +12 -0
  74. reflex/components/radix/themes/components/dropdown_menu.pyi +14 -0
  75. reflex/components/radix/themes/components/hover_card.pyi +7 -0
  76. reflex/components/radix/themes/components/icon_button.pyi +2 -0
  77. reflex/components/radix/themes/components/inset.pyi +2 -0
  78. reflex/components/radix/themes/components/popover.pyi +6 -0
  79. reflex/components/radix/themes/components/progress.pyi +2 -0
  80. reflex/components/radix/themes/components/radio.pyi +2 -0
  81. reflex/components/radix/themes/components/radio_cards.pyi +4 -0
  82. reflex/components/radix/themes/components/radio_group.pyi +8 -0
  83. reflex/components/radix/themes/components/scroll_area.pyi +2 -0
  84. reflex/components/radix/themes/components/segmented_control.pyi +4 -0
  85. reflex/components/radix/themes/components/select.pyi +18 -0
  86. reflex/components/radix/themes/components/separator.pyi +2 -0
  87. reflex/components/radix/themes/components/skeleton.pyi +2 -0
  88. reflex/components/radix/themes/components/slider.pyi +2 -0
  89. reflex/components/radix/themes/components/spinner.pyi +2 -0
  90. reflex/components/radix/themes/components/switch.pyi +2 -0
  91. reflex/components/radix/themes/components/table.pyi +14 -0
  92. reflex/components/radix/themes/components/tabs.pyi +10 -0
  93. reflex/components/radix/themes/components/text_area.pyi +2 -0
  94. reflex/components/radix/themes/components/text_field.pyi +6 -0
  95. reflex/components/radix/themes/components/tooltip.pyi +2 -0
  96. reflex/components/radix/themes/layout/base.pyi +2 -0
  97. reflex/components/radix/themes/layout/box.pyi +2 -0
  98. reflex/components/radix/themes/layout/center.pyi +2 -0
  99. reflex/components/radix/themes/layout/container.pyi +1 -0
  100. reflex/components/radix/themes/layout/flex.pyi +2 -0
  101. reflex/components/radix/themes/layout/grid.pyi +2 -0
  102. reflex/components/radix/themes/layout/list.pyi +10 -0
  103. reflex/components/radix/themes/layout/section.pyi +2 -0
  104. reflex/components/radix/themes/layout/spacer.pyi +2 -0
  105. reflex/components/radix/themes/layout/stack.py +5 -4
  106. reflex/components/radix/themes/layout/stack.pyi +70 -16
  107. reflex/components/radix/themes/typography/blockquote.pyi +2 -0
  108. reflex/components/radix/themes/typography/code.pyi +2 -0
  109. reflex/components/radix/themes/typography/heading.pyi +2 -0
  110. reflex/components/radix/themes/typography/link.pyi +2 -0
  111. reflex/components/radix/themes/typography/text.pyi +14 -0
  112. reflex/components/react_player/audio.pyi +2 -0
  113. reflex/components/react_player/react_player.pyi +2 -0
  114. reflex/components/react_player/video.pyi +2 -0
  115. reflex/components/recharts/cartesian.pyi +38 -0
  116. reflex/components/recharts/charts.pyi +24 -0
  117. reflex/components/recharts/general.pyi +12 -0
  118. reflex/components/recharts/polar.pyi +12 -0
  119. reflex/components/recharts/recharts.pyi +4 -0
  120. reflex/components/sonner/toast.pyi +2 -0
  121. reflex/components/suneditor/editor.pyi +2 -0
  122. reflex/config.py +3 -0
  123. reflex/constants/compiler.py +12 -6
  124. reflex/constants/installer.py +1 -1
  125. reflex/event.py +21 -0
  126. reflex/experimental/layout.pyi +5 -0
  127. reflex/reflex.py +24 -0
  128. reflex/testing.py +2 -1
  129. reflex/utils/exec.py +5 -0
  130. reflex/utils/format.py +4 -11
  131. reflex/utils/net.py +35 -2
  132. reflex/utils/prerequisites.py +10 -4
  133. reflex/utils/pyi_generator.py +7 -1
  134. reflex/utils/types.py +7 -5
  135. reflex/vars/base.py +7 -8
  136. reflex/vars/object.py +9 -2
  137. {reflex-0.7.11.dist-info → reflex-0.7.12.dist-info}/METADATA +4 -4
  138. {reflex-0.7.11.dist-info → reflex-0.7.12.dist-info}/RECORD +142 -141
  139. scripts/hatch_build.py +50 -0
  140. {reflex-0.7.11.dist-info → reflex-0.7.12.dist-info}/WHEEL +0 -0
  141. {reflex-0.7.11.dist-info → reflex-0.7.12.dist-info}/entry_points.txt +0 -0
  142. {reflex-0.7.11.dist-info → reflex-0.7.12.dist-info}/licenses/LICENSE +0 -0
@@ -24,6 +24,7 @@ class LucideIconComponent(Component):
24
24
  | None = None,
25
25
  key: Any | None = None,
26
26
  id: Any | None = None,
27
+ ref: Var | None = None,
27
28
  class_name: Any | None = None,
28
29
  autofocus: bool | None = None,
29
30
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -51,6 +52,7 @@ class LucideIconComponent(Component):
51
52
  style: The style of the component.
52
53
  key: A unique key for the component.
53
54
  id: The id for the component.
55
+ ref: The Var to pass as the ref to the component.
54
56
  class_name: The class name for the component.
55
57
  autofocus: Whether the component should take the focus once the page is loaded
56
58
  custom_attrs: custom attribute
@@ -75,6 +77,7 @@ class Icon(LucideIconComponent):
75
77
  | None = None,
76
78
  key: Any | None = None,
77
79
  id: Any | None = None,
80
+ ref: Var | None = None,
78
81
  class_name: Any | None = None,
79
82
  autofocus: bool | None = None,
80
83
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -105,6 +108,7 @@ class Icon(LucideIconComponent):
105
108
  style: The style of the component.
106
109
  key: A unique key for the component.
107
110
  id: The id for the component.
111
+ ref: The Var to pass as the ref to the component.
108
112
  class_name: The class name for the component.
109
113
  autofocus: Whether the component should take the focus once the page is loaded
110
114
  custom_attrs: custom attribute
@@ -133,6 +137,7 @@ class DynamicIcon(LucideIconComponent):
133
137
  | None = None,
134
138
  key: Any | None = None,
135
139
  id: Any | None = None,
140
+ ref: Var | None = None,
136
141
  class_name: Any | None = None,
137
142
  autofocus: bool | None = None,
138
143
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -160,6 +165,7 @@ class DynamicIcon(LucideIconComponent):
160
165
  style: The style of the component.
161
166
  key: A unique key for the component.
162
167
  id: The id for the component.
168
+ ref: The Var to pass as the ref to the component.
163
169
  class_name: The class name for the component.
164
170
  autofocus: Whether the component should take the focus once the page is loaded
165
171
  custom_attrs: custom attribute
@@ -493,6 +499,7 @@ LUCIDE_ICON_LIST = [
493
499
  "chart_spline",
494
500
  "check",
495
501
  "check_check",
502
+ "check_line",
496
503
  "chef_hat",
497
504
  "cherry",
498
505
  "chevron_down",
@@ -907,6 +914,7 @@ LUCIDE_ICON_LIST = [
907
914
  "globe",
908
915
  "globe_lock",
909
916
  "goal",
917
+ "gpu",
910
918
  "grab",
911
919
  "graduation_cap",
912
920
  "grape",
@@ -62,6 +62,7 @@ class Markdown(Component):
62
62
  | None = None,
63
63
  key: Any | None = None,
64
64
  id: Any | None = None,
65
+ ref: Var | None = None,
65
66
  class_name: Any | None = None,
66
67
  autofocus: bool | None = None,
67
68
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -91,6 +92,7 @@ class Markdown(Component):
91
92
  style: The style of the component.
92
93
  key: A unique key for the component.
93
94
  id: The id for the component.
95
+ ref: The Var to pass as the ref to the component.
94
96
  class_name: The class name for the component.
95
97
  autofocus: Whether the component should take the focus once the page is loaded
96
98
  custom_attrs: custom attribute
@@ -67,6 +67,7 @@ class Moment(NoSSRComponent):
67
67
  | None = None,
68
68
  key: Any | None = None,
69
69
  id: Any | None = None,
70
+ ref: Var | None = None,
70
71
  class_name: Any | None = None,
71
72
  autofocus: bool | None = None,
72
73
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -117,6 +118,7 @@ class Moment(NoSSRComponent):
117
118
  style: The style of the component.
118
119
  key: A unique key for the component.
119
120
  id: The id for the component.
121
+ ref: The Var to pass as the ref to the component.
120
122
  class_name: The class name for the component.
121
123
  autofocus: Whether the component should take the focus once the page is loaded
122
124
  custom_attrs: custom attribute
@@ -26,6 +26,7 @@ class NextComponent(Component):
26
26
  | None = None,
27
27
  key: Any | None = None,
28
28
  id: Any | None = None,
29
+ ref: Var | None = None,
29
30
  class_name: Any | None = None,
30
31
  autofocus: bool | None = None,
31
32
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -53,6 +54,7 @@ class NextComponent(Component):
53
54
  style: The style of the component.
54
55
  key: A unique key for the component.
55
56
  id: The id for the component.
57
+ ref: The Var to pass as the ref to the component.
56
58
  class_name: The class name for the component.
57
59
  autofocus: Whether the component should take the focus once the page is loaded
58
60
  custom_attrs: custom attribute
@@ -39,6 +39,7 @@ class Image(NextComponent):
39
39
  | None = None,
40
40
  key: Any | None = None,
41
41
  id: Any | None = None,
42
+ ref: Var | None = None,
42
43
  class_name: Any | None = None,
43
44
  autofocus: bool | None = None,
44
45
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -82,6 +83,7 @@ class Image(NextComponent):
82
83
  style: The style of the component.
83
84
  key: A unique key for the component.
84
85
  id: The id for the component.
86
+ ref: The Var to pass as the ref to the component.
85
87
  class_name: The class name for the component.
86
88
  autofocus: Whether the component should take the focus once the page is loaded
87
89
  custom_attrs: custom attribute
@@ -26,6 +26,7 @@ class NextLink(Component):
26
26
  | None = None,
27
27
  key: Any | None = None,
28
28
  id: Any | None = None,
29
+ ref: Var | None = None,
29
30
  class_name: Any | None = None,
30
31
  autofocus: bool | None = None,
31
32
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -55,6 +56,7 @@ class NextLink(Component):
55
56
  style: The style of the component.
56
57
  key: A unique key for the component.
57
58
  id: The id for the component.
59
+ ref: The Var to pass as the ref to the component.
58
60
  class_name: The class name for the component.
59
61
  autofocus: Whether the component should take the focus once the page is loaded
60
62
  custom_attrs: custom attribute
@@ -28,6 +28,7 @@ class Video(NextComponent):
28
28
  | None = None,
29
29
  key: Any | None = None,
30
30
  id: Any | None = None,
31
+ ref: Var | None = None,
31
32
  class_name: Any | None = None,
32
33
  autofocus: bool | None = None,
33
34
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -56,6 +57,7 @@ class Video(NextComponent):
56
57
  style: The style of the component.
57
58
  key: A unique key for the component.
58
59
  id: The id for the component.
60
+ ref: The Var to pass as the ref to the component.
59
61
  class_name: The class name for the component.
60
62
  autofocus: Whether the component should take the focus once the page is loaded
61
63
  custom_attrs: custom attribute
@@ -66,6 +66,7 @@ class Plotly(NoSSRComponent):
66
66
  | None = None,
67
67
  key: Any | None = None,
68
68
  id: Any | None = None,
69
+ ref: Var | None = None,
69
70
  class_name: Any | None = None,
70
71
  autofocus: bool | None = None,
71
72
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -136,6 +137,7 @@ class Plotly(NoSSRComponent):
136
137
  style: The style of the component.
137
138
  key: A unique key for the component.
138
139
  id: The id for the component.
140
+ ref: The Var to pass as the ref to the component.
139
141
  class_name: The class name for the component.
140
142
  autofocus: Whether the component should take the focus once the page is loaded
141
143
  custom_attrs: custom attribute
@@ -169,6 +171,7 @@ class PlotlyBasic(Plotly):
169
171
  | None = None,
170
172
  key: Any | None = None,
171
173
  id: Any | None = None,
174
+ ref: Var | None = None,
172
175
  class_name: Any | None = None,
173
176
  autofocus: bool | None = None,
174
177
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -239,6 +242,7 @@ class PlotlyBasic(Plotly):
239
242
  style: The style of the component.
240
243
  key: A unique key for the component.
241
244
  id: The id for the component.
245
+ ref: The Var to pass as the ref to the component.
242
246
  class_name: The class name for the component.
243
247
  autofocus: Whether the component should take the focus once the page is loaded
244
248
  custom_attrs: custom attribute
@@ -268,6 +272,7 @@ class PlotlyCartesian(Plotly):
268
272
  | None = None,
269
273
  key: Any | None = None,
270
274
  id: Any | None = None,
275
+ ref: Var | None = None,
271
276
  class_name: Any | None = None,
272
277
  autofocus: bool | None = None,
273
278
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -338,6 +343,7 @@ class PlotlyCartesian(Plotly):
338
343
  style: The style of the component.
339
344
  key: A unique key for the component.
340
345
  id: The id for the component.
346
+ ref: The Var to pass as the ref to the component.
341
347
  class_name: The class name for the component.
342
348
  autofocus: Whether the component should take the focus once the page is loaded
343
349
  custom_attrs: custom attribute
@@ -367,6 +373,7 @@ class PlotlyGeo(Plotly):
367
373
  | None = None,
368
374
  key: Any | None = None,
369
375
  id: Any | None = None,
376
+ ref: Var | None = None,
370
377
  class_name: Any | None = None,
371
378
  autofocus: bool | None = None,
372
379
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -437,6 +444,7 @@ class PlotlyGeo(Plotly):
437
444
  style: The style of the component.
438
445
  key: A unique key for the component.
439
446
  id: The id for the component.
447
+ ref: The Var to pass as the ref to the component.
440
448
  class_name: The class name for the component.
441
449
  autofocus: Whether the component should take the focus once the page is loaded
442
450
  custom_attrs: custom attribute
@@ -466,6 +474,7 @@ class PlotlyGl3d(Plotly):
466
474
  | None = None,
467
475
  key: Any | None = None,
468
476
  id: Any | None = None,
477
+ ref: Var | None = None,
469
478
  class_name: Any | None = None,
470
479
  autofocus: bool | None = None,
471
480
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -536,6 +545,7 @@ class PlotlyGl3d(Plotly):
536
545
  style: The style of the component.
537
546
  key: A unique key for the component.
538
547
  id: The id for the component.
548
+ ref: The Var to pass as the ref to the component.
539
549
  class_name: The class name for the component.
540
550
  autofocus: Whether the component should take the focus once the page is loaded
541
551
  custom_attrs: custom attribute
@@ -565,6 +575,7 @@ class PlotlyGl2d(Plotly):
565
575
  | None = None,
566
576
  key: Any | None = None,
567
577
  id: Any | None = None,
578
+ ref: Var | None = None,
568
579
  class_name: Any | None = None,
569
580
  autofocus: bool | None = None,
570
581
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -635,6 +646,7 @@ class PlotlyGl2d(Plotly):
635
646
  style: The style of the component.
636
647
  key: A unique key for the component.
637
648
  id: The id for the component.
649
+ ref: The Var to pass as the ref to the component.
638
650
  class_name: The class name for the component.
639
651
  autofocus: Whether the component should take the focus once the page is loaded
640
652
  custom_attrs: custom attribute
@@ -664,6 +676,7 @@ class PlotlyMapbox(Plotly):
664
676
  | None = None,
665
677
  key: Any | None = None,
666
678
  id: Any | None = None,
679
+ ref: Var | None = None,
667
680
  class_name: Any | None = None,
668
681
  autofocus: bool | None = None,
669
682
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -734,6 +747,7 @@ class PlotlyMapbox(Plotly):
734
747
  style: The style of the component.
735
748
  key: A unique key for the component.
736
749
  id: The id for the component.
750
+ ref: The Var to pass as the ref to the component.
737
751
  class_name: The class name for the component.
738
752
  autofocus: Whether the component should take the focus once the page is loaded
739
753
  custom_attrs: custom attribute
@@ -763,6 +777,7 @@ class PlotlyFinance(Plotly):
763
777
  | None = None,
764
778
  key: Any | None = None,
765
779
  id: Any | None = None,
780
+ ref: Var | None = None,
766
781
  class_name: Any | None = None,
767
782
  autofocus: bool | None = None,
768
783
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -833,6 +848,7 @@ class PlotlyFinance(Plotly):
833
848
  style: The style of the component.
834
849
  key: A unique key for the component.
835
850
  id: The id for the component.
851
+ ref: The Var to pass as the ref to the component.
836
852
  class_name: The class name for the component.
837
853
  autofocus: Whether the component should take the focus once the page is loaded
838
854
  custom_attrs: custom attribute
@@ -862,6 +878,7 @@ class PlotlyStrict(Plotly):
862
878
  | None = None,
863
879
  key: Any | None = None,
864
880
  id: Any | None = None,
881
+ ref: Var | None = None,
865
882
  class_name: Any | None = None,
866
883
  autofocus: bool | None = None,
867
884
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -932,6 +949,7 @@ class PlotlyStrict(Plotly):
932
949
  style: The style of the component.
933
950
  key: A unique key for the component.
934
951
  id: The id for the component.
952
+ ref: The Var to pass as the ref to the component.
935
953
  class_name: The class name for the component.
936
954
  autofocus: Whether the component should take the focus once the page is loaded
937
955
  custom_attrs: custom attribute
@@ -54,7 +54,7 @@ def _inherited_variant_selector(
54
54
  class AccordionComponent(RadixPrimitiveComponent):
55
55
  """Base class for all @radix-ui/accordion components."""
56
56
 
57
- library = "@radix-ui/react-accordion@^1.2.8"
57
+ library = "@radix-ui/react-accordion@1.2.10"
58
58
 
59
59
  # The color scheme of the component.
60
60
  color_scheme: Var[LiteralAccentColor]
@@ -97,6 +97,7 @@ class AccordionComponent(RadixPrimitiveComponent):
97
97
  | None = None,
98
98
  key: Any | None = None,
99
99
  id: Any | None = None,
100
+ ref: Var | None = None,
100
101
  class_name: Any | None = None,
101
102
  autofocus: bool | None = None,
102
103
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -127,6 +128,7 @@ class AccordionComponent(RadixPrimitiveComponent):
127
128
  style: The style of the component.
128
129
  key: A unique key for the component.
129
130
  id: The id for the component.
131
+ ref: The Var to pass as the ref to the component.
130
132
  class_name: The class name for the component.
131
133
  autofocus: Whether the component should take the focus once the page is loaded
132
134
  custom_attrs: custom attribute
@@ -233,6 +235,7 @@ class AccordionRoot(AccordionComponent):
233
235
  | None = None,
234
236
  key: Any | None = None,
235
237
  id: Any | None = None,
238
+ ref: Var | None = None,
236
239
  class_name: Any | None = None,
237
240
  autofocus: bool | None = None,
238
241
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -276,6 +279,7 @@ class AccordionRoot(AccordionComponent):
276
279
  style: The style of the component.
277
280
  key: A unique key for the component.
278
281
  id: The id for the component.
282
+ ref: The Var to pass as the ref to the component.
279
283
  class_name: The class name for the component.
280
284
  autofocus: Whether the component should take the focus once the page is loaded
281
285
  custom_attrs: custom attribute
@@ -366,6 +370,7 @@ class AccordionItem(AccordionComponent):
366
370
  | None = None,
367
371
  key: Any | None = None,
368
372
  id: Any | None = None,
373
+ ref: Var | None = None,
369
374
  class_name: Any | None = None,
370
375
  autofocus: bool | None = None,
371
376
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -400,6 +405,7 @@ class AccordionItem(AccordionComponent):
400
405
  style: The style of the component.
401
406
  key: A unique key for the component.
402
407
  id: The id for the component.
408
+ ref: The Var to pass as the ref to the component.
403
409
  class_name: The class name for the component.
404
410
  autofocus: Whether the component should take the focus once the page is loaded
405
411
  custom_attrs: custom attribute
@@ -488,6 +494,7 @@ class AccordionHeader(AccordionComponent):
488
494
  | None = None,
489
495
  key: Any | None = None,
490
496
  id: Any | None = None,
497
+ ref: Var | None = None,
491
498
  class_name: Any | None = None,
492
499
  autofocus: bool | None = None,
493
500
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -518,6 +525,7 @@ class AccordionHeader(AccordionComponent):
518
525
  style: The style of the component.
519
526
  key: A unique key for the component.
520
527
  id: The id for the component.
528
+ ref: The Var to pass as the ref to the component.
521
529
  class_name: The class name for the component.
522
530
  autofocus: Whether the component should take the focus once the page is loaded
523
531
  custom_attrs: custom attribute
@@ -606,6 +614,7 @@ class AccordionTrigger(AccordionComponent):
606
614
  | None = None,
607
615
  key: Any | None = None,
608
616
  id: Any | None = None,
617
+ ref: Var | None = None,
609
618
  class_name: Any | None = None,
610
619
  autofocus: bool | None = None,
611
620
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -636,6 +645,7 @@ class AccordionTrigger(AccordionComponent):
636
645
  style: The style of the component.
637
646
  key: A unique key for the component.
638
647
  id: The id for the component.
648
+ ref: The Var to pass as the ref to the component.
639
649
  class_name: The class name for the component.
640
650
  autofocus: Whether the component should take the focus once the page is loaded
641
651
  custom_attrs: custom attribute
@@ -662,6 +672,7 @@ class AccordionIcon(Icon):
662
672
  | None = None,
663
673
  key: Any | None = None,
664
674
  id: Any | None = None,
675
+ ref: Var | None = None,
665
676
  class_name: Any | None = None,
666
677
  autofocus: bool | None = None,
667
678
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -690,6 +701,7 @@ class AccordionIcon(Icon):
690
701
  style: The style of the component.
691
702
  key: A unique key for the component.
692
703
  id: The id for the component.
704
+ ref: The Var to pass as the ref to the component.
693
705
  class_name: The class name for the component.
694
706
  autofocus: Whether the component should take the focus once the page is loaded
695
707
  custom_attrs: custom attribute
@@ -777,6 +789,7 @@ class AccordionContent(AccordionComponent):
777
789
  | None = None,
778
790
  key: Any | None = None,
779
791
  id: Any | None = None,
792
+ ref: Var | None = None,
780
793
  class_name: Any | None = None,
781
794
  autofocus: bool | None = None,
782
795
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -807,6 +820,7 @@ class AccordionContent(AccordionComponent):
807
820
  style: The style of the component.
808
821
  key: A unique key for the component.
809
822
  id: The id for the component.
823
+ ref: The Var to pass as the ref to the component.
810
824
  class_name: The class name for the component.
811
825
  autofocus: Whether the component should take the focus once the page is loaded
812
826
  custom_attrs: custom attribute
@@ -12,8 +12,6 @@ class RadixPrimitiveComponent(Component):
12
12
  # Change the default rendered element for the one passed as a child.
13
13
  as_child: Var[bool]
14
14
 
15
- lib_dependencies: list[str] = ["@emotion/react@^11.11.1"]
16
-
17
15
 
18
16
  class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
19
17
  """Basic component for radix Primitives with a class name prop."""
@@ -25,6 +25,7 @@ class RadixPrimitiveComponent(Component):
25
25
  | None = None,
26
26
  key: Any | None = None,
27
27
  id: Any | None = None,
28
+ ref: Var | None = None,
28
29
  class_name: Any | None = None,
29
30
  autofocus: bool | None = None,
30
31
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -53,6 +54,7 @@ class RadixPrimitiveComponent(Component):
53
54
  style: The style of the component.
54
55
  key: A unique key for the component.
55
56
  id: The id for the component.
57
+ ref: The Var to pass as the ref to the component.
56
58
  class_name: The class name for the component.
57
59
  autofocus: Whether the component should take the focus once the page is loaded
58
60
  custom_attrs: custom attribute
@@ -77,6 +79,7 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
77
79
  | None = None,
78
80
  key: Any | None = None,
79
81
  id: Any | None = None,
82
+ ref: Var | None = None,
80
83
  class_name: Any | None = None,
81
84
  autofocus: bool | None = None,
82
85
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -105,6 +108,7 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
105
108
  style: The style of the component.
106
109
  key: A unique key for the component.
107
110
  id: The id for the component.
111
+ ref: The Var to pass as the ref to the component.
108
112
  class_name: The class name for the component.
109
113
  autofocus: Whether the component should take the focus once the page is loaded
110
114
  custom_attrs: custom attribute
@@ -21,7 +21,7 @@ class DrawerComponent(RadixPrimitiveComponent):
21
21
 
22
22
  library = "vaul@1.1.2"
23
23
 
24
- lib_dependencies: list[str] = ["@radix-ui/react-dialog@^1.1.6"]
24
+ lib_dependencies: list[str] = ["@radix-ui/react-dialog@1.1.13"]
25
25
 
26
26
 
27
27
  LiteralDirectionType = Literal["top", "bottom", "left", "right"]
@@ -26,6 +26,7 @@ class DrawerComponent(RadixPrimitiveComponent):
26
26
  | None = None,
27
27
  key: Any | None = None,
28
28
  id: Any | None = None,
29
+ ref: Var | None = None,
29
30
  class_name: Any | None = None,
30
31
  autofocus: bool | None = None,
31
32
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -54,6 +55,7 @@ class DrawerComponent(RadixPrimitiveComponent):
54
55
  style: The style of the component.
55
56
  key: A unique key for the component.
56
57
  id: The id for the component.
58
+ ref: The Var to pass as the ref to the component.
57
59
  class_name: The class name for the component.
58
60
  autofocus: Whether the component should take the focus once the page is loaded
59
61
  custom_attrs: custom attribute
@@ -94,6 +96,7 @@ class DrawerRoot(DrawerComponent):
94
96
  | None = None,
95
97
  key: Any | None = None,
96
98
  id: Any | None = None,
99
+ ref: Var | None = None,
97
100
  class_name: Any | None = None,
98
101
  autofocus: bool | None = None,
99
102
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -138,6 +141,7 @@ class DrawerRoot(DrawerComponent):
138
141
  style: The style of the component.
139
142
  key: A unique key for the component.
140
143
  id: The id for the component.
144
+ ref: The Var to pass as the ref to the component.
141
145
  class_name: The class name for the component.
142
146
  autofocus: Whether the component should take the focus once the page is loaded
143
147
  custom_attrs: custom attribute
@@ -162,6 +166,7 @@ class DrawerTrigger(DrawerComponent):
162
166
  | None = None,
163
167
  key: Any | None = None,
164
168
  id: Any | None = None,
169
+ ref: Var | None = None,
165
170
  class_name: Any | None = None,
166
171
  autofocus: bool | None = None,
167
172
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -190,6 +195,7 @@ class DrawerTrigger(DrawerComponent):
190
195
  style: The style of the component.
191
196
  key: A unique key for the component.
192
197
  id: The id for the component.
198
+ ref: The Var to pass as the ref to the component.
193
199
  class_name: The class name for the component.
194
200
  autofocus: Whether the component should take the focus once the page is loaded
195
201
  custom_attrs: custom attribute
@@ -214,6 +220,7 @@ class DrawerPortal(DrawerComponent):
214
220
  | None = None,
215
221
  key: Any | None = None,
216
222
  id: Any | None = None,
223
+ ref: Var | None = None,
217
224
  class_name: Any | None = None,
218
225
  autofocus: bool | None = None,
219
226
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -242,6 +249,7 @@ class DrawerPortal(DrawerComponent):
242
249
  style: The style of the component.
243
250
  key: A unique key for the component.
244
251
  id: The id for the component.
252
+ ref: The Var to pass as the ref to the component.
245
253
  class_name: The class name for the component.
246
254
  autofocus: Whether the component should take the focus once the page is loaded
247
255
  custom_attrs: custom attribute
@@ -266,6 +274,7 @@ class DrawerContent(DrawerComponent):
266
274
  | None = None,
267
275
  key: Any | None = None,
268
276
  id: Any | None = None,
277
+ ref: Var | None = None,
269
278
  class_name: Any | None = None,
270
279
  autofocus: bool | None = None,
271
280
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -303,6 +312,7 @@ class DrawerContent(DrawerComponent):
303
312
  style: The style of the component.
304
313
  key: A unique key for the component.
305
314
  id: The id for the component.
315
+ ref: The Var to pass as the ref to the component.
306
316
  class_name: The class name for the component.
307
317
  autofocus: Whether the component should take the focus once the page is loaded
308
318
  custom_attrs: custom attribute
@@ -327,6 +337,7 @@ class DrawerOverlay(DrawerComponent):
327
337
  | None = None,
328
338
  key: Any | None = None,
329
339
  id: Any | None = None,
340
+ ref: Var | None = None,
330
341
  class_name: Any | None = None,
331
342
  autofocus: bool | None = None,
332
343
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -355,6 +366,7 @@ class DrawerOverlay(DrawerComponent):
355
366
  style: The style of the component.
356
367
  key: A unique key for the component.
357
368
  id: The id for the component.
369
+ ref: The Var to pass as the ref to the component.
358
370
  class_name: The class name for the component.
359
371
  autofocus: Whether the component should take the focus once the page is loaded
360
372
  custom_attrs: custom attribute
@@ -379,6 +391,7 @@ class DrawerClose(DrawerTrigger):
379
391
  | None = None,
380
392
  key: Any | None = None,
381
393
  id: Any | None = None,
394
+ ref: Var | None = None,
382
395
  class_name: Any | None = None,
383
396
  autofocus: bool | None = None,
384
397
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -407,6 +420,7 @@ class DrawerClose(DrawerTrigger):
407
420
  style: The style of the component.
408
421
  key: A unique key for the component.
409
422
  id: The id for the component.
423
+ ref: The Var to pass as the ref to the component.
410
424
  class_name: The class name for the component.
411
425
  autofocus: Whether the component should take the focus once the page is loaded
412
426
  custom_attrs: custom attribute
@@ -431,6 +445,7 @@ class DrawerTitle(DrawerComponent):
431
445
  | None = None,
432
446
  key: Any | None = None,
433
447
  id: Any | None = None,
448
+ ref: Var | None = None,
434
449
  class_name: Any | None = None,
435
450
  autofocus: bool | None = None,
436
451
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -459,6 +474,7 @@ class DrawerTitle(DrawerComponent):
459
474
  style: The style of the component.
460
475
  key: A unique key for the component.
461
476
  id: The id for the component.
477
+ ref: The Var to pass as the ref to the component.
462
478
  class_name: The class name for the component.
463
479
  autofocus: Whether the component should take the focus once the page is loaded
464
480
  custom_attrs: custom attribute
@@ -483,6 +499,7 @@ class DrawerDescription(DrawerComponent):
483
499
  | None = None,
484
500
  key: Any | None = None,
485
501
  id: Any | None = None,
502
+ ref: Var | None = None,
486
503
  class_name: Any | None = None,
487
504
  autofocus: bool | None = None,
488
505
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -511,6 +528,7 @@ class DrawerDescription(DrawerComponent):
511
528
  style: The style of the component.
512
529
  key: A unique key for the component.
513
530
  id: The id for the component.
531
+ ref: The Var to pass as the ref to the component.
514
532
  class_name: The class name for the component.
515
533
  autofocus: Whether the component should take the focus once the page is loaded
516
534
  custom_attrs: custom attribute
@@ -535,6 +553,7 @@ class DrawerHandle(DrawerComponent):
535
553
  | None = None,
536
554
  key: Any | None = None,
537
555
  id: Any | None = None,
556
+ ref: Var | None = None,
538
557
  class_name: Any | None = None,
539
558
  autofocus: bool | None = None,
540
559
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -563,6 +582,7 @@ class DrawerHandle(DrawerComponent):
563
582
  style: The style of the component.
564
583
  key: A unique key for the component.
565
584
  id: The id for the component.
585
+ ref: The Var to pass as the ref to the component.
566
586
  class_name: The class name for the component.
567
587
  autofocus: Whether the component should take the focus once the page is loaded
568
588
  custom_attrs: custom attribute
@@ -609,6 +629,7 @@ class Drawer(ComponentNamespace):
609
629
  | None = None,
610
630
  key: Any | None = None,
611
631
  id: Any | None = None,
632
+ ref: Var | None = None,
612
633
  class_name: Any | None = None,
613
634
  autofocus: bool | None = None,
614
635
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -653,6 +674,7 @@ class Drawer(ComponentNamespace):
653
674
  style: The style of the component.
654
675
  key: A unique key for the component.
655
676
  id: The id for the component.
677
+ ref: The Var to pass as the ref to the component.
656
678
  class_name: The class name for the component.
657
679
  autofocus: Whether the component should take the focus once the page is loaded
658
680
  custom_attrs: custom attribute
@@ -17,7 +17,7 @@ from .base import RadixPrimitiveComponentWithClassName
17
17
  class FormComponent(RadixPrimitiveComponentWithClassName):
18
18
  """Base class for all @radix-ui/react-form components."""
19
19
 
20
- library = "@radix-ui/react-form@^0.1.4"
20
+ library = "@radix-ui/react-form@0.1.6"
21
21
 
22
22
 
23
23
  class FormRoot(FormComponent, HTMLForm):