reflex 0.4.7a3__py3-none-any.whl → 0.4.8a1__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 (124) hide show
  1. reflex/.templates/web/utils/state.js +7 -1
  2. reflex/app.py +15 -1
  3. reflex/compiler/utils.py +1 -1
  4. reflex/components/base/body.pyi +0 -3
  5. reflex/components/base/document.pyi +0 -15
  6. reflex/components/base/fragment.pyi +0 -3
  7. reflex/components/base/head.pyi +0 -3
  8. reflex/components/base/link.pyi +0 -6
  9. reflex/components/base/meta.pyi +0 -12
  10. reflex/components/chakra/base.pyi +0 -6
  11. reflex/components/chakra/datadisplay/badge.pyi +0 -3
  12. reflex/components/chakra/datadisplay/code.pyi +0 -3
  13. reflex/components/chakra/datadisplay/divider.pyi +0 -3
  14. reflex/components/chakra/datadisplay/keyboard_key.pyi +0 -3
  15. reflex/components/chakra/datadisplay/list.pyi +0 -3
  16. reflex/components/chakra/datadisplay/stat.pyi +0 -15
  17. reflex/components/chakra/datadisplay/table.pyi +0 -12
  18. reflex/components/chakra/datadisplay/tag.pyi +0 -12
  19. reflex/components/chakra/disclosure/accordion.pyi +0 -12
  20. reflex/components/chakra/disclosure/tabs.pyi +0 -12
  21. reflex/components/chakra/disclosure/transition.pyi +0 -18
  22. reflex/components/chakra/disclosure/visuallyhidden.pyi +0 -3
  23. reflex/components/chakra/feedback/alert.pyi +0 -9
  24. reflex/components/chakra/feedback/circularprogress.pyi +0 -3
  25. reflex/components/chakra/feedback/progress.pyi +0 -3
  26. reflex/components/chakra/feedback/skeleton.pyi +0 -9
  27. reflex/components/chakra/feedback/spinner.pyi +0 -3
  28. reflex/components/chakra/forms/button.pyi +0 -6
  29. reflex/components/chakra/forms/checkbox.pyi +0 -6
  30. reflex/components/chakra/forms/colormodeswitch.pyi +0 -3
  31. reflex/components/chakra/forms/editable.pyi +0 -12
  32. reflex/components/chakra/forms/form.pyi +0 -9
  33. reflex/components/chakra/forms/iconbutton.pyi +0 -3
  34. reflex/components/chakra/forms/input.pyi +0 -15
  35. reflex/components/chakra/forms/numberinput.pyi +0 -12
  36. reflex/components/chakra/forms/pininput.py +1 -1
  37. reflex/components/chakra/forms/pininput.pyi +1 -4
  38. reflex/components/chakra/forms/radio.py +1 -1
  39. reflex/components/chakra/forms/radio.pyi +1 -1
  40. reflex/components/chakra/forms/rangeslider.py +1 -1
  41. reflex/components/chakra/forms/rangeslider.pyi +1 -10
  42. reflex/components/chakra/forms/slider.pyi +0 -12
  43. reflex/components/chakra/forms/switch.pyi +0 -3
  44. reflex/components/chakra/layout/aspect_ratio.pyi +0 -3
  45. reflex/components/chakra/layout/box.pyi +0 -3
  46. reflex/components/chakra/layout/card.pyi +0 -9
  47. reflex/components/chakra/layout/center.pyi +0 -9
  48. reflex/components/chakra/layout/container.pyi +0 -3
  49. reflex/components/chakra/layout/flex.pyi +0 -3
  50. reflex/components/chakra/layout/grid.pyi +0 -9
  51. reflex/components/chakra/layout/spacer.pyi +0 -3
  52. reflex/components/chakra/layout/stack.pyi +0 -9
  53. reflex/components/chakra/layout/wrap.pyi +0 -3
  54. reflex/components/chakra/media/avatar.pyi +0 -9
  55. reflex/components/chakra/media/icon.pyi +0 -3
  56. reflex/components/chakra/navigation/breadcrumb.pyi +0 -3
  57. reflex/components/chakra/navigation/linkoverlay.pyi +0 -6
  58. reflex/components/chakra/navigation/stepper.pyi +0 -24
  59. reflex/components/chakra/overlay/alertdialog.pyi +0 -18
  60. reflex/components/chakra/overlay/drawer.pyi +0 -18
  61. reflex/components/chakra/overlay/menu.pyi +0 -18
  62. reflex/components/chakra/overlay/modal.pyi +0 -18
  63. reflex/components/chakra/overlay/popover.pyi +0 -24
  64. reflex/components/chakra/overlay/tooltip.pyi +0 -3
  65. reflex/components/chakra/typography/heading.pyi +0 -3
  66. reflex/components/chakra/typography/highlight.pyi +0 -3
  67. reflex/components/chakra/typography/span.pyi +0 -3
  68. reflex/components/chakra/typography/text.pyi +0 -3
  69. reflex/components/component.py +61 -22
  70. reflex/components/core/client_side_routing.pyi +0 -6
  71. reflex/components/core/upload.py +3 -1
  72. reflex/components/core/upload.pyi +0 -3
  73. reflex/components/el/element.pyi +0 -3
  74. reflex/components/el/elements/base.pyi +0 -3
  75. reflex/components/el/elements/forms.pyi +0 -39
  76. reflex/components/el/elements/inline.pyi +0 -84
  77. reflex/components/el/elements/media.pyi +0 -42
  78. reflex/components/el/elements/metadata.pyi +0 -15
  79. reflex/components/el/elements/other.pyi +0 -21
  80. reflex/components/el/elements/scripts.pyi +0 -9
  81. reflex/components/el/elements/sectioning.pyi +0 -45
  82. reflex/components/el/elements/tables.pyi +0 -30
  83. reflex/components/el/elements/typography.pyi +0 -45
  84. reflex/components/gridjs/datatable.pyi +0 -3
  85. reflex/components/lucide/icon.pyi +0 -3
  86. reflex/components/next/base.pyi +0 -3
  87. reflex/components/next/link.pyi +0 -3
  88. reflex/components/plotly/plotly.pyi +0 -6
  89. reflex/components/radix/primitives/accordion.pyi +0 -3
  90. reflex/components/radix/primitives/base.pyi +0 -6
  91. reflex/components/radix/primitives/drawer.pyi +0 -21
  92. reflex/components/radix/primitives/form.pyi +0 -18
  93. reflex/components/radix/primitives/progress.pyi +0 -9
  94. reflex/components/radix/primitives/slider.pyi +0 -15
  95. reflex/components/radix/themes/base.pyi +0 -6
  96. reflex/components/react_player/audio.pyi +0 -3
  97. reflex/components/react_player/react_player.pyi +0 -3
  98. reflex/components/react_player/video.pyi +0 -3
  99. reflex/components/recharts/cartesian.pyi +0 -57
  100. reflex/components/recharts/general.pyi +0 -12
  101. reflex/components/recharts/polar.pyi +0 -18
  102. reflex/components/recharts/recharts.pyi +0 -3
  103. reflex/constants/__init__.py +2 -0
  104. reflex/constants/base.py +5 -0
  105. reflex/constants/compiler.py +2 -0
  106. reflex/constants/installer.py +4 -2
  107. reflex/event.py +7 -6
  108. reflex/experimental/__init__.py +2 -0
  109. reflex/experimental/misc.py +12 -0
  110. reflex/model.py +1 -1
  111. reflex/reflex.py +0 -1
  112. reflex/utils/compat.py +43 -0
  113. reflex/utils/console.py +10 -1
  114. reflex/utils/export.py +1 -3
  115. reflex/utils/imports.py +14 -1
  116. reflex/utils/prerequisites.py +65 -41
  117. reflex/utils/processes.py +37 -0
  118. reflex/utils/serializers.py +14 -0
  119. reflex/utils/types.py +1 -1
  120. {reflex-0.4.7a3.dist-info → reflex-0.4.8a1.dist-info}/METADATA +1 -2
  121. {reflex-0.4.7a3.dist-info → reflex-0.4.8a1.dist-info}/RECORD +124 -122
  122. {reflex-0.4.7a3.dist-info → reflex-0.4.8a1.dist-info}/WHEEL +1 -1
  123. {reflex-0.4.7a3.dist-info → reflex-0.4.8a1.dist-info}/LICENSE +0 -0
  124. {reflex-0.4.7a3.dist-info → reflex-0.4.8a1.dist-info}/entry_points.txt +0 -0
