reflex 0.8.4a2__py3-none-any.whl → 0.8.5a1__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 (141) hide show
  1. reflex/__init__.py +2 -9
  2. reflex/__init__.pyi +4 -2
  3. reflex/app.py +16 -10
  4. reflex/compiler/compiler.py +10 -3
  5. reflex/components/base/app_wrap.pyi +0 -1
  6. reflex/components/base/body.pyi +0 -2
  7. reflex/components/base/document.pyi +0 -12
  8. reflex/components/base/error_boundary.pyi +0 -2
  9. reflex/components/base/fragment.pyi +0 -2
  10. reflex/components/base/link.pyi +0 -4
  11. reflex/components/base/meta.pyi +0 -6
  12. reflex/components/base/script.py +0 -2
  13. reflex/components/base/script.pyi +0 -2
  14. reflex/components/base/strict_mode.pyi +0 -2
  15. reflex/components/component.py +2 -30
  16. reflex/components/core/auto_scroll.pyi +0 -2
  17. reflex/components/core/banner.pyi +0 -10
  18. reflex/components/core/client_side_routing.pyi +0 -2
  19. reflex/components/core/clipboard.py +1 -3
  20. reflex/components/core/clipboard.pyi +0 -2
  21. reflex/components/core/cond.py +0 -2
  22. reflex/components/core/debounce.pyi +0 -1
  23. reflex/components/core/helmet.pyi +0 -2
  24. reflex/components/core/html.pyi +0 -2
  25. reflex/components/core/match.py +1 -2
  26. reflex/components/core/sticky.pyi +0 -4
  27. reflex/components/core/upload.pyi +0 -10
  28. reflex/components/core/window_events.pyi +0 -2
  29. reflex/components/datadisplay/code.py +6 -4
  30. reflex/components/datadisplay/code.pyi +0 -4
  31. reflex/components/datadisplay/dataeditor.pyi +0 -2
  32. reflex/components/datadisplay/shiki_code_block.pyi +0 -6
  33. reflex/components/el/element.pyi +0 -2
  34. reflex/components/el/elements/base.pyi +0 -2
  35. reflex/components/el/elements/forms.py +5 -21
  36. reflex/components/el/elements/forms.pyi +0 -38
  37. reflex/components/el/elements/inline.pyi +0 -56
  38. reflex/components/el/elements/media.pyi +0 -52
  39. reflex/components/el/elements/metadata.pyi +0 -12
  40. reflex/components/el/elements/other.pyi +0 -14
  41. reflex/components/el/elements/scripts.pyi +0 -6
  42. reflex/components/el/elements/sectioning.pyi +0 -30
  43. reflex/components/el/elements/tables.pyi +0 -20
  44. reflex/components/el/elements/typography.pyi +0 -32
  45. reflex/components/gridjs/datatable.pyi +0 -4
  46. reflex/components/lucide/icon.py +12 -1
  47. reflex/components/lucide/icon.pyi +12 -7
  48. reflex/components/markdown/markdown.pyi +0 -2
  49. reflex/components/moment/moment.pyi +0 -2
  50. reflex/components/plotly/plotly.py +25 -17
  51. reflex/components/plotly/plotly.pyi +0 -18
  52. reflex/components/radix/primitives/accordion.pyi +0 -14
  53. reflex/components/radix/primitives/base.pyi +0 -4
  54. reflex/components/radix/primitives/drawer.pyi +0 -22
  55. reflex/components/radix/primitives/form.pyi +0 -20
  56. reflex/components/radix/primitives/progress.pyi +0 -10
  57. reflex/components/radix/primitives/slider.pyi +0 -10
  58. reflex/components/radix/themes/base.py +2 -4
  59. reflex/components/radix/themes/base.pyi +0 -15
  60. reflex/components/radix/themes/color_mode.pyi +0 -5
  61. reflex/components/radix/themes/components/alert_dialog.pyi +0 -11
  62. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  63. reflex/components/radix/themes/components/avatar.pyi +0 -2
  64. reflex/components/radix/themes/components/badge.pyi +0 -2
  65. reflex/components/radix/themes/components/button.pyi +0 -2
  66. reflex/components/radix/themes/components/callout.pyi +0 -10
  67. reflex/components/radix/themes/components/card.pyi +0 -2
  68. reflex/components/radix/themes/components/checkbox.pyi +0 -6
  69. reflex/components/radix/themes/components/checkbox_cards.pyi +0 -4
  70. reflex/components/radix/themes/components/checkbox_group.pyi +0 -4
  71. reflex/components/radix/themes/components/context_menu.pyi +0 -26
  72. reflex/components/radix/themes/components/data_list.pyi +0 -8
  73. reflex/components/radix/themes/components/dialog.pyi +0 -12
  74. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -14
  75. reflex/components/radix/themes/components/hover_card.pyi +0 -7
  76. reflex/components/radix/themes/components/icon_button.pyi +0 -2
  77. reflex/components/radix/themes/components/inset.pyi +0 -2
  78. reflex/components/radix/themes/components/popover.pyi +0 -6
  79. reflex/components/radix/themes/components/progress.pyi +0 -2
  80. reflex/components/radix/themes/components/radio.pyi +0 -2
  81. reflex/components/radix/themes/components/radio_cards.pyi +0 -4
  82. reflex/components/radix/themes/components/radio_group.pyi +0 -8
  83. reflex/components/radix/themes/components/scroll_area.pyi +0 -2
  84. reflex/components/radix/themes/components/segmented_control.pyi +0 -4
  85. reflex/components/radix/themes/components/select.pyi +0 -18
  86. reflex/components/radix/themes/components/separator.pyi +0 -2
  87. reflex/components/radix/themes/components/skeleton.pyi +0 -2
  88. reflex/components/radix/themes/components/slider.pyi +0 -2
  89. reflex/components/radix/themes/components/spinner.pyi +0 -2
  90. reflex/components/radix/themes/components/switch.pyi +0 -2
  91. reflex/components/radix/themes/components/table.pyi +0 -14
  92. reflex/components/radix/themes/components/tabs.pyi +0 -10
  93. reflex/components/radix/themes/components/text_area.pyi +0 -2
  94. reflex/components/radix/themes/components/text_field.pyi +0 -6
  95. reflex/components/radix/themes/components/tooltip.pyi +0 -2
  96. reflex/components/radix/themes/layout/base.pyi +0 -2
  97. reflex/components/radix/themes/layout/box.pyi +0 -2
  98. reflex/components/radix/themes/layout/center.pyi +0 -2
  99. reflex/components/radix/themes/layout/container.pyi +0 -1
  100. reflex/components/radix/themes/layout/flex.pyi +0 -2
  101. reflex/components/radix/themes/layout/grid.pyi +0 -2
  102. reflex/components/radix/themes/layout/list.pyi +0 -10
  103. reflex/components/radix/themes/layout/section.pyi +0 -2
  104. reflex/components/radix/themes/layout/spacer.pyi +0 -2
  105. reflex/components/radix/themes/layout/stack.pyi +0 -6
  106. reflex/components/radix/themes/typography/blockquote.pyi +0 -2
  107. reflex/components/radix/themes/typography/code.pyi +0 -2
  108. reflex/components/radix/themes/typography/heading.pyi +0 -2
  109. reflex/components/radix/themes/typography/link.pyi +0 -2
  110. reflex/components/radix/themes/typography/text.pyi +0 -14
  111. reflex/components/react_player/audio.pyi +0 -2
  112. reflex/components/react_player/react_player.pyi +0 -2
  113. reflex/components/react_player/video.pyi +0 -2
  114. reflex/components/react_router/dom.pyi +0 -2
  115. reflex/components/recharts/cartesian.pyi +0 -38
  116. reflex/components/recharts/charts.pyi +0 -24
  117. reflex/components/recharts/general.pyi +0 -12
  118. reflex/components/recharts/polar.pyi +0 -12
  119. reflex/components/recharts/recharts.pyi +0 -4
  120. reflex/components/sonner/toast.pyi +0 -2
  121. reflex/components/tags/cond_tag.py +4 -3
  122. reflex/components/tags/iter_tag.py +1 -1
  123. reflex/components/tags/match_tag.py +3 -2
  124. reflex/components/tags/tag.py +39 -40
  125. reflex/constants/compiler.py +0 -8
  126. reflex/constants/installer.py +5 -5
  127. reflex/event.py +77 -15
  128. reflex/page.py +62 -4
  129. reflex/reflex.py +2 -5
  130. reflex/utils/net.py +7 -2
  131. reflex/utils/prerequisites.py +8 -71
  132. reflex/utils/processes.py +6 -6
  133. {reflex-0.8.4a2.dist-info → reflex-0.8.5a1.dist-info}/METADATA +2 -2
  134. {reflex-0.8.4a2.dist-info → reflex-0.8.5a1.dist-info}/RECORD +137 -141
  135. reflex/components/el/constants/__init__.py +0 -5
  136. reflex/components/el/constants/html.py +0 -343
  137. reflex/components/el/constants/react.py +0 -501
  138. reflex/components/el/constants/reflex.py +0 -51
  139. {reflex-0.8.4a2.dist-info → reflex-0.8.5a1.dist-info}/WHEEL +0 -0
  140. {reflex-0.8.4a2.dist-info → reflex-0.8.5a1.dist-info}/entry_points.txt +0 -0
  141. {reflex-0.8.4a2.dist-info → reflex-0.8.5a1.dist-info}/licenses/LICENSE +0 -0
