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