reflex 0.7.11a1__py3-none-any.whl → 0.7.12a1__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 (140) 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/constants/compiler.py +12 -6
  123. reflex/constants/installer.py +1 -1
  124. reflex/event.py +21 -0
  125. reflex/experimental/layout.pyi +5 -0
  126. reflex/reflex.py +24 -0
  127. reflex/testing.py +2 -1
  128. reflex/utils/format.py +4 -11
  129. reflex/utils/net.py +35 -2
  130. reflex/utils/prerequisites.py +10 -4
  131. reflex/utils/pyi_generator.py +7 -1
  132. reflex/utils/types.py +7 -5
  133. reflex/vars/base.py +7 -8
  134. reflex/vars/object.py +9 -2
  135. {reflex-0.7.11a1.dist-info → reflex-0.7.12a1.dist-info}/METADATA +4 -4
  136. {reflex-0.7.11a1.dist-info → reflex-0.7.12a1.dist-info}/RECORD +140 -139
  137. scripts/hatch_build.py +50 -0
  138. {reflex-0.7.11a1.dist-info → reflex-0.7.12a1.dist-info}/WHEEL +0 -0
  139. {reflex-0.7.11a1.dist-info → reflex-0.7.12a1.dist-info}/entry_points.txt +0 -0
  140. {reflex-0.7.11a1.dist-info → reflex-0.7.12a1.dist-info}/licenses/LICENSE +0 -0
@@ -239,6 +239,7 @@ class Area(BaseHTML):
239
239
  | None = None,
240
240
  key: Any | None = None,
241
241
  id: Any | None = None,
242
+ ref: Var | None = None,
242
243
  class_name: Any | None = None,
243
244
  autofocus: bool | None = None,
244
245
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -292,6 +293,7 @@ class Area(BaseHTML):
292
293
  style: The style of the component.
293
294
  key: A unique key for the component.
294
295
  id: The id for the component.
296
+ ref: The Var to pass as the ref to the component.
295
297
  class_name: The class name for the component.
296
298
  autofocus: Whether the component should take the focus once the page is loaded
297
299
  custom_attrs: custom attribute
@@ -504,6 +506,7 @@ class Audio(BaseHTML):
504
506
  | None = None,
505
507
  key: Any | None = None,
506
508
  id: Any | None = None,
509
+ ref: Var | None = None,
507
510
  class_name: Any | None = None,
508
511
  autofocus: bool | None = None,
509
512
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -554,6 +557,7 @@ class Audio(BaseHTML):
554
557
  style: The style of the component.
555
558
  key: A unique key for the component.
556
559
  id: The id for the component.
560
+ ref: The Var to pass as the ref to the component.
557
561
  class_name: The class name for the component.
558
562
  autofocus: Whether the component should take the focus once the page is loaded
559
563
  custom_attrs: custom attribute
@@ -795,6 +799,7 @@ class Img(BaseHTML):
795
799
  | None = None,
796
800
  key: Any | None = None,
797
801
  id: Any | None = None,
802
+ ref: Var | None = None,
798
803
  class_name: Any | None = None,
799
804
  autofocus: bool | None = None,
800
805
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -847,6 +852,7 @@ class Img(BaseHTML):
847
852
  style: The style of the component.
848
853
  key: A unique key for the component.
849
854
  id: The id for the component.
855
+ ref: The Var to pass as the ref to the component.
850
856
  class_name: The class name for the component.
851
857
  autofocus: Whether the component should take the focus once the page is loaded
852
858
  custom_attrs: custom attribute
@@ -1049,6 +1055,7 @@ class Map(BaseHTML):
1049
1055
  | None = None,
1050
1056
  key: Any | None = None,
1051
1057
  id: Any | None = None,
1058
+ ref: Var | None = None,
1052
1059
  class_name: Any | None = None,
1053
1060
  autofocus: bool | None = None,
1054
1061
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1093,6 +1100,7 @@ class Map(BaseHTML):
1093
1100
  style: The style of the component.
1094
1101
  key: A unique key for the component.
1095
1102
  id: The id for the component.