@@ -27,7 +27,6 @@ class DrawerComponent(RadixPrimitiveComponent):
27
27
  id: Any | None = None,
28
28
  ref: Var | None = None,
29
29
  class_name: Any | None = None,
30
- autofocus: bool | None = None,
31
30
  custom_attrs: dict[str, Var | Any] | None = None,
32
31
  on_blur: EventType[()] | None = None,
33
32
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -57,7 +56,6 @@ class DrawerComponent(RadixPrimitiveComponent):
57
56
  id: The id for the component.
58
57
  ref: The Var to pass as the ref to the component.
59
58
  class_name: The class name for the component.
60
- autofocus: Whether the component should take the focus once the page is loaded
61
59
  custom_attrs: custom attribute
62
60
  **props: The props of the component.
63
61
 
@@ -96,7 +94,6 @@ class DrawerRoot(DrawerComponent):
96
94
  id: Any | None = None,
97
95
  ref: Var | None = None,
98
96
  class_name: Any | None = None,
99
- autofocus: bool | None = None,
100
97
  custom_attrs: dict[str, Var | Any] | None = None,
101
98
  on_animation_end: EventType[()] | EventType[bool] | None = None,
102
99
  on_blur: EventType[()] | None = None,
@@ -142,7 +139,6 @@ class DrawerRoot(DrawerComponent):
142
139
  id: The id for the component.
