reflex 0.5.9a1__py3-none-any.whl → 0.5.10__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 (169) hide show
  1. reflex/__init__.py +21 -2
  2. reflex/__init__.pyi +0 -1
  3. reflex/app.py +1 -1
  4. reflex/components/__init__.py +0 -1
  5. reflex/components/__init__.pyi +0 -1
  6. reflex/components/markdown/markdown.py +1 -1
  7. reflex/components/recharts/cartesian.py +3 -0
  8. reflex/components/recharts/cartesian.pyi +2 -0
  9. reflex/components/sonner/toast.py +27 -1
  10. reflex/components/sonner/toast.pyi +5 -0
  11. reflex/constants/base.py +2 -0
  12. reflex/constants/installer.py +2 -0
  13. reflex/experimental/hooks.py +1 -1
  14. reflex/reflex.py +0 -15
  15. reflex/state.py +22 -22
  16. reflex/testing.py +8 -3
  17. reflex/utils/net.py +43 -0
  18. reflex/utils/prerequisites.py +27 -126
  19. reflex/utils/registry.py +48 -0
  20. reflex/utils/types.py +1 -1
  21. reflex/vars.py +4 -2
  22. {reflex-0.5.9a1.dist-info → reflex-0.5.10.dist-info}/METADATA +2 -1
  23. {reflex-0.5.9a1.dist-info → reflex-0.5.10.dist-info}/RECORD +26 -167
  24. reflex/components/chakra/__init__.py +0 -204
  25. reflex/components/chakra/base.py +0 -210
  26. reflex/components/chakra/base.pyi +0 -319
  27. reflex/components/chakra/datadisplay/__init__.py +0 -10
  28. reflex/components/chakra/datadisplay/badge.py +0 -16
  29. reflex/components/chakra/datadisplay/badge.pyi +0 -96
  30. reflex/components/chakra/datadisplay/code.py +0 -11
  31. reflex/components/chakra/datadisplay/code.pyi +0 -87
  32. reflex/components/chakra/datadisplay/divider.py +0 -20
  33. reflex/components/chakra/datadisplay/divider.pyi +0 -100
  34. reflex/components/chakra/datadisplay/keyboard_key.py +0 -9
  35. reflex/components/chakra/datadisplay/keyboard_key.pyi +0 -87
  36. reflex/components/chakra/datadisplay/list.py +0 -60
  37. reflex/components/chakra/datadisplay/list.pyi +0 -339
  38. reflex/components/chakra/datadisplay/stat.py +0 -80
  39. reflex/components/chakra/datadisplay/stat.pyi +0 -477
  40. reflex/components/chakra/datadisplay/table.py +0 -305
  41. reflex/components/chakra/datadisplay/table.pyi +0 -737
  42. reflex/components/chakra/datadisplay/tag.py +0 -85
  43. reflex/components/chakra/datadisplay/tag.pyi +0 -433
  44. reflex/components/chakra/disclosure/__init__.py +0 -14
  45. reflex/components/chakra/disclosure/accordion.py +0 -110
  46. reflex/components/chakra/disclosure/accordion.pyi +0 -411
  47. reflex/components/chakra/disclosure/tabs.py +0 -117
  48. reflex/components/chakra/disclosure/tabs.pyi +0 -496
  49. reflex/components/chakra/disclosure/transition.py +0 -73
  50. reflex/components/chakra/disclosure/transition.pyi +0 -509
  51. reflex/components/chakra/disclosure/visuallyhidden.py +0 -9
  52. reflex/components/chakra/disclosure/visuallyhidden.pyi +0 -87
  53. reflex/components/chakra/feedback/__init__.py +0 -7
  54. reflex/components/chakra/feedback/alert.py +0 -68
  55. reflex/components/chakra/feedback/alert.pyi +0 -335
  56. reflex/components/chakra/feedback/circularprogress.py +0 -68
  57. reflex/components/chakra/feedback/circularprogress.pyi +0 -185
  58. reflex/components/chakra/feedback/progress.py +0 -33
  59. reflex/components/chakra/feedback/progress.pyi +0 -101
  60. reflex/components/chakra/feedback/skeleton.py +0 -70
  61. reflex/components/chakra/feedback/skeleton.pyi +0 -271
  62. reflex/components/chakra/feedback/spinner.py +0 -25
  63. reflex/components/chakra/feedback/spinner.pyi +0 -102
  64. reflex/components/chakra/forms/__init__.py +0 -49
  65. reflex/components/chakra/forms/button.py +0 -83
  66. reflex/components/chakra/forms/button.pyi +0 -262
  67. reflex/components/chakra/forms/checkbox.py +0 -77
  68. reflex/components/chakra/forms/checkbox.pyi +0 -247
  69. reflex/components/chakra/forms/colormodeswitch.py +0 -104
  70. reflex/components/chakra/forms/colormodeswitch.pyi +0 -473
  71. reflex/components/chakra/forms/date_picker.py +0 -11
  72. reflex/components/chakra/forms/date_picker.pyi +0 -129
  73. reflex/components/chakra/forms/date_time_picker.py +0 -11
  74. reflex/components/chakra/forms/date_time_picker.pyi +0 -129
  75. reflex/components/chakra/forms/editable.py +0 -67
  76. reflex/components/chakra/forms/editable.pyi +0 -343
  77. reflex/components/chakra/forms/email.py +0 -11
  78. reflex/components/chakra/forms/email.pyi +0 -129
  79. reflex/components/chakra/forms/form.py +0 -103
  80. reflex/components/chakra/forms/form.pyi +0 -484
  81. reflex/components/chakra/forms/iconbutton.py +0 -38
  82. reflex/components/chakra/forms/iconbutton.pyi +0 -108
  83. reflex/components/chakra/forms/input.py +0 -130
  84. reflex/components/chakra/forms/input.pyi +0 -566
  85. reflex/components/chakra/forms/multiselect.py +0 -355
  86. reflex/components/chakra/forms/numberinput.py +0 -128
  87. reflex/components/chakra/forms/numberinput.pyi +0 -442
  88. reflex/components/chakra/forms/password.py +0 -11
  89. reflex/components/chakra/forms/password.pyi +0 -129
  90. reflex/components/chakra/forms/pininput.py +0 -201
  91. reflex/components/chakra/forms/pininput.pyi +0 -215
  92. reflex/components/chakra/forms/radio.py +0 -101
  93. reflex/components/chakra/forms/radio.pyi +0 -197
  94. reflex/components/chakra/forms/rangeslider.py +0 -149
  95. reflex/components/chakra/forms/rangeslider.pyi +0 -354
  96. reflex/components/chakra/forms/select.py +0 -103
  97. reflex/components/chakra/forms/select.pyi +0 -204
  98. reflex/components/chakra/forms/slider.py +0 -130
  99. reflex/components/chakra/forms/slider.pyi +0 -449
  100. reflex/components/chakra/forms/switch.py +0 -49
  101. reflex/components/chakra/forms/switch.pyi +0 -159
  102. reflex/components/chakra/forms/textarea.py +0 -79
  103. reflex/components/chakra/forms/textarea.pyi +0 -123
  104. reflex/components/chakra/forms/time_picker.py +0 -11
  105. reflex/components/chakra/forms/time_picker.pyi +0 -129
  106. reflex/components/chakra/layout/__init__.py +0 -14
  107. reflex/components/chakra/layout/aspect_ratio.py +0 -13
  108. reflex/components/chakra/layout/aspect_ratio.pyi +0 -89
  109. reflex/components/chakra/layout/box.py +0 -31
  110. reflex/components/chakra/layout/box.pyi +0 -93
  111. reflex/components/chakra/layout/card.py +0 -100
  112. reflex/components/chakra/layout/card.pyi +0 -379
  113. reflex/components/chakra/layout/center.py +0 -21
  114. reflex/components/chakra/layout/center.pyi +0 -239
  115. reflex/components/chakra/layout/container.py +0 -13
  116. reflex/components/chakra/layout/container.pyi +0 -89
  117. reflex/components/chakra/layout/flex.py +0 -33
  118. reflex/components/chakra/layout/flex.pyi +0 -101
  119. reflex/components/chakra/layout/grid.py +0 -125
  120. reflex/components/chakra/layout/grid.pyi +0 -293
  121. reflex/components/chakra/layout/spacer.py +0 -9
  122. reflex/components/chakra/layout/spacer.pyi +0 -87
  123. reflex/components/chakra/layout/stack.py +0 -48
  124. reflex/components/chakra/layout/stack.pyi +0 -305
  125. reflex/components/chakra/layout/wrap.py +0 -57
  126. reflex/components/chakra/layout/wrap.pyi +0 -179
  127. reflex/components/chakra/media/__init__.py +0 -7
  128. reflex/components/chakra/media/avatar.py +0 -58
  129. reflex/components/chakra/media/avatar.pyi +0 -267
  130. reflex/components/chakra/media/icon.py +0 -111
  131. reflex/components/chakra/media/icon.pyi +0 -171
  132. reflex/components/chakra/media/image.py +0 -74
  133. reflex/components/chakra/media/image.pyi +0 -118
  134. reflex/components/chakra/navigation/__init__.py +0 -18
  135. reflex/components/chakra/navigation/breadcrumb.py +0 -98
  136. reflex/components/chakra/navigation/breadcrumb.pyi +0 -351
  137. reflex/components/chakra/navigation/link.py +0 -62
  138. reflex/components/chakra/navigation/link.pyi +0 -105
  139. reflex/components/chakra/navigation/linkoverlay.py +0 -22
  140. reflex/components/chakra/navigation/linkoverlay.pyi +0 -167
  141. reflex/components/chakra/navigation/stepper.py +0 -113
  142. reflex/components/chakra/navigation/stepper.pyi +0 -762
  143. reflex/components/chakra/overlay/__init__.py +0 -50
  144. reflex/components/chakra/overlay/alertdialog.py +0 -153
  145. reflex/components/chakra/overlay/alertdialog.pyi +0 -612
  146. reflex/components/chakra/overlay/drawer.py +0 -168
  147. reflex/components/chakra/overlay/drawer.pyi +0 -652
  148. reflex/components/chakra/overlay/menu.py +0 -225
  149. reflex/components/chakra/overlay/menu.pyi +0 -708
  150. reflex/components/chakra/overlay/modal.py +0 -166
  151. reflex/components/chakra/overlay/modal.pyi +0 -600
  152. reflex/components/chakra/overlay/popover.py +0 -183
  153. reflex/components/chakra/overlay/popover.pyi +0 -757
  154. reflex/components/chakra/overlay/tooltip.py +0 -70
  155. reflex/components/chakra/overlay/tooltip.pyi +0 -129
  156. reflex/components/chakra/typography/__init__.py +0 -10
  157. reflex/components/chakra/typography/heading.py +0 -16
  158. reflex/components/chakra/typography/heading.pyi +0 -96
  159. reflex/components/chakra/typography/highlight.py +0 -23
  160. reflex/components/chakra/typography/highlight.pyi +0 -91
  161. reflex/components/chakra/typography/span.py +0 -15
  162. reflex/components/chakra/typography/span.pyi +0 -89
  163. reflex/components/chakra/typography/text.py +0 -18
  164. reflex/components/chakra/typography/text.pyi +0 -91
  165. reflex/components/media/__init__.py +0 -1
  166. reflex/components/media/icon.py +0 -3
  167. {reflex-0.5.9a1.dist-info → reflex-0.5.10.dist-info}/LICENSE +0 -0
  168. {reflex-0.5.9a1.dist-info → reflex-0.5.10.dist-info}/WHEEL +0 -0
  169. {reflex-0.5.9a1.dist-info → reflex-0.5.10.dist-info}/entry_points.txt +0 -0