1103
+ ref: The Var to pass as the ref to the component.
1096
1104
  class_name: The class name for the component.
1097
1105
  autofocus: Whether the component should take the focus once the page is loaded
1098
1106
  custom_attrs: custom attribute
@@ -1299,6 +1307,7 @@ class Track(BaseHTML):
1299
1307
  | None = None,
1300
1308
  key: Any | None = None,
1301
1309
  id: Any | None = None,
1310
+ ref: Var | None = None,
1302
1311
  class_name: Any | None = None,
1303
1312
  autofocus: bool | None = None,
1304
1313
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1347,6 +1356,7 @@ class Track(BaseHTML):
1347
1356
  style: The style of the component.
1348
1357
  key: A unique key for the component.
1349
1358
  id: The id for the component.
1359
+ ref: The Var to pass as the ref to the component.
1350
1360
  class_name: The class name for the component.
1351
1361
  autofocus: Whether the component should take the focus once the page is loaded
1352
1362
  custom_attrs: custom attribute
@@ -1559,6 +1569,7 @@ class Video(BaseHTML):
1559
1569
  | None = None,
1560
1570
  key: Any | None = None,
1561
1571
  id: Any | None = None,
1572
+ ref: Var | None = None,
1562
1573
  class_name: Any | None = None,
1563
1574
  autofocus: bool | None = None,
1564
1575
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1611,6 +1622,7 @@ class Video(BaseHTML):
1611
1622
  style: The style of the component.
1612
1623
  key: A unique key for the component.
1613
1624
  id: The id for the component.
1625
+ ref: The Var to pass as the ref to the component.
1614
1626
  class_name: The class name for the component.
1615
1627
  autofocus: Whether the component should take the focus once the page is loaded
1616
1628
  custom_attrs: custom attribute
@@ -1814,6 +1826,7 @@ class Embed(BaseHTML):
1814
1826
  | None = None,
1815
1827
  key: Any | None = None,
1816
1828
  id: Any | None = None,
1829
+ ref: Var | None = None,
1817
1830
  class_name: Any | None = None,
1818
1831
  autofocus: bool | None = None,
1819
1832
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1859,6 +1872,7 @@ class Embed(BaseHTML):
1859
1872
  style: The style of the component.
1860
1873
  key: A unique key for the component.
1861
1874
  id: The id for the component.
1875
+ ref: The Var to pass as the ref to the component.
1862
1876
  class_name: The class name for the component.
1863
1877
  autofocus: Whether the component should take the focus once the page is loaded
1864
1878
  custom_attrs: custom attribute
@@ -2091,6 +2105,7 @@ class Iframe(BaseHTML):
2091
2105
  | None = None,
2092
2106
  key: Any | None = None,
2093
2107
  id: Any | None = None,
2108
+ ref: Var | None = None,
2094
2109
  class_name: Any | None = None,
2095
2110
  autofocus: bool | None = None,
2096
2111
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -2141,6 +2156,7 @@ class Iframe(BaseHTML):
2141
2156
  style: The style of the component.
2142
2157
  key: A unique key for the component.
2143
2158
  id: The id for the component.
2159
+ ref: The Var to pass as the ref to the component.
2144
2160
  class_name: The class name for the component.
2145
2161
  autofocus: Whether the component should take the focus once the page is loaded
2146
2162
  custom_attrs: custom attribute
@@ -2347,6 +2363,7 @@ class Object(BaseHTML):
2347
2363
  | None = None,
2348
2364
  key: Any | None = None,
2349
2365
  id: Any | None = None,
2366
+ ref: Var | None = None,
2350
2367
  class_name: Any | None = None,
2351
2368
  autofocus: bool | None = None,
2352
2369
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -2395,6 +2412,7 @@ class Object(BaseHTML):
2395
2412
  style: The style of the component.
2396
2413
  key: A unique key for the component.
2397
2414
  id: The id for the component.
2415
+ ref: The Var to pass as the ref to the component.
2398
2416
  class_name: The class name for the component.
2399
2417
  autofocus: Whether the component should take the focus once the page is loaded