143
140
  ref: The Var to pass as the ref to the component.
144
141
  class_name: The class name for the component.
145
- autofocus: Whether the component should take the focus once the page is loaded
146
142
  custom_attrs: custom attribute
147
143
  **props: The props of the component.
148
144
 
@@ -165,7 +161,6 @@ class DrawerTrigger(DrawerComponent):
165
161
  id: Any | None = None,
166
162
  ref: Var | None = None,
167
163
  class_name: Any | None = None,
168
- autofocus: bool | None = None,
169
164
  custom_attrs: dict[str, Var | Any] | None = None,
170
165
  on_blur: EventType[()] | None = None,
171
166
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -195,7 +190,6 @@ class DrawerTrigger(DrawerComponent):
195
190
  id: The id for the component.
196
191
  ref: The Var to pass as the ref to the component.
197
192
  class_name: The class name for the component.
198
- autofocus: Whether the component should take the focus once the page is loaded
199
193
  custom_attrs: custom attribute
200
194
  **props: The properties of the element.
201
195
 
@@ -218,7 +212,6 @@ class DrawerPortal(DrawerComponent):
218
212
  id: Any | None = None,
219
213
  ref: Var | None = None,
220
214
  class_name: Any | None = None,
221
- autofocus: bool | None = None,
222
215
  custom_attrs: dict[str, Var | Any] | None = None,
223
216
  on_blur: EventType[()] | None = None,
224
217
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -248,7 +241,6 @@ class DrawerPortal(DrawerComponent):
248
241
  id: The id for the component.
249
242
  ref: The Var to pass as the ref to the component.
250
243
  class_name: The class name for the component.
251
- autofocus: Whether the component should take the focus once the page is loaded
252
244
  custom_attrs: custom attribute
253
245
  **props: The props of the component.
254
246
 
@@ -271,7 +263,6 @@ class DrawerContent(DrawerComponent):
271
263
  id: Any | None = None,
272
264
  ref: Var | None = None,
273
265
  class_name: Any | None = None,
274
- autofocus: bool | None = None,
275
266
  custom_attrs: dict[str, Var | Any] | None = None,
276
267
  on_blur: EventType[()] | None = None,
277
268
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -310,7 +301,6 @@ class DrawerContent(DrawerComponent):
310
301
  id: The id for the component.
311
302
  ref: The Var to pass as the ref to the component.
312
303
  class_name: The class name for the component.
313
- autofocus: Whether the component should take the focus once the page is loaded
314
304
  custom_attrs: custom attribute
315
305
  **props: Additional properties to apply to the drawer content.
316
306
 
@@ -333,7 +323,6 @@ class DrawerOverlay(DrawerComponent):
333
323
  id: Any | None = None,
334
324
  ref: Var | None = None,
335
325
  class_name: Any | None = None,
336
- autofocus: bool | None = None,
337
326
  custom_attrs: dict[str, Var | Any] | None = None,
338
327
  on_blur: EventType[()] | None = None,
339
328
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -363,7 +352,6 @@ class DrawerOverlay(DrawerComponent):
363
352
  id: The id for the component.
364
353
  ref: The Var to pass as the ref to the component.
365
354
  class_name: The class name for the component.
366
- autofocus: Whether the component should take the focus once the page is loaded
367
355
  custom_attrs: custom attribute
368
356
  **props: The props of the component.
369
357
 
@@ -386,7 +374,6 @@ class DrawerClose(DrawerTrigger):
386
374
  id: Any | None = None,
387
375
  ref: Var | None = None,
388
376
  class_name: Any | None = None,
389
- autofocus: bool | None = None,
390
377
  custom_attrs: dict[str, Var | Any] | None = None,
391
378
  on_blur: EventType[()] | None = None,
392
379
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -416,7 +403,6 @@ class DrawerClose(DrawerTrigger):
416
403
  id: The id for the component.
417
404
  ref: The Var to pass as the ref to the component.
418
405
  class_name: The class name for the component.
419
- autofocus: Whether the component should take the focus once the page is loaded
420
406
  custom_attrs: custom attribute
421
407
  **props: The properties of the element.
422
408
 
@@ -439,7 +425,6 @@ class DrawerTitle(DrawerComponent):
439
425
  id: Any | None = None,
440
426
  ref: Var | None = None,
441
427
  class_name: Any | None = None,
442
- autofocus: bool | None = None,
443
428
  custom_attrs: dict[str, Var | Any] | None = None,
444
429
  on_blur: EventType[()] | None = None,
445
430
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -469,7 +454,6 @@ class DrawerTitle(DrawerComponent):
469
454
  id: The id for the component.
