reflex 0.7.7a1__py3-none-any.whl → 0.7.7.post1__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 (117) hide show
  1. reflex/components/base/app_wrap.pyi +18 -17
  2. reflex/components/base/body.pyi +18 -17
  3. reflex/components/base/document.pyi +82 -81
  4. reflex/components/base/error_boundary.pyi +19 -18
  5. reflex/components/base/fragment.pyi +18 -17
  6. reflex/components/base/head.pyi +34 -33
  7. reflex/components/base/link.pyi +34 -33
  8. reflex/components/base/meta.pyi +66 -65
  9. reflex/components/base/script.pyi +21 -20
  10. reflex/components/base/strict_mode.pyi +18 -17
  11. reflex/components/core/auto_scroll.pyi +18 -17
  12. reflex/components/core/banner.pyi +98 -97
  13. reflex/components/core/client_side_routing.pyi +34 -33
  14. reflex/components/core/clipboard.pyi +19 -18
  15. reflex/components/core/debounce.pyi +20 -19
  16. reflex/components/core/html.pyi +18 -17
  17. reflex/components/core/sticky.pyi +66 -65
  18. reflex/components/core/upload.pyi +86 -85
  19. reflex/components/datadisplay/code.pyi +34 -33
  20. reflex/components/datadisplay/dataeditor.pyi +35 -68
  21. reflex/components/datadisplay/shiki_code_block.pyi +50 -49
  22. reflex/components/el/element.pyi +18 -17
  23. reflex/components/el/elements/base.pyi +18 -17
  24. reflex/components/el/elements/forms.py +8 -7
  25. reflex/components/el/elements/forms.pyi +290 -332
  26. reflex/components/el/elements/inline.pyi +450 -449
  27. reflex/components/el/elements/media.pyi +402 -401
  28. reflex/components/el/elements/metadata.pyi +98 -97
  29. reflex/components/el/elements/other.pyi +114 -113
  30. reflex/components/el/elements/scripts.pyi +50 -49
  31. reflex/components/el/elements/sectioning.pyi +242 -241
  32. reflex/components/el/elements/tables.pyi +162 -161
  33. reflex/components/el/elements/typography.pyi +242 -241
  34. reflex/components/gridjs/datatable.pyi +35 -34
  35. reflex/components/lucide/icon.pyi +50 -49
  36. reflex/components/markdown/markdown.pyi +18 -17
  37. reflex/components/moment/moment.pyi +19 -18
  38. reflex/components/next/base.pyi +18 -17
  39. reflex/components/next/image.pyi +20 -19
  40. reflex/components/next/link.pyi +18 -17
  41. reflex/components/next/video.pyi +18 -17
  42. reflex/components/plotly/plotly.pyi +326 -325
  43. reflex/components/radix/primitives/accordion.pyi +115 -114
  44. reflex/components/radix/primitives/base.pyi +34 -33
  45. reflex/components/radix/primitives/drawer.pyi +187 -186
  46. reflex/components/radix/primitives/form.pyi +168 -182
  47. reflex/components/radix/primitives/progress.pyi +82 -81
  48. reflex/components/radix/primitives/slider.pyi +84 -83
  49. reflex/components/radix/themes/base.pyi +130 -129
  50. reflex/components/radix/themes/color_mode.pyi +51 -50
  51. reflex/components/radix/themes/components/alert_dialog.pyi +118 -117
  52. reflex/components/radix/themes/components/aspect_ratio.pyi +18 -17
  53. reflex/components/radix/themes/components/avatar.pyi +18 -17
  54. reflex/components/radix/themes/components/badge.pyi +18 -17
  55. reflex/components/radix/themes/components/button.pyi +18 -17
  56. reflex/components/radix/themes/components/callout.pyi +82 -81
  57. reflex/components/radix/themes/components/card.pyi +18 -17
  58. reflex/components/radix/themes/components/checkbox.pyi +53 -52
  59. reflex/components/radix/themes/components/checkbox_cards.pyi +34 -33
  60. reflex/components/radix/themes/components/checkbox_group.pyi +34 -33
  61. reflex/components/radix/themes/components/context_menu.pyi +225 -224
  62. reflex/components/radix/themes/components/data_list.pyi +66 -65
  63. reflex/components/radix/themes/components/dialog.pyi +121 -120
  64. reflex/components/radix/themes/components/dropdown_menu.pyi +142 -141
  65. reflex/components/radix/themes/components/hover_card.pyi +68 -67
  66. reflex/components/radix/themes/components/icon_button.pyi +18 -17
  67. reflex/components/radix/themes/components/inset.pyi +18 -17
  68. reflex/components/radix/themes/components/popover.pyi +73 -72
  69. reflex/components/radix/themes/components/progress.pyi +18 -17
  70. reflex/components/radix/themes/components/radio.pyi +18 -17
  71. reflex/components/radix/themes/components/radio_cards.pyi +35 -34
  72. reflex/components/radix/themes/components/radio_group.pyi +67 -66
  73. reflex/components/radix/themes/components/scroll_area.pyi +18 -17
  74. reflex/components/radix/themes/components/segmented_control.pyi +35 -34
  75. reflex/components/radix/themes/components/select.pyi +155 -154
  76. reflex/components/radix/themes/components/separator.pyi +18 -17
  77. reflex/components/radix/themes/components/skeleton.pyi +18 -17
  78. reflex/components/radix/themes/components/slider.pyi +20 -31
  79. reflex/components/radix/themes/components/spinner.pyi +18 -17
  80. reflex/components/radix/themes/components/switch.pyi +19 -18
  81. reflex/components/radix/themes/components/table.pyi +114 -113
  82. reflex/components/radix/themes/components/tabs.pyi +84 -83
  83. reflex/components/radix/themes/components/text_area.pyi +21 -24
  84. reflex/components/radix/themes/components/text_field.pyi +56 -63
  85. reflex/components/radix/themes/components/tooltip.pyi +21 -20
  86. reflex/components/radix/themes/layout/base.pyi +18 -17
  87. reflex/components/radix/themes/layout/box.pyi +18 -17
  88. reflex/components/radix/themes/layout/center.pyi +18 -17
  89. reflex/components/radix/themes/layout/container.pyi +18 -17
  90. reflex/components/radix/themes/layout/flex.pyi +18 -17
  91. reflex/components/radix/themes/layout/grid.pyi +18 -17
  92. reflex/components/radix/themes/layout/list.pyi +82 -81
  93. reflex/components/radix/themes/layout/section.pyi +18 -17
  94. reflex/components/radix/themes/layout/spacer.pyi +18 -17
  95. reflex/components/radix/themes/layout/stack.pyi +50 -49
  96. reflex/components/radix/themes/typography/blockquote.pyi +18 -17
  97. reflex/components/radix/themes/typography/code.pyi +18 -17
  98. reflex/components/radix/themes/typography/heading.pyi +18 -17
  99. reflex/components/radix/themes/typography/link.pyi +18 -17
  100. reflex/components/radix/themes/typography/text.pyi +114 -113
  101. reflex/components/react_player/audio.pyi +34 -36
  102. reflex/components/react_player/react_player.pyi +34 -33
  103. reflex/components/react_player/video.pyi +34 -36
  104. reflex/components/recharts/cartesian.pyi +302 -301
  105. reflex/components/recharts/charts.pyi +177 -176
  106. reflex/components/recharts/general.pyi +99 -98
  107. reflex/components/recharts/polar.pyi +62 -61
  108. reflex/components/recharts/recharts.pyi +34 -33
  109. reflex/components/sonner/toast.pyi +19 -18
  110. reflex/components/suneditor/editor.pyi +27 -28
  111. reflex/experimental/layout.pyi +84 -83
  112. reflex/state.py +27 -6
  113. {reflex-0.7.7a1.dist-info → reflex-0.7.7.post1.dist-info}/METADATA +1 -1
  114. {reflex-0.7.7a1.dist-info → reflex-0.7.7.post1.dist-info}/RECORD +117 -117
  115. {reflex-0.7.7a1.dist-info → reflex-0.7.7.post1.dist-info}/WHEEL +0 -0
  116. {reflex-0.7.7a1.dist-info → reflex-0.7.7.post1.dist-info}/entry_points.txt +0 -0
  117. {reflex-0.7.7a1.dist-info → reflex-0.7.7.post1.dist-info}/licenses/LICENSE +0 -0