2400
2418
  custom_attrs: custom attribute
@@ -2596,6 +2614,7 @@ class Picture(BaseHTML):
2596
2614
  | None = None,
2597
2615
  key: Any | None = None,
2598
2616
  id: Any | None = None,
2617
+ ref: Var | None = None,
2599
2618
  class_name: Any | None = None,
2600
2619
  autofocus: bool | None = None,
2601
2620
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -2639,6 +2658,7 @@ class Picture(BaseHTML):
2639
2658
  style: The style of the component.
2640
2659
  key: A unique key for the component.
2641
2660
  id: The id for the component.
2661
+ ref: The Var to pass as the ref to the component.
2642
2662
  class_name: The class name for the component.
2643
2663
  autofocus: Whether the component should take the focus once the page is loaded
2644
2664
  custom_attrs: custom attribute
@@ -2840,6 +2860,7 @@ class Portal(BaseHTML):
2840
2860
  | None = None,
2841
2861
  key: Any | None = None,
2842
2862
  id: Any | None = None,
2863
+ ref: Var | None = None,
2843
2864
  class_name: Any | None = None,
2844
2865
  autofocus: bool | None = None,
2845
2866
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -2883,6 +2904,7 @@ class Portal(BaseHTML):
2883
2904
  style: The style of the component.
2884
2905
  key: A unique key for the component.
2885
2906
  id: The id for the component.
2907
+ ref: The Var to pass as the ref to the component.
2886
2908
  class_name: The class name for the component.
2887
2909
  autofocus: Whether the component should take the focus once the page is loaded
2888
2910
  custom_attrs: custom attribute
@@ -3089,6 +3111,7 @@ class Source(BaseHTML):
3089
3111
  | None = None,
3090
3112
  key: Any | None = None,
3091
3113
  id: Any | None = None,
3114
+ ref: Var | None = None,
3092
3115
  class_name: Any | None = None,
3093
3116
  autofocus: bool | None = None,
3094
3117
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -3137,6 +3160,7 @@ class Source(BaseHTML):
3137
3160
  style: The style of the component.
3138
3161
  key: A unique key for the component.
3139
3162
  id: The id for the component.
3163
+ ref: The Var to pass as the ref to the component.
3140
3164
  class_name: The class name for the component.
3141
3165
  autofocus: Whether the component should take the focus once the page is loaded
3142
3166
  custom_attrs: custom attribute
@@ -3341,6 +3365,7 @@ class Svg(BaseHTML):
3341
3365
  | None = None,
3342
3366
  key: Any | None = None,
3343
3367
  id: Any | None = None,
3368
+ ref: Var | None = None,
3344
3369
  class_name: Any | None = None,
3345
3370
  autofocus: bool | None = None,
3346
3371
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -3387,6 +3412,7 @@ class Svg(BaseHTML):
3387
3412
  style: The style of the component.
3388
3413
  key: A unique key for the component.
3389
3414
  id: The id for the component.
3415
+ ref: The Var to pass as the ref to the component.
3390
3416
  class_name: The class name for the component.
3391
3417
  autofocus: Whether the component should take the focus once the page is loaded
3392
3418
  custom_attrs: custom attribute
@@ -3595,6 +3621,7 @@ class Text(BaseHTML):
3595
3621
  | None = None,
3596
3622
  key: Any | None = None,
3597
3623
  id: Any | None = None,
3624
+ ref: Var | None = None,
3598
3625
  class_name: Any | None = None,
3599
3626
  autofocus: bool | None = None,
3600
3627
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -3645,6 +3672,7 @@ class Text(BaseHTML):
3645
3672
  style: The style of the component.
3646
3673
  key: A unique key for the component.
3647
3674
  id: The id for the component.
3675
+ ref: The Var to pass as the ref to the component.
3648
3676
  class_name: The class name for the component.
3649
3677
  autofocus: Whether the component should take the focus once the page is loaded
3650
3678
  custom_attrs: custom attribute
@@ -3851,6 +3879,7 @@ class Line(BaseHTML):
3851
3879
  | None = None,