470
455
  ref: The Var to pass as the ref to the component.
471
456
  class_name: The class name for the component.
472
- autofocus: Whether the component should take the focus once the page is loaded
473
457
  custom_attrs: custom attribute
474
458
  **props: The props of the component.
475
459
 
@@ -492,7 +476,6 @@ class DrawerDescription(DrawerComponent):
492
476
  id: Any | None = None,
493
477
  ref: Var | None = None,
494
478
  class_name: Any | None = None,
495
- autofocus: bool | None = None,
496
479
  custom_attrs: dict[str, Var | Any] | None = None,
497
480
  on_blur: EventType[()] | None = None,
498
481
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -522,7 +505,6 @@ class DrawerDescription(DrawerComponent):
522
505
  id: The id for the component.
523
506
  ref: The Var to pass as the ref to the component.
524
507
  class_name: The class name for the component.
525
- autofocus: Whether the component should take the focus once the page is loaded
526
508
  custom_attrs: custom attribute
527
509
  **props: The props of the component.
528
510
 
@@ -545,7 +527,6 @@ class DrawerHandle(DrawerComponent):
545
527
  id: Any | None = None,
546
528
  ref: Var | None = None,
547
529
  class_name: Any | None = None,
548
- autofocus: bool | None = None,
549
530
  custom_attrs: dict[str, Var | Any] | None = None,
550
531
  on_blur: EventType[()] | None = None,
551
532
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -575,7 +556,6 @@ class DrawerHandle(DrawerComponent):
575
556
  id: The id for the component.
576
557
  ref: The Var to pass as the ref to the component.
577
558
  class_name: The class name for the component.
578
- autofocus: Whether the component should take the focus once the page is loaded
579
559
  custom_attrs: custom attribute
580
560
  **props: The props of the component.
581
561
 
@@ -621,7 +601,6 @@ class Drawer(ComponentNamespace):
621
601
  id: Any | None = None,
622
602
  ref: Var | None = None,
623
603
  class_name: Any | None = None,
624
- autofocus: bool | None = None,
625
604
  custom_attrs: dict[str, Var | Any] | None = None,
626
605
  on_animation_end: EventType[()] | EventType[bool] | None = None,
627
606
  on_blur: EventType[()] | None = None,
@@ -667,7 +646,6 @@ class Drawer(ComponentNamespace):
667
646
  id: The id for the component.
668
647
  ref: The Var to pass as the ref to the component.
669
648
  class_name: The class name for the component.
670
- autofocus: Whether the component should take the focus once the page is loaded
671
649
  custom_attrs: custom attribute
672
650
  **props: The props of the component.
673
651
 
@@ -29,7 +29,6 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
29
29
  id: Any | None = None,
30
30
  ref: Var | None = None,
31
31
  class_name: Any | None = None,
32
- autofocus: bool | None = None,
33
32
  custom_attrs: dict[str, Var | Any] | None = None,
34
33
  on_blur: EventType[()] | None = None,
35
34
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -59,7 +58,6 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
59
58
  id: The id for the component.
60
59
  ref: The Var to pass as the ref to the component.
61
60
  class_name: The class name for the component.
62
- autofocus: Whether the component should take the focus once the page is loaded
63
61
  custom_attrs: custom attribute
64
62
  **props: The props of the component.
65
63
 
@@ -272,7 +270,6 @@ class FormRoot(FormComponent, HTMLForm):
272
270
  id: Any | None = None,
273
271
  ref: Var | None = None,
274
272
  class_name: Any | None = None,
275
- autofocus: bool | None = None,
276
273
  custom_attrs: dict[str, Var | Any] | None = None,
277
274
  on_blur: EventType[()] | None = None,
278
275
  on_clear_server_errors: EventType[()] | None = None,
@@ -336,7 +333,6 @@ class FormRoot(FormComponent, HTMLForm):
336
333
  id: The id for the component.
337
334
  ref: The Var to pass as the ref to the component.
338
335
  class_name: The class name for the component.
339
- autofocus: Whether the component should take the focus once the page is loaded
340
336
  custom_attrs: custom attribute
341
337
  **props: The properties of the form.
342
338
 
@@ -362,7 +358,6 @@ class FormField(FormComponent):
362
358
  id: Any | None = None,
363
359
  ref: Var | None = None,
364
360
  class_name: Any | None = None,
365
- autofocus: bool | None = None,
366
361
  custom_attrs: dict[str, Var | Any] | None = None,
367
362
  on_blur: EventType[()] | None = None,
368
363
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -394,7 +389,6 @@ class FormField(FormComponent):
394
389
  id: The id for the component.
395
390
  ref: The Var to pass as the ref to the component.
396
391
  class_name: The class name for the component.
397
- autofocus: Whether the component should take the focus once the page is loaded
398
392
  custom_attrs: custom attribute
399
393
  **props: The props of the component.
400
394
 
@@ -418,7 +412,6 @@ class FormLabel(FormComponent):
418
412
  id: Any | None = None,
419
413
  ref: Var | None = None,
420
414
  class_name: Any | None = None,
421
- autofocus: bool | None = None,
422
415
  custom_attrs: dict[str, Var | Any] | None = None,