@@ -3,7 +3,8 @@
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, Mapping, Optional, Sequence, overload
6
+ from collections.abc import Mapping, Sequence
7
+ from typing import Any, Literal, overload
7
8
 
8
9
  from reflex.components.component import MemoizationLeaf
9
10
  from reflex.components.core.breakpoints import Breakpoints
@@ -35,24 +36,24 @@ class ResponsiveContainer(Recharts, MemoizationLeaf):
35
36
  class_name: Any | None = None,
36
37
  autofocus: bool | None = None,
37
38
  custom_attrs: dict[str, Var | Any] | None = None,
38
- on_blur: Optional[EventType[()]] = None,
39
- on_click: Optional[EventType[()]] = None,
40
- on_context_menu: Optional[EventType[()]] = None,
41
- on_double_click: Optional[EventType[()]] = None,
42
- on_focus: Optional[EventType[()]] = None,
43
- on_mount: Optional[EventType[()]] = None,
44
- on_mouse_down: Optional[EventType[()]] = None,
45
- on_mouse_enter: Optional[EventType[()]] = None,
46
- on_mouse_leave: Optional[EventType[()]] = None,
47
- on_mouse_move: Optional[EventType[()]] = None,
48
- on_mouse_out: Optional[EventType[()]] = None,
49
- on_mouse_over: Optional[EventType[()]] = None,
50
- on_mouse_up: Optional[EventType[()]] = None,
51
- on_resize: Optional[EventType[()]] = None,
52
- on_scroll: Optional[EventType[()]] = None,
53
- on_unmount: Optional[EventType[()]] = None,
39
+ on_blur: EventType[()] | None = None,
40
+ on_click: EventType[()] | None = None,
41
+ on_context_menu: EventType[()] | None = None,
42
+ on_double_click: EventType[()] | None = None,
43
+ on_focus: EventType[()] | None = None,
44
+ on_mount: EventType[()] | None = None,
45
+ on_mouse_down: EventType[()] | None = None,
46
+ on_mouse_enter: EventType[()] | None = None,
47
+ on_mouse_leave: EventType[()] | None = None,
48
+ on_mouse_move: EventType[()] | None = None,
49
+ on_mouse_out: EventType[()] | None = None,
50
+ on_mouse_over: EventType[()] | None = None,
51
+ on_mouse_up: EventType[()] | None = None,
52
+ on_resize: EventType[()] | None = None,
53
+ on_scroll: EventType[()] | None = None,
54
+ on_unmount: EventType[()] | None = None,
54
55
  **props,