@@ -144,9 +144,6 @@ class Caption(BaseHTML):
144
144
 
145
145
  Returns:
146
146
  The component.
147
-
148
- Raises:
149
- TypeError: If an invalid child is passed.
150
147
  """
151
148
  ...
152
149
 
@@ -285,9 +282,6 @@ class Col(BaseHTML):
285
282
 
286
283
  Returns:
287
284
  The component.
288
-
289
- Raises:
290
- TypeError: If an invalid child is passed.
291
285
  """
292
286
  ...
293
287
 
@@ -426,9 +420,6 @@ class Colgroup(BaseHTML):
426
420
 
427
421
  Returns:
428
422
  The component.
429
-
430
- Raises:
431
- TypeError: If an invalid child is passed.
432
423
  """
433
424
  ...
434
425
 
@@ -569,9 +560,6 @@ class Table(BaseHTML):
569
560
 
570
561
  Returns:
571
562
  The component.
572
-
573
- Raises:
574
- TypeError: If an invalid child is passed.
575
563
  """
576
564
  ...
577
565
 
@@ -708,9 +696,6 @@ class Tbody(BaseHTML):
708
696
 
709
697
  Returns:
710
698
  The component.
711
-
712
- Raises:
713
- TypeError: If an invalid child is passed.
714
699
  """
715
700
  ...
716
701
 
@@ -859,9 +844,6 @@ class Td(BaseHTML):
859
844
 
860
845
  Returns:
861
846
  The component.
862
-
863
- Raises:
864
- TypeError: If an invalid child is passed.
865
847
  """
866
848
  ...
867
849
 
@@ -998,9 +980,6 @@ class Tfoot(BaseHTML):
998
980
 
999
981
  Returns:
1000
982
  The component.
1001
-
1002
- Raises:
1003
- TypeError: If an invalid child is passed.
1004
983
  """
1005
984
  ...
1006
985
 
@@ -1153,9 +1132,6 @@ class Th(BaseHTML):
1153
1132
 
1154
1133
  Returns:
1155
1134
  The component.
1156
-
1157
- Raises:
1158
- TypeError: If an invalid child is passed.
1159
1135
  """
1160
1136
  ...
1161
1137
 
@@ -1292,9 +1268,6 @@ class Thead(BaseHTML):
1292
1268
 
1293
1269
  Returns:
1294
1270
  The component.
1295
-
1296
- Raises:
1297
- TypeError: If an invalid child is passed.
1298
1271
  """
1299
1272
  ...
1300
1273
 
@@ -1431,8 +1404,5 @@ class Tr(BaseHTML):
1431
1404
 
1432
1405
  Returns:
1433
1406
  The component.
1434
-
1435
- Raises:
1436
- TypeError: If an invalid child is passed.
1437
1407
  """
1438
1408
  ...
@@ -142,9 +142,6 @@ class Blockquote(BaseHTML):
142
142
 
143
143
  Returns:
144
144
  The component.
145
-
146
- Raises:
147
- TypeError: If an invalid child is passed.
148
145
  """
149
146
  ...
150
147
 
@@ -277,9 +274,6 @@ class Dd(BaseHTML):
277
274
 
278
275
  Returns:
279
276
  The component.
280
-
281
- Raises:
282
- TypeError: If an invalid child is passed.
283
277
  """
284
278
  ...
285
279
 
@@ -412,9 +406,6 @@ class Div(BaseHTML):
412
406
 
413
407
  Returns:
414
408
  The component.
415
-
416
- Raises:
417
- TypeError: If an invalid child is passed.
418
409
  """
419
410
  ...
420
411
 
@@ -547,9 +538,6 @@ class Dl(BaseHTML):
547
538
 
548
539
  Returns:
549
540
  The component.
550
-
551
- Raises:
552
- TypeError: If an invalid child is passed.
553
541
  """
554
542
  ...
555
543
 
@@ -682,9 +670,6 @@ class Dt(BaseHTML):
682
670
 
683
671
  Returns:
684
672
  The component.
685
-
686
- Raises:
687
- TypeError: If an invalid child is passed.
688
673
  """
689
674
  ...
690
675
 
@@ -817,9 +802,6 @@ class Figcaption(BaseHTML):
817
802
 
818
803
  Returns:
819
804
  The component.
820
-
821
- Raises:
822
- TypeError: If an invalid child is passed.
823
805
  """
824
806
  ...
825
807
 
@@ -956,9 +938,6 @@ class Hr(BaseHTML):
956
938
 
957
939
  Returns:
958
940
  The component.
959
-
960
- Raises:
961
- TypeError: If an invalid child is passed.
962
941
  """
963
942
  ...
964
943
 
@@ -1091,9 +1070,6 @@ class Li(BaseHTML):
1091
1070
 
1092
1071
  Returns:
1093
1072
  The component.
1094
-
1095
- Raises:
1096
- TypeError: If an invalid child is passed.
1097
1073
  """
1098
1074
  ...
1099
1075
 
@@ -1228,9 +1204,6 @@ class Menu(BaseHTML):
1228
1204
 
1229
1205
  Returns:
1230
1206
  The component.
1231
-
1232
- Raises:
1233
- TypeError: If an invalid child is passed.
1234
1207
  """
1235
1208
  ...
1236
1209
 
@@ -1373,9 +1346,6 @@ class Ol(BaseHTML):
1373
1346
 
1374
1347
  Returns:
1375
1348
  The component.
1376
-
1377
- Raises:
1378
- TypeError: If an invalid child is passed.
1379
1349
  """
1380
1350
  ...
1381
1351
 
@@ -1508,9 +1478,6 @@ class P(BaseHTML):
1508
1478
 
1509
1479
  Returns:
1510
1480
  The component.
1511
-
1512
- Raises:
1513
- TypeError: If an invalid child is passed.
1514
1481
  """
1515
1482
  ...
1516
1483
 
@@ -1643,9 +1610,6 @@ class Pre(BaseHTML):
1643
1610
 
1644
1611
  Returns:
1645
1612
  The component.
1646
-
1647
- Raises:
1648
- TypeError: If an invalid child is passed.
1649
1613
  """
1650
1614
  ...
1651
1615
 
@@ -1778,9 +1742,6 @@ class Ul(BaseHTML):
1778
1742
 
1779
1743
  Returns:
1780
1744
  The component.
1781
-
1782
- Raises:
1783
- TypeError: If an invalid child is passed.
1784
1745
  """
1785
1746
  ...
1786
1747
 
@@ -1919,9 +1880,6 @@ class Ins(BaseHTML):
1919
1880
 
1920
1881
  Returns:
1921
1882
  The component.
1922
-
1923
- Raises:
1924
- TypeError: If an invalid child is passed.
1925
1883
  """
1926
1884
  ...
1927
1885
 
@@ -2060,8 +2018,5 @@ class Del(BaseHTML):
2060
2018
 
2061
2019
  Returns:
2062
2020
  The component.
2063
-
2064
- Raises:
2065
- TypeError: If an invalid child is passed.
2066
2021
  """
2067
2022
  ...
@@ -87,9 +87,6 @@ class Gridjs(Component):
87
87
 
88
88
  Returns:
89
89
  The component.
90
-
91
- Raises:
92
- TypeError: If an invalid child is passed.
93
90
  """
94
91
  ...
95
92
 
@@ -85,9 +85,6 @@ class LucideIconComponent(Component):
85
85
 
86
86
  Returns:
87
87
  The component.
88
-
89
- Raises:
90
- TypeError: If an invalid child is passed.
91
88
  """
92
89
  ...
93
90
 
@@ -84,8 +84,5 @@ class NextComponent(Component):
84
84
 
85
85
  Returns:
86
86
  The component.
87
-
88
- Raises:
89
- TypeError: If an invalid child is passed.
90
87
  """
91
88
  ...
@@ -87,8 +87,5 @@ class NextLink(Component):
87
87
 
88
88
  Returns:
89
89
  The component.
90
-
91
- Raises:
92
- TypeError: If an invalid child is passed.
93
90
  """
94
91
  ...
@@ -89,9 +89,6 @@ class PlotlyLib(NoSSRComponent):
89
89
 
90
90
  Returns:
91
91
  The component.
92
-
93
- Raises:
94
- TypeError: If an invalid child is passed.
95
92
  """