@@ -1,612 +0,0 @@
1
- """Stub file for reflex/components/chakra/overlay/alertdialog.py"""
2
-
3
- # ------------------- DO NOT EDIT ----------------------
4
- # This file was generated by `reflex/utils/pyi_generator.py`!
5
- # ------------------------------------------------------
6
- from typing import Any, Callable, Dict, Literal, Optional, Union, overload
7
-
8
- from reflex.components.chakra import ChakraComponent
9
- from reflex.event import EventHandler, EventSpec
10
- from reflex.style import Style
11
- from reflex.vars import BaseVar, Var
12
-
13
- class AlertDialog(ChakraComponent):
14
- @overload
15
- @classmethod
16
- def create( # type: ignore
17
- cls,
18
- *children,
19
- header=None,
20
- body=None,
21
- footer=None,
22
- close_button=None,
23
- is_open: Optional[Union[Var[bool], bool]] = None,
24
- least_destructive_ref: Optional[Union[Var[str], str]] = None,
25
- allow_pinch_zoom: Optional[Union[Var[bool], bool]] = None,
26
- auto_focus: Optional[Union[Var[bool], bool]] = None,
27
- block_scroll_on_mount: Optional[Union[Var[bool], bool]] = None,
28
- close_on_esc: Optional[Union[Var[bool], bool]] = None,
29
- close_on_overlay_click: Optional[Union[Var[bool], bool]] = None,
30
- is_centered: Optional[Union[Var[bool], bool]] = None,
31
- lock_focus_across_frames: Optional[Union[Var[bool], bool]] = None,
32
- preserve_scroll_bar_gap: Optional[Union[Var[bool], bool]] = None,
33
- return_focus_on_close: Optional[Union[Var[bool], bool]] = None,
34
- size: Optional[
35
- Union[
36
- Var[
37
- Literal[
38
- "sm",
39
- "md",
40
- "lg",
41
- "xs",
42
- "2xl",
43
- "full",
44
- "3xl",
45
- "4xl",
46
- "5xl",
47
- "6xl",
48
- ]
49
- ],
50
- Literal[
51
- "sm", "md", "lg", "xs", "2xl", "full", "3xl", "4xl", "5xl", "6xl"
52
- ],
53
- ]
54
- ] = None,
55
- use_inert: Optional[Union[Var[bool], bool]] = None,
56
- style: Optional[Style] = None,
57
- key: Optional[Any] = None,
58
- id: Optional[Any] = None,
59
- class_name: Optional[Any] = None,
60
- autofocus: Optional[bool] = None,
61
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
62
- on_blur: Optional[
63
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
64
- ] = None,
65
- on_click: Optional[
66
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
67
- ] = None,
68
- on_close: Optional[
69
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
70
- ] = None,
71
- on_close_complete: Optional[
72
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
73
- ] = None,
74
- on_context_menu: Optional[
75
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
76
- ] = None,
77
- on_double_click: Optional[
78
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
79
- ] = None,
80
- on_esc: Optional[
81
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
82
- ] = None,
83
- on_focus: Optional[
84
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
85
- ] = None,
86
- on_mount: Optional[
87
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
88
- ] = None,
89
- on_mouse_down: Optional[
90
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
91
- ] = None,
92
- on_mouse_enter: Optional[
93
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
94
- ] = None,
95
- on_mouse_leave: Optional[
96
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
97
- ] = None,
98
- on_mouse_move: Optional[
99
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
100
- ] = None,
101
- on_mouse_out: Optional[
102
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
103
- ] = None,
104
- on_mouse_over: Optional[
105
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
106
- ] = None,
107
- on_mouse_up: Optional[
108
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
109
- ] = None,
110
- on_overlay_click: Optional[
111
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
112
- ] = None,
113
- on_scroll: Optional[
114
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
115
- ] = None,
116
- on_unmount: Optional[
117
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
118
- ] = None,
119
- **props,
120
- ) -> "AlertDialog":
121
- """Create an alert dialog component.
122
-
123
- Args:
124
- *children: The children of the alert dialog component.
125
- header: The header of the alert dialog.
126
- body: The body of the alert dialog.
127
- footer: The footer of the alert dialog.
128
- close_button: The close button of the alert dialog.
129
- is_open: If true, the modal will be open.
130
- least_destructive_ref: The least destructive element to focus when the dialog opens.
131
- allow_pinch_zoom: Handle zoom/pinch gestures on iOS devices when scroll locking is enabled. Defaults to false.
132
- auto_focus: If true, the modal will autofocus the first enabled and interactive element within the ModalContent
133
- block_scroll_on_mount: If true, scrolling will be disabled on the body when the modal opens.
134
- close_on_esc: If true, the modal will close when the Esc key is pressed
135
- close_on_overlay_click: If true, the modal will close when the overlay is clicked
136
- is_centered: If true, the modal will be centered on screen.
137
- lock_focus_across_frames: Enables aggressive focus capturing within iframes. If true, keep focus in the lock, no matter where lock is active. If false, allows focus to move outside of iframe.
138
- preserve_scroll_bar_gap: If true, a `padding-right` will be applied to the body element that's equal to the width of the scrollbar. This can help prevent some unpleasant flickering effect and content adjustment when the modal opens
139
- return_focus_on_close: If true, the modal will return focus to the element that triggered it when it closes.
140
- size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full"
141
- use_inert: If true, the siblings of the modal will have `aria-hidden` set to true so that screen readers can only see the modal. This is commonly known as making the other elements **inert**
142
- style: The style of the component.
143
- key: A unique key for the component.
144
- id: The id for the component.
145
- class_name: The class name for the component.
146
- autofocus: Whether the component should take the focus once the page is loaded
147
- custom_attrs: custom attribute
148
- **props: The properties of the alert dialog component.
149
-
150
- Raises:
151
- AttributeError: if there is a conflict between the props used.
152
-
153
- Returns:
154
- The alert dialog component.
155
- """
156
- ...
157
-
158
- class AlertDialogBody(ChakraComponent):
159
- @overload
160
- @classmethod
161
- def create( # type: ignore
162
- cls,
163
- *children,
164
- style: Optional[Style] = None,
165
- key: Optional[Any] = None,
166
- id: Optional[Any] = None,
167
- class_name: Optional[Any] = None,
168
- autofocus: Optional[bool] = None,
169
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
170
- on_blur: Optional[
171
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
172
- ] = None,
173
- on_click: Optional[
174
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
175
- ] = None,
176
- on_context_menu: Optional[
177
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
178
- ] = None,
179
- on_double_click: Optional[
180
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
181
- ] = None,
182
- on_focus: Optional[
183
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
184
- ] = None,
185
- on_mount: Optional[
186
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
187
- ] = None,
188
- on_mouse_down: Optional[
189
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
190
- ] = None,
191
- on_mouse_enter: Optional[
192
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
193
- ] = None,
194
- on_mouse_leave: Optional[
195
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
196
- ] = None,
197
- on_mouse_move: Optional[
198
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
199
- ] = None,
200
- on_mouse_out: Optional[
201
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
202
- ] = None,
203
- on_mouse_over: Optional[
204
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
205
- ] = None,
206
- on_mouse_up: Optional[
207
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
208
- ] = None,
209
- on_scroll: Optional[
210
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
211
- ] = None,
212
- on_unmount: Optional[
213
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
214
- ] = None,
215
- **props,
216
- ) -> "AlertDialogBody":
217
- """Create the component.
218
-
219
- Args:
220
- *children: The children of the component.
221
- style: The style of the component.
222
- key: A unique key for the component.
223
- id: The id for the component.
224
- class_name: The class name for the component.
225
- autofocus: Whether the component should take the focus once the page is loaded
226
- custom_attrs: custom attribute
227
- **props: The props of the component.
228
-
229
- Returns:
230
- The component.
231
- """
232
- ...
233
-
234
- class AlertDialogHeader(ChakraComponent):
235
- @overload
236
- @classmethod
237
- def create( # type: ignore
238
- cls,
239
- *children,
240
- style: Optional[Style] = None,
241
- key: Optional[Any] = None,
242
- id: Optional[Any] = None,
243
- class_name: Optional[Any] = None,
244
- autofocus: Optional[bool] = None,
245
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
246
- on_blur: Optional[
247
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
248
- ] = None,
249
- on_click: Optional[
250
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
251
- ] = None,
252
- on_context_menu: Optional[
253
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
254
- ] = None,
255
- on_double_click: Optional[
256
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
257
- ] = None,
258
- on_focus: Optional[
259
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
260
- ] = None,
261
- on_mount: Optional[
262
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
263
- ] = None,
264
- on_mouse_down: Optional[
265
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
266
- ] = None,
267
- on_mouse_enter: Optional[
268
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
269
- ] = None,
270
- on_mouse_leave: Optional[
271
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
272
- ] = None,
273
- on_mouse_move: Optional[
274
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
275
- ] = None,
276
- on_mouse_out: Optional[
277
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
278
- ] = None,
279
- on_mouse_over: Optional[
280
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
281
- ] = None,
282
- on_mouse_up: Optional[
283
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
284
- ] = None,
285
- on_scroll: Optional[
286
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
287
- ] = None,
288
- on_unmount: Optional[
289
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
290
- ] = None,
291
- **props,
292
- ) -> "AlertDialogHeader":
293
- """Create the component.
294
-
295
- Args:
296
- *children: The children of the component.
297
- style: The style of the component.
298
- key: A unique key for the component.
299
- id: The id for the component.
300
- class_name: The class name for the component.
301
- autofocus: Whether the component should take the focus once the page is loaded
302
- custom_attrs: custom attribute
303
- **props: The props of the component.
304
-
305
- Returns:
306
- The component.
307
- """
308
- ...
309
-
310
- class AlertDialogFooter(ChakraComponent):
311
- @overload
312
- @classmethod
313
- def create( # type: ignore
314
- cls,
315
- *children,
316
- style: Optional[Style] = None,
317
- key: Optional[Any] = None,
318
- id: Optional[Any] = None,
319
- class_name: Optional[Any] = None,
320
- autofocus: Optional[bool] = None,
321
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
322
- on_blur: Optional[
323
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
324
- ] = None,
325
- on_click: Optional[
326
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
327
- ] = None,
328
- on_context_menu: Optional[
329
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
330
- ] = None,
331
- on_double_click: Optional[
332
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
333
- ] = None,
334
- on_focus: Optional[
335
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
336
- ] = None,
337
- on_mount: Optional[
338
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
339
- ] = None,
340
- on_mouse_down: Optional[
341
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
342
- ] = None,
343
- on_mouse_enter: Optional[
344
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
345
- ] = None,
346
- on_mouse_leave: Optional[
347
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
348
- ] = None,
349
- on_mouse_move: Optional[
350
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
351
- ] = None,
352
- on_mouse_out: Optional[
353
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
354
- ] = None,
355
- on_mouse_over: Optional[
356
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
357
- ] = None,
358
- on_mouse_up: Optional[
359
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
360
- ] = None,
361
- on_scroll: Optional[
362
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
363
- ] = None,
364
- on_unmount: Optional[
365
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
366
- ] = None,
367
- **props,
368
- ) -> "AlertDialogFooter":
369
- """Create the component.
370
-
371
- Args:
372
- *children: The children of the component.
373
- style: The style of the component.
374
- key: A unique key for the component.
375
- id: The id for the component.
376
- class_name: The class name for the component.
377
- autofocus: Whether the component should take the focus once the page is loaded
378
- custom_attrs: custom attribute
379
- **props: The props of the component.
380
-
381
- Returns:
382
- The component.
383
- """
384
- ...
385
-
386
- class AlertDialogContent(ChakraComponent):
387
- @overload
388
- @classmethod
389
- def create( # type: ignore
390
- cls,
391
- *children,
392
- style: Optional[Style] = None,
393
- key: Optional[Any] = None,
394
- id: Optional[Any] = None,
395
- class_name: Optional[Any] = None,
396
- autofocus: Optional[bool] = None,
397
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
398
- on_blur: Optional[
399
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
400
- ] = None,
401
- on_click: Optional[
402
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
403
- ] = None,
404
- on_context_menu: Optional[
405
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
406
- ] = None,
407
- on_double_click: Optional[
408
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
409
- ] = None,
410
- on_focus: Optional[
411
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
412
- ] = None,
413
- on_mount: Optional[
414
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
415
- ] = None,
416
- on_mouse_down: Optional[
417
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
418
- ] = None,
419
- on_mouse_enter: Optional[
420
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
421
- ] = None,
422
- on_mouse_leave: Optional[
423
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
424
- ] = None,
425
- on_mouse_move: Optional[
426
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
427
- ] = None,
428
- on_mouse_out: Optional[
429
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
430
- ] = None,
431
- on_mouse_over: Optional[
432
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
433
- ] = None,
434
- on_mouse_up: Optional[
435
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
436
- ] = None,
437
- on_scroll: Optional[
438
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
439
- ] = None,
440
- on_unmount: Optional[
441
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
442
- ] = None,
443
- **props,
444
- ) -> "AlertDialogContent":
445
- """Create the component.
446
-
447
- Args:
448
- *children: The children of the component.
449
- style: The style of the component.
450
- key: A unique key for the component.
451
- id: The id for the component.
452
- class_name: The class name for the component.
453
- autofocus: Whether the component should take the focus once the page is loaded
454
- custom_attrs: custom attribute
455
- **props: The props of the component.
456
-
457
- Returns:
458
- The component.
459
- """
460
- ...
461
-
462
- class AlertDialogOverlay(ChakraComponent):
463
- @overload
464
- @classmethod
465
- def create( # type: ignore
466
- cls,
467
- *children,
468
- style: Optional[Style] = None,
469
- key: Optional[Any] = None,
470
- id: Optional[Any] = None,
471
- class_name: Optional[Any] = None,
472
- autofocus: Optional[bool] = None,
473
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
474
- on_blur: Optional[
475
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
476
- ] = None,
477
- on_click: Optional[
478
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
479
- ] = None,
480
- on_context_menu: Optional[
481
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
482
- ] = None,
483
- on_double_click: Optional[
484
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
485
- ] = None,
486
- on_focus: Optional[
487
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
488
- ] = None,
489
- on_mount: Optional[
490
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
491
- ] = None,
492
- on_mouse_down: Optional[
493
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
494
- ] = None,
495
- on_mouse_enter: Optional[
496
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
497
- ] = None,
498
- on_mouse_leave: Optional[
499
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
500
- ] = None,
501
- on_mouse_move: Optional[
502
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
503
- ] = None,
504
- on_mouse_out: Optional[
505
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
506
- ] = None,
507
- on_mouse_over: Optional[
508
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
509
- ] = None,
510
- on_mouse_up: Optional[
511
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
512
- ] = None,
513
- on_scroll: Optional[
514
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
515
- ] = None,
516
- on_unmount: Optional[
517
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
518
- ] = None,
519
- **props,
520
- ) -> "AlertDialogOverlay":
521
- """Create the component.
522
-
523
- Args:
524
- *children: The children of the component.
525
- style: The style of the component.
526
- key: A unique key for the component.
527
- id: The id for the component.
528
- class_name: The class name for the component.
529
- autofocus: Whether the component should take the focus once the page is loaded
530
- custom_attrs: custom attribute
531
- **props: The props of the component.
532
-
533
- Returns:
534
- The component.
535
- """
536
- ...
537
-
538
- class AlertDialogCloseButton(ChakraComponent):
539
- @overload
540
- @classmethod
541
- def create( # type: ignore
542
- cls,
543
- *children,
544
- style: Optional[Style] = None,
545
- key: Optional[Any] = None,
546
- id: Optional[Any] = None,
547
- class_name: Optional[Any] = None,
548
- autofocus: Optional[bool] = None,
549
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
550
- on_blur: Optional[
551
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
552
- ] = None,
553
- on_click: Optional[
554
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
555
- ] = None,
556
- on_context_menu: Optional[
557
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
558
- ] = None,
559
- on_double_click: Optional[
560
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
561
- ] = None,
562
- on_focus: Optional[
563
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
564
- ] = None,
565
- on_mount: Optional[
566
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
567
- ] = None,
568
- on_mouse_down: Optional[
569
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
570
- ] = None,
571
- on_mouse_enter: Optional[
572
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
573
- ] = None,
574
- on_mouse_leave: Optional[
575
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
576
- ] = None,
577
- on_mouse_move: Optional[
578
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
579
- ] = None,
580
- on_mouse_out: Optional[
581
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
582
- ] = None,
583
- on_mouse_over: Optional[
584
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
585
- ] = None,
586
- on_mouse_up: Optional[
587
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
588
- ] = None,
589
- on_scroll: Optional[
590
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
591
- ] = None,
592
- on_unmount: Optional[
593
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
594
- ] = None,
595
- **props,
596
- ) -> "AlertDialogCloseButton":
597
- """Create the component.
598
-
599
- Args:
600
- *children: The children of the component.
601
- style: The style of the component.
602
- key: A unique key for the component.
603
- id: The id for the component.
604
- class_name: The class name for the component.
605
- autofocus: Whether the component should take the focus once the page is loaded
606
- custom_attrs: custom attribute
607
- **props: The props of the component.
608
-
609
- Returns:
610
- The component.
611
- """
612
- ...