423
416
  on_blur: EventType[()] | None = None,
424
417
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -448,7 +441,6 @@ class FormLabel(FormComponent):
448
441
  id: The id for the component.
449
442
  ref: The Var to pass as the ref to the component.
450
443
  class_name: The class name for the component.
451
- autofocus: Whether the component should take the focus once the page is loaded
452
444
  custom_attrs: custom attribute
453
445
  **props: The props of the component.
454
446
 
@@ -471,7 +463,6 @@ class FormControl(FormComponent):
471
463
  id: Any | None = None,
472
464
  ref: Var | None = None,
473
465
  class_name: Any | None = None,
474
- autofocus: bool | None = None,
475
466
  custom_attrs: dict[str, Var | Any] | None = None,
476
467
  on_blur: EventType[()] | None = None,
477
468
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -501,7 +492,6 @@ class FormControl(FormComponent):
501
492
  id: The id for the component.
502
493
  ref: The Var to pass as the ref to the component.
503
494
  class_name: The class name for the component.
504
- autofocus: Whether the component should take the focus once the page is loaded
505
495
  custom_attrs: custom attribute
506
496
  **props: The properties of the form.
507
497
 
@@ -571,7 +561,6 @@ class FormMessage(FormComponent):
571
561
  id: Any | None = None,
572
562
  ref: Var | None = None,
573
563
  class_name: Any | None = None,
574
- autofocus: bool | None = None,
575
564
  custom_attrs: dict[str, Var | Any] | None = None,
576
565
  on_blur: EventType[()] | None = None,
577
566
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -604,7 +593,6 @@ class FormMessage(FormComponent):
604
593
  id: The id for the component.
605
594
  ref: The Var to pass as the ref to the component.
606
595
  class_name: The class name for the component.
607
- autofocus: Whether the component should take the focus once the page is loaded
608
596
  custom_attrs: custom attribute
609
597
  **props: The props of the component.
610
598
 
@@ -627,7 +615,6 @@ class FormValidityState(FormComponent):
627
615
  id: Any | None = None,
628
616
  ref: Var | None = None,
629
617
  class_name: Any | None = None,
630
- autofocus: bool | None = None,
631
618
  custom_attrs: dict[str, Var | Any] | None = None,
632
619
  on_blur: EventType[()] | None = None,
633
620
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -657,7 +644,6 @@ class FormValidityState(FormComponent):
657
644
  id: The id for the component.
658
645
  ref: The Var to pass as the ref to the component.
659
646
  class_name: The class name for the component.
660
- autofocus: Whether the component should take the focus once the page is loaded
661
647
  custom_attrs: custom attribute
662
648
  **props: The props of the component.
663
649
 
@@ -680,7 +666,6 @@ class FormSubmit(FormComponent):
680
666
  id: Any | None = None,
681
667
  ref: Var | None = None,
682
668
  class_name: Any | None = None,
683
- autofocus: bool | None = None,
684
669
  custom_attrs: dict[str, Var | Any] | None = None,
685
670
  on_blur: EventType[()] | None = None,
686
671
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -710,7 +695,6 @@ class FormSubmit(FormComponent):
710
695
  id: The id for the component.
711
696
  ref: The Var to pass as the ref to the component.
712
697
  class_name: The class name for the component.
713
- autofocus: Whether the component should take the focus once the page is loaded
714
698
  custom_attrs: custom attribute
715
699
  **props: The props of the component.
716
700
 
@@ -922,7 +906,6 @@ class Form(FormRoot):
922
906
  id: Any | None = None,
923
907
  ref: Var | None = None,
924
908
  class_name: Any | None = None,
925
- autofocus: bool | None = None,
926
909
  custom_attrs: dict[str, Var | Any] | None = None,
927
910
  on_blur: EventType[()] | None = None,
928
911
  on_clear_server_errors: EventType[()] | None = None,
@@ -986,7 +969,6 @@ class Form(FormRoot):
986
969
  id: The id for the component.
987
970
  ref: The Var to pass as the ref to the component.
988
971
  class_name: The class name for the component.
989
- autofocus: Whether the component should take the focus once the page is loaded
990
972
  custom_attrs: custom attribute
991
973
  **props: The properties of the form.
992
974
 
@@ -1205,7 +1187,6 @@ class FormNamespace(ComponentNamespace):
1205
1187
  id: Any | None = None,
1206
1188
  ref: Var | None = None,
1207
1189
  class_name: Any | None = None,
1208
- autofocus: bool | None = None,
1209
1190
  custom_attrs: dict[str, Var | Any] | None = None,
1210
1191
  on_blur: EventType[()] | None = None,
1211
1192
  on_clear_server_errors: EventType[()] | None = None,
@@ -1269,7 +1250,6 @@ class FormNamespace(ComponentNamespace):
1269
1250
  id: The id for the component.
1270
1251
  ref: The Var to pass as the ref to the component.
1271
1252
  class_name: The class name for the component.
1272
- autofocus: Whether the component should take the focus once the page is loaded
1273
1253
  custom_attrs: custom attribute
1274
1254
  **props: The properties of the form.
1275
1255
 
@@ -27,7 +27,6 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
27
27
  id: Any | None = None,
28
28
  ref: Var | None = None,