55
- ) -> "ResponsiveContainer":
56
+ ) -> ResponsiveContainer:
56
57
  """Create a new memoization leaf component.
57
58
 
58
59
  Args:
@@ -136,23 +137,23 @@ class Legend(Recharts):
136
137
  class_name: Any | None = None,
137
138
  autofocus: bool | None = None,
138
139
  custom_attrs: dict[str, Var | Any] | None = None,
139
- on_blur: Optional[EventType[()]] = None,
140
- on_click: Optional[EventType[()]] = None,
141
- on_context_menu: Optional[EventType[()]] = None,
142
- on_double_click: Optional[EventType[()]] = None,
143
- on_focus: Optional[EventType[()]] = None,
144
- on_mount: Optional[EventType[()]] = None,
145
- on_mouse_down: Optional[EventType[()]] = None,
146
- on_mouse_enter: Optional[EventType[()]] = None,
147
- on_mouse_leave: Optional[EventType[()]] = None,
148
- on_mouse_move: Optional[EventType[()]] = None,
149
- on_mouse_out: Optional[EventType[()]] = None,
150
- on_mouse_over: Optional[EventType[()]] = None,
151
- on_mouse_up: Optional[EventType[()]] = None,
152
- on_scroll: Optional[EventType[()]] = None,
153
- on_unmount: Optional[EventType[()]] = None,
140
+ on_blur: EventType[()] | None = None,
141
+ on_click: EventType[()] | None = None,
142
+ on_context_menu: EventType[()] | None = None,
143
+ on_double_click: EventType[()] | None = None,
144
+ on_focus: EventType[()] | None = None,
145
+ on_mount: EventType[()] | None = None,
146
+ on_mouse_down: EventType[()] | None = None,
147
+ on_mouse_enter: EventType[()] | None = None,
148
+ on_mouse_leave: EventType[()] | None = None,
149
+ on_mouse_move: EventType[()] | None = None,
150
+ on_mouse_out: EventType[()] | None = None,
151
+ on_mouse_over: EventType[()] | None = None,
152
+ on_mouse_up: EventType[()] | None = None,
153
+ on_scroll: EventType[()] | None = None,
154
+ on_unmount: EventType[()] | None = None,
154
155
  **props,
155
- ) -> "Legend":
156
+ ) -> Legend:
156
157
  """Create the component.
157
158
 
158
159
  Args:
@@ -225,23 +226,23 @@ class GraphingTooltip(Recharts):
225
226
  class_name: Any | None = None,
226
227
  autofocus: bool | None = None,
227
228
  custom_attrs: dict[str, Var | Any] | None = None,
228
- on_blur: Optional[EventType[()]] = None,
229
- on_click: Optional[EventType[()]] = None,
230
- on_context_menu: Optional[EventType[()]] = None,
231
- on_double_click: Optional[EventType[()]] = None,
232
- on_focus: Optional[EventType[()]] = None,
233
- on_mount: Optional[EventType[()]] = None,
234
- on_mouse_down: Optional[EventType[()]] = None,
235
- on_mouse_enter: Optional[EventType[()]] = None,
236
- on_mouse_leave: Optional[EventType[()]] = None,
237
- on_mouse_move: Optional[EventType[()]] = None,
238
- on_mouse_out: Optional[EventType[()]] = None,
239
- on_mouse_over: Optional[EventType[()]] = None,
240
- on_mouse_up: Optional[EventType[()]] = None,
241
- on_scroll: Optional[EventType[()]] = None,
242
- on_unmount: Optional[EventType[()]] = None,
229
+ on_blur: EventType[()] | None = None,
230
+ on_click: EventType[()] | None = None,
231
+ on_context_menu: EventType[()] | None = None,
232
+ on_double_click: EventType[()] | None = None,
233
+ on_focus: EventType[()] | None = None,
234
+ on_mount: EventType[()] | None = None,
235
+ on_mouse_down: EventType[()] | None = None,
236
+ on_mouse_enter: EventType[()] | None = None,
237
+ on_mouse_leave: EventType[()] | None = None,
238
+ on_mouse_move: EventType[()] | None = None,
239
+ on_mouse_out: EventType[()] | None = None,
240
+ on_mouse_over: EventType[()] | None = None,
241
+ on_mouse_up: EventType[()] | None = None,
242
+ on_scroll: EventType[()] | None = None,
243
+ on_unmount: EventType[()] | None = None,
243
244
  **props,