3852
3880
  key: Any | None = None,
3853
3881
  id: Any | None = None,
3882
+ ref: Var | None = None,
3854
3883
  class_name: Any | None = None,
3855
3884
  autofocus: bool | None = None,
3856
3885
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -3899,6 +3928,7 @@ class Line(BaseHTML):
3899
3928
  style: The style of the component.
3900
3929
  key: A unique key for the component.
3901
3930
  id: The id for the component.
3931
+ ref: The Var to pass as the ref to the component.
3902
3932
  class_name: The class name for the component.
3903
3933
  autofocus: Whether the component should take the focus once the page is loaded
3904
3934
  custom_attrs: custom attribute
@@ -4104,6 +4134,7 @@ class Circle(BaseHTML):
4104
4134
  | None = None,
4105
4135
  key: Any | None = None,
4106
4136
  id: Any | None = None,
4137
+ ref: Var | None = None,
4107
4138
  class_name: Any | None = None,
4108
4139
  autofocus: bool | None = None,
4109
4140
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -4151,6 +4182,7 @@ class Circle(BaseHTML):
4151
4182
  style: The style of the component.
4152
4183
  key: A unique key for the component.
4153
4184
  id: The id for the component.
4185
+ ref: The Var to pass as the ref to the component.
4154
4186
  class_name: The class name for the component.
4155
4187
  autofocus: Whether the component should take the focus once the page is loaded
4156
4188
  custom_attrs: custom attribute
@@ -4357,6 +4389,7 @@ class Ellipse(BaseHTML):
4357
4389
  | None = None,
4358
4390
  key: Any | None = None,
4359
4391
  id: Any | None = None,
4392
+ ref: Var | None = None,
4360
4393
  class_name: Any | None = None,
4361
4394
  autofocus: bool | None = None,
4362
4395
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -4405,6 +4438,7 @@ class Ellipse(BaseHTML):
4405
4438
  style: The style of the component.
4406
4439
  key: A unique key for the component.
4407
4440
  id: The id for the component.
4441
+ ref: The Var to pass as the ref to the component.
4408
4442
  class_name: The class name for the component.
4409
4443
  autofocus: Whether the component should take the focus once the page is loaded
4410
4444
  custom_attrs: custom attribute
@@ -4613,6 +4647,7 @@ class Rect(BaseHTML):
4613
4647
  | None = None,
4614
4648
  key: Any | None = None,
4615
4649
  id: Any | None = None,
4650
+ ref: Var | None = None,
4616
4651
  class_name: Any | None = None,
4617
4652
  autofocus: bool | None = None,
4618
4653
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -4663,6 +4698,7 @@ class Rect(BaseHTML):
4663
4698
  style: The style of the component.
4664
4699
  key: A unique key for the component.
4665
4700
  id: The id for the component.
4701
+ ref: The Var to pass as the ref to the component.
4666
4702
  class_name: The class name for the component.
4667
4703
  autofocus: Whether the component should take the focus once the page is loaded
4668
4704
  custom_attrs: custom attribute
@@ -4866,6 +4902,7 @@ class Polygon(BaseHTML):
4866
4902
  | None = None,
4867
4903
  key: Any | None = None,
4868
4904
  id: Any | None = None,
4905
+ ref: Var | None = None,
4869
4906
  class_name: Any | None = None,
4870
4907
  autofocus: bool | None = None,
4871
4908
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -4911,6 +4948,7 @@ class Polygon(BaseHTML):
4911
4948
  style: The style of the component.
4912
4949
  key: A unique key for the component.
4913
4950
  id: The id for the component.
4951
+ ref: The Var to pass as the ref to the component.
4914
4952
  class_name: The class name for the component.
4915
4953
  autofocus: Whether the component should take the focus once the page is loaded
4916
4954
  custom_attrs: custom attribute
@@ -5112,6 +5150,7 @@ class Defs(BaseHTML):
5112
5150
  | None = None,
5113
5151
  key: Any | None = None,
5114
5152
  id: Any | None = None,
