reflex 0.6.0a1__py3-none-any.whl → 0.6.0a3__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/jinja/custom_components/pyproject.toml.jinja2 +2 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- reflex/__init__.py +8 -2
- reflex/__init__.pyi +2 -1
- reflex/app.py +10 -4
- reflex/base.py +1 -1
- reflex/compiler/compiler.py +2 -2
- reflex/compiler/utils.py +3 -3
- reflex/components/base/app_wrap.py +2 -2
- reflex/components/base/app_wrap.pyi +17 -27
- reflex/components/base/bare.py +4 -5
- reflex/components/base/body.pyi +17 -27
- reflex/components/base/document.pyi +81 -131
- reflex/components/base/error_boundary.py +6 -7
- reflex/components/base/error_boundary.pyi +20 -33
- reflex/components/base/fragment.pyi +17 -27
- reflex/components/base/head.pyi +33 -53
- reflex/components/base/link.py +1 -1
- reflex/components/base/link.pyi +33 -54
- reflex/components/base/meta.pyi +65 -105
- reflex/components/base/script.py +1 -2
- reflex/components/base/script.pyi +21 -38
- reflex/components/component.py +45 -47
- reflex/components/core/banner.py +23 -27
- reflex/components/core/banner.pyi +134 -171
- reflex/components/core/breakpoints.py +3 -1
- reflex/components/core/client_side_routing.py +2 -3
- reflex/components/core/client_side_routing.pyi +33 -54
- reflex/components/core/clipboard.py +2 -1
- reflex/components/core/clipboard.pyi +20 -33
- reflex/components/core/cond.py +5 -5
- reflex/components/core/debounce.py +5 -5
- reflex/components/core/debounce.pyi +20 -33
- reflex/components/core/foreach.py +3 -4
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +35 -46
- reflex/components/core/match.py +17 -17
- reflex/components/core/upload.py +17 -23
- reflex/components/core/upload.pyi +78 -124
- reflex/components/datadisplay/code.py +9 -10
- reflex/components/datadisplay/code.pyi +302 -412
- reflex/components/datadisplay/dataeditor.py +8 -10
- reflex/components/datadisplay/dataeditor.pyi +40 -53
- reflex/components/el/element.pyi +17 -27
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +34 -45
- reflex/components/el/elements/forms.py +16 -16
- reflex/components/el/elements/forms.pyi +554 -707
- reflex/components/el/elements/inline.py +1 -1
- reflex/components/el/elements/inline.pyi +937 -1218
- reflex/components/el/elements/media.py +1 -1
- reflex/components/el/elements/media.pyi +786 -997
- reflex/components/el/elements/metadata.py +3 -6
- reflex/components/el/elements/metadata.pyi +181 -242
- reflex/components/el/elements/other.py +1 -1
- reflex/components/el/elements/other.pyi +235 -306
- reflex/components/el/elements/scripts.py +1 -1
- reflex/components/el/elements/scripts.pyi +109 -140
- reflex/components/el/elements/sectioning.py +0 -2
- reflex/components/el/elements/sectioning.pyi +496 -647
- reflex/components/el/elements/tables.py +1 -1
- reflex/components/el/elements/tables.pyi +351 -452
- reflex/components/el/elements/typography.py +1 -1
- reflex/components/el/elements/typography.pyi +506 -657
- reflex/components/gridjs/datatable.py +6 -9
- reflex/components/gridjs/datatable.pyi +35 -56
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +33 -54
- reflex/components/markdown/markdown.py +26 -31
- reflex/components/markdown/markdown.pyi +27 -37
- reflex/components/moment/moment.py +13 -12
- reflex/components/moment/moment.pyi +23 -35
- reflex/components/next/base.pyi +17 -27
- reflex/components/next/image.py +1 -1
- reflex/components/next/image.pyi +22 -37
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +17 -28
- reflex/components/next/video.py +1 -1
- reflex/components/next/video.pyi +17 -28
- reflex/components/plotly/plotly.py +12 -13
- reflex/components/plotly/plotly.pyi +39 -54
- reflex/components/props.py +1 -1
- reflex/components/radix/__init__.pyi +1 -0
- reflex/components/radix/primitives/__init__.pyi +1 -0
- reflex/components/radix/primitives/accordion.py +4 -4
- reflex/components/radix/primitives/accordion.pyi +424 -495
- reflex/components/radix/primitives/base.py +1 -1
- reflex/components/radix/primitives/base.pyi +33 -54
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/drawer.pyi +172 -273
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +257 -364
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +231 -282
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +87 -138
- reflex/components/radix/themes/base.py +3 -24
- reflex/components/radix/themes/base.pyi +178 -250
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +187 -220
- reflex/components/radix/themes/components/alert_dialog.py +1 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +136 -207
- reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -28
- reflex/components/radix/themes/components/avatar.py +1 -1
- reflex/components/radix/themes/components/avatar.pyi +70 -81
- reflex/components/radix/themes/components/badge.py +1 -1
- reflex/components/radix/themes/components/badge.pyi +88 -99
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +98 -109
- reflex/components/radix/themes/components/callout.py +1 -1
- reflex/components/radix/themes/components/callout.pyi +322 -373
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +38 -49
- reflex/components/radix/themes/components/checkbox.py +1 -2
- reflex/components/radix/themes/components/checkbox.pyi +208 -245
- reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- reflex/components/radix/themes/components/checkbox_cards.pyi +94 -115
- reflex/components/radix/themes/components/checkbox_group.py +1 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +86 -107
- reflex/components/radix/themes/components/context_menu.py +1 -1
- reflex/components/radix/themes/components/context_menu.pyi +238 -319
- reflex/components/radix/themes/components/data_list.py +1 -1
- reflex/components/radix/themes/components/data_list.pyi +130 -171
- reflex/components/radix/themes/components/dialog.py +1 -1
- reflex/components/radix/themes/components/dialog.pyi +139 -210
- reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +249 -332
- reflex/components/radix/themes/components/hover_card.py +1 -1
- reflex/components/radix/themes/components/hover_card.pyi +90 -131
- reflex/components/radix/themes/components/icon_button.py +2 -3
- reflex/components/radix/themes/components/icon_button.pyi +98 -109
- reflex/components/radix/themes/components/inset.py +1 -1
- reflex/components/radix/themes/components/inset.pyi +47 -58
- reflex/components/radix/themes/components/popover.py +1 -1
- reflex/components/radix/themes/components/popover.pyi +95 -136
- reflex/components/radix/themes/components/progress.py +1 -1
- reflex/components/radix/themes/components/progress.pyi +71 -82
- reflex/components/radix/themes/components/radio.py +1 -1
- reflex/components/radix/themes/components/radio.pyi +69 -80
- reflex/components/radix/themes/components/radio_cards.py +1 -1
- reflex/components/radix/themes/components/radio_cards.pyi +98 -119
- reflex/components/radix/themes/components/radio_group.py +8 -11
- reflex/components/radix/themes/components/radio_group.pyi +228 -271
- reflex/components/radix/themes/components/scroll_area.py +1 -1
- reflex/components/radix/themes/components/scroll_area.pyi +21 -32
- reflex/components/radix/themes/components/segmented_control.py +1 -1
- reflex/components/radix/themes/components/segmented_control.pyi +90 -113
- reflex/components/radix/themes/components/select.py +2 -3
- reflex/components/radix/themes/components/select.pyi +374 -471
- reflex/components/radix/themes/components/separator.py +1 -2
- reflex/components/radix/themes/components/separator.pyi +69 -80
- reflex/components/radix/themes/components/skeleton.py +1 -1
- reflex/components/radix/themes/components/skeleton.pyi +23 -34
- reflex/components/radix/themes/components/slider.py +2 -3
- reflex/components/radix/themes/components/slider.pyi +75 -88
- reflex/components/radix/themes/components/spinner.py +1 -1
- reflex/components/radix/themes/components/spinner.pyi +19 -30
- reflex/components/radix/themes/components/switch.py +1 -1
- reflex/components/radix/themes/components/switch.pyi +71 -84
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +261 -332
- reflex/components/radix/themes/components/tabs.py +1 -1
- reflex/components/radix/themes/components/tabs.pyi +139 -194
- reflex/components/radix/themes/components/text_area.py +1 -1
- reflex/components/radix/themes/components/text_area.pyi +96 -111
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +247 -286
- reflex/components/radix/themes/components/tooltip.py +1 -1
- reflex/components/radix/themes/components/tooltip.pyi +26 -37
- reflex/components/radix/themes/layout/__init__.pyi +1 -0
- reflex/components/radix/themes/layout/base.py +1 -1
- reflex/components/radix/themes/layout/base.pyi +56 -67
- reflex/components/radix/themes/layout/box.pyi +34 -45
- reflex/components/radix/themes/layout/center.pyi +56 -67
- reflex/components/radix/themes/layout/container.py +1 -2
- reflex/components/radix/themes/layout/container.pyi +36 -47
- reflex/components/radix/themes/layout/flex.py +1 -1
- reflex/components/radix/themes/layout/flex.pyi +56 -67
- reflex/components/radix/themes/layout/grid.py +1 -1
- reflex/components/radix/themes/layout/grid.pyi +64 -75
- reflex/components/radix/themes/layout/list.py +5 -6
- reflex/components/radix/themes/layout/list.pyi +193 -244
- reflex/components/radix/themes/layout/section.py +1 -2
- reflex/components/radix/themes/layout/section.pyi +36 -47
- reflex/components/radix/themes/layout/spacer.pyi +56 -67
- reflex/components/radix/themes/layout/stack.py +1 -1
- reflex/components/radix/themes/layout/stack.pyi +128 -159
- reflex/components/radix/themes/typography/blockquote.py +1 -1
- reflex/components/radix/themes/typography/blockquote.pyi +89 -100
- reflex/components/radix/themes/typography/code.py +1 -1
- reflex/components/radix/themes/typography/code.pyi +90 -101
- reflex/components/radix/themes/typography/heading.py +1 -1
- reflex/components/radix/themes/typography/heading.pyi +96 -107
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +102 -113
- reflex/components/radix/themes/typography/text.py +1 -1
- reflex/components/radix/themes/typography/text.pyi +501 -572
- reflex/components/react_player/audio.pyi +33 -60
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +33 -60
- reflex/components/react_player/video.pyi +33 -60
- reflex/components/recharts/cartesian.py +2 -3
- reflex/components/recharts/cartesian.pyi +678 -861
- reflex/components/recharts/charts.py +4 -5
- reflex/components/recharts/charts.pyi +252 -357
- reflex/components/recharts/general.py +1 -2
- reflex/components/recharts/general.pyi +180 -231
- reflex/components/recharts/polar.py +4 -5
- reflex/components/recharts/polar.pyi +144 -181
- reflex/components/recharts/recharts.pyi +33 -53
- reflex/components/sonner/toast.py +16 -17
- reflex/components/sonner/toast.pyi +36 -47
- reflex/components/suneditor/editor.py +2 -3
- reflex/components/suneditor/editor.pyi +55 -78
- reflex/components/tags/cond_tag.py +6 -4
- reflex/components/tags/iter_tag.py +28 -16
- reflex/components/tags/match_tag.py +6 -4
- reflex/components/tags/tag.py +40 -23
- reflex/custom_components/custom_components.py +3 -1
- reflex/event.py +115 -67
- reflex/experimental/client_state.py +18 -18
- reflex/experimental/hooks.py +16 -16
- reflex/experimental/layout.py +5 -5
- reflex/experimental/layout.pyi +136 -187
- reflex/middleware/hydrate_middleware.py +2 -0
- reflex/middleware/middleware.py +3 -3
- reflex/state.py +149 -82
- reflex/style.py +21 -22
- reflex/utils/exceptions.py +20 -0
- reflex/utils/format.py +54 -34
- reflex/utils/imports.py +16 -73
- reflex/utils/prerequisites.py +15 -8
- reflex/utils/pyi_generator.py +13 -8
- reflex/utils/serializers.py +12 -22
- reflex/utils/telemetry.py +3 -2
- reflex/utils/types.py +11 -6
- reflex/{ivars → vars}/__init__.py +6 -2
- reflex/{ivars → vars}/base.py +599 -216
- reflex/{ivars → vars}/function.py +15 -19
- reflex/{ivars → vars}/number.py +41 -20
- reflex/{ivars → vars}/object.py +28 -30
- reflex/{ivars → vars}/sequence.py +53 -42
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/METADATA +4 -6
- reflex-0.6.0a3.dist-info/RECORD +382 -0
- reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +0 -36
- reflex/vars.py +0 -501
- reflex-0.6.0a1.dist-info/RECORD +0 -384
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/LICENSE +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/WHEEL +0 -0
- {reflex-0.6.0a1.dist-info → reflex-0.6.0a3.dist-info}/entry_points.txt +0 -0
|
@@ -7,8 +7,7 @@ from typing import Any, Dict, List, Union
|
|
|
7
7
|
from reflex.constants import EventTriggers
|
|
8
8
|
from reflex.constants.colors import Color
|
|
9
9
|
from reflex.event import EventHandler
|
|
10
|
-
from reflex.
|
|
11
|
-
from reflex.vars import Var
|
|
10
|
+
from reflex.vars.base import LiteralVar, Var
|
|
12
11
|
|
|
13
12
|
from .recharts import (
|
|
14
13
|
LiteralAnimationEasing,
|
|
@@ -78,7 +77,7 @@ class Pie(Recharts):
|
|
|
78
77
|
# Fill color
|
|
79
78
|
fill: Var[Union[str, Color]] = LiteralVar.create(Color("accent", 3))
|
|
80
79
|
|
|
81
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
80
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]:
|
|
82
81
|
"""Get the event triggers that pass the component's value to the handler.
|
|
83
82
|
|
|
84
83
|
Returns:
|
|
@@ -175,7 +174,7 @@ class RadialBar(Recharts):
|
|
|
175
174
|
# Valid children components
|
|
176
175
|
_valid_children: List[str] = ["Cell", "LabelList"]
|
|
177
176
|
|
|
178
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
177
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]:
|
|
179
178
|
"""Get the event triggers that pass the component's value to the handler.
|
|
180
179
|
|
|
181
180
|
Returns:
|
|
@@ -348,7 +347,7 @@ class PolarRadiusAxis(Recharts):
|
|
|
348
347
|
# The stroke color of axis
|
|
349
348
|
stroke: Var[Union[str, Color]] = LiteralVar.create(Color("gray", 10))
|
|
350
349
|
|
|
351
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
350
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]:
|
|
352
351
|
"""Get the event triggers that pass the component's value to the handler.
|
|
353
352
|
|
|
354
353
|
Returns:
|
|
@@ -7,23 +7,22 @@ from typing import Any, Callable, Dict, List, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.constants.colors import Color
|
|
9
9
|
from reflex.event import EventHandler, EventSpec
|
|
10
|
-
from reflex.ivars.base import ImmutableVar
|
|
11
10
|
from reflex.style import Style
|
|
12
|
-
from reflex.vars import Var
|
|
11
|
+
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from .recharts import (
|
|
15
14
|
Recharts,
|
|
16
15
|
)
|
|
17
16
|
|
|
18
17
|
class Pie(Recharts):
|
|
19
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
18
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]: ...
|
|
20
19
|
@overload
|
|
21
20
|
@classmethod
|
|
22
21
|
def create( # type: ignore
|
|
23
22
|
cls,
|
|
24
23
|
*children,
|
|
25
|
-
data: Optional[Union[
|
|
26
|
-
data_key: Optional[Union[Var[Union[int, str]],
|
|
24
|
+
data: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
|
25
|
+
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
27
26
|
cx: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
28
27
|
cy: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
29
28
|
inner_radius: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
@@ -35,63 +34,61 @@ class Pie(Recharts):
|
|
|
35
34
|
name_key: Optional[Union[Var[str], str]] = None,
|
|
36
35
|
legend_type: Optional[
|
|
37
36
|
Union[
|
|
37
|
+
Literal[
|
|
38
|
+
"circle",
|
|
39
|
+
"cross",
|
|
40
|
+
"diamond",
|
|
41
|
+
"line",
|
|
42
|
+
"none",
|
|
43
|
+
"plainline",
|
|
44
|
+
"rect",
|
|
45
|
+
"square",
|
|
46
|
+
"star",
|
|
47
|
+
"triangle",
|
|
48
|
+
"wye",
|
|
49
|
+
],
|
|
38
50
|
Var[
|
|
39
51
|
Literal[
|
|
40
|
-
"line",
|
|
41
|
-
"plainline",
|
|
42
|
-
"square",
|
|
43
|
-
"rect",
|
|
44
52
|
"circle",
|
|
45
53
|
"cross",
|
|
46
54
|
"diamond",
|
|
55
|
+
"line",
|
|
56
|
+
"none",
|
|
57
|
+
"plainline",
|
|
58
|
+
"rect",
|
|
59
|
+
"square",
|
|
47
60
|
"star",
|
|
48
61
|
"triangle",
|
|
49
62
|
"wye",
|
|
50
|
-
"none",
|
|
51
63
|
]
|
|
52
64
|
],
|
|
53
|
-
Literal[
|
|
54
|
-
"line",
|
|
55
|
-
"plainline",
|
|
56
|
-
"square",
|
|
57
|
-
"rect",
|
|
58
|
-
"circle",
|
|
59
|
-
"cross",
|
|
60
|
-
"diamond",
|
|
61
|
-
"star",
|
|
62
|
-
"triangle",
|
|
63
|
-
"wye",
|
|
64
|
-
"none",
|
|
65
|
-
],
|
|
66
65
|
]
|
|
67
66
|
] = None,
|
|
68
67
|
label: Optional[Union[Var[bool], bool]] = None,
|
|
69
68
|
label_line: Optional[Union[Var[bool], bool]] = None,
|
|
70
|
-
stroke: Optional[Union[Var[Union[Color, str]], str
|
|
71
|
-
fill: Optional[Union[Var[Union[Color, str]], str
|
|
69
|
+
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
70
|
+
fill: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
72
71
|
style: Optional[Style] = None,
|
|
73
72
|
key: Optional[Any] = None,
|
|
74
73
|
id: Optional[Any] = None,
|
|
75
74
|
class_name: Optional[Any] = None,
|
|
76
75
|
autofocus: Optional[bool] = None,
|
|
77
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
78
|
-
on_click: Optional[
|
|
79
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
80
|
-
] = None,
|
|
76
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
77
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
81
78
|
on_mouse_enter: Optional[
|
|
82
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
79
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
83
80
|
] = None,
|
|
84
81
|
on_mouse_leave: Optional[
|
|
85
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
82
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
86
83
|
] = None,
|
|
87
84
|
on_mouse_move: Optional[
|
|
88
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
85
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
89
86
|
] = None,
|
|
90
87
|
on_mouse_out: Optional[
|
|
91
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
88
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
92
89
|
] = None,
|
|
93
90
|
on_mouse_over: Optional[
|
|
94
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
91
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
95
92
|
] = None,
|
|
96
93
|
**props,
|
|
97
94
|
) -> "Pie":
|
|
@@ -134,10 +131,10 @@ class Radar(Recharts):
|
|
|
134
131
|
def create( # type: ignore
|
|
135
132
|
cls,
|
|
136
133
|
*children,
|
|
137
|
-
data_key: Optional[Union[Var[Union[int, str]],
|
|
138
|
-
points: Optional[Union[
|
|
134
|
+
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
135
|
+
points: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
|
139
136
|
dot: Optional[Union[Var[bool], bool]] = None,
|
|
140
|
-
stroke: Optional[Union[Var[Union[Color, str]], str
|
|
137
|
+
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
141
138
|
fill: Optional[Union[Var[str], str]] = None,
|
|
142
139
|
fill_opacity: Optional[Union[Var[float], float]] = None,
|
|
143
140
|
legend_type: Optional[Union[Var[str], str]] = None,
|
|
@@ -146,8 +143,8 @@ class Radar(Recharts):
|
|
|
146
143
|
animation_duration: Optional[Union[Var[int], int]] = None,
|
|
147
144
|
animation_easing: Optional[
|
|
148
145
|
Union[
|
|
149
|
-
|
|
150
|
-
Literal["ease", "ease-in", "ease-out", "ease-
|
|
146
|
+
Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"],
|
|
147
|
+
Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]],
|
|
151
148
|
]
|
|
152
149
|
] = None,
|
|
153
150
|
style: Optional[Style] = None,
|
|
@@ -155,51 +152,41 @@ class Radar(Recharts):
|
|
|
155
152
|
id: Optional[Any] = None,
|
|
156
153
|
class_name: Optional[Any] = None,
|
|
157
154
|
autofocus: Optional[bool] = None,
|
|
158
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
159
|
-
on_blur: Optional[
|
|
160
|
-
|
|
161
|
-
] = None,
|
|
162
|
-
on_click: Optional[
|
|
163
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
164
|
-
] = None,
|
|
155
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
156
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
157
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
165
158
|
on_context_menu: Optional[
|
|
166
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
159
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
167
160
|
] = None,
|
|
168
161
|
on_double_click: Optional[
|
|
169
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
170
|
-
] = None,
|
|
171
|
-
on_focus: Optional[
|
|
172
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
173
|
-
] = None,
|
|
174
|
-
on_mount: Optional[
|
|
175
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
162
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
176
163
|
] = None,
|
|
164
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
165
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
177
166
|
on_mouse_down: Optional[
|
|
178
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
167
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
179
168
|
] = None,
|
|
180
169
|
on_mouse_enter: Optional[
|
|
181
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
170
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
182
171
|
] = None,
|
|
183
172
|
on_mouse_leave: Optional[
|
|
184
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
173
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
185
174
|
] = None,
|
|
186
175
|
on_mouse_move: Optional[
|
|
187
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
176
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
188
177
|
] = None,
|
|
189
178
|
on_mouse_out: Optional[
|
|
190
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
179
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
191
180
|
] = None,
|
|
192
181
|
on_mouse_over: Optional[
|
|
193
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
182
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
194
183
|
] = None,
|
|
195
184
|
on_mouse_up: Optional[
|
|
196
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
197
|
-
] = None,
|
|
198
|
-
on_scroll: Optional[
|
|
199
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
185
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
200
186
|
] = None,
|
|
187
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
201
188
|
on_unmount: Optional[
|
|
202
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
189
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
203
190
|
] = None,
|
|
204
191
|
**props,
|
|
205
192
|
) -> "Radar":
|
|
@@ -232,28 +219,28 @@ class Radar(Recharts):
|
|
|
232
219
|
...
|
|
233
220
|
|
|
234
221
|
class RadialBar(Recharts):
|
|
235
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
222
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]: ...
|
|
236
223
|
@overload
|
|
237
224
|
@classmethod
|
|
238
225
|
def create( # type: ignore
|
|
239
226
|
cls,
|
|
240
227
|
*children,
|
|
241
|
-
data_key: Optional[Union[Var[Union[int, str]],
|
|
228
|
+
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
242
229
|
min_angle: Optional[Union[Var[int], int]] = None,
|
|
243
230
|
legend_type: Optional[Union[Var[str], str]] = None,
|
|
244
231
|
label: Optional[
|
|
245
|
-
Union[Var[Union[Dict[str, Any], bool]], bool
|
|
232
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
246
233
|
] = None,
|
|
247
234
|
background: Optional[
|
|
248
|
-
Union[Var[Union[Dict[str, Any], bool]], bool
|
|
235
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
249
236
|
] = None,
|
|
250
237
|
is_animation_active: Optional[Union[Var[bool], bool]] = None,
|
|
251
238
|
animation_begin: Optional[Union[Var[int], int]] = None,
|
|
252
239
|
animation_duration: Optional[Union[Var[int], int]] = None,
|
|
253
240
|
animation_easing: Optional[
|
|
254
241
|
Union[
|
|
255
|
-
|
|
256
|
-
Literal["ease", "ease-in", "ease-out", "ease-
|
|
242
|
+
Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"],
|
|
243
|
+
Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]],
|
|
257
244
|
]
|
|
258
245
|
] = None,
|
|
259
246
|
style: Optional[Style] = None,
|
|
@@ -261,30 +248,28 @@ class RadialBar(Recharts):
|
|
|
261
248
|
id: Optional[Any] = None,
|
|
262
249
|
class_name: Optional[Any] = None,
|
|
263
250
|
autofocus: Optional[bool] = None,
|
|
264
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
251
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
265
252
|
on_animation_end: Optional[
|
|
266
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
253
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
267
254
|
] = None,
|
|
268
255
|
on_animation_start: Optional[
|
|
269
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
270
|
-
] = None,
|
|
271
|
-
on_click: Optional[
|
|
272
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
256
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
273
257
|
] = None,
|
|
258
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
274
259
|
on_mouse_enter: Optional[
|
|
275
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
260
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
276
261
|
] = None,
|
|
277
262
|
on_mouse_leave: Optional[
|
|
278
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
263
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
279
264
|
] = None,
|
|
280
265
|
on_mouse_move: Optional[
|
|
281
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
266
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
282
267
|
] = None,
|
|
283
268
|
on_mouse_out: Optional[
|
|
284
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
269
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
285
270
|
] = None,
|
|
286
271
|
on_mouse_over: Optional[
|
|
287
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
272
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
288
273
|
] = None,
|
|
289
274
|
**props,
|
|
290
275
|
) -> "RadialBar":
|
|
@@ -320,72 +305,62 @@ class PolarAngleAxis(Recharts):
|
|
|
320
305
|
def create( # type: ignore
|
|
321
306
|
cls,
|
|
322
307
|
*children,
|
|
323
|
-
data_key: Optional[Union[Var[Union[int, str]],
|
|
308
|
+
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
324
309
|
cx: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
325
310
|
cy: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
326
311
|
radius: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
327
312
|
axis_line: Optional[
|
|
328
|
-
Union[Var[Union[Dict[str, Any], bool]], bool
|
|
313
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
329
314
|
] = None,
|
|
330
315
|
axis_line_type: Optional[Union[Var[str], str]] = None,
|
|
331
316
|
tick_line: Optional[
|
|
332
|
-
Union[Var[Union[Dict[str, Any], bool]], bool
|
|
317
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
333
318
|
] = None,
|
|
334
319
|
tick: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
335
|
-
ticks: Optional[Union[
|
|
320
|
+
ticks: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
|
336
321
|
orient: Optional[Union[Var[str], str]] = None,
|
|
337
|
-
stroke: Optional[Union[Var[Union[Color, str]], str
|
|
322
|
+
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
338
323
|
allow_duplicated_category: Optional[Union[Var[bool], bool]] = None,
|
|
339
324
|
style: Optional[Style] = None,
|
|
340
325
|
key: Optional[Any] = None,
|
|
341
326
|
id: Optional[Any] = None,
|
|
342
327
|
class_name: Optional[Any] = None,
|
|
343
328
|
autofocus: Optional[bool] = None,
|
|
344
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
345
|
-
on_blur: Optional[
|
|
346
|
-
|
|
347
|
-
] = None,
|
|
348
|
-
on_click: Optional[
|
|
349
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
350
|
-
] = None,
|
|
329
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
330
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
331
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
351
332
|
on_context_menu: Optional[
|
|
352
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
333
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
353
334
|
] = None,
|
|
354
335
|
on_double_click: Optional[
|
|
355
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
356
|
-
] = None,
|
|
357
|
-
on_focus: Optional[
|
|
358
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
359
|
-
] = None,
|
|
360
|
-
on_mount: Optional[
|
|
361
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
336
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
362
337
|
] = None,
|
|
338
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
339
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
363
340
|
on_mouse_down: Optional[
|
|
364
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
341
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
365
342
|
] = None,
|
|
366
343
|
on_mouse_enter: Optional[
|
|
367
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
344
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
368
345
|
] = None,
|
|
369
346
|
on_mouse_leave: Optional[
|
|
370
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
347
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
371
348
|
] = None,
|
|
372
349
|
on_mouse_move: Optional[
|
|
373
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
350
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
374
351
|
] = None,
|
|
375
352
|
on_mouse_out: Optional[
|
|
376
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
353
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
377
354
|
] = None,
|
|
378
355
|
on_mouse_over: Optional[
|
|
379
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
356
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
380
357
|
] = None,
|
|
381
358
|
on_mouse_up: Optional[
|
|
382
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
383
|
-
] = None,
|
|
384
|
-
on_scroll: Optional[
|
|
385
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
359
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
386
360
|
] = None,
|
|
361
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
387
362
|
on_unmount: Optional[
|
|
388
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
363
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
389
364
|
] = None,
|
|
390
365
|
**props,
|
|
391
366
|
) -> "PolarAngleAxis":
|
|
@@ -428,62 +403,52 @@ class PolarGrid(Recharts):
|
|
|
428
403
|
cy: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
429
404
|
inner_radius: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
430
405
|
outer_radius: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
431
|
-
polar_angles: Optional[Union[
|
|
432
|
-
polar_radius: Optional[Union[
|
|
406
|
+
polar_angles: Optional[Union[List[int], Var[List[int]]]] = None,
|
|
407
|
+
polar_radius: Optional[Union[List[int], Var[List[int]]]] = None,
|
|
433
408
|
grid_type: Optional[
|
|
434
|
-
Union[
|
|
409
|
+
Union[Literal["circle", "polygon"], Var[Literal["circle", "polygon"]]]
|
|
435
410
|
] = None,
|
|
436
|
-
stroke: Optional[Union[Var[Union[Color, str]], str
|
|
411
|
+
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
437
412
|
style: Optional[Style] = None,
|
|
438
413
|
key: Optional[Any] = None,
|
|
439
414
|
id: Optional[Any] = None,
|
|
440
415
|
class_name: Optional[Any] = None,
|
|
441
416
|
autofocus: Optional[bool] = None,
|
|
442
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
443
|
-
on_blur: Optional[
|
|
444
|
-
|
|
445
|
-
] = None,
|
|
446
|
-
on_click: Optional[
|
|
447
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
448
|
-
] = None,
|
|
417
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
418
|
+
on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
419
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
449
420
|
on_context_menu: Optional[
|
|
450
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
421
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
451
422
|
] = None,
|
|
452
423
|
on_double_click: Optional[
|
|
453
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
454
|
-
] = None,
|
|
455
|
-
on_focus: Optional[
|
|
456
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
457
|
-
] = None,
|
|
458
|
-
on_mount: Optional[
|
|
459
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
424
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
460
425
|
] = None,
|
|
426
|
+
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
427
|
+
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
461
428
|
on_mouse_down: Optional[
|
|
462
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
429
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
463
430
|
] = None,
|
|
464
431
|
on_mouse_enter: Optional[
|
|
465
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
432
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
466
433
|
] = None,
|
|
467
434
|
on_mouse_leave: Optional[
|
|
468
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
435
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
469
436
|
] = None,
|
|
470
437
|
on_mouse_move: Optional[
|
|
471
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
438
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
472
439
|
] = None,
|
|
473
440
|
on_mouse_out: Optional[
|
|
474
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
441
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
475
442
|
] = None,
|
|
476
443
|
on_mouse_over: Optional[
|
|
477
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
444
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
478
445
|
] = None,
|
|
479
446
|
on_mouse_up: Optional[
|
|
480
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
481
|
-
] = None,
|
|
482
|
-
on_scroll: Optional[
|
|
483
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
447
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
484
448
|
] = None,
|
|
449
|
+
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
485
450
|
on_unmount: Optional[
|
|
486
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
451
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
487
452
|
] = None,
|
|
488
453
|
**props,
|
|
489
454
|
) -> "PolarGrid":
|
|
@@ -513,7 +478,7 @@ class PolarGrid(Recharts):
|
|
|
513
478
|
...
|
|
514
479
|
|
|
515
480
|
class PolarRadiusAxis(Recharts):
|
|
516
|
-
def get_event_triggers(self) -> dict[str, Union[
|
|
481
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]: ...
|
|
517
482
|
@overload
|
|
518
483
|
@classmethod
|
|
519
484
|
def create( # type: ignore
|
|
@@ -521,7 +486,7 @@ class PolarRadiusAxis(Recharts):
|
|
|
521
486
|
*children,
|
|
522
487
|
angle: Optional[Union[Var[int], int]] = None,
|
|
523
488
|
type_: Optional[
|
|
524
|
-
Union[
|
|
489
|
+
Union[Literal["category", "number"], Var[Literal["category", "number"]]]
|
|
525
490
|
] = None,
|
|
526
491
|
allow_duplicated_category: Optional[Union[Var[bool], bool]] = None,
|
|
527
492
|
cx: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
@@ -529,75 +494,73 @@ class PolarRadiusAxis(Recharts):
|
|
|
529
494
|
reversed: Optional[Union[Var[bool], bool]] = None,
|
|
530
495
|
orientation: Optional[Union[Var[str], str]] = None,
|
|
531
496
|
axis_line: Optional[
|
|
532
|
-
Union[Var[Union[Dict[str, Any], bool]], bool
|
|
497
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
533
498
|
] = None,
|
|
534
499
|
tick: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
535
500
|
tick_count: Optional[Union[Var[int], int]] = None,
|
|
536
501
|
scale: Optional[
|
|
537
502
|
Union[
|
|
503
|
+
Literal[
|
|
504
|
+
"auto",
|
|
505
|
+
"band",
|
|
506
|
+
"identity",
|
|
507
|
+
"linear",
|
|
508
|
+
"log",
|
|
509
|
+
"ordinal",
|
|
510
|
+
"point",
|
|
511
|
+
"pow",
|
|
512
|
+
"quantile",
|
|
513
|
+
"quantize",
|
|
514
|
+
"sequential",
|
|
515
|
+
"sqrt",
|
|
516
|
+
"threshold",
|
|
517
|
+
"time",
|
|
518
|
+
"utc",
|
|
519
|
+
],
|
|
538
520
|
Var[
|
|
539
521
|
Literal[
|
|
540
522
|
"auto",
|
|
523
|
+
"band",
|
|
524
|
+
"identity",
|
|
541
525
|
"linear",
|
|
542
|
-
"pow",
|
|
543
|
-
"sqrt",
|
|
544
526
|
"log",
|
|
545
|
-
"identity",
|
|
546
|
-
"time",
|
|
547
|
-
"band",
|
|
548
|
-
"point",
|
|
549
527
|
"ordinal",
|
|
528
|
+
"point",
|
|
529
|
+
"pow",
|
|
550
530
|
"quantile",
|
|
551
531
|
"quantize",
|
|
552
|
-
"utc",
|
|
553
532
|
"sequential",
|
|
533
|
+
"sqrt",
|
|
554
534
|
"threshold",
|
|
535
|
+
"time",
|
|
536
|
+
"utc",
|
|
555
537
|
]
|
|
556
538
|
],
|
|
557
|
-
Literal[
|
|
558
|
-
"auto",
|
|
559
|
-
"linear",
|
|
560
|
-
"pow",
|
|
561
|
-
"sqrt",
|
|
562
|
-
"log",
|
|
563
|
-
"identity",
|
|
564
|
-
"time",
|
|
565
|
-
"band",
|
|
566
|
-
"point",
|
|
567
|
-
"ordinal",
|
|
568
|
-
"quantile",
|
|
569
|
-
"quantize",
|
|
570
|
-
"utc",
|
|
571
|
-
"sequential",
|
|
572
|
-
"threshold",
|
|
573
|
-
],
|
|
574
539
|
]
|
|
575
540
|
] = None,
|
|
576
|
-
domain: Optional[Union[
|
|
577
|
-
stroke: Optional[Union[Var[Union[Color, str]], str
|
|
541
|
+
domain: Optional[Union[List[int], Var[List[int]]]] = None,
|
|
542
|
+
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
578
543
|
style: Optional[Style] = None,
|
|
579
544
|
key: Optional[Any] = None,
|
|
580
545
|
id: Optional[Any] = None,
|
|
581
546
|
class_name: Optional[Any] = None,
|
|
582
547
|
autofocus: Optional[bool] = None,
|
|
583
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
584
|
-
on_click: Optional[
|
|
585
|
-
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
586
|
-
] = None,
|
|
548
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
549
|
+
on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
587
550
|
on_mouse_enter: Optional[
|
|
588
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
551
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
589
552
|
] = None,
|
|
590
553
|
on_mouse_leave: Optional[
|
|
591
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
554
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
592
555
|
] = None,
|
|
593
556
|
on_mouse_move: Optional[
|
|
594
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
557
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
595
558
|
] = None,
|
|
596
559
|
on_mouse_out: Optional[
|
|
597
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
560
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
598
561
|
] = None,
|
|
599
562
|
on_mouse_over: Optional[
|
|
600
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
563
|
+
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
601
564
|
] = None,
|
|
602
565
|
**props,
|
|
603
566
|
) -> "PolarRadiusAxis":
|