96
93
  ...
97
94
 
@@ -180,8 +177,5 @@ class Plotly(PlotlyLib):
180
177
 
181
178
  Returns:
182
179
  The component.
183
-
184
- Raises:
185
- TypeError: If an invalid child is passed.
186
180
  """
187
181
  ...
@@ -113,9 +113,6 @@ class AccordionComponent(RadixPrimitiveComponent):
113
113
 
114
114
  Returns:
115
115
  The component.
116
-
117
- Raises:
118
- TypeError: If an invalid child is passed.
119
116
  """
120
117
  ...
121
118
 
@@ -88,9 +88,6 @@ class RadixPrimitiveComponent(Component):
88
88
 
89
89
  Returns:
90
90
  The component.
91
-
92
- Raises:
93
- TypeError: If an invalid child is passed.
94
91
  """
95
92
  ...
96
93
 
@@ -169,8 +166,5 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
169
166
 
170
167
  Returns:
171
168
  The component.
172
-
173
- Raises:
174
- TypeError: If an invalid child is passed.
175
169
  """
176
170
  ...
@@ -90,9 +90,6 @@ class DrawerComponent(RadixPrimitiveComponent):
90
90
 
91
91
  Returns:
92
92
  The component.
93
-
94
- Raises:
95
- TypeError: If an invalid child is passed.
96
93
  """
97
94
  ...
98
95
 
@@ -200,9 +197,6 @@ class DrawerRoot(DrawerComponent):
200
197
 
201
198
  Returns:
202
199
  The component.
203
-
204
- Raises:
205
- TypeError: If an invalid child is passed.
206
200
  """
207
201
  ...
208
202
 
@@ -352,9 +346,6 @@ class DrawerPortal(DrawerComponent):
352
346
 
353
347
  Returns:
354
348
  The component.
355
-
356
- Raises:
357
- TypeError: If an invalid child is passed.
358
349
  """
359
350
  ...
360
351
 
@@ -531,9 +522,6 @@ class DrawerOverlay(DrawerComponent):
531
522
 
532
523
  Returns:
533
524
  The component.
534
-
535
- Raises:
536
- TypeError: If an invalid child is passed.
537
525
  """
538
526
  ...
539
527
 
@@ -683,9 +671,6 @@ class DrawerTitle(DrawerComponent):
683
671
 
684
672
  Returns:
685
673
  The component.
686
-
687
- Raises:
688
- TypeError: If an invalid child is passed.
689
674
  """
690
675
  ...
691
676
 
@@ -764,9 +749,6 @@ class DrawerDescription(DrawerComponent):
764
749
 
765
750
  Returns:
766
751
  The component.
767
-
768
- Raises:
769
- TypeError: If an invalid child is passed.
770
752
  """
771
753
  ...
772
754
 
@@ -878,9 +860,6 @@ class Drawer(ComponentNamespace):
878
860
 
879
861
  Returns:
880
862
  The component.
881
-
882
- Raises:
883
- TypeError: If an invalid child is passed.
884
863
  """
885
864
  ...
886
865
 
@@ -90,9 +90,6 @@ class FormComponent(RadixPrimitiveComponentWithClassName):
90
90
 
91
91
  Returns:
92
92
  The component.
93
-
94
- Raises:
95
- TypeError: If an invalid child is passed.
96
93
  """
97
94
  ...
98
95
 
@@ -354,9 +351,6 @@ class FormField(FormComponent):
354
351
 
355
352
  Returns:
356
353
  The component.
357
-
358
- Raises:
359
- TypeError: If an invalid child is passed.
360
354
  """
361
355
  ...
362
356
 
@@ -435,9 +429,6 @@ class FormLabel(FormComponent):
435
429
 
436
430
  Returns:
437
431
  The component.
438
-
439
- Raises:
440
- TypeError: If an invalid child is passed.
441
432
  """
442
433
  ...
443
434
 
@@ -646,9 +637,6 @@ class FormMessage(FormComponent):
646
637
 
647
638
  Returns:
648
639
  The component.