244
- ) -> "GraphingTooltip":
245
+ ) -> GraphingTooltip:
245
246
  """Create the component.
246
247
 
247
248
  Args:
@@ -337,23 +338,23 @@ class Label(Recharts):
337
338
  class_name: Any | None = None,
338
339
  autofocus: bool | None = None,
339
340
  custom_attrs: dict[str, Var | Any] | None = None,
340
- on_blur: Optional[EventType[()]] = None,
341
- on_click: Optional[EventType[()]] = None,
342
- on_context_menu: Optional[EventType[()]] = None,
343
- on_double_click: Optional[EventType[()]] = None,
344
- on_focus: Optional[EventType[()]] = None,
345
- on_mount: Optional[EventType[()]] = None,
346
- on_mouse_down: Optional[EventType[()]] = None,
347
- on_mouse_enter: Optional[EventType[()]] = None,
348
- on_mouse_leave: Optional[EventType[()]] = None,
349
- on_mouse_move: Optional[EventType[()]] = None,
350
- on_mouse_out: Optional[EventType[()]] = None,
351
- on_mouse_over: Optional[EventType[()]] = None,
352
- on_mouse_up: Optional[EventType[()]] = None,
353
- on_scroll: Optional[EventType[()]] = None,
354
- on_unmount: Optional[EventType[()]] = None,
341
+ on_blur: EventType[()] | None = None,
342
+ on_click: EventType[()] | None = None,
343
+ on_context_menu: EventType[()] | None = None,
344
+ on_double_click: EventType[()] | None = None,
345
+ on_focus: EventType[()] | None = None,
346
+ on_mount: EventType[()] | None = None,
347
+ on_mouse_down: EventType[()] | None = None,
348
+ on_mouse_enter: EventType[()] | None = None,
349
+ on_mouse_leave: EventType[()] | None = None,
350
+ on_mouse_move: EventType[()] | None = None,
351
+ on_mouse_out: EventType[()] | None = None,
352
+ on_mouse_over: EventType[()] | None = None,
353
+ on_mouse_up: EventType[()] | None = None,
354
+ on_scroll: EventType[()] | None = None,
355
+ on_unmount: EventType[()] | None = None,
355
356
  **props,
356
- ) -> "Label":
357
+ ) -> Label:
357
358
  """Create the component.
358
359
 
359
360
  Args:
@@ -438,23 +439,23 @@ class LabelList(Recharts):
438
439
  class_name: Any | None = None,
439
440
  autofocus: bool | None = None,
440
441
  custom_attrs: dict[str, Var | Any] | None = None,
441
- on_blur: Optional[EventType[()]] = None,
442
- on_click: Optional[EventType[()]] = None,
443
- on_context_menu: Optional[EventType[()]] = None,
444
- on_double_click: Optional[EventType[()]] = None,
445
- on_focus: Optional[EventType[()]] = None,
446
- on_mount: Optional[EventType[()]] = None,
447
- on_mouse_down: Optional[EventType[()]] = None,
448
- on_mouse_enter: Optional[EventType[()]] = None,
449
- on_mouse_leave: Optional[EventType[()]] = None,
450
- on_mouse_move: Optional[EventType[()]] = None,
451
- on_mouse_out: Optional[EventType[()]] = None,
452
- on_mouse_over: Optional[EventType[()]] = None,
453
- on_mouse_up: Optional[EventType[()]] = None,
454
- on_scroll: Optional[EventType[()]] = None,
455
- on_unmount: Optional[EventType[()]] = None,
442
+ on_blur: EventType[()] | None = None,
443
+ on_click: EventType[()] | None = None,
444
+ on_context_menu: EventType[()] | None = None,
445
+ on_double_click: EventType[()] | None = None,
446
+ on_focus: EventType[()] | None = None,
447
+ on_mount: EventType[()] | None = None,
448
+ on_mouse_down: EventType[()] | None = None,
449
+ on_mouse_enter: EventType[()] | None = None,
450
+ on_mouse_leave: EventType[()] | None = None,
451
+ on_mouse_move: EventType[()] | None = None,
452
+ on_mouse_out: EventType[()] | None = None,
453
+ on_mouse_over: EventType[()] | None = None,
454
+ on_mouse_up: EventType[()] | None = None,
455
+ on_scroll: EventType[()] | None = None,
456
+ on_unmount: EventType[()] | None = None,
456
457
  **props,
