reflex 0.5.9.dev1__py3-none-any.whl → 0.5.10a1__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.
- reflex/.templates/web/utils/client_side_routing.js +6 -1
- reflex/__init__.py +21 -2
- reflex/__init__.pyi +0 -1
- reflex/app.py +1 -1
- reflex/components/__init__.py +0 -1
- reflex/components/__init__.pyi +0 -1
- reflex/components/markdown/markdown.py +1 -1
- reflex/components/recharts/cartesian.py +3 -0
- reflex/components/recharts/cartesian.pyi +2 -0
- reflex/components/sonner/toast.py +27 -1
- reflex/components/sonner/toast.pyi +5 -0
- reflex/constants/base.py +2 -0
- reflex/constants/installer.py +2 -0
- reflex/experimental/hooks.py +1 -1
- reflex/reflex.py +0 -15
- reflex/state.py +22 -22
- reflex/testing.py +8 -3
- reflex/utils/prerequisites.py +16 -115
- reflex/utils/registry.py +48 -0
- reflex/utils/types.py +1 -1
- reflex/vars.py +4 -2
- {reflex-0.5.9.dev1.dist-info → reflex-0.5.10a1.dist-info}/METADATA +2 -1
- {reflex-0.5.9.dev1.dist-info → reflex-0.5.10a1.dist-info}/RECORD +26 -168
- reflex/components/chakra/__init__.py +0 -204
- reflex/components/chakra/base.py +0 -210
- reflex/components/chakra/base.pyi +0 -319
- reflex/components/chakra/datadisplay/__init__.py +0 -10
- reflex/components/chakra/datadisplay/badge.py +0 -16
- reflex/components/chakra/datadisplay/badge.pyi +0 -96
- reflex/components/chakra/datadisplay/code.py +0 -11
- reflex/components/chakra/datadisplay/code.pyi +0 -87
- reflex/components/chakra/datadisplay/divider.py +0 -20
- reflex/components/chakra/datadisplay/divider.pyi +0 -100
- reflex/components/chakra/datadisplay/keyboard_key.py +0 -9
- reflex/components/chakra/datadisplay/keyboard_key.pyi +0 -87
- reflex/components/chakra/datadisplay/list.py +0 -60
- reflex/components/chakra/datadisplay/list.pyi +0 -339
- reflex/components/chakra/datadisplay/stat.py +0 -80
- reflex/components/chakra/datadisplay/stat.pyi +0 -477
- reflex/components/chakra/datadisplay/table.py +0 -305
- reflex/components/chakra/datadisplay/table.pyi +0 -737
- reflex/components/chakra/datadisplay/tag.py +0 -85
- reflex/components/chakra/datadisplay/tag.pyi +0 -433
- reflex/components/chakra/disclosure/__init__.py +0 -14
- reflex/components/chakra/disclosure/accordion.py +0 -110
- reflex/components/chakra/disclosure/accordion.pyi +0 -411
- reflex/components/chakra/disclosure/tabs.py +0 -117
- reflex/components/chakra/disclosure/tabs.pyi +0 -496
- reflex/components/chakra/disclosure/transition.py +0 -73
- reflex/components/chakra/disclosure/transition.pyi +0 -509
- reflex/components/chakra/disclosure/visuallyhidden.py +0 -9
- reflex/components/chakra/disclosure/visuallyhidden.pyi +0 -87
- reflex/components/chakra/feedback/__init__.py +0 -7
- reflex/components/chakra/feedback/alert.py +0 -68
- reflex/components/chakra/feedback/alert.pyi +0 -335
- reflex/components/chakra/feedback/circularprogress.py +0 -68
- reflex/components/chakra/feedback/circularprogress.pyi +0 -185
- reflex/components/chakra/feedback/progress.py +0 -33
- reflex/components/chakra/feedback/progress.pyi +0 -101
- reflex/components/chakra/feedback/skeleton.py +0 -70
- reflex/components/chakra/feedback/skeleton.pyi +0 -271
- reflex/components/chakra/feedback/spinner.py +0 -25
- reflex/components/chakra/feedback/spinner.pyi +0 -102
- reflex/components/chakra/forms/__init__.py +0 -49
- reflex/components/chakra/forms/button.py +0 -83
- reflex/components/chakra/forms/button.pyi +0 -262
- reflex/components/chakra/forms/checkbox.py +0 -77
- reflex/components/chakra/forms/checkbox.pyi +0 -247
- reflex/components/chakra/forms/colormodeswitch.py +0 -104
- reflex/components/chakra/forms/colormodeswitch.pyi +0 -473
- reflex/components/chakra/forms/date_picker.py +0 -11
- reflex/components/chakra/forms/date_picker.pyi +0 -129
- reflex/components/chakra/forms/date_time_picker.py +0 -11
- reflex/components/chakra/forms/date_time_picker.pyi +0 -129
- reflex/components/chakra/forms/editable.py +0 -67
- reflex/components/chakra/forms/editable.pyi +0 -343
- reflex/components/chakra/forms/email.py +0 -11
- reflex/components/chakra/forms/email.pyi +0 -129
- reflex/components/chakra/forms/form.py +0 -103
- reflex/components/chakra/forms/form.pyi +0 -484
- reflex/components/chakra/forms/iconbutton.py +0 -38
- reflex/components/chakra/forms/iconbutton.pyi +0 -108
- reflex/components/chakra/forms/input.py +0 -130
- reflex/components/chakra/forms/input.pyi +0 -566
- reflex/components/chakra/forms/multiselect.py +0 -355
- reflex/components/chakra/forms/numberinput.py +0 -128
- reflex/components/chakra/forms/numberinput.pyi +0 -442
- reflex/components/chakra/forms/password.py +0 -11
- reflex/components/chakra/forms/password.pyi +0 -129
- reflex/components/chakra/forms/pininput.py +0 -201
- reflex/components/chakra/forms/pininput.pyi +0 -215
- reflex/components/chakra/forms/radio.py +0 -101
- reflex/components/chakra/forms/radio.pyi +0 -197
- reflex/components/chakra/forms/rangeslider.py +0 -149
- reflex/components/chakra/forms/rangeslider.pyi +0 -354
- reflex/components/chakra/forms/select.py +0 -103
- reflex/components/chakra/forms/select.pyi +0 -204
- reflex/components/chakra/forms/slider.py +0 -130
- reflex/components/chakra/forms/slider.pyi +0 -449
- reflex/components/chakra/forms/switch.py +0 -49
- reflex/components/chakra/forms/switch.pyi +0 -159
- reflex/components/chakra/forms/textarea.py +0 -79
- reflex/components/chakra/forms/textarea.pyi +0 -123
- reflex/components/chakra/forms/time_picker.py +0 -11
- reflex/components/chakra/forms/time_picker.pyi +0 -129
- reflex/components/chakra/layout/__init__.py +0 -14
- reflex/components/chakra/layout/aspect_ratio.py +0 -13
- reflex/components/chakra/layout/aspect_ratio.pyi +0 -89
- reflex/components/chakra/layout/box.py +0 -31
- reflex/components/chakra/layout/box.pyi +0 -93
- reflex/components/chakra/layout/card.py +0 -100
- reflex/components/chakra/layout/card.pyi +0 -379
- reflex/components/chakra/layout/center.py +0 -21
- reflex/components/chakra/layout/center.pyi +0 -239
- reflex/components/chakra/layout/container.py +0 -13
- reflex/components/chakra/layout/container.pyi +0 -89
- reflex/components/chakra/layout/flex.py +0 -33
- reflex/components/chakra/layout/flex.pyi +0 -101
- reflex/components/chakra/layout/grid.py +0 -125
- reflex/components/chakra/layout/grid.pyi +0 -293
- reflex/components/chakra/layout/spacer.py +0 -9
- reflex/components/chakra/layout/spacer.pyi +0 -87
- reflex/components/chakra/layout/stack.py +0 -48
- reflex/components/chakra/layout/stack.pyi +0 -305
- reflex/components/chakra/layout/wrap.py +0 -57
- reflex/components/chakra/layout/wrap.pyi +0 -179
- reflex/components/chakra/media/__init__.py +0 -7
- reflex/components/chakra/media/avatar.py +0 -58
- reflex/components/chakra/media/avatar.pyi +0 -267
- reflex/components/chakra/media/icon.py +0 -111
- reflex/components/chakra/media/icon.pyi +0 -171
- reflex/components/chakra/media/image.py +0 -74
- reflex/components/chakra/media/image.pyi +0 -118
- reflex/components/chakra/navigation/__init__.py +0 -18
- reflex/components/chakra/navigation/breadcrumb.py +0 -98
- reflex/components/chakra/navigation/breadcrumb.pyi +0 -351
- reflex/components/chakra/navigation/link.py +0 -62
- reflex/components/chakra/navigation/link.pyi +0 -105
- reflex/components/chakra/navigation/linkoverlay.py +0 -22
- reflex/components/chakra/navigation/linkoverlay.pyi +0 -167
- reflex/components/chakra/navigation/stepper.py +0 -113
- reflex/components/chakra/navigation/stepper.pyi +0 -762
- reflex/components/chakra/overlay/__init__.py +0 -50
- reflex/components/chakra/overlay/alertdialog.py +0 -153
- reflex/components/chakra/overlay/alertdialog.pyi +0 -612
- reflex/components/chakra/overlay/drawer.py +0 -168
- reflex/components/chakra/overlay/drawer.pyi +0 -652
- reflex/components/chakra/overlay/menu.py +0 -225
- reflex/components/chakra/overlay/menu.pyi +0 -708
- reflex/components/chakra/overlay/modal.py +0 -166
- reflex/components/chakra/overlay/modal.pyi +0 -600
- reflex/components/chakra/overlay/popover.py +0 -183
- reflex/components/chakra/overlay/popover.pyi +0 -757
- reflex/components/chakra/overlay/tooltip.py +0 -70
- reflex/components/chakra/overlay/tooltip.pyi +0 -129
- reflex/components/chakra/typography/__init__.py +0 -10
- reflex/components/chakra/typography/heading.py +0 -16
- reflex/components/chakra/typography/heading.pyi +0 -96
- reflex/components/chakra/typography/highlight.py +0 -23
- reflex/components/chakra/typography/highlight.pyi +0 -91
- reflex/components/chakra/typography/span.py +0 -15
- reflex/components/chakra/typography/span.pyi +0 -89
- reflex/components/chakra/typography/text.py +0 -18
- reflex/components/chakra/typography/text.pyi +0 -91
- reflex/components/media/__init__.py +0 -1
- reflex/components/media/icon.py +0 -3
- {reflex-0.5.9.dev1.dist-info → reflex-0.5.10a1.dist-info}/LICENSE +0 -0
- {reflex-0.5.9.dev1.dist-info → reflex-0.5.10a1.dist-info}/WHEEL +0 -0
- {reflex-0.5.9.dev1.dist-info → reflex-0.5.10a1.dist-info}/entry_points.txt +0 -0
|
@@ -1,477 +0,0 @@
|
|
|
1
|
-
"""Stub file for reflex/components/chakra/datadisplay/stat.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, 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 Stat(ChakraComponent):
|
|
14
|
-
@overload
|
|
15
|
-
@classmethod
|
|
16
|
-
def create( # type: ignore
|
|
17
|
-
cls,
|
|
18
|
-
*children,
|
|
19
|
-
label=None,
|
|
20
|
-
number=0,
|
|
21
|
-
help_text=None,
|
|
22
|
-
arrow_type=None,
|
|
23
|
-
style: Optional[Style] = None,
|
|
24
|
-
key: Optional[Any] = None,
|
|
25
|
-
id: Optional[Any] = None,
|
|
26
|
-
class_name: Optional[Any] = None,
|
|
27
|
-
autofocus: Optional[bool] = None,
|
|
28
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
29
|
-
on_blur: Optional[
|
|
30
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
31
|
-
] = None,
|
|
32
|
-
on_click: Optional[
|
|
33
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
34
|
-
] = None,
|
|
35
|
-
on_context_menu: Optional[
|
|
36
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
37
|
-
] = None,
|
|
38
|
-
on_double_click: Optional[
|
|
39
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
40
|
-
] = None,
|
|
41
|
-
on_focus: Optional[
|
|
42
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
43
|
-
] = None,
|
|
44
|
-
on_mount: Optional[
|
|
45
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
46
|
-
] = None,
|
|
47
|
-
on_mouse_down: Optional[
|
|
48
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
49
|
-
] = None,
|
|
50
|
-
on_mouse_enter: Optional[
|
|
51
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
52
|
-
] = None,
|
|
53
|
-
on_mouse_leave: Optional[
|
|
54
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
55
|
-
] = None,
|
|
56
|
-
on_mouse_move: Optional[
|
|
57
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
58
|
-
] = None,
|
|
59
|
-
on_mouse_out: Optional[
|
|
60
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
61
|
-
] = None,
|
|
62
|
-
on_mouse_over: Optional[
|
|
63
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
64
|
-
] = None,
|
|
65
|
-
on_mouse_up: Optional[
|
|
66
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
67
|
-
] = None,
|
|
68
|
-
on_scroll: Optional[
|
|
69
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
70
|
-
] = None,
|
|
71
|
-
on_unmount: Optional[
|
|
72
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
73
|
-
] = None,
|
|
74
|
-
**props,
|
|
75
|
-
) -> "Stat":
|
|
76
|
-
"""Create a stat component.
|
|
77
|
-
|
|
78
|
-
Args:
|
|
79
|
-
*children: The children of the component.
|
|
80
|
-
label: A label for the stat component.
|
|
81
|
-
number: The value of the stat component.
|
|
82
|
-
help_text: A text added to the stat component.
|
|
83
|
-
arrow_type: The type of the arrow ("increase", "decrease", None)
|
|
84
|
-
style: The style of the component.
|
|
85
|
-
key: A unique key for the component.
|
|
86
|
-
id: The id for the component.
|
|
87
|
-
class_name: The class name for the component.
|
|
88
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
89
|
-
custom_attrs: custom attribute
|
|
90
|
-
**props: The properties of the component.
|
|
91
|
-
|
|
92
|
-
Returns:
|
|
93
|
-
The stat component.
|
|
94
|
-
"""
|
|
95
|
-
...
|
|
96
|
-
|
|
97
|
-
class StatLabel(ChakraComponent):
|
|
98
|
-
@overload
|
|
99
|
-
@classmethod
|
|
100
|
-
def create( # type: ignore
|
|
101
|
-
cls,
|
|
102
|
-
*children,
|
|
103
|
-
style: Optional[Style] = None,
|
|
104
|
-
key: Optional[Any] = None,
|
|
105
|
-
id: Optional[Any] = None,
|
|
106
|
-
class_name: Optional[Any] = None,
|
|
107
|
-
autofocus: Optional[bool] = None,
|
|
108
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
109
|
-
on_blur: Optional[
|
|
110
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
111
|
-
] = None,
|
|
112
|
-
on_click: Optional[
|
|
113
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
114
|
-
] = None,
|
|
115
|
-
on_context_menu: Optional[
|
|
116
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
117
|
-
] = None,
|
|
118
|
-
on_double_click: Optional[
|
|
119
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
120
|
-
] = None,
|
|
121
|
-
on_focus: Optional[
|
|
122
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
123
|
-
] = None,
|
|
124
|
-
on_mount: Optional[
|
|
125
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
126
|
-
] = None,
|
|
127
|
-
on_mouse_down: Optional[
|
|
128
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
129
|
-
] = None,
|
|
130
|
-
on_mouse_enter: Optional[
|
|
131
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
132
|
-
] = None,
|
|
133
|
-
on_mouse_leave: Optional[
|
|
134
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
135
|
-
] = None,
|
|
136
|
-
on_mouse_move: Optional[
|
|
137
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
138
|
-
] = None,
|
|
139
|
-
on_mouse_out: Optional[
|
|
140
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
141
|
-
] = None,
|
|
142
|
-
on_mouse_over: Optional[
|
|
143
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
144
|
-
] = None,
|
|
145
|
-
on_mouse_up: Optional[
|
|
146
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
147
|
-
] = None,
|
|
148
|
-
on_scroll: Optional[
|
|
149
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
150
|
-
] = None,
|
|
151
|
-
on_unmount: Optional[
|
|
152
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
153
|
-
] = None,
|
|
154
|
-
**props,
|
|
155
|
-
) -> "StatLabel":
|
|
156
|
-
"""Create the component.
|
|
157
|
-
|
|
158
|
-
Args:
|
|
159
|
-
*children: The children of the component.
|
|
160
|
-
style: The style of the component.
|
|
161
|
-
key: A unique key for the component.
|
|
162
|
-
id: The id for the component.
|
|
163
|
-
class_name: The class name for the component.
|
|
164
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
165
|
-
custom_attrs: custom attribute
|
|
166
|
-
**props: The props of the component.
|
|
167
|
-
|
|
168
|
-
Returns:
|
|
169
|
-
The component.
|
|
170
|
-
"""
|
|
171
|
-
...
|
|
172
|
-
|
|
173
|
-
class StatNumber(ChakraComponent):
|
|
174
|
-
@overload
|
|
175
|
-
@classmethod
|
|
176
|
-
def create( # type: ignore
|
|
177
|
-
cls,
|
|
178
|
-
*children,
|
|
179
|
-
style: Optional[Style] = None,
|
|
180
|
-
key: Optional[Any] = None,
|
|
181
|
-
id: Optional[Any] = None,
|
|
182
|
-
class_name: Optional[Any] = None,
|
|
183
|
-
autofocus: Optional[bool] = None,
|
|
184
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
185
|
-
on_blur: Optional[
|
|
186
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
187
|
-
] = None,
|
|
188
|
-
on_click: Optional[
|
|
189
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
190
|
-
] = None,
|
|
191
|
-
on_context_menu: Optional[
|
|
192
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
193
|
-
] = None,
|
|
194
|
-
on_double_click: Optional[
|
|
195
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
196
|
-
] = None,
|
|
197
|
-
on_focus: Optional[
|
|
198
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
199
|
-
] = None,
|
|
200
|
-
on_mount: Optional[
|
|
201
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
202
|
-
] = None,
|
|
203
|
-
on_mouse_down: Optional[
|
|
204
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
205
|
-
] = None,
|
|
206
|
-
on_mouse_enter: Optional[
|
|
207
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
208
|
-
] = None,
|
|
209
|
-
on_mouse_leave: Optional[
|
|
210
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
211
|
-
] = None,
|
|
212
|
-
on_mouse_move: Optional[
|
|
213
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
214
|
-
] = None,
|
|
215
|
-
on_mouse_out: Optional[
|
|
216
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
217
|
-
] = None,
|
|
218
|
-
on_mouse_over: Optional[
|
|
219
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
220
|
-
] = None,
|
|
221
|
-
on_mouse_up: Optional[
|
|
222
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
223
|
-
] = None,
|
|
224
|
-
on_scroll: Optional[
|
|
225
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
226
|
-
] = None,
|
|
227
|
-
on_unmount: Optional[
|
|
228
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
229
|
-
] = None,
|
|
230
|
-
**props,
|
|
231
|
-
) -> "StatNumber":
|
|
232
|
-
"""Create the component.
|
|
233
|
-
|
|
234
|
-
Args:
|
|
235
|
-
*children: The children of the component.
|
|
236
|
-
style: The style of the component.
|
|
237
|
-
key: A unique key for the component.
|
|
238
|
-
id: The id for the component.
|
|
239
|
-
class_name: The class name for the component.
|
|
240
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
241
|
-
custom_attrs: custom attribute
|
|
242
|
-
**props: The props of the component.
|
|
243
|
-
|
|
244
|
-
Returns:
|
|
245
|
-
The component.
|
|
246
|
-
"""
|
|
247
|
-
...
|
|
248
|
-
|
|
249
|
-
class StatHelpText(ChakraComponent):
|
|
250
|
-
@overload
|
|
251
|
-
@classmethod
|
|
252
|
-
def create( # type: ignore
|
|
253
|
-
cls,
|
|
254
|
-
*children,
|
|
255
|
-
style: Optional[Style] = None,
|
|
256
|
-
key: Optional[Any] = None,
|
|
257
|
-
id: Optional[Any] = None,
|
|
258
|
-
class_name: Optional[Any] = None,
|
|
259
|
-
autofocus: Optional[bool] = None,
|
|
260
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
261
|
-
on_blur: Optional[
|
|
262
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
263
|
-
] = None,
|
|
264
|
-
on_click: Optional[
|
|
265
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
266
|
-
] = None,
|
|
267
|
-
on_context_menu: Optional[
|
|
268
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
269
|
-
] = None,
|
|
270
|
-
on_double_click: Optional[
|
|
271
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
272
|
-
] = None,
|
|
273
|
-
on_focus: Optional[
|
|
274
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
275
|
-
] = None,
|
|
276
|
-
on_mount: Optional[
|
|
277
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
278
|
-
] = None,
|
|
279
|
-
on_mouse_down: Optional[
|
|
280
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
281
|
-
] = None,
|
|
282
|
-
on_mouse_enter: Optional[
|
|
283
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
284
|
-
] = None,
|
|
285
|
-
on_mouse_leave: Optional[
|
|
286
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
287
|
-
] = None,
|
|
288
|
-
on_mouse_move: Optional[
|
|
289
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
290
|
-
] = None,
|
|
291
|
-
on_mouse_out: Optional[
|
|
292
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
293
|
-
] = None,
|
|
294
|
-
on_mouse_over: Optional[
|
|
295
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
296
|
-
] = None,
|
|
297
|
-
on_mouse_up: Optional[
|
|
298
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
299
|
-
] = None,
|
|
300
|
-
on_scroll: Optional[
|
|
301
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
302
|
-
] = None,
|
|
303
|
-
on_unmount: Optional[
|
|
304
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
305
|
-
] = None,
|
|
306
|
-
**props,
|
|
307
|
-
) -> "StatHelpText":
|
|
308
|
-
"""Create the component.
|
|
309
|
-
|
|
310
|
-
Args:
|
|
311
|
-
*children: The children of the component.
|
|
312
|
-
style: The style of the component.
|
|
313
|
-
key: A unique key for the component.
|
|
314
|
-
id: The id for the component.
|
|
315
|
-
class_name: The class name for the component.
|
|
316
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
317
|
-
custom_attrs: custom attribute
|
|
318
|
-
**props: The props of the component.
|
|
319
|
-
|
|
320
|
-
Returns:
|
|
321
|
-
The component.
|
|
322
|
-
"""
|
|
323
|
-
...
|
|
324
|
-
|
|
325
|
-
class StatArrow(ChakraComponent):
|
|
326
|
-
@overload
|
|
327
|
-
@classmethod
|
|
328
|
-
def create( # type: ignore
|
|
329
|
-
cls,
|
|
330
|
-
*children,
|
|
331
|
-
type_: Optional[Union[Var[str], str]] = None,
|
|
332
|
-
style: Optional[Style] = None,
|
|
333
|
-
key: Optional[Any] = None,
|
|
334
|
-
id: Optional[Any] = None,
|
|
335
|
-
class_name: Optional[Any] = None,
|
|
336
|
-
autofocus: Optional[bool] = None,
|
|
337
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
338
|
-
on_blur: Optional[
|
|
339
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
340
|
-
] = None,
|
|
341
|
-
on_click: Optional[
|
|
342
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
343
|
-
] = None,
|
|
344
|
-
on_context_menu: Optional[
|
|
345
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
346
|
-
] = None,
|
|
347
|
-
on_double_click: Optional[
|
|
348
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
349
|
-
] = None,
|
|
350
|
-
on_focus: Optional[
|
|
351
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
352
|
-
] = None,
|
|
353
|
-
on_mount: Optional[
|
|
354
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
355
|
-
] = None,
|
|
356
|
-
on_mouse_down: Optional[
|
|
357
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
358
|
-
] = None,
|
|
359
|
-
on_mouse_enter: Optional[
|
|
360
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
361
|
-
] = None,
|
|
362
|
-
on_mouse_leave: Optional[
|
|
363
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
364
|
-
] = None,
|
|
365
|
-
on_mouse_move: Optional[
|
|
366
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
367
|
-
] = None,
|
|
368
|
-
on_mouse_out: Optional[
|
|
369
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
370
|
-
] = None,
|
|
371
|
-
on_mouse_over: Optional[
|
|
372
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
373
|
-
] = None,
|
|
374
|
-
on_mouse_up: Optional[
|
|
375
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
376
|
-
] = None,
|
|
377
|
-
on_scroll: Optional[
|
|
378
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
379
|
-
] = None,
|
|
380
|
-
on_unmount: Optional[
|
|
381
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
382
|
-
] = None,
|
|
383
|
-
**props,
|
|
384
|
-
) -> "StatArrow":
|
|
385
|
-
"""Create the component.
|
|
386
|
-
|
|
387
|
-
Args:
|
|
388
|
-
*children: The children of the component.
|
|
389
|
-
type_: The type of arrow, either increase or decrease.
|
|
390
|
-
style: The style of the component.
|
|
391
|
-
key: A unique key for the component.
|
|
392
|
-
id: The id for the component.
|
|
393
|
-
class_name: The class name for the component.
|
|
394
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
395
|
-
custom_attrs: custom attribute
|
|
396
|
-
**props: The props of the component.
|
|
397
|
-
|
|
398
|
-
Returns:
|
|
399
|
-
The component.
|
|
400
|
-
"""
|
|
401
|
-
...
|
|
402
|
-
|
|
403
|
-
class StatGroup(ChakraComponent):
|
|
404
|
-
@overload
|
|
405
|
-
@classmethod
|
|
406
|
-
def create( # type: ignore
|
|
407
|
-
cls,
|
|
408
|
-
*children,
|
|
409
|
-
style: Optional[Style] = None,
|
|
410
|
-
key: Optional[Any] = None,
|
|
411
|
-
id: Optional[Any] = None,
|
|
412
|
-
class_name: Optional[Any] = None,
|
|
413
|
-
autofocus: Optional[bool] = None,
|
|
414
|
-
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
415
|
-
on_blur: Optional[
|
|
416
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
417
|
-
] = None,
|
|
418
|
-
on_click: Optional[
|
|
419
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
420
|
-
] = None,
|
|
421
|
-
on_context_menu: Optional[
|
|
422
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
423
|
-
] = None,
|
|
424
|
-
on_double_click: Optional[
|
|
425
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
426
|
-
] = None,
|
|
427
|
-
on_focus: Optional[
|
|
428
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
429
|
-
] = None,
|
|
430
|
-
on_mount: Optional[
|
|
431
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
432
|
-
] = None,
|
|
433
|
-
on_mouse_down: Optional[
|
|
434
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
435
|
-
] = None,
|
|
436
|
-
on_mouse_enter: Optional[
|
|
437
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
438
|
-
] = None,
|
|
439
|
-
on_mouse_leave: Optional[
|
|
440
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
441
|
-
] = None,
|
|
442
|
-
on_mouse_move: Optional[
|
|
443
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
444
|
-
] = None,
|
|
445
|
-
on_mouse_out: Optional[
|
|
446
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
447
|
-
] = None,
|
|
448
|
-
on_mouse_over: Optional[
|
|
449
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
450
|
-
] = None,
|
|
451
|
-
on_mouse_up: Optional[
|
|
452
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
453
|
-
] = None,
|
|
454
|
-
on_scroll: Optional[
|
|
455
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
456
|
-
] = None,
|
|
457
|
-
on_unmount: Optional[
|
|
458
|
-
Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
459
|
-
] = None,
|
|
460
|
-
**props,
|
|
461
|
-
) -> "StatGroup":
|
|
462
|
-
"""Create the component.
|
|
463
|
-
|
|
464
|
-
Args:
|
|
465
|
-
*children: The children of the component.
|
|
466
|
-
style: The style of the component.
|
|
467
|
-
key: A unique key for the component.
|
|
468
|
-
id: The id for the component.
|
|
469
|
-
class_name: The class name for the component.
|
|
470
|
-
autofocus: Whether the component should take the focus once the page is loaded
|
|
471
|
-
custom_attrs: custom attribute
|
|
472
|
-
**props: The props of the component.
|
|
473
|
-
|
|
474
|
-
Returns:
|
|
475
|
-
The component.
|
|
476
|
-
"""
|
|
477
|
-
...
|