5153
+ ref: Var | None = None,
5115
5154
  class_name: Any | None = None,
5116
5155
  autofocus: bool | None = None,
5117
5156
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -5155,6 +5194,7 @@ class Defs(BaseHTML):
5155
5194
  style: The style of the component.
5156
5195
  key: A unique key for the component.
5157
5196
  id: The id for the component.
5197
+ ref: The Var to pass as the ref to the component.
5158
5198
  class_name: The class name for the component.
5159
5199
  autofocus: Whether the component should take the focus once the page is loaded
5160
5200
  custom_attrs: custom attribute
@@ -5363,6 +5403,7 @@ class LinearGradient(BaseHTML):
5363
5403
  | None = None,
5364
5404
  key: Any | None = None,
5365
5405
  id: Any | None = None,
5406
+ ref: Var | None = None,
5366
5407
  class_name: Any | None = None,
5367
5408
  autofocus: bool | None = None,
5368
5409
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -5413,6 +5454,7 @@ class LinearGradient(BaseHTML):
5413
5454
  style: The style of the component.
5414
5455
  key: A unique key for the component.
5415
5456
  id: The id for the component.
5457
+ ref: The Var to pass as the ref to the component.
5416
5458
  class_name: The class name for the component.
5417
5459
  autofocus: Whether the component should take the focus once the page is loaded
5418
5460
  custom_attrs: custom attribute
@@ -5623,6 +5665,7 @@ class RadialGradient(BaseHTML):
5623
5665
  | None = None,
5624
5666
  key: Any | None = None,
5625
5667
  id: Any | None = None,
5668
+ ref: Var | None = None,
5626
5669
  class_name: Any | None = None,
5627
5670
  autofocus: bool | None = None,
5628
5671
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -5675,6 +5718,7 @@ class RadialGradient(BaseHTML):
5675
5718
  style: The style of the component.
5676
5719
  key: A unique key for the component.
5677
5720
  id: The id for the component.
5721
+ ref: The Var to pass as the ref to the component.
5678
5722
  class_name: The class name for the component.
5679
5723
  autofocus: Whether the component should take the focus once the page is loaded
5680
5724
  custom_attrs: custom attribute
@@ -5884,6 +5928,7 @@ class Stop(BaseHTML):
5884
5928
  | None = None,
5885
5929
  key: Any | None = None,
5886
5930
  id: Any | None = None,
5931
+ ref: Var | None = None,
5887
5932
  class_name: Any | None = None,
5888
5933
  autofocus: bool | None = None,
5889
5934
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -5930,6 +5975,7 @@ class Stop(BaseHTML):
5930
5975
  style: The style of the component.
5931
5976
  key: A unique key for the component.
5932
5977
  id: The id for the component.
5978
+ ref: The Var to pass as the ref to the component.
5933
5979
  class_name: The class name for the component.
5934
5980
  autofocus: Whether the component should take the focus once the page is loaded
5935
5981
  custom_attrs: custom attribute
@@ -6132,6 +6178,7 @@ class Path(BaseHTML):
6132
6178
  | None = None,
6133
6179
  key: Any | None = None,
6134
6180
  id: Any | None = None,
6181
+ ref: Var | None = None,
6135
6182
  class_name: Any | None = None,
6136
6183
  autofocus: bool | None = None,
6137
6184
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -6176,6 +6223,7 @@ class Path(BaseHTML):
6176
6223
  style: The style of the component.
6177
6224
  key: A unique key for the component.
6178
6225
  id: The id for the component.
6226
+ ref: The Var to pass as the ref to the component.
6179
6227
  class_name: The class name for the component.
6180
6228
  autofocus: Whether the component should take the focus once the page is loaded
6181
6229
  custom_attrs: custom attribute
@@ -6390,6 +6438,7 @@ class SVG(ComponentNamespace):
6390
6438
  | None = None,
6391
6439
  key: Any | None = None,
6392
6440
  id: Any | None = None,
6441
+ ref: Var | None = None,
6393
6442
  class_name: Any | None = None,
6394
6443
  autofocus: bool | None = None,
