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,757 +0,0 @@
1
- """Stub file for reflex/components/chakra/overlay/popover.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 Popover(ChakraComponent):
16
- @overload
17
- @classmethod
18
- def create( # type: ignore
19
- cls,
20
- *children,
21
- trigger=None,
22
- header=None,
23
- body=None,
24
- footer=None,
25
- use_close_button=False,
26
- arrow_padding: Optional[Union[Var[int], int]] = None,
27
- arrow_shadow_color: Optional[Union[Var[str], str]] = None,
28
- arrow_size: Optional[Union[Var[int], int]] = None,
29
- auto_focus: Optional[Union[Var[bool], bool]] = None,
30
- boundary: Optional[Union[Var[str], str]] = None,
31
- close_on_blur: Optional[Union[Var[bool], bool]] = None,
32
- close_on_esc: Optional[Union[Var[bool], bool]] = None,
33
- default_is_open: Optional[Union[Var[bool], bool]] = None,
34
- direction: Optional[
35
- Union[Var[Literal["ltr", "rtl"]], Literal["ltr", "rtl"]]
36
- ] = None,
37
- flip: Optional[Union[Var[bool], bool]] = None,
38
- gutter: Optional[Union[Var[int], int]] = None,
39
- id_: Optional[Union[Var[str], str]] = None,
40
- is_lazy: Optional[Union[Var[bool], bool]] = None,
41
- lazy_behavior: Optional[Union[Var[str], str]] = None,
42
- is_open: Optional[Union[Var[bool], bool]] = None,
43
- match_width: Optional[Union[Var[bool], bool]] = None,
44
- placement: Optional[Union[Var[str], str]] = None,
45
- prevent_overflow: Optional[Union[Var[bool], bool]] = None,
46
- return_focus_on_close: Optional[Union[Var[bool], bool]] = None,
47
- strategy: Optional[
48
- Union[Var[Literal["fixed", "absolute"]], Literal["fixed", "absolute"]]
49
- ] = None,
50
- style: Optional[Style] = None,
51
- key: Optional[Any] = None,
52
- id: Optional[Any] = None,
53
- class_name: Optional[Any] = None,
54
- autofocus: Optional[bool] = None,
55
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
56
- on_blur: Optional[
57
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
58
- ] = None,
59
- on_click: Optional[
60
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
61
- ] = None,
62
- on_close: Optional[
63
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
64
- ] = None,
65
- on_context_menu: Optional[
66
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
67
- ] = None,
68
- on_double_click: Optional[
69
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
70
- ] = None,
71
- on_focus: Optional[
72
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
73
- ] = None,
74
- on_mount: Optional[
75
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
76
- ] = None,
77
- on_mouse_down: Optional[
78
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
79
- ] = None,
80
- on_mouse_enter: Optional[
81
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
82
- ] = None,
83
- on_mouse_leave: Optional[
84
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
85
- ] = None,
86
- on_mouse_move: Optional[
87
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
88
- ] = None,
89
- on_mouse_out: Optional[
90
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
91
- ] = None,
92
- on_mouse_over: Optional[
93
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
94
- ] = None,
95
- on_mouse_up: Optional[
96
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
97
- ] = None,
98
- on_open: Optional[
99
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
100
- ] = None,
101
- on_scroll: Optional[
102
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
103
- ] = None,
104
- on_unmount: Optional[
105
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
106
- ] = None,
107
- **props,
108
- ) -> "Popover":
109
- """Create a popover component.
110
-
111
- Args:
112
- *children: The children of the component.
113
- trigger: The trigger that opens the popover.
114
- header: The header of the popover.
115
- body: The body of the popover.
116
- footer: The footer of the popover.
117
- use_close_button: Whether to add a close button on the popover.
118
- arrow_padding: The padding required to prevent the arrow from reaching the very edge of the popper.
119
- arrow_shadow_color: The `box-shadow` of the popover arrow
120
- arrow_size: The size of the popover arrow
121
- auto_focus: If true, focus will be transferred to the first interactive element when the popover opens
122
- boundary: The boundary area for the popper. Used within the preventOverflow modifier
123
- close_on_blur: If true, the popover will close when you blur out it by clicking outside or tabbing out
124
- close_on_esc: If true, the popover will close when you hit the Esc key
125
- default_is_open: If true, the popover will be initially opened.
126
- direction: Theme direction ltr or rtl. Popper's placement will be set accordingly
127
- flip: If true, the popper will change its placement and flip when it's about to overflow its boundary area.
128
- gutter: The distance or margin between the reference and popper. It is used internally to create an offset modifier. NB: If you define offset prop, it'll override the gutter.
129
- id_: The html id attribute of the popover. If not provided, we generate a unique id. This id is also used to auto-generate the `aria-labelledby` and `aria-describedby` attributes that points to the PopoverHeader and PopoverBody
130
- is_lazy: Performance 🚀: If true, the PopoverContent rendering will be deferred until the popover is open.
131
- lazy_behavior: Performance 🚀: The lazy behavior of popover's content when not visible. Only works when `isLazy={true}` - "unmount": The popover's content is always unmounted when not open. - "keepMounted": The popover's content initially unmounted, but stays mounted when popover is open.
132
- is_open: If true, the popover will be opened in controlled mode.
133
- match_width: If true, the popper will match the width of the reference at all times. It's useful for autocomplete, `date-picker` and select patterns.
134
- placement: The placement of the popover. It's used internally by Popper.js.
135
- prevent_overflow: If true, will prevent the popper from being cut off and ensure it's visible within the boundary area.
136
- return_focus_on_close: If true, focus will be returned to the element that triggers the popover when it closes
137
- strategy: The CSS positioning strategy to use. ("fixed" | "absolute")
138
- style: The style of the component.
139
- key: A unique key for the component.
140
- id: The id for the component.
141
- class_name: The class name for the component.
142
- autofocus: Whether the component should take the focus once the page is loaded
143
- custom_attrs: custom attribute
144
- **props: The properties of the component.
145
-
146
- Returns:
147
- The popover component.
148
- """
149
- ...
150
-
151
- class PopoverContent(ChakraComponent):
152
- @overload
153
- @classmethod
154
- def create( # type: ignore
155
- cls,
156
- *children,
157
- style: Optional[Style] = None,
158
- key: Optional[Any] = None,
159
- id: Optional[Any] = None,
160
- class_name: Optional[Any] = None,
161
- autofocus: Optional[bool] = None,
162
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
163
- on_blur: Optional[
164
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
165
- ] = None,
166
- on_click: Optional[
167
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
168
- ] = None,
169
- on_context_menu: Optional[
170
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
171
- ] = None,
172
- on_double_click: Optional[
173
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
174
- ] = None,
175
- on_focus: Optional[
176
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
177
- ] = None,
178
- on_mount: Optional[
179
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
180
- ] = None,
181
- on_mouse_down: Optional[
182
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
183
- ] = None,
184
- on_mouse_enter: Optional[
185
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
186
- ] = None,
187
- on_mouse_leave: Optional[
188
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
189
- ] = None,
190
- on_mouse_move: Optional[
191
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
192
- ] = None,
193
- on_mouse_out: Optional[
194
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
195
- ] = None,
196
- on_mouse_over: Optional[
197
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
198
- ] = None,
199
- on_mouse_up: Optional[
200
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
201
- ] = None,
202
- on_scroll: Optional[
203
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
204
- ] = None,
205
- on_unmount: Optional[
206
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
207
- ] = None,
208
- **props,
209
- ) -> "PopoverContent":
210
- """Create the component.
211
-
212
- Args:
213
- *children: The children of the component.
214
- style: The style of the component.
215
- key: A unique key for the component.
216
- id: The id for the component.
217
- class_name: The class name for the component.
218
- autofocus: Whether the component should take the focus once the page is loaded
219
- custom_attrs: custom attribute
220
- **props: The props of the component.
221
-
222
- Returns:
223
- The component.
224
- """
225
- ...
226
-
227
- class PopoverHeader(ChakraComponent):
228
- @overload
229
- @classmethod
230
- def create( # type: ignore
231
- cls,
232
- *children,
233
- style: Optional[Style] = None,
234
- key: Optional[Any] = None,
235
- id: Optional[Any] = None,
236
- class_name: Optional[Any] = None,
237
- autofocus: Optional[bool] = None,
238
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
239
- on_blur: Optional[
240
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
241
- ] = None,
242
- on_click: Optional[
243
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
244
- ] = None,
245
- on_context_menu: Optional[
246
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
247
- ] = None,
248
- on_double_click: Optional[
249
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
250
- ] = None,
251
- on_focus: Optional[
252
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
253
- ] = None,
254
- on_mount: Optional[
255
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
256
- ] = None,
257
- on_mouse_down: Optional[
258
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
259
- ] = None,
260
- on_mouse_enter: Optional[
261
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
262
- ] = None,
263
- on_mouse_leave: Optional[
264
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
265
- ] = None,
266
- on_mouse_move: Optional[
267
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
268
- ] = None,
269
- on_mouse_out: Optional[
270
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
271
- ] = None,
272
- on_mouse_over: Optional[
273
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
274
- ] = None,
275
- on_mouse_up: Optional[
276
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
277
- ] = None,
278
- on_scroll: Optional[
279
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
280
- ] = None,
281
- on_unmount: Optional[
282
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
283
- ] = None,
284
- **props,
285
- ) -> "PopoverHeader":
286
- """Create the component.
287
-
288
- Args:
289
- *children: The children of the component.
290
- style: The style of the component.
291
- key: A unique key for the component.
292
- id: The id for the component.
293
- class_name: The class name for the component.
294
- autofocus: Whether the component should take the focus once the page is loaded
295
- custom_attrs: custom attribute
296
- **props: The props of the component.
297
-
298
- Returns:
299
- The component.
300
- """
301
- ...
302
-
303
- class PopoverFooter(ChakraComponent):
304
- @overload
305
- @classmethod
306
- def create( # type: ignore
307
- cls,
308
- *children,
309
- style: Optional[Style] = None,
310
- key: Optional[Any] = None,
311
- id: Optional[Any] = None,
312
- class_name: Optional[Any] = None,
313
- autofocus: Optional[bool] = None,
314
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
315
- on_blur: Optional[
316
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
317
- ] = None,
318
- on_click: Optional[
319
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
320
- ] = None,
321
- on_context_menu: Optional[
322
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
323
- ] = None,
324
- on_double_click: Optional[
325
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
326
- ] = None,
327
- on_focus: Optional[
328
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
329
- ] = None,
330
- on_mount: Optional[
331
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
332
- ] = None,
333
- on_mouse_down: Optional[
334
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
335
- ] = None,
336
- on_mouse_enter: Optional[
337
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
338
- ] = None,
339
- on_mouse_leave: Optional[
340
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
341
- ] = None,
342
- on_mouse_move: Optional[
343
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
344
- ] = None,
345
- on_mouse_out: Optional[
346
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
347
- ] = None,
348
- on_mouse_over: Optional[
349
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
350
- ] = None,
351
- on_mouse_up: Optional[
352
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
353
- ] = None,
354
- on_scroll: Optional[
355
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
356
- ] = None,
357
- on_unmount: Optional[
358
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
359
- ] = None,
360
- **props,
361
- ) -> "PopoverFooter":
362
- """Create the component.
363
-
364
- Args:
365
- *children: The children of the component.
366
- style: The style of the component.
367
- key: A unique key for the component.
368
- id: The id for the component.
369
- class_name: The class name for the component.
370
- autofocus: Whether the component should take the focus once the page is loaded
371
- custom_attrs: custom attribute
372
- **props: The props of the component.
373
-
374
- Returns:
375
- The component.
376
- """
377
- ...
378
-
379
- class PopoverBody(ChakraComponent):
380
- @overload
381
- @classmethod
382
- def create( # type: ignore
383
- cls,
384
- *children,
385
- style: Optional[Style] = None,
386
- key: Optional[Any] = None,
387
- id: Optional[Any] = None,
388
- class_name: Optional[Any] = None,
389
- autofocus: Optional[bool] = None,
390
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
391
- on_blur: Optional[
392
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
393
- ] = None,
394
- on_click: Optional[
395
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
396
- ] = None,
397
- on_context_menu: Optional[
398
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
399
- ] = None,
400
- on_double_click: Optional[
401
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
402
- ] = None,
403
- on_focus: Optional[
404
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
405
- ] = None,
406
- on_mount: Optional[
407
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
408
- ] = None,
409
- on_mouse_down: Optional[
410
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
411
- ] = None,
412
- on_mouse_enter: Optional[
413
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
414
- ] = None,
415
- on_mouse_leave: Optional[
416
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
417
- ] = None,
418
- on_mouse_move: Optional[
419
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
420
- ] = None,
421
- on_mouse_out: Optional[
422
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
423
- ] = None,
424
- on_mouse_over: Optional[
425
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
426
- ] = None,
427
- on_mouse_up: Optional[
428
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
429
- ] = None,
430
- on_scroll: Optional[
431
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
432
- ] = None,
433
- on_unmount: Optional[
434
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
435
- ] = None,
436
- **props,
437
- ) -> "PopoverBody":
438
- """Create the component.
439
-
440
- Args:
441
- *children: The children of the component.
442
- style: The style of the component.
443
- key: A unique key for the component.
444
- id: The id for the component.
445
- class_name: The class name for the component.
446
- autofocus: Whether the component should take the focus once the page is loaded
447
- custom_attrs: custom attribute
448
- **props: The props of the component.
449
-
450
- Returns:
451
- The component.
452
- """
453
- ...
454
-
455
- class PopoverArrow(ChakraComponent):
456
- @overload
457
- @classmethod
458
- def create( # type: ignore
459
- cls,
460
- *children,
461
- style: Optional[Style] = None,
462
- key: Optional[Any] = None,
463
- id: Optional[Any] = None,
464
- class_name: Optional[Any] = None,
465
- autofocus: Optional[bool] = None,
466
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
467
- on_blur: Optional[
468
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
469
- ] = None,
470
- on_click: Optional[
471
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
472
- ] = None,
473
- on_context_menu: Optional[
474
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
475
- ] = None,
476
- on_double_click: Optional[
477
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
478
- ] = None,
479
- on_focus: Optional[
480
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
481
- ] = None,
482
- on_mount: Optional[
483
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
484
- ] = None,
485
- on_mouse_down: Optional[
486
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
487
- ] = None,
488
- on_mouse_enter: Optional[
489
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
490
- ] = None,
491
- on_mouse_leave: Optional[
492
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
493
- ] = None,
494
- on_mouse_move: Optional[
495
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
496
- ] = None,
497
- on_mouse_out: Optional[
498
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
499
- ] = None,
500
- on_mouse_over: Optional[
501
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
502
- ] = None,
503
- on_mouse_up: Optional[
504
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
505
- ] = None,
506
- on_scroll: Optional[
507
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
508
- ] = None,
509
- on_unmount: Optional[
510
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
511
- ] = None,
512
- **props,
513
- ) -> "PopoverArrow":
514
- """Create the component.
515
-
516
- Args:
517
- *children: The children of the component.
518
- style: The style of the component.
519
- key: A unique key for the component.
520
- id: The id for the component.
521
- class_name: The class name for the component.
522
- autofocus: Whether the component should take the focus once the page is loaded
523
- custom_attrs: custom attribute
524
- **props: The props of the component.
525
-
526
- Returns:
527
- The component.
528
- """
529
- ...
530
-
531
- class PopoverCloseButton(ChakraComponent):
532
- @overload
533
- @classmethod
534
- def create( # type: ignore
535
- cls,
536
- *children,
537
- style: Optional[Style] = None,
538
- key: Optional[Any] = None,
539
- id: Optional[Any] = None,
540
- class_name: Optional[Any] = None,
541
- autofocus: Optional[bool] = None,
542
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
543
- on_blur: Optional[
544
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
545
- ] = None,
546
- on_click: Optional[
547
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
548
- ] = None,
549
- on_context_menu: Optional[
550
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
551
- ] = None,
552
- on_double_click: Optional[
553
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
554
- ] = None,
555
- on_focus: Optional[
556
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
557
- ] = None,
558
- on_mount: Optional[
559
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
560
- ] = None,
561
- on_mouse_down: Optional[
562
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
563
- ] = None,
564
- on_mouse_enter: Optional[
565
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
566
- ] = None,
567
- on_mouse_leave: Optional[
568
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
569
- ] = None,
570
- on_mouse_move: Optional[
571
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
572
- ] = None,
573
- on_mouse_out: Optional[
574
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
575
- ] = None,
576
- on_mouse_over: Optional[
577
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
578
- ] = None,
579
- on_mouse_up: Optional[
580
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
581
- ] = None,
582
- on_scroll: Optional[
583
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
584
- ] = None,
585
- on_unmount: Optional[
586
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
587
- ] = None,
588
- **props,
589
- ) -> "PopoverCloseButton":
590
- """Create the component.
591
-
592
- Args:
593
- *children: The children of the component.
594
- style: The style of the component.
595
- key: A unique key for the component.
596
- id: The id for the component.
597
- class_name: The class name for the component.
598
- autofocus: Whether the component should take the focus once the page is loaded
599
- custom_attrs: custom attribute
600
- **props: The props of the component.
601
-
602
- Returns:
603
- The component.
604
- """
605
- ...
606
-
607
- class PopoverAnchor(ChakraComponent):
608
- @overload
609
- @classmethod
610
- def create( # type: ignore
611
- cls,
612
- *children,
613
- style: Optional[Style] = None,
614
- key: Optional[Any] = None,
615
- id: Optional[Any] = None,
616
- class_name: Optional[Any] = None,
617
- autofocus: Optional[bool] = None,
618
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
619
- on_blur: Optional[
620
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
621
- ] = None,
622
- on_click: Optional[
623
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
624
- ] = None,
625
- on_context_menu: Optional[
626
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
627
- ] = None,
628
- on_double_click: Optional[
629
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
630
- ] = None,
631
- on_focus: Optional[
632
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
633
- ] = None,
634
- on_mount: Optional[
635
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
636
- ] = None,
637
- on_mouse_down: Optional[
638
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
639
- ] = None,
640
- on_mouse_enter: Optional[
641
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
642
- ] = None,
643
- on_mouse_leave: Optional[
644
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
645
- ] = None,
646
- on_mouse_move: Optional[
647
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
648
- ] = None,
649
- on_mouse_out: Optional[
650
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
651
- ] = None,
652
- on_mouse_over: Optional[
653
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
654
- ] = None,
655
- on_mouse_up: Optional[
656
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
657
- ] = None,
658
- on_scroll: Optional[
659
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
660
- ] = None,
661
- on_unmount: Optional[
662
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
663
- ] = None,
664
- **props,
665
- ) -> "PopoverAnchor":
666
- """Create the component.
667
-
668
- Args:
669
- *children: The children of the component.
670
- style: The style of the component.
671
- key: A unique key for the component.
672
- id: The id for the component.
673
- class_name: The class name for the component.
674
- autofocus: Whether the component should take the focus once the page is loaded
675
- custom_attrs: custom attribute
676
- **props: The props of the component.
677
-
678
- Returns:
679
- The component.
680
- """
681
- ...
682
-
683
- class PopoverTrigger(ChakraComponent):
684
- @overload
685
- @classmethod
686
- def create( # type: ignore
687
- cls,
688
- *children,
689
- style: Optional[Style] = None,
690
- key: Optional[Any] = None,
691
- id: Optional[Any] = None,
692
- class_name: Optional[Any] = None,
693
- autofocus: Optional[bool] = None,
694
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
695
- on_blur: Optional[
696
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
697
- ] = None,
698
- on_click: Optional[
699
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
700
- ] = None,
701
- on_context_menu: Optional[
702
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
703
- ] = None,
704
- on_double_click: Optional[
705
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
706
- ] = None,
707
- on_focus: Optional[
708
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
709
- ] = None,
710
- on_mount: Optional[
711
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
712
- ] = None,
713
- on_mouse_down: Optional[
714
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
715
- ] = None,
716
- on_mouse_enter: Optional[
717
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
718
- ] = None,
719
- on_mouse_leave: Optional[
720
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
721
- ] = None,
722
- on_mouse_move: Optional[
723
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
724
- ] = None,
725
- on_mouse_out: Optional[
726
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
727
- ] = None,
728
- on_mouse_over: Optional[
729
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
730
- ] = None,
731
- on_mouse_up: Optional[
732
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
733
- ] = None,
734
- on_scroll: Optional[
735
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
736
- ] = None,
737
- on_unmount: Optional[
738
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
739
- ] = None,
740
- **props,
741
- ) -> "PopoverTrigger":
742
- """Create the component.
743
-
744
- Args:
745
- *children: The children of the component.
746
- style: The style of the component.
747
- key: A unique key for the component.
748
- id: The id for the component.
749
- class_name: The class name for the component.
750
- autofocus: Whether the component should take the focus once the page is loaded
751
- custom_attrs: custom attribute
752
- **props: The props of the component.
753
-
754
- Returns:
755
- The component.
756
- """
757
- ...