649
-
650
- Raises:
651
- TypeError: If an invalid child is passed.
652
640
  """
653
641
  ...
654
642
 
@@ -727,9 +715,6 @@ class FormValidityState(FormComponent):
727
715
 
728
716
  Returns:
729
717
  The component.
730
-
731
- Raises:
732
- TypeError: If an invalid child is passed.
733
718
  """
734
719
  ...
735
720
 
@@ -808,9 +793,6 @@ class FormSubmit(FormComponent):
808
793
 
809
794
  Returns:
810
795
  The component.
811
-
812
- Raises:
813
- TypeError: If an invalid child is passed.
814
796
  """
815
797
  ...
816
798
 
@@ -91,9 +91,6 @@ class ProgressComponent(RadixPrimitiveComponentWithClassName):
91
91
 
92
92
  Returns:
93
93
  The component.
94
-
95
- Raises:
96
- TypeError: If an invalid child is passed.
97
94
  """
98
95
  ...
99
96
 
@@ -179,9 +176,6 @@ class ProgressRoot(ProgressComponent):
179
176
 
180
177
  Returns:
181
178
  The component.
182
-
183
- Raises:
184
- TypeError: If an invalid child is passed.
185
179
  """
186
180
  ...
187
181
 
@@ -327,9 +321,6 @@ class ProgressIndicator(ProgressComponent):
327
321
 
328
322
  Returns:
329
323
  The component.
330
-
331
- Raises:
332
- TypeError: If an invalid child is passed.
333
324
  """
334
325
  ...
335
326
 
@@ -91,9 +91,6 @@ class SliderComponent(RadixPrimitiveComponentWithClassName):
91
91
 
92
92
  Returns:
93
93
  The component.
94
-
95
- Raises:
96
- TypeError: If an invalid child is passed.
97
94
  """
98
95
  ...
99
96
 
@@ -195,9 +192,6 @@ class SliderRoot(SliderComponent):
195
192
 
196
193
  Returns:
197
194
  The component.
198
-
199
- Raises:
200
- TypeError: If an invalid child is passed.
201
195
  """
202
196
  ...
203
197
 
@@ -276,9 +270,6 @@ class SliderTrack(SliderComponent):
276
270
 
277
271
  Returns:
278
272
  The component.
279
-
280
- Raises:
281
- TypeError: If an invalid child is passed.
282
273
  """
283
274
  ...
284
275
 
@@ -357,9 +348,6 @@ class SliderRange(SliderComponent):
357
348
 
358
349
  Returns:
359
350
  The component.
360
-
361
- Raises:
362
- TypeError: If an invalid child is passed.
363
351
  """
364
352
  ...
365
353
 
@@ -438,9 +426,6 @@ class SliderThumb(SliderComponent):
438
426
 
439
427
  Returns:
440
428
  The component.
441
-
442
- Raises:
443
- TypeError: If an invalid child is passed.
444
429
  """
445
430
  ...
446
431
 
@@ -173,9 +173,6 @@ class CommonMarginProps(Component):
173
173
 
174
174
  Returns:
175
175
  The component.
176
-
177
- Raises:
178
- TypeError: If an invalid child is passed.
179
176
  """
180
177
  ...
181
178
 
@@ -659,9 +656,6 @@ class RadixThemesColorModeProvider(Component):
659
656
 
660
657
  Returns:
661
658
  The component.
662
-
663
- Raises:
664
- TypeError: If an invalid child is passed.
665
659
  """
666
660
  ...
667
661
 
@@ -102,8 +102,5 @@ class Audio(ReactPlayer):
102
102
 
103
103
  Returns:
104
104
  The component.
105
-
106
- Raises:
107
- TypeError: If an invalid child is passed.
108
105
  """
109
106
  ...
@@ -101,8 +101,5 @@ class ReactPlayer(NoSSRComponent):
101
101
 
102
102
  Returns:
103
103
  The component.
104
-
105
- Raises:
106
- TypeError: If an invalid child is passed.
107
104
  """
108
105
  ...
@@ -102,8 +102,5 @@ class Video(ReactPlayer):
102
102
 
103
103
  Returns:
104
104
  The component.
105
-
106
- Raises:
107
- TypeError: If an invalid child is passed.
108
105
  """
109
106
  ...