6395
6444
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -6436,6 +6485,7 @@ class SVG(ComponentNamespace):
6436
6485
  style: The style of the component.
6437
6486
  key: A unique key for the component.
6438
6487
  id: The id for the component.
6488
+ ref: The Var to pass as the ref to the component.
6439
6489
  class_name: The class name for the component.
6440
6490
  autofocus: Whether the component should take the focus once the page is loaded
6441
6491
  custom_attrs: custom attribute
@@ -206,6 +206,7 @@ class Base(BaseHTML):
206
206
  | None = None,
207
207
  key: Any | None = None,
208
208
  id: Any | None = None,
209
+ ref: Var | None = None,
209
210
  class_name: Any | None = None,
210
211
  autofocus: bool | None = None,
211
212
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -249,6 +250,7 @@ class Base(BaseHTML):
249
250
  style: The style of the component.
250
251
  key: A unique key for the component.
251
252
  id: The id for the component.
253
+ ref: The Var to pass as the ref to the component.
252
254
  class_name: The class name for the component.
253
255
  autofocus: Whether the component should take the focus once the page is loaded
254
256
  custom_attrs: custom attribute
@@ -450,6 +452,7 @@ class Head(BaseHTML):
450
452
  | None = None,
451
453
  key: Any | None = None,
452
454
  id: Any | None = None,
455
+ ref: Var | None = None,
453
456
  class_name: Any | None = None,
454
457
  autofocus: bool | None = None,
455
458
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -493,6 +496,7 @@ class Head(BaseHTML):
493
496
  style: The style of the component.
494
497
  key: A unique key for the component.
495
498
  id: The id for the component.
499
+ ref: The Var to pass as the ref to the component.
496
500
  class_name: The class name for the component.
497
501
  autofocus: Whether the component should take the focus once the page is loaded
498
502
  custom_attrs: custom attribute
@@ -729,6 +733,7 @@ class Link(BaseHTML):
729
733
  | None = None,
730
734
  key: Any | None = None,
731
735
  id: Any | None = None,
736
+ ref: Var | None = None,
732
737
  class_name: Any | None = None,
733
738
  autofocus: bool | None = None,
734
739
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -781,6 +786,7 @@ class Link(BaseHTML):
781
786
  style: The style of the component.
782
787
  key: A unique key for the component.
783
788
  id: The id for the component.
789
+ ref: The Var to pass as the ref to the component.
784
790
  class_name: The class name for the component.
785
791
  autofocus: Whether the component should take the focus once the page is loaded
786
792
  custom_attrs: custom attribute
@@ -986,6 +992,7 @@ class Meta(BaseHTML):
986
992
  | None = None,
987
993
  key: Any | None = None,
988
994
  id: Any | None = None,
995
+ ref: Var | None = None,
989
996
  class_name: Any | None = None,
990
997
  autofocus: bool | None = None,
991
998
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1033,6 +1040,7 @@ class Meta(BaseHTML):
1033
1040
  style: The style of the component.
1034
1041
  key: A unique key for the component.
1035
1042
  id: The id for the component.
1043
+ ref: The Var to pass as the ref to the component.
1036
1044
  class_name: The class name for the component.
1037
1045
  autofocus: Whether the component should take the focus once the page is loaded
1038
1046
  custom_attrs: custom attribute
@@ -1056,6 +1064,7 @@ class Title(Element):
1056
1064
  | None = None,
1057
1065
  key: Any | None = None,
1058
1066
  id: Any | None = None,
1067
+ ref: Var | None = None,
1059
1068
  class_name: Any | None = None,
1060
1069
  autofocus: bool | None = None,
1061
1070
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1083,6 +1092,7 @@ class Title(Element):
1083
1092
  style: The style of the component.
1084
1093
  key: A unique key for the component.
1085
1094
  id: The id for the component.
1095
+ ref: The Var to pass as the ref to the component.
1086
1096
  class_name: The class name for the component.
1087
1097
  autofocus: Whether the component should take the focus once the page is loaded
1088
1098
  custom_attrs: custom attribute
