reflex 0.7.4a2__py3-none-any.whl → 0.7.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 (162) hide show
  1. reflex/__init__.py +1 -0
  2. reflex/__init__.pyi +1 -0
  3. reflex/app.py +10 -8
  4. reflex/app_mixins/middleware.py +13 -20
  5. reflex/compiler/compiler.py +10 -3
  6. reflex/compiler/utils.py +4 -4
  7. reflex/components/base/app_wrap.pyi +7 -3
  8. reflex/components/base/body.pyi +7 -3
  9. reflex/components/base/document.pyi +27 -7
  10. reflex/components/base/error_boundary.pyi +7 -3
  11. reflex/components/base/fragment.pyi +7 -3
  12. reflex/components/base/head.pyi +12 -4
  13. reflex/components/base/link.pyi +12 -4
  14. reflex/components/base/meta.pyi +22 -6
  15. reflex/components/base/script.pyi +7 -3
  16. reflex/components/base/strict_mode.pyi +7 -3
  17. reflex/components/component.py +64 -23
  18. reflex/components/core/auto_scroll.pyi +7 -3
  19. reflex/components/core/banner.py +6 -2
  20. reflex/components/core/banner.pyi +32 -8
  21. reflex/components/core/client_side_routing.pyi +12 -4
  22. reflex/components/core/clipboard.pyi +7 -3
  23. reflex/components/core/debounce.pyi +7 -3
  24. reflex/components/core/foreach.py +5 -1
  25. reflex/components/core/html.pyi +7 -3
  26. reflex/components/core/match.py +5 -5
  27. reflex/components/core/sticky.pyi +21 -6
  28. reflex/components/core/upload.pyi +27 -7
  29. reflex/components/datadisplay/code.pyi +12 -4
  30. reflex/components/datadisplay/dataeditor.py +2 -2
  31. reflex/components/datadisplay/dataeditor.pyi +17 -3
  32. reflex/components/datadisplay/shiki_code_block.pyi +17 -4
  33. reflex/components/el/__init__.pyi +1 -1
  34. reflex/components/el/element.pyi +7 -3
  35. reflex/components/el/elements/__init__.py +3 -1
  36. reflex/components/el/elements/__init__.pyi +3 -2
  37. reflex/components/el/elements/base.pyi +7 -3
  38. reflex/components/el/elements/forms.py +1 -1
  39. reflex/components/el/elements/forms.pyi +72 -16
  40. reflex/components/el/elements/inline.pyi +142 -30
  41. reflex/components/el/elements/media.pyi +127 -27
  42. reflex/components/el/elements/metadata.pyi +32 -8
  43. reflex/components/el/elements/other.pyi +37 -9
  44. reflex/components/el/elements/scripts.pyi +17 -5
  45. reflex/components/el/elements/sectioning.pyi +77 -17
  46. reflex/components/el/elements/tables.pyi +52 -12
  47. reflex/components/el/elements/typography.pyi +77 -17
  48. reflex/components/gridjs/datatable.py +2 -2
  49. reflex/components/gridjs/datatable.pyi +12 -4
  50. reflex/components/lucide/icon.py +7 -6
  51. reflex/components/lucide/icon.pyi +22 -7
  52. reflex/components/markdown/markdown.py +1 -1
  53. reflex/components/markdown/markdown.pyi +7 -3
  54. reflex/components/moment/moment.pyi +7 -3
  55. reflex/components/next/base.pyi +7 -3
  56. reflex/components/next/image.pyi +7 -3
  57. reflex/components/next/link.pyi +7 -3
  58. reflex/components/next/video.pyi +7 -3
  59. reflex/components/plotly/plotly.pyi +47 -11
  60. reflex/components/radix/primitives/accordion.pyi +37 -9
  61. reflex/components/radix/primitives/base.pyi +12 -4
  62. reflex/components/radix/primitives/drawer.pyi +57 -13
  63. reflex/components/radix/primitives/form.pyi +52 -12
  64. reflex/components/radix/primitives/progress.pyi +27 -7
  65. reflex/components/radix/primitives/slider.pyi +27 -7
  66. reflex/components/radix/themes/base.pyi +41 -10
  67. reflex/components/radix/themes/color_mode.py +2 -2
  68. reflex/components/radix/themes/color_mode.pyi +17 -5
  69. reflex/components/radix/themes/components/alert_dialog.pyi +36 -9
  70. reflex/components/radix/themes/components/aspect_ratio.pyi +7 -3
  71. reflex/components/radix/themes/components/avatar.pyi +6 -3
  72. reflex/components/radix/themes/components/badge.pyi +6 -3
  73. reflex/components/radix/themes/components/button.pyi +6 -3
  74. reflex/components/radix/themes/components/callout.pyi +26 -7
  75. reflex/components/radix/themes/components/card.pyi +6 -3
  76. reflex/components/radix/themes/components/checkbox.pyi +16 -5
  77. reflex/components/radix/themes/components/checkbox_cards.pyi +11 -4
  78. reflex/components/radix/themes/components/checkbox_group.pyi +11 -4
  79. reflex/components/radix/themes/components/context_menu.pyi +66 -15
  80. reflex/components/radix/themes/components/data_list.pyi +21 -6
  81. reflex/components/radix/themes/components/dialog.pyi +36 -9
  82. reflex/components/radix/themes/components/dropdown_menu.pyi +41 -10
  83. reflex/components/radix/themes/components/hover_card.pyi +21 -6
  84. reflex/components/radix/themes/components/icon_button.pyi +6 -3
  85. reflex/components/radix/themes/components/inset.pyi +6 -3
  86. reflex/components/radix/themes/components/popover.pyi +21 -6
  87. reflex/components/radix/themes/components/progress.pyi +6 -3
  88. reflex/components/radix/themes/components/radio.pyi +6 -3
  89. reflex/components/radix/themes/components/radio_cards.pyi +11 -4
  90. reflex/components/radix/themes/components/radio_group.py +6 -1
  91. reflex/components/radix/themes/components/radio_group.pyi +21 -6
  92. reflex/components/radix/themes/components/scroll_area.pyi +7 -3
  93. reflex/components/radix/themes/components/segmented_control.pyi +11 -4
  94. reflex/components/radix/themes/components/select.pyi +46 -11
  95. reflex/components/radix/themes/components/separator.pyi +6 -3
  96. reflex/components/radix/themes/components/skeleton.pyi +6 -3
  97. reflex/components/radix/themes/components/slider.pyi +6 -3
  98. reflex/components/radix/themes/components/spinner.pyi +6 -3
  99. reflex/components/radix/themes/components/switch.pyi +6 -3
  100. reflex/components/radix/themes/components/table.pyi +36 -9
  101. reflex/components/radix/themes/components/tabs.pyi +26 -7
  102. reflex/components/radix/themes/components/text_area.pyi +6 -3
  103. reflex/components/radix/themes/components/text_field.py +3 -2
  104. reflex/components/radix/themes/components/text_field.pyi +16 -5
  105. reflex/components/radix/themes/components/tooltip.pyi +7 -3
  106. reflex/components/radix/themes/layout/base.pyi +6 -3
  107. reflex/components/radix/themes/layout/box.pyi +7 -3
  108. reflex/components/radix/themes/layout/center.pyi +6 -3
  109. reflex/components/radix/themes/layout/container.pyi +6 -3
  110. reflex/components/radix/themes/layout/flex.pyi +6 -3
  111. reflex/components/radix/themes/layout/grid.pyi +6 -3
  112. reflex/components/radix/themes/layout/list.pyi +27 -7
  113. reflex/components/radix/themes/layout/section.pyi +6 -3
  114. reflex/components/radix/themes/layout/spacer.pyi +6 -3
  115. reflex/components/radix/themes/layout/stack.pyi +16 -5
  116. reflex/components/radix/themes/typography/blockquote.pyi +6 -3
  117. reflex/components/radix/themes/typography/code.pyi +6 -3
  118. reflex/components/radix/themes/typography/heading.pyi +6 -3
  119. reflex/components/radix/themes/typography/link.pyi +6 -3
  120. reflex/components/radix/themes/typography/text.pyi +36 -9
  121. reflex/components/react_player/audio.pyi +7 -3
  122. reflex/components/react_player/react_player.pyi +7 -3
  123. reflex/components/react_player/video.pyi +7 -3
  124. reflex/components/recharts/cartesian.pyi +97 -21
  125. reflex/components/recharts/charts.pyi +62 -14
  126. reflex/components/recharts/general.pyi +32 -8
  127. reflex/components/recharts/polar.py +1 -1
  128. reflex/components/recharts/polar.pyi +33 -9
  129. reflex/components/recharts/recharts.pyi +12 -4
  130. reflex/components/sonner/toast.pyi +7 -2
  131. reflex/components/suneditor/editor.pyi +7 -3
  132. reflex/config.py +18 -1
  133. reflex/constants/installer.py +22 -1
  134. reflex/custom_components/custom_components.py +12 -7
  135. reflex/event.py +26 -10
  136. reflex/experimental/__init__.py +17 -6
  137. reflex/experimental/layout.pyi +27 -7
  138. reflex/model.py +3 -3
  139. reflex/reflex.py +33 -18
  140. reflex/state.py +4 -4
  141. reflex/style.py +2 -2
  142. reflex/testing.py +17 -5
  143. reflex/utils/console.py +2 -3
  144. reflex/utils/exec.py +4 -0
  145. reflex/utils/imports.py +14 -7
  146. reflex/utils/net.py +107 -18
  147. reflex/utils/prerequisites.py +92 -13
  148. reflex/utils/processes.py +52 -19
  149. reflex/utils/pyi_generator.py +66 -53
  150. reflex/utils/redir.py +3 -1
  151. reflex/utils/registry.py +15 -5
  152. reflex/utils/serializers.py +1 -2
  153. reflex/utils/types.py +4 -4
  154. reflex/vars/base.py +58 -22
  155. reflex/vars/number.py +23 -6
  156. reflex/vars/sequence.py +2 -0
  157. {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/METADATA +2 -2
  158. {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/RECORD +162 -162
  159. /reflex/{experimental → utils}/misc.py +0 -0
  160. {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/WHEEL +0 -0
  161. {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/entry_points.txt +0 -0
  162. {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/licenses/LICENSE +0 -0
@@ -3,13 +3,13 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, Sequence, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import Component, ComponentNamespace
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.components.lucide.icon import Icon
10
11
  from reflex.components.radix.primitives.base import RadixPrimitiveComponent
11
12
  from reflex.event import EventType
12
- from reflex.style import Style
13
13
  from reflex.vars.base import Var
14
14
 
15
15
  LiteralAccordionType = Literal["single", "multiple"]
@@ -89,7 +89,11 @@ class AccordionComponent(RadixPrimitiveComponent):
89
89
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
90
90
  | None = None,
91
91
  as_child: Var[bool] | bool | None = None,
92
- style: Style | None = None,
92
+ style: Sequence[Mapping[str, Any]]
93
+ | Mapping[str, Any]
94
+ | Var[Mapping[str, Any]]
95
+ | Breakpoints
96
+ | None = None,
93
97
  key: Any | None = None,
94
98
  id: Any | None = None,
95
99
  class_name: Any | None = None,
@@ -221,7 +225,11 @@ class AccordionRoot(AccordionComponent):
221
225
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
222
226
  | None = None,
223
227
  as_child: Var[bool] | bool | None = None,
224
- style: Style | None = None,
228
+ style: Sequence[Mapping[str, Any]]
229
+ | Mapping[str, Any]
230
+ | Var[Mapping[str, Any]]
231
+ | Breakpoints
232
+ | None = None,
225
233
  key: Any | None = None,
226
234
  id: Any | None = None,
227
235
  class_name: Any | None = None,
@@ -350,7 +358,11 @@ class AccordionItem(AccordionComponent):
350
358
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
351
359
  | None = None,
352
360
  as_child: Var[bool] | bool | None = None,
353
- style: Style | None = None,
361
+ style: Sequence[Mapping[str, Any]]
362
+ | Mapping[str, Any]
363
+ | Var[Mapping[str, Any]]
364
+ | Breakpoints
365
+ | None = None,
354
366
  key: Any | None = None,
355
367
  id: Any | None = None,
356
368
  class_name: Any | None = None,
@@ -468,7 +480,11 @@ class AccordionHeader(AccordionComponent):
468
480
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
469
481
  | None = None,
470
482
  as_child: Var[bool] | bool | None = None,
471
- style: Style | None = None,
483
+ style: Sequence[Mapping[str, Any]]
484
+ | Mapping[str, Any]
485
+ | Var[Mapping[str, Any]]
486
+ | Breakpoints
487
+ | None = None,
472
488
  key: Any | None = None,
473
489
  id: Any | None = None,
474
490
  class_name: Any | None = None,
@@ -582,7 +598,11 @@ class AccordionTrigger(AccordionComponent):
582
598
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
583
599
  | None = None,
584
600
  as_child: Var[bool] | bool | None = None,
585
- style: Style | None = None,
601
+ style: Sequence[Mapping[str, Any]]
602
+ | Mapping[str, Any]
603
+ | Var[Mapping[str, Any]]
604
+ | Breakpoints
605
+ | None = None,
586
606
  key: Any | None = None,
587
607
  id: Any | None = None,
588
608
  class_name: Any | None = None,
@@ -634,7 +654,11 @@ class AccordionIcon(Icon):
634
654
  cls,
635
655
  *children,
636
656
  size: Var[int] | int | None = None,
637
- style: Style | None = None,
657
+ style: Sequence[Mapping[str, Any]]
658
+ | Mapping[str, Any]
659
+ | Var[Mapping[str, Any]]
660
+ | Breakpoints
661
+ | None = None,
638
662
  key: Any | None = None,
639
663
  id: Any | None = None,
640
664
  class_name: Any | None = None,
@@ -745,7 +769,11 @@ class AccordionContent(AccordionComponent):
745
769
  | Var[Literal["classic", "ghost", "outline", "soft", "surface"]]
746
770
  | None = None,
747
771
  as_child: Var[bool] | bool | None = None,
748
- style: Style | None = None,
772
+ style: Sequence[Mapping[str, Any]]
773
+ | Mapping[str, Any]
774
+ | Var[Mapping[str, Any]]
775
+ | Breakpoints
776
+ | None = None,
749
777
  key: Any | None = None,
750
778
  id: Any | None = None,
751
779
  class_name: Any | None = None,
@@ -3,11 +3,11 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Optional, overload
6
+ from typing import Any, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import Component
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.event import EventType
10
- from reflex.style import Style
11
11
  from reflex.vars.base import Var
12
12
 
13
13
  class RadixPrimitiveComponent(Component):
@@ -17,7 +17,11 @@ class RadixPrimitiveComponent(Component):
17
17
  cls,
18
18
  *children,
19
19
  as_child: Var[bool] | bool | None = None,
20
- style: Style | None = None,
20
+ style: Sequence[Mapping[str, Any]]
21
+ | Mapping[str, Any]
22
+ | Var[Mapping[str, Any]]
23
+ | Breakpoints
24
+ | None = None,
21
25
  key: Any | None = None,
22
26
  id: Any | None = None,
23
27
  class_name: Any | None = None,
@@ -65,7 +69,11 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
65
69
  cls,
66
70
  *children,
67
71
  as_child: Var[bool] | bool | None = None,
68
- style: Style | None = None,
72
+ style: Sequence[Mapping[str, Any]]
73
+ | Mapping[str, Any]
74
+ | Var[Mapping[str, Any]]
75
+ | Breakpoints
76
+ | None = None,
69
77
  key: Any | None = None,
70
78
  id: Any | None = None,
71
79
  class_name: Any | None = None,
@@ -3,12 +3,12 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, Sequence, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import ComponentNamespace
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.components.radix.primitives.base import RadixPrimitiveComponent
10
11
  from reflex.event import EventType
11
- from reflex.style import Style
12
12
  from reflex.vars.base import Var
13
13
 
14
14
  class DrawerComponent(RadixPrimitiveComponent):
@@ -18,7 +18,11 @@ class DrawerComponent(RadixPrimitiveComponent):
18
18
  cls,
19
19
  *children,
20
20
  as_child: Var[bool] | bool | None = None,
21
- style: Style | None = None,
21
+ style: Sequence[Mapping[str, Any]]
22
+ | Mapping[str, Any]
23
+ | Var[Mapping[str, Any]]
24
+ | Breakpoints
25
+ | None = None,
22
26
  key: Any | None = None,
23
27
  id: Any | None = None,
24
28
  class_name: Any | None = None,
@@ -82,7 +86,11 @@ class DrawerRoot(DrawerComponent):
82
86
  should_scale_background: Var[bool] | bool | None = None,
83
87
  close_threshold: Var[float] | float | None = None,
84
88
  as_child: Var[bool] | bool | None = None,
85
- style: Style | None = None,
89
+ style: Sequence[Mapping[str, Any]]
90
+ | Mapping[str, Any]
91
+ | Var[Mapping[str, Any]]
92
+ | Breakpoints
93
+ | None = None,
86
94
  key: Any | None = None,
87
95
  id: Any | None = None,
88
96
  class_name: Any | None = None,
@@ -146,7 +154,11 @@ class DrawerTrigger(DrawerComponent):
146
154
  cls,
147
155
  *children,
148
156
  as_child: Var[bool] | bool | None = None,
149
- style: Style | None = None,
157
+ style: Sequence[Mapping[str, Any]]
158
+ | Mapping[str, Any]
159
+ | Var[Mapping[str, Any]]
160
+ | Breakpoints
161
+ | None = None,
150
162
  key: Any | None = None,
151
163
  id: Any | None = None,
152
164
  class_name: Any | None = None,
@@ -194,7 +206,11 @@ class DrawerPortal(DrawerComponent):
194
206
  cls,
195
207
  *children,
196
208
  as_child: Var[bool] | bool | None = None,
197
- style: Style | None = None,
209
+ style: Sequence[Mapping[str, Any]]
210
+ | Mapping[str, Any]
211
+ | Var[Mapping[str, Any]]
212
+ | Breakpoints
213
+ | None = None,
198
214
  key: Any | None = None,
199
215
  id: Any | None = None,
200
216
  class_name: Any | None = None,
@@ -242,7 +258,11 @@ class DrawerContent(DrawerComponent):
242
258
  cls,
243
259
  *children,
244
260
  as_child: Var[bool] | bool | None = None,
245
- style: Style | None = None,
261
+ style: Sequence[Mapping[str, Any]]
262
+ | Mapping[str, Any]
263
+ | Var[Mapping[str, Any]]
264
+ | Breakpoints
265
+ | None = None,
246
266
  key: Any | None = None,
247
267
  id: Any | None = None,
248
268
  class_name: Any | None = None,
@@ -299,7 +319,11 @@ class DrawerOverlay(DrawerComponent):
299
319
  cls,
300
320
  *children,
301
321
  as_child: Var[bool] | bool | None = None,
302
- style: Style | None = None,
322
+ style: Sequence[Mapping[str, Any]]
323
+ | Mapping[str, Any]
324
+ | Var[Mapping[str, Any]]
325
+ | Breakpoints
326
+ | None = None,
303
327
  key: Any | None = None,
304
328
  id: Any | None = None,
305
329
  class_name: Any | None = None,
@@ -347,7 +371,11 @@ class DrawerClose(DrawerTrigger):
347
371
  cls,
348
372
  *children,
349
373
  as_child: Var[bool] | bool | None = None,
350
- style: Style | None = None,
374
+ style: Sequence[Mapping[str, Any]]
375
+ | Mapping[str, Any]
376
+ | Var[Mapping[str, Any]]
377
+ | Breakpoints
378
+ | None = None,
351
379
  key: Any | None = None,
352
380
  id: Any | None = None,
353
381
  class_name: Any | None = None,
@@ -395,7 +423,11 @@ class DrawerTitle(DrawerComponent):
395
423
  cls,
396
424
  *children,
397
425
  as_child: Var[bool] | bool | None = None,
398
- style: Style | None = None,
426
+ style: Sequence[Mapping[str, Any]]
427
+ | Mapping[str, Any]
428
+ | Var[Mapping[str, Any]]
429
+ | Breakpoints
430
+ | None = None,
399
431
  key: Any | None = None,
400
432
  id: Any | None = None,
401
433
  class_name: Any | None = None,
@@ -443,7 +475,11 @@ class DrawerDescription(DrawerComponent):
443
475
  cls,
444
476
  *children,
445
477
  as_child: Var[bool] | bool | None = None,
446
- style: Style | None = None,
478
+ style: Sequence[Mapping[str, Any]]
479
+ | Mapping[str, Any]
480
+ | Var[Mapping[str, Any]]
481
+ | Breakpoints
482
+ | None = None,
447
483
  key: Any | None = None,
448
484
  id: Any | None = None,
449
485
  class_name: Any | None = None,
@@ -491,7 +527,11 @@ class DrawerHandle(DrawerComponent):
491
527
  cls,
492
528
  *children,
493
529
  as_child: Var[bool] | bool | None = None,
494
- style: Style | None = None,
530
+ style: Sequence[Mapping[str, Any]]
531
+ | Mapping[str, Any]
532
+ | Var[Mapping[str, Any]]
533
+ | Breakpoints
534
+ | None = None,
495
535
  key: Any | None = None,
496
536
  id: Any | None = None,
497
537
  class_name: Any | None = None,
@@ -561,7 +601,11 @@ class Drawer(ComponentNamespace):
561
601
  should_scale_background: Var[bool] | bool | None = None,
562
602
  close_threshold: Var[float] | float | None = None,
563
603
  as_child: Var[bool] | bool | None = None,
564
- style: Style | None = None,
604
+ style: Sequence[Mapping[str, Any]]
605
+ | Mapping[str, Any]
606
+ | Var[Mapping[str, Any]]
607
+ | Breakpoints
608
+ | None = None,
565
609
  key: Any | None = None,
566
610
  id: Any | None = None,
567
611
  class_name: Any | None = None,
@@ -3,12 +3,12 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, Union, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, Union, overload
7
7
 
8
8
  from reflex.components.component import ComponentNamespace
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.components.el.elements.forms import Form as HTMLForm
10
11
  from reflex.event import EventType
11
- from reflex.style import Style
12
12
  from reflex.vars.base import Var
13
13
 
14
14
  from .base import RadixPrimitiveComponentWithClassName
@@ -20,7 +20,11 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
20
20
  cls,
21
21
  *children,
22
22
  as_child: Var[bool] | bool | None = None,
23
- style: Style | None = None,
23
+ style: Sequence[Mapping[str, Any]]
24
+ | Mapping[str, Any]
25
+ | Var[Mapping[str, Any]]
26
+ | Breakpoints
27
+ | None = None,
24
28
  key: Any | None = None,
25
29
  id: Any | None = None,
26
30
  class_name: Any | None = None,
@@ -258,7 +262,11 @@ class FormRoot(FormComponent, HTMLForm):
258
262
  spell_check: Var[bool] | bool | None = None,
259
263
  tab_index: Var[int] | int | None = None,
260
264
  title: Var[str] | str | None = None,
261
- style: Style | None = None,
265
+ style: Sequence[Mapping[str, Any]]
266
+ | Mapping[str, Any]
267
+ | Var[Mapping[str, Any]]
268
+ | Breakpoints
269
+ | None = None,
262
270
  key: Any | None = None,
263
271
  id: Any | None = None,
264
272
  class_name: Any | None = None,
@@ -345,7 +353,11 @@ class FormField(FormComponent):
345
353
  name: Var[str] | str | None = None,
346
354
  server_invalid: Var[bool] | bool | None = None,
347
355
  as_child: Var[bool] | bool | None = None,
348
- style: Style | None = None,
356
+ style: Sequence[Mapping[str, Any]]
357
+ | Mapping[str, Any]
358
+ | Var[Mapping[str, Any]]
359
+ | Breakpoints
360
+ | None = None,
349
361
  key: Any | None = None,
350
362
  id: Any | None = None,
351
363
  class_name: Any | None = None,
@@ -396,7 +408,11 @@ class FormLabel(FormComponent):
396
408
  cls,
397
409
  *children,
398
410
  as_child: Var[bool] | bool | None = None,
399
- style: Style | None = None,
411
+ style: Sequence[Mapping[str, Any]]
412
+ | Mapping[str, Any]
413
+ | Var[Mapping[str, Any]]
414
+ | Breakpoints
415
+ | None = None,
400
416
  key: Any | None = None,
401
417
  id: Any | None = None,
402
418
  class_name: Any | None = None,
@@ -444,7 +460,11 @@ class FormControl(FormComponent):
444
460
  cls,
445
461
  *children,
446
462
  as_child: Var[bool] | bool | None = None,
447
- style: Style | None = None,
463
+ style: Sequence[Mapping[str, Any]]
464
+ | Mapping[str, Any]
465
+ | Var[Mapping[str, Any]]
466
+ | Breakpoints
467
+ | None = None,
448
468
  key: Any | None = None,
449
469
  id: Any | None = None,
450
470
  class_name: Any | None = None,
@@ -539,7 +559,11 @@ class FormMessage(FormComponent):
539
559
  | None = None,
540
560
  force_match: Var[bool] | bool | None = None,
541
561
  as_child: Var[bool] | bool | None = None,
542
- style: Style | None = None,
562
+ style: Sequence[Mapping[str, Any]]
563
+ | Mapping[str, Any]
564
+ | Var[Mapping[str, Any]]
565
+ | Breakpoints
566
+ | None = None,
543
567
  key: Any | None = None,
544
568
  id: Any | None = None,
545
569
  class_name: Any | None = None,
@@ -590,7 +614,11 @@ class FormValidityState(FormComponent):
590
614
  cls,
591
615
  *children,
592
616
  as_child: Var[bool] | bool | None = None,
593
- style: Style | None = None,
617
+ style: Sequence[Mapping[str, Any]]
618
+ | Mapping[str, Any]
619
+ | Var[Mapping[str, Any]]
620
+ | Breakpoints
621
+ | None = None,
594
622
  key: Any | None = None,
595
623
  id: Any | None = None,
596
624
  class_name: Any | None = None,
@@ -638,7 +666,11 @@ class FormSubmit(FormComponent):
638
666
  cls,
639
667
  *children,
640
668
  as_child: Var[bool] | bool | None = None,
641
- style: Style | None = None,
669
+ style: Sequence[Mapping[str, Any]]
670
+ | Mapping[str, Any]
671
+ | Var[Mapping[str, Any]]
672
+ | Breakpoints
673
+ | None = None,
642
674
  key: Any | None = None,
643
675
  id: Any | None = None,
644
676
  class_name: Any | None = None,
@@ -877,7 +909,11 @@ class Form(FormRoot):
877
909
  spell_check: Var[bool] | bool | None = None,
878
910
  tab_index: Var[int] | int | None = None,
879
911
  title: Var[str] | str | None = None,
880
- style: Style | None = None,
912
+ style: Sequence[Mapping[str, Any]]
913
+ | Mapping[str, Any]
914
+ | Var[Mapping[str, Any]]
915
+ | Breakpoints
916
+ | None = None,
881
917
  key: Any | None = None,
882
918
  id: Any | None = None,
883
919
  class_name: Any | None = None,
@@ -1156,7 +1192,11 @@ class FormNamespace(ComponentNamespace):
1156
1192
  spell_check: Var[bool] | bool | None = None,
1157
1193
  tab_index: Var[int] | int | None = None,
1158
1194
  title: Var[str] | str | None = None,
1159
- style: Style | None = None,
1195
+ style: Sequence[Mapping[str, Any]]
1196
+ | Mapping[str, Any]
1197
+ | Var[Mapping[str, Any]]
1198
+ | Breakpoints
1199
+ | None = None,
1160
1200
  key: Any | None = None,
1161
1201
  id: Any | None = None,
1162
1202
  class_name: Any | None = None,
@@ -3,12 +3,12 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import ComponentNamespace
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.components.radix.primitives.base import RadixPrimitiveComponentWithClassName
10
11
  from reflex.event import EventType
11
- from reflex.style import Style
12
12
  from reflex.vars.base import Var
13
13
 
14
14
  class ProgressComponent(RadixPrimitiveComponentWithClassName):
@@ -18,7 +18,11 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
18
18
  cls,
19
19
  *children,
20
20
  as_child: Var[bool] | bool | None = None,
21
- style: Style | None = None,
21
+ style: Sequence[Mapping[str, Any]]
22
+ | Mapping[str, Any]
23
+ | Var[Mapping[str, Any]]
24
+ | Breakpoints
25
+ | None = None,
22
26
  key: Any | None = None,
23
27
  id: Any | None = None,
24
28
  class_name: Any | None = None,
@@ -70,7 +74,11 @@ class ProgressRoot(ProgressComponent):
70
74
  | Var[Literal["full", "large", "medium", "none", "small"]]
71
75
  | None = None,
72
76
  as_child: Var[bool] | bool | None = None,
73
- style: Style | None = None,
77
+ style: Sequence[Mapping[str, Any]]
78
+ | Mapping[str, Any]
79
+ | Var[Mapping[str, Any]]
80
+ | Breakpoints
81
+ | None = None,
74
82
  key: Any | None = None,
75
83
  id: Any | None = None,
76
84
  class_name: Any | None = None,
@@ -181,7 +189,11 @@ class ProgressIndicator(ProgressComponent):
181
189
  ]
182
190
  | None = None,
183
191
  as_child: Var[bool] | bool | None = None,
184
- style: Style | None = None,
192
+ style: Sequence[Mapping[str, Any]]
193
+ | Mapping[str, Any]
194
+ | Var[Mapping[str, Any]]
195
+ | Breakpoints
196
+ | None = None,
185
197
  key: Any | None = None,
186
198
  id: Any | None = None,
187
199
  class_name: Any | None = None,
@@ -296,7 +308,11 @@ class Progress(ProgressRoot):
296
308
  | Var[Literal["full", "large", "medium", "none", "small"]]
297
309
  | None = None,
298
310
  as_child: Var[bool] | bool | None = None,
299
- style: Style | None = None,
311
+ style: Sequence[Mapping[str, Any]]
312
+ | Mapping[str, Any]
313
+ | Var[Mapping[str, Any]]
314
+ | Breakpoints
315
+ | None = None,
300
316
  key: Any | None = None,
301
317
  id: Any | None = None,
302
318
  class_name: Any | None = None,
@@ -412,7 +428,11 @@ class ProgressNamespace(ComponentNamespace):
412
428
  | Var[Literal["full", "large", "medium", "none", "small"]]
413
429
  | None = None,
414
430
  as_child: Var[bool] | bool | None = None,
415
- style: Style | None = None,
431
+ style: Sequence[Mapping[str, Any]]
432
+ | Mapping[str, Any]
433
+ | Var[Mapping[str, Any]]
434
+ | Breakpoints
435
+ | None = None,
416
436
  key: Any | None = None,
417
437
  id: Any | None = None,
418
438
  class_name: Any | None = None,
@@ -3,12 +3,12 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, Sequence, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import Component, ComponentNamespace
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.components.radix.primitives.base import RadixPrimitiveComponentWithClassName
10
11
  from reflex.event import EventType
11
- from reflex.style import Style
12
12
  from reflex.vars.base import Var
13
13
 
14
14
  LiteralSliderOrientation = Literal["horizontal", "vertical"]
@@ -21,7 +21,11 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
21
21
  cls,
22
22
  *children,
23
23
  as_child: Var[bool] | bool | None = None,
24
- style: Style | None = None,
24
+ style: Sequence[Mapping[str, Any]]
25
+ | Mapping[str, Any]
26
+ | Var[Mapping[str, Any]]
27
+ | Breakpoints
28
+ | None = None,
25
29
  key: Any | None = None,
26
30
  id: Any | None = None,
27
31
  class_name: Any | None = None,
@@ -85,7 +89,11 @@ class SliderRoot(SliderComponent):
85
89
  step: Var[int] | int | None = None,
86
90
  min_steps_between_thumbs: Var[int] | int | None = None,
87
91
  as_child: Var[bool] | bool | None = None,
88
- style: Style | None = None,
92
+ style: Sequence[Mapping[str, Any]]
93
+ | Mapping[str, Any]
94
+ | Var[Mapping[str, Any]]
95
+ | Breakpoints
96
+ | None = None,
89
97
  key: Any | None = None,
90
98
  id: Any | None = None,
91
99
  class_name: Any | None = None,
@@ -138,7 +146,11 @@ class SliderTrack(SliderComponent):
138
146
  cls,
139
147
  *children,
140
148
  as_child: Var[bool] | bool | None = None,
141
- style: Style | None = None,
149
+ style: Sequence[Mapping[str, Any]]
150
+ | Mapping[str, Any]
151
+ | Var[Mapping[str, Any]]
152
+ | Breakpoints
153
+ | None = None,
142
154
  key: Any | None = None,
143
155
  id: Any | None = None,
144
156
  class_name: Any | None = None,
@@ -187,7 +199,11 @@ class SliderRange(SliderComponent):
187
199
  cls,
188
200
  *children,
189
201
  as_child: Var[bool] | bool | None = None,
190
- style: Style | None = None,
202
+ style: Sequence[Mapping[str, Any]]
203
+ | Mapping[str, Any]
204
+ | Var[Mapping[str, Any]]
205
+ | Breakpoints
206
+ | None = None,
191
207
  key: Any | None = None,
192
208
  id: Any | None = None,
193
209
  class_name: Any | None = None,
@@ -236,7 +252,11 @@ class SliderThumb(SliderComponent):
236
252
  cls,
237
253
  *children,
238
254
  as_child: Var[bool] | bool | None = None,
239
- style: Style | None = None,
255
+ style: Sequence[Mapping[str, Any]]
256
+ | Mapping[str, Any]
257
+ | Var[Mapping[str, Any]]
258
+ | Breakpoints
259
+ | None = None,
240
260
  key: Any | None = None,
241
261
  id: Any | None = None,
242
262
  class_name: Any | None = None,