457
- ) -> "LabelList":
458
+ ) -> LabelList:
458
459
  """Create the component.
459
460
 
460
461
  Args:
@@ -495,23 +496,23 @@ class Cell(Recharts):
495
496
  class_name: Any | None = None,
496
497
  autofocus: bool | None = None,
497
498
  custom_attrs: dict[str, Var | Any] | None = None,
498
- on_blur: Optional[EventType[()]] = None,
499
- on_click: Optional[EventType[()]] = None,
500
- on_context_menu: Optional[EventType[()]] = None,
501
- on_double_click: Optional[EventType[()]] = None,
502
- on_focus: Optional[EventType[()]] = None,
503
- on_mount: Optional[EventType[()]] = None,
504
- on_mouse_down: Optional[EventType[()]] = None,
505
- on_mouse_enter: Optional[EventType[()]] = None,
506
- on_mouse_leave: Optional[EventType[()]] = None,
507
- on_mouse_move: Optional[EventType[()]] = None,
508
- on_mouse_out: Optional[EventType[()]] = None,
509
- on_mouse_over: Optional[EventType[()]] = None,
510
- on_mouse_up: Optional[EventType[()]] = None,
511
- on_scroll: Optional[EventType[()]] = None,
512
- on_unmount: Optional[EventType[()]] = None,
499
+ on_blur: EventType[()] | None = None,
500
+ on_click: EventType[()] | None = None,
501
+ on_context_menu: EventType[()] | None = None,
502
+ on_double_click: EventType[()] | None = None,
503
+ on_focus: EventType[()] | None = None,
504
+ on_mount: EventType[()] | None = None,
505
+ on_mouse_down: EventType[()] | None = None,
506
+ on_mouse_enter: EventType[()] | None = None,
507
+ on_mouse_leave: EventType[()] | None = None,
508
+ on_mouse_move: EventType[()] | None = None,
509
+ on_mouse_out: EventType[()] | None = None,
510
+ on_mouse_over: EventType[()] | None = None,
511
+ on_mouse_up: EventType[()] | None = None,
512
+ on_scroll: EventType[()] | None = None,
513
+ on_unmount: EventType[()] | None = None,
513
514
  **props,
514
- ) -> "Cell":
515
+ ) -> Cell:
515
516
  """Create the component.
516
517
 
517
518
  Args:
@@ -3,7 +3,8 @@
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, Mapping, Optional, Sequence, overload
6
+ from collections.abc import Mapping, Sequence
7
+ from typing import Any, Literal, overload
7
8
 
8
9
  from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.constants.colors import Color
@@ -82,16 +83,16 @@ class Pie(Recharts):
82
83
  class_name: Any | None = None,
83
84
  autofocus: bool | None = None,
84
85
  custom_attrs: dict[str, Var | Any] | None = None,
85
- on_animation_end: Optional[EventType[()]] = None,
86
- on_animation_start: Optional[EventType[()]] = None,
87
- on_click: Optional[EventType[()]] = None,
88
- on_mouse_enter: Optional[EventType[()]] = None,
89
- on_mouse_leave: Optional[EventType[()]] = None,
90
- on_mouse_move: Optional[EventType[()]] = None,
91
- on_mouse_out: Optional[EventType[()]] = None,
92
- on_mouse_over: Optional[EventType[()]] = None,
86
+ on_animation_end: EventType[()] | None = None,
87
+ on_animation_start: EventType[()] | None = None,
88
+ on_click: EventType[()] | None = None,
89
+ on_mouse_enter: EventType[()] | None = None,
90
+ on_mouse_leave: EventType[()] | None = None,
91
+ on_mouse_move: EventType[()] | None = None,
92
+ on_mouse_out: EventType[()] | None = None,
93
+ on_mouse_over: EventType[()] | None = None,
93
94
  **props,
94
- ) -> "Pie":
95
+ ) -> Pie:
95
96
  """Create the component.
96
97
 
97
98
  Args:
@@ -191,10 +192,10 @@ class Radar(Recharts):
191
192
  class_name: Any | None = None,
192
193
  autofocus: bool | None = None,
193
194
  custom_attrs: dict[str, Var | Any] | None = None,
194
- on_animation_end: Optional[EventType[()]] = None,
195
- on_animation_start: Optional[EventType[()]] = None,
195
+ on_animation_end: EventType[()] | None = None,
196
+ on_animation_start: EventType[()] | None = None,
196
197
  **props,
197
- ) -> "Radar":
198
+ ) -> Radar:
198
199
  """Create the component.
199
200
 
200
201
  Args:
@@ -283,16 +284,16 @@ class RadialBar(Recharts):
283
284
  class_name: Any | None = None,
284
285
  autofocus: bool | None = None,
285
286
  custom_attrs: dict[str, Var | Any] | None = None,
286
- on_animation_end: Optional[EventType[()]] = None,
287
- on_animation_start: Optional[EventType[()]] = None,
288
- on_click: Optional[EventType[()]] = None,
289
- on_mouse_enter: Optional[EventType[()]] = None,
290
- on_mouse_leave: Optional[EventType[()]] = None,
291
- on_mouse_move: Optional[EventType[()]] = None,
292
- on_mouse_out: Optional[EventType[()]] = None,
293
- on_mouse_over: Optional[EventType[()]] = None,
287
+ on_animation_end: EventType[()] | None = None,
288
+ on_animation_start: EventType[()] | None = None,
289
+ on_click: EventType[()] | None = None,
290
+ on_mouse_enter: EventType[()] | None = None,
291
+ on_mouse_leave: EventType[()] | None = None,
292
+ on_mouse_move: EventType[()] | None = None,
293
+ on_mouse_out: EventType[()] | None = None,
294
+ on_mouse_over: EventType[()] | None = None,
294
295
  **props,
295
- ) -> "RadialBar":
296
+ ) -> RadialBar:
296
297
  """Create the component.
297
298
 
298
299
  Args:
@@ -350,23 +351,23 @@ class PolarAngleAxis(Recharts):
350
351
  class_name: Any | None = None,
351
352
  autofocus: bool | None = None,
352
353
  custom_attrs: dict[str, Var | Any] | None = None,
353
- on_blur: Optional[EventType[()]] = None,
354
- on_click: Optional[EventType[()]] = None,
355
- on_context_menu: Optional[EventType[()]] = None,
356
- on_double_click: Optional[EventType[()]] = None,
357
- on_focus: Optional[EventType[()]] = None,
358
- on_mount: Optional[EventType[()]] = None,
359
- on_mouse_down: Optional[EventType[()]] = None,
360
- on_mouse_enter: Optional[EventType[()]] = None,
361
- on_mouse_leave: Optional[EventType[()]] = None,
362
- on_mouse_move: Optional[EventType[()]] = None,
363
- on_mouse_out: Optional[EventType[()]] = None,
364
- on_mouse_over: Optional[EventType[()]] = None,
365
- on_mouse_up: Optional[EventType[()]] = None,
366
- on_scroll: Optional[EventType[()]] = None,
367
- on_unmount: Optional[EventType[()]] = None,
354
+ on_blur: EventType[()] | None = None,
355
+ on_click: EventType[()] | None = None,
356
+ on_context_menu: EventType[()] | None = None,
357
+ on_double_click: EventType[()] | None = None,
358
+ on_focus: EventType[()] | None = None,
359
+ on_mount: EventType[()] | None = None,
360
+ on_mouse_down: EventType[()] | None = None,
361
+ on_mouse_enter: EventType[()] | None = None,
362
+ on_mouse_leave: EventType[()] | None = None,
363
+ on_mouse_move: EventType[()] | None = None,
364
+ on_mouse_out: EventType[()] | None = None,
365
+ on_mouse_over: EventType[()] | None = None,
366
+ on_mouse_up: EventType[()] | None = None,
367
+ on_scroll: EventType[()] | None = None,
368
+ on_unmount: EventType[()] | None = None,
368
369
  **props,
369
- ) -> "PolarAngleAxis":
370
+ ) -> PolarAngleAxis:
370
371
  """Create the component.
371
372
 
372
373
  Args:
@@ -430,23 +431,23 @@ class PolarGrid(Recharts):
430
431
  class_name: Any | None = None,
431
432
  autofocus: bool | None = None,
432
433
  custom_attrs: dict[str, Var | Any] | None = None,
433
- on_blur: Optional[EventType[()]] = None,
434
- on_click: Optional[EventType[()]] = None,
435
- on_context_menu: Optional[EventType[()]] = None,
436
- on_double_click: Optional[EventType[()]] = None,
437
- on_focus: Optional[EventType[()]] = None,
438
- on_mount: Optional[EventType[()]] = None,
439
- on_mouse_down: Optional[EventType[()]] = None,
440
- on_mouse_enter: Optional[EventType[()]] = None,
441
- on_mouse_leave: Optional[EventType[()]] = None,
442
- on_mouse_move: Optional[EventType[()]] = None,
443
- on_mouse_out: Optional[EventType[()]] = None,
444
- on_mouse_over: Optional[EventType[()]] = None,
445
- on_mouse_up: Optional[EventType[()]] = None,
446
- on_scroll: Optional[EventType[()]] = None,
447
- on_unmount: Optional[EventType[()]] = None,
434
+ on_blur: EventType[()] | None = None,
435
+ on_click: EventType[()] | None = None,
436
+ on_context_menu: EventType[()] | None = None,
437
+ on_double_click: EventType[()] | None = None,
438
+ on_focus: EventType[()] | None = None,
439
+ on_mount: EventType[()] | None = None,
440
+ on_mouse_down: EventType[()] | None = None,
441
+ on_mouse_enter: EventType[()] | None = None,
442
+ on_mouse_leave: EventType[()] | None = None,
443
+ on_mouse_move: EventType[()] | None = None,
444
+ on_mouse_out: EventType[()] | None = None,
445
+ on_mouse_over: EventType[()] | None = None,
446
+ on_mouse_up: EventType[()] | None = None,
447
+ on_scroll: EventType[()] | None = None,
448
+ on_unmount: EventType[()] | None = None,
448
449
  **props,