@@ -1108,6 +1118,7 @@ class StyleEl(Element):
1108
1118
  | None = None,
1109
1119
  key: Any | None = None,
1110
1120
  id: Any | None = None,
1121
+ ref: Var | None = None,
1111
1122
  class_name: Any | None = None,
1112
1123
  autofocus: bool | None = None,
1113
1124
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1135,6 +1146,7 @@ class StyleEl(Element):
1135
1146
  style: The style of the component.
1136
1147
  key: A unique key for the component.
1137
1148
  id: The id for the component.
1149
+ ref: The Var to pass as the ref to the component.
1138
1150
  class_name: The class name for the component.
1139
1151
  autofocus: Whether the component should take the focus once the page is loaded
1140
1152
  custom_attrs: custom attribute
@@ -204,6 +204,7 @@ class Details(BaseHTML):
204
204
  | None = None,
205
205
  key: Any | None = None,
206
206
  id: Any | None = None,
207
+ ref: Var | None = None,
207
208
  class_name: Any | None = None,
208
209
  autofocus: bool | None = None,
209
210
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -248,6 +249,7 @@ class Details(BaseHTML):
248
249
  style: The style of the component.
249
250
  key: A unique key for the component.
250
251
  id: The id for the component.
252
+ ref: The Var to pass as the ref to the component.
251
253
  class_name: The class name for the component.
252
254
  autofocus: Whether the component should take the focus once the page is loaded
253
255
  custom_attrs: custom attribute
@@ -450,6 +452,7 @@ class Dialog(BaseHTML):
450
452
  | None = None,
451
453
  key: Any | None = None,
452
454
  id: Any | None = None,
455
+ ref: Var | None = None,
453
456
  class_name: Any | None = None,
454
457
  autofocus: bool | None = None,
455
458
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -494,6 +497,7 @@ class Dialog(BaseHTML):
494
497
  style: The style of the component.
495
498
  key: A unique key for the component.
496
499
  id: The id for the component.
500
+ ref: The Var to pass as the ref to the component.
497
501
  class_name: The class name for the component.
498
502
  autofocus: Whether the component should take the focus once the page is loaded
499
503
  custom_attrs: custom attribute
@@ -695,6 +699,7 @@ class Summary(BaseHTML):
695
699
  | None = None,
696
700
  key: Any | None = None,
697
701
  id: Any | None = None,
702
+ ref: Var | None = None,
698
703
  class_name: Any | None = None,
699
704
  autofocus: bool | None = None,
700
705
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -738,6 +743,7 @@ class Summary(BaseHTML):
738
743
  style: The style of the component.
739
744
  key: A unique key for the component.
740
745
  id: The id for the component.
746
+ ref: The Var to pass as the ref to the component.
741
747
  class_name: The class name for the component.
742
748
  autofocus: Whether the component should take the focus once the page is loaded
743
749
  custom_attrs: custom attribute
@@ -939,6 +945,7 @@ class Slot(BaseHTML):
939
945
  | None = None,
940
946
  key: Any | None = None,
941
947
  id: Any | None = None,
948
+ ref: Var | None = None,
942
949
  class_name: Any | None = None,
943
950
  autofocus: bool | None = None,
944
951
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -982,6 +989,7 @@ class Slot(BaseHTML):
982
989
  style: The style of the component.
983
990
  key: A unique key for the component.
984
991
  id: The id for the component.
992
+ ref: The Var to pass as the ref to the component.
985
993
  class_name: The class name for the component.
986
994
  autofocus: Whether the component should take the focus once the page is loaded
987
995
  custom_attrs: custom attribute
@@ -1183,6 +1191,7 @@ class Template(BaseHTML):
1183
1191
  | None = None,
1184
1192
  key: Any | None = None,
1185
1193
  id: Any | None = None,
1194
+ ref: Var | None = None,
1186
1195
  class_name: Any | None = None,
1187
1196
  autofocus: bool | None = None,
1188
1197
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1226,6 +1235,7 @@ class Template(BaseHTML):
1226
1235
  style: The style of the component.
1227
1236
  key: A unique key for the component.
1228
1237
  id: The id for the component.
1238
+ ref: The Var to pass as the ref to the component.
1229
1239
  class_name: The class name for the component.
1230
1240
  autofocus: Whether the component should take the focus once the page is loaded
1231
1241
  custom_attrs: custom attribute
@@ -1427,6 +1437,7 @@ class Math(BaseHTML):
1427
1437
  | None = None,
1428
1438
  key: Any | None = None,
1429
1439
  id: Any | None = None,
1440
+ ref: Var | None = None,
1430
1441
  class_name: Any | None = None,
1431
1442
  autofocus: bool | None = None,
1432
1443
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1470,6 +1481,7 @@ class Math(BaseHTML):
1470
1481
  style: The style of the component.
1471
1482
  key: A unique key for the component.
1472
1483
  id: The id for the component.
1484
+ ref: The Var to pass as the ref to the component.
1473
1485
  class_name: The class name for the component.
1474
1486
  autofocus: Whether the component should take the focus once the page is loaded
1475
1487
  custom_attrs: custom attribute
@@ -1672,6 +1684,7 @@ class Html(BaseHTML):
1672
1684
  | None = None,
1673
1685
  key: Any | None = None,
1674
1686
  id: Any | None = None,
1687
+ ref: Var | None = None,
1675
1688
  class_name: Any | None = None,
1676
1689
  autofocus: bool | None = None,
1677
1690
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -1716,6 +1729,7 @@ class Html(BaseHTML):
1716
1729
  style: The style of the component.
1717
1730
  key: A unique key for the component.
1718
1731
  id: The id for the component.
1732
+ ref: The Var to pass as the ref to the component.
1719
1733
  class_name: The class name for the component.
1720
1734
  autofocus: Whether the component should take the focus once the page is loaded
1721
1735
  custom_attrs: custom attribute
@@ -203,6 +203,7 @@ class Canvas(BaseHTML):
203
203
  | None = None,
204
204
  key: Any | None = None,
205
205
  id: Any | None = None,
206
+ ref: Var | None = None,
206
207
  class_name: Any | None = None,
207
208
  autofocus: bool | None = None,
208
209
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -246,6 +247,7 @@ class Canvas(BaseHTML):
246
247
  style: The style of the component.
247
248
  key: A unique key for the component.
248
249
  id: The id for the component.
250
+ ref: The Var to pass as the ref to the component.
249
251
  class_name: The class name for the component.
250
252
  autofocus: Whether the component should take the focus once the page is loaded
251
253
  custom_attrs: custom attribute
@@ -447,6 +449,7 @@ class Noscript(BaseHTML):
447
449
  | None = None,
448
450
  key: Any | None = None,
449
451
  id: Any | None = None,
452
+ ref: Var | None = None,
450
453
  class_name: Any | None = None,
451
454
  autofocus: bool | None = None,
452
455
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -490,6 +493,7 @@ class Noscript(BaseHTML):
490
493
  style: The style of the component.
491
494
  key: A unique key for the component.
492
495
  id: The id for the component.
496
+ ref: The Var to pass as the ref to the component.
493
497
  class_name: The class name for the component.
494
498
  autofocus: Whether the component should take the focus once the page is loaded
495
499
  custom_attrs: custom attribute
@@ -725,6 +729,7 @@ class Script(BaseHTML):
725
729
  | None = None,
726
730
  key: Any | None = None,
727
731
  id: Any | None = None,
732
+ ref: Var | None = None,
728
733
  class_name: Any | None = None,
729
734
  autofocus: bool | None = None,
730
735
  custom_attrs: dict[str, Var | Any] | None = None,
@@ -776,6 +781,7 @@ class Script(BaseHTML):
776
781
  style: The style of the component.
777
782
  key: A unique key for the component.
778
783
  id: The id for the component.
784
+ ref: The Var to pass as the ref to the component.
779
785
  class_name: The class name for the component.
780
786
  autofocus: Whether the component should take the focus once the page is loaded
781
787
  custom_attrs: custom attribute