29
29
  class_name: Any | None = None,
30
- autofocus: bool | None = None,
31
30
  custom_attrs: dict[str, Var | Any] | None = None,
32
31
  on_blur: EventType[()] | None = None,
33
32
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -57,7 +56,6 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
57
56
  id: The id for the component.
58
57
  ref: The Var to pass as the ref to the component.
59
58
  class_name: The class name for the component.
60
- autofocus: Whether the component should take the focus once the page is loaded
61
59
  custom_attrs: custom attribute
62
60
  **props: The props of the component.
63
61
 
@@ -84,7 +82,6 @@ class ProgressRoot(ProgressComponent):
84
82
  id: Any | None = None,
85
83
  ref: Var | None = None,
86
84
  class_name: Any | None = None,
87
- autofocus: bool | None = None,
88
85
  custom_attrs: dict[str, Var | Any] | None = None,
89
86
  on_blur: EventType[()] | None = None,
90
87
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -115,7 +112,6 @@ class ProgressRoot(ProgressComponent):
115
112
  id: The id for the component.
116
113
  ref: The Var to pass as the ref to the component.
117
114
  class_name: The class name for the component.
118
- autofocus: Whether the component should take the focus once the page is loaded
119
115
  custom_attrs: custom attribute
120
116
  **props: The props of the component.
121
117
 
@@ -200,7 +196,6 @@ class ProgressIndicator(ProgressComponent):
200
196
  id: Any | None = None,
201
197
  ref: Var | None = None,
202
198
  class_name: Any | None = None,
203
- autofocus: bool | None = None,
204
199
  custom_attrs: dict[str, Var | Any] | None = None,
205
200
  on_blur: EventType[()] | None = None,
206
201
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -233,7 +228,6 @@ class ProgressIndicator(ProgressComponent):
233
228
  id: The id for the component.
234
229
  ref: The Var to pass as the ref to the component.
235
230
  class_name: The class name for the component.
236
- autofocus: Whether the component should take the focus once the page is loaded
237
231
  custom_attrs: custom attribute
238
232
  **props: The props of the component.
239
233
 
@@ -320,7 +314,6 @@ class Progress(ProgressRoot):
320
314
  id: Any | None = None,
321
315
  ref: Var | None = None,
322
316
  class_name: Any | None = None,
323
- autofocus: bool | None = None,
324
317
  custom_attrs: dict[str, Var | Any] | None = None,
325
318
  on_blur: EventType[()] | None = None,
326
319
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -353,7 +346,6 @@ class Progress(ProgressRoot):
353
346
  id: The id for the component.
354
347
  ref: The Var to pass as the ref to the component.
355
348
  class_name: The class name for the component.
356
- autofocus: Whether the component should take the focus once the page is loaded
357
349
  custom_attrs: custom attribute
358
350
  **props: The props of the progress bar.
359
351
 
@@ -442,7 +434,6 @@ class ProgressNamespace(ComponentNamespace):
442
434
  id: Any | None = None,
443
435
  ref: Var | None = None,
444
436
  class_name: Any | None = None,
445
- autofocus: bool | None = None,
446
437
  custom_attrs: dict[str, Var | Any] | None = None,
447
438
  on_blur: EventType[()] | None = None,
448
439
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -475,7 +466,6 @@ class ProgressNamespace(ComponentNamespace):
475
466
  id: The id for the component.
476
467
  ref: The Var to pass as the ref to the component.
477
468
  class_name: The class name for the component.
478
- autofocus: Whether the component should take the focus once the page is loaded
479
469
  custom_attrs: custom attribute
480
470
  **props: The props of the progress bar.
481
471
 
@@ -30,7 +30,6 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
30
30
  id: Any | None = None,
31
31
  ref: Var | None = None,
32
32
  class_name: Any | None = None,
33
- autofocus: bool | None = None,
34
33
  custom_attrs: dict[str, Var | Any] | None = None,
35
34
  on_blur: EventType[()] | None = None,
36
35
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -60,7 +59,6 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
60
59
  id: The id for the component.
61
60
  ref: The Var to pass as the ref to the component.
62
61
  class_name: The class name for the component.
63
- autofocus: Whether the component should take the focus once the page is loaded
64
62
  custom_attrs: custom attribute
65
63
  **props: The props of the component.
66
64
 
@@ -99,7 +97,6 @@ class SliderRoot(SliderComponent):
99
97
  id: Any | None = None,
100
98
  ref: Var | None = None,
101
99
  class_name: Any | None = None,
102
- autofocus: bool | None = None,
103
100
  custom_attrs: dict[str, Var | Any] | None = None,
104
101
  on_blur: EventType[()] | None = None,
105
102
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -133,7 +130,6 @@ class SliderRoot(SliderComponent):
133
130
  id: The id for the component.
134
131
  ref: The Var to pass as the ref to the component.
135
132
  class_name: The class name for the component.
136
- autofocus: Whether the component should take the focus once the page is loaded
137
133
  custom_attrs: custom attribute
138
134
  **props: The props of the component.
139
135
 
@@ -157,7 +153,6 @@ class SliderTrack(SliderComponent):
157
153
  id: Any | None = None,
158
154
  ref: Var | None = None,