449
- ) -> "PolarGrid":
450
+ ) -> PolarGrid:
450
451
  """Create the component.
451
452
 
452
453
  Args:
@@ -542,14 +543,14 @@ class PolarRadiusAxis(Recharts):
542
543
  class_name: Any | None = None,
543
544
  autofocus: bool | None = None,
544
545
  custom_attrs: dict[str, Var | Any] | None = None,
545
- on_click: Optional[EventType[()]] = None,
546
- on_mouse_enter: Optional[EventType[()]] = None,
547
- on_mouse_leave: Optional[EventType[()]] = None,
548
- on_mouse_move: Optional[EventType[()]] = None,
549
- on_mouse_out: Optional[EventType[()]] = None,
550
- on_mouse_over: Optional[EventType[()]] = None,
546
+ on_click: EventType[()] | None = None,
547
+ on_mouse_enter: EventType[()] | None = None,
548
+ on_mouse_leave: EventType[()] | None = None,
549
+ on_mouse_move: EventType[()] | None = None,
550
+ on_mouse_out: EventType[()] | None = None,
551
+ on_mouse_over: EventType[()] | None = None,
551
552
  **props,
552
- ) -> "PolarRadiusAxis":
553
+ ) -> PolarRadiusAxis:
553
554
  """Create the component.
554
555
 
555
556
  Args:
@@ -3,7 +3,8 @@
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, Mapping, Optional, Sequence, overload
6
+ from collections.abc import Mapping, Sequence
7
+ from typing import Any, Literal, overload
7
8
 
8
9
  from reflex.components.component import Component, MemoizationLeaf, NoSSRComponent
9
10
  from reflex.components.core.breakpoints import Breakpoints
@@ -26,23 +27,23 @@ class Recharts(Component):
26
27
  class_name: Any | None = None,
27
28
  autofocus: bool | None = None,
28
29
  custom_attrs: dict[str, Var | Any] | None = None,
29
- on_blur: Optional[EventType[()]] = None,
30
- on_click: Optional[EventType[()]] = None,
31
- on_context_menu: Optional[EventType[()]] = None,
32
- on_double_click: Optional[EventType[()]] = None,
33
- on_focus: Optional[EventType[()]] = None,
34
- on_mount: Optional[EventType[()]] = None,
35
- on_mouse_down: Optional[EventType[()]] = None,
36
- on_mouse_enter: Optional[EventType[()]] = None,
37
- on_mouse_leave: Optional[EventType[()]] = None,
38
- on_mouse_move: Optional[EventType[()]] = None,
39
- on_mouse_out: Optional[EventType[()]] = None,
40
- on_mouse_over: Optional[EventType[()]] = None,
41
- on_mouse_up: Optional[EventType[()]] = None,
42
- on_scroll: Optional[EventType[()]] = None,
43
- on_unmount: Optional[EventType[()]] = None,
30
+ on_blur: EventType[()] | None = None,
31
+ on_click: EventType[()] | None = None,
32
+ on_context_menu: EventType[()] | None = None,
33
+ on_double_click: EventType[()] | None = None,
34
+ on_focus: EventType[()] | None = None,
35
+ on_mount: EventType[()] | None = None,
36
+ on_mouse_down: EventType[()] | None = None,
37
+ on_mouse_enter: EventType[()] | None = None,
38
+ on_mouse_leave: EventType[()] | None = None,
39
+ on_mouse_move: EventType[()] | None = None,
40
+ on_mouse_out: EventType[()] | None = None,
41
+ on_mouse_over: EventType[()] | None = None,
42
+ on_mouse_up: EventType[()] | None = None,
43
+ on_scroll: EventType[()] | None = None,
44
+ on_unmount: EventType[()] | None = None,
44
45
  **props,