159
155
  class_name: Any | None = None,
160
- autofocus: bool | None = None,
161
156
  custom_attrs: dict[str, Var | Any] | None = None,
162
157
  on_blur: EventType[()] | None = None,
163
158
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -187,7 +182,6 @@ class SliderTrack(SliderComponent):
187
182
  id: The id for the component.
188
183
  ref: The Var to pass as the ref to the component.
189
184
  class_name: The class name for the component.
190
- autofocus: Whether the component should take the focus once the page is loaded
191
185
  custom_attrs: custom attribute
192
186
  **props: The props of the component.
193
187
 
@@ -211,7 +205,6 @@ class SliderRange(SliderComponent):
211
205
  id: Any | None = None,
212
206
  ref: Var | None = None,
213
207
  class_name: Any | None = None,
214
- autofocus: bool | None = None,
215
208
  custom_attrs: dict[str, Var | Any] | None = None,
216
209
  on_blur: EventType[()] | None = None,
217
210
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -241,7 +234,6 @@ class SliderRange(SliderComponent):
241
234
  id: The id for the component.
242
235
  ref: The Var to pass as the ref to the component.
243
236
  class_name: The class name for the component.
244
- autofocus: Whether the component should take the focus once the page is loaded
245
237
  custom_attrs: custom attribute
246
238
  **props: The props of the component.
247
239
 
@@ -265,7 +257,6 @@ class SliderThumb(SliderComponent):
265
257
  id: Any | None = None,
266
258
  ref: Var | None = None,
267
259
  class_name: Any | None = None,
268
- autofocus: bool | None = None,
269
260
  custom_attrs: dict[str, Var | Any] | None = None,
270
261
  on_blur: EventType[()] | None = None,
271
262
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -295,7 +286,6 @@ class SliderThumb(SliderComponent):
295
286
  id: The id for the component.
296
287
  ref: The Var to pass as the ref to the component.
297
288
  class_name: The class name for the component.
298
- autofocus: Whether the component should take the focus once the page is loaded
299
289
  custom_attrs: custom attribute
300
290
  **props: The props of the component.
301
291
 
@@ -246,13 +246,11 @@ class Theme(RadixThemesComponent):
246
246
 
247
247
  def _render(self, props: dict[str, Any] | None = None) -> Tag:
248
248
  tag = super()._render(props)
249
- tag.add_props(
249
+ return tag.add_props(
250
250
  css=Var(
251
251
  _js_expr="{...theme.styles.global[':root'], ...theme.styles.global.body}"
252
252
  ),
253
- )
254
- tag.remove_props("appearance")
255
- return tag
253
+ ).remove_props("appearance")
256
254
 
257
255
 
258
256
  class ThemePanel(RadixThemesComponent):
@@ -85,7 +85,6 @@ class CommonMarginProps(Component):
85
85
  id: Any | None = None,
86
86
  ref: Var | None = None,
87
87
  class_name: Any | None = None,
88
- autofocus: bool | None = None,
89
88
  custom_attrs: dict[str, Var | Any] | None = None,
90
89
  on_blur: EventType[()] | None = None,
91
90
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -121,7 +120,6 @@ class CommonMarginProps(Component):
121
120
  id: The id for the component.
122
121
  ref: The Var to pass as the ref to the component.
123
122
  class_name: The class name for the component.
124
- autofocus: Whether the component should take the focus once the page is loaded
125
123
  custom_attrs: custom attribute
126
124
  **props: The props of the component.
127
125
 
@@ -192,7 +190,6 @@ class CommonPaddingProps(Component):
192
190
  id: Any | None = None,
193
191
  ref: Var | None = None,
194
192
  class_name: Any | None = None,
195
- autofocus: bool | None = None,
196
193
  custom_attrs: dict[str, Var | Any] | None = None,
197
194
  on_blur: EventType[()] | None = None,
198
195
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -228,7 +225,6 @@ class CommonPaddingProps(Component):
228
225
  id: The id for the component.
229
226
  ref: The Var to pass as the ref to the component.
230
227
  class_name: The class name for the component.
231
- autofocus: Whether the component should take the focus once the page is loaded
232
228
  custom_attrs: custom attribute
233
229
  **props: The props of the component.
234
230
 
@@ -251,7 +247,6 @@ class RadixLoadingProp(Component):
251
247
  id: Any | None = None,
252
248
  ref: Var | None = None,
253
249
  class_name: Any | None = None,
254
- autofocus: bool | None = None,
255
250
  custom_attrs: dict[str, Var | Any] | None = None,
256
251
  on_blur: EventType[()] | None = None,
257
252
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -281,7 +276,6 @@ class RadixLoadingProp(Component):
281
276
  id: The id for the component.
282
277
  ref: The Var to pass as the ref to the component.
283
278
  class_name: The class name for the component.
284
- autofocus: Whether the component should take the focus once the page is loaded
285
279
  custom_attrs: custom attribute
286
280
  **props: The props of the component.
287
281
 
@@ -303,7 +297,6 @@ class RadixThemesComponent(Component):
303
297
  id: Any | None = None,
304
298
  ref: Var | None = None,
305
299
  class_name: Any | None = None,
306
- autofocus: bool | None = None,
307
300
  custom_attrs: dict[str, Var | Any] | None = None,
308
301
  on_blur: EventType[()] | None = None,
309
302
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -335,7 +328,6 @@ class RadixThemesComponent(Component):
335
328
  id: The id for the component.
336
329
  ref: The Var to pass as the ref to the component.
337
330
  class_name: The class name for the component.
338
- autofocus: Whether the component should take the focus once the page is loaded
339
331
  custom_attrs: custom attribute
340
332
  **props: Component properties.
341
333
 
@@ -357,7 +349,6 @@ class RadixThemesTriggerComponent(RadixThemesComponent):
357
349
  id: Any | None = None,
358
350
  ref: Var | None = None,
359
351
  class_name: Any | None = None,
360
- autofocus: bool | None = None,
361
352
  custom_attrs: dict[str, Var | Any] | None = None,
362
353
  on_blur: EventType[()] | None = None,
363
354
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -478,7 +469,6 @@ class Theme(RadixThemesComponent):
478
469
  id: Any | None = None,
479
470
  ref: Var | None = None,
480
471
  class_name: Any | None = None,
481
- autofocus: bool | None = None,
482
472
  custom_attrs: dict[str, Var | Any] | None = None,
483
473
  on_blur: EventType[()] | None = None,
484
474
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -516,7 +506,6 @@ class Theme(RadixThemesComponent):
516
506
  id: The id for the component.
517
507
  ref: The Var to pass as the ref to the component.
518
508
  class_name: The class name for the component.
519
- autofocus: Whether the component should take the focus once the page is loaded
520
509
  custom_attrs: custom attribute
521
510
  **props: Component properties.
522
511
 
@@ -542,7 +531,6 @@ class ThemePanel(RadixThemesComponent):
542
531
  id: Any | None = None,
543
532
  ref: Var | None = None,
544
533
  class_name: Any | None = None,
545
- autofocus: bool | None = None,
546
534
  custom_attrs: dict[str, Var | Any] | None = None,
547
535
  on_blur: EventType[()] | None = None,
548
536
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -575,7 +563,6 @@ class ThemePanel(RadixThemesComponent):
575
563
  id: The id for the component.
576
564
  ref: The Var to pass as the ref to the component.
577
565
  class_name: The class name for the component.
578
- autofocus: Whether the component should take the focus once the page is loaded
579
566
  custom_attrs: custom attribute
580
567
  **props: Component properties.
581
568
 
@@ -597,7 +584,6 @@ class RadixThemesColorModeProvider(Component):
597
584
  id: Any | None = None,
598
585
  ref: Var | None = None,
599
586
  class_name: Any | None = None,
600
- autofocus: bool | None = None,
601
587
  custom_attrs: dict[str, Var | Any] | None = None,
602
588
  on_blur: EventType[()] | None = None,
603
589
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -626,7 +612,6 @@ class RadixThemesColorModeProvider(Component):
626
612
  id: The id for the component.
627
613
  ref: The Var to pass as the ref to the component.
628
614
  class_name: The class name for the component.
629
- autofocus: Whether the component should take the focus once the page is loaded
630
615
  custom_attrs: custom attribute
631
616
  **props: The props of the component.
632
617
 
@@ -34,7 +34,6 @@ class ColorModeIcon(Cond):
34
34
  id: Any | None = None,
35
35
  ref: Var | None = None,
36
36
  class_name: Any | None = None,
37
- autofocus: bool | None = None,
38
37
  custom_attrs: dict[str, Var | Any] | None = None,
39
38
  on_blur: EventType[()] | None = None,
40
39
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -352,7 +351,6 @@ class ColorModeIconButton(IconButton):
352
351
  id: Any | None = None,
353
352
  ref: Var | None = None,
354
353
  class_name: Any | None = None,
355
- autofocus: bool | None = None,
356
354
  custom_attrs: dict[str, Var | Any] | None = None,
357
355
  on_blur: EventType[()] | None = None,
358
356
  on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
@@ -416,7 +414,6 @@ class ColorModeIconButton(IconButton):
416
414
  id: The id for the component.
417
415
  ref: The Var to pass as the ref to the component.
418
416
  class_name: The class name for the component.
419
- autofocus: Whether the component should take the focus once the page is loaded
420
417
  custom_attrs: custom attribute
421
418
  **props: The props to pass to the component.
422
419
 
@@ -515,7 +512,6 @@ class ColorModeSwitch(Switch):
515
512
  id: Any | None = None,
516
513
  ref: Var | None = None,
517
514
  class_name: Any | None = None,
518
- autofocus: bool | None = None,
519
515
  custom_attrs: dict[str, Var | Any] | None = None,
520
516
  on_blur: EventType[()] | None = None,
521
517
  on_change: EventType[()] | EventType[bool] | None = None,
@@ -558,7 +554,6 @@ class ColorModeSwitch(Switch):
558
554
  id: The id for the component.
559
555
  ref: The Var to pass as the ref to the component.
560
556
  class_name: The class name for the component.
561
- autofocus: Whether the component should take the focus once the page is loaded
562
557
  custom_attrs: custom attribute
563
558
  **props: The props to pass to the component.
564
559