45
- ) -> "Recharts":
46
+ ) -> Recharts:
46
47
  """Create the component.
47
48
 
48
49
  Args:
@@ -76,23 +77,23 @@ class RechartsCharts(NoSSRComponent, MemoizationLeaf):
76
77
  class_name: Any | None = None,
77
78
  autofocus: bool | None = None,
78
79
  custom_attrs: dict[str, Var | Any] | None = None,
79
- on_blur: Optional[EventType[()]] = None,
80
- on_click: Optional[EventType[()]] = None,
81
- on_context_menu: Optional[EventType[()]] = None,
82
- on_double_click: Optional[EventType[()]] = None,
83
- on_focus: Optional[EventType[()]] = None,
84
- on_mount: Optional[EventType[()]] = None,
85
- on_mouse_down: Optional[EventType[()]] = None,
86
- on_mouse_enter: Optional[EventType[()]] = None,
87
- on_mouse_leave: Optional[EventType[()]] = None,
88
- on_mouse_move: Optional[EventType[()]] = None,
89
- on_mouse_out: Optional[EventType[()]] = None,
90
- on_mouse_over: Optional[EventType[()]] = None,
91
- on_mouse_up: Optional[EventType[()]] = None,
92
- on_scroll: Optional[EventType[()]] = None,
93
- on_unmount: Optional[EventType[()]] = None,
80
+ on_blur: EventType[()] | None = None,
81
+ on_click: EventType[()] | None = None,
82
+ on_context_menu: EventType[()] | None = None,
83
+ on_double_click: EventType[()] | None = None,
84
+ on_focus: EventType[()] | None = None,
85
+ on_mount: EventType[()] | None = None,
86
+ on_mouse_down: EventType[()] | None = None,
87
+ on_mouse_enter: EventType[()] | None = None,
88
+ on_mouse_leave: EventType[()] | None = None,
89
+ on_mouse_move: EventType[()] | None = None,
90
+ on_mouse_out: EventType[()] | None = None,
91
+ on_mouse_over: EventType[()] | None = None,
92
+ on_mouse_up: EventType[()] | None = None,
93
+ on_scroll: EventType[()] | None = None,
94
+ on_unmount: EventType[()] | None = None,
94
95
  **props,
95
- ) -> "RechartsCharts":
96
+ ) -> RechartsCharts:
96
97
  """Create a new memoization leaf component.
97
98
 
98
99
  Args:
@@ -3,7 +3,8 @@
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, Mapping, Optional, Sequence, overload
6
+ from collections.abc import Mapping, Sequence
7
+ from typing import Any, Literal, overload
7
8
 
8
9
  from reflex.base import Base
9
10
  from reflex.components.component import Component, ComponentNamespace
@@ -128,23 +129,23 @@ class Toaster(Component):
128
129
  class_name: Any | None = None,
129
130
  autofocus: bool | None = None,
130
131
  custom_attrs: dict[str, Var | Any] | None = None,
131
- on_blur: Optional[EventType[()]] = None,
132
- on_click: Optional[EventType[()]] = None,
133
- on_context_menu: Optional[EventType[()]] = None,
134
- on_double_click: Optional[EventType[()]] = None,
135
- on_focus: Optional[EventType[()]] = None,
136
- on_mount: Optional[EventType[()]] = None,
137
- on_mouse_down: Optional[EventType[()]] = None,
138
- on_mouse_enter: Optional[EventType[()]] = None,
139
- on_mouse_leave: Optional[EventType[()]] = None,
140
- on_mouse_move: Optional[EventType[()]] = None,
141
- on_mouse_out: Optional[EventType[()]] = None,
142
- on_mouse_over: Optional[EventType[()]] = None,
143
- on_mouse_up: Optional[EventType[()]] = None,
144
- on_scroll: Optional[EventType[()]] = None,
145
- on_unmount: Optional[EventType[()]] = None,
132
+ on_blur: EventType[()] | None = None,
133
+ on_click: EventType[()] | None = None,
134
+ on_context_menu: EventType[()] | None = None,
135
+ on_double_click: EventType[()] | None = None,
136
+ on_focus: EventType[()] | None = None,
137
+ on_mount: EventType[()] | None = None,
138
+ on_mouse_down: EventType[()] | None = None,
139
+ on_mouse_enter: EventType[()] | None = None,
140
+ on_mouse_leave: EventType[()] | None = None,
141
+ on_mouse_move: EventType[()] | None = None,
142
+ on_mouse_out: EventType[()] | None = None,
143
+ on_mouse_over: EventType[()] | None = None,
144
+ on_mouse_up: EventType[()] | None = None,
145
+ on_scroll: EventType[()] | None = None,
146
+ on_unmount: EventType[()] | None = None,
146
147
  **props,
147
- ) -> "Toaster":
148
+ ) -> Toaster:
148
149
  """Create a toaster component.
149
150
 
150
151
  Args:
@@ -192,7 +193,7 @@ class ToastNamespace(ComponentNamespace):
192
193
  level: str | None = None,
193
194
  fallback_to_alert: bool = False,
194
195
  **props,
195
- ) -> "EventSpec":
196
+ ) -> EventSpec:
196
197
  """Send a toast message.
197
198
 
198
199
  Args: