reflex 0.7.4a3__py3-none-any.whl → 0.7.5__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/__init__.py +1 -0
- reflex/__init__.pyi +1 -0
- reflex/app.py +10 -6
- reflex/app_mixins/middleware.py +13 -20
- reflex/compiler/compiler.py +10 -3
- reflex/compiler/utils.py +4 -4
- reflex/components/base/app_wrap.pyi +7 -3
- reflex/components/base/body.pyi +7 -3
- reflex/components/base/document.pyi +27 -7
- reflex/components/base/error_boundary.pyi +7 -3
- reflex/components/base/fragment.pyi +7 -3
- reflex/components/base/head.pyi +12 -4
- reflex/components/base/link.pyi +12 -4
- reflex/components/base/meta.pyi +22 -6
- reflex/components/base/script.pyi +7 -3
- reflex/components/base/strict_mode.pyi +7 -3
- reflex/components/component.py +64 -23
- reflex/components/core/auto_scroll.pyi +7 -3
- reflex/components/core/banner.py +6 -2
- reflex/components/core/banner.pyi +32 -8
- reflex/components/core/client_side_routing.pyi +12 -4
- reflex/components/core/clipboard.pyi +7 -3
- reflex/components/core/debounce.pyi +7 -3
- reflex/components/core/foreach.py +5 -1
- reflex/components/core/html.pyi +7 -3
- reflex/components/core/match.py +5 -5
- reflex/components/core/sticky.pyi +21 -6
- reflex/components/core/upload.pyi +27 -7
- reflex/components/datadisplay/code.pyi +12 -4
- reflex/components/datadisplay/dataeditor.py +2 -2
- reflex/components/datadisplay/dataeditor.pyi +17 -3
- reflex/components/datadisplay/shiki_code_block.pyi +17 -4
- reflex/components/el/__init__.pyi +1 -1
- reflex/components/el/element.pyi +7 -3
- reflex/components/el/elements/__init__.py +3 -1
- reflex/components/el/elements/__init__.pyi +3 -2
- reflex/components/el/elements/base.pyi +7 -3
- reflex/components/el/elements/forms.py +1 -1
- reflex/components/el/elements/forms.pyi +72 -16
- reflex/components/el/elements/inline.pyi +142 -30
- reflex/components/el/elements/media.pyi +127 -27
- reflex/components/el/elements/metadata.pyi +32 -8
- reflex/components/el/elements/other.pyi +37 -9
- reflex/components/el/elements/scripts.pyi +17 -5
- reflex/components/el/elements/sectioning.pyi +77 -17
- reflex/components/el/elements/tables.pyi +52 -12
- reflex/components/el/elements/typography.pyi +77 -17
- reflex/components/gridjs/datatable.py +2 -2
- reflex/components/gridjs/datatable.pyi +12 -4
- reflex/components/lucide/icon.py +7 -6
- reflex/components/lucide/icon.pyi +22 -7
- reflex/components/markdown/markdown.py +1 -1
- reflex/components/markdown/markdown.pyi +7 -3
- reflex/components/moment/moment.pyi +7 -3
- reflex/components/next/base.pyi +7 -3
- reflex/components/next/image.pyi +7 -3
- reflex/components/next/link.pyi +7 -3
- reflex/components/next/video.pyi +7 -3
- reflex/components/plotly/plotly.pyi +47 -11
- reflex/components/radix/primitives/accordion.pyi +37 -9
- reflex/components/radix/primitives/base.pyi +12 -4
- reflex/components/radix/primitives/drawer.pyi +57 -13
- reflex/components/radix/primitives/form.pyi +52 -12
- reflex/components/radix/primitives/progress.pyi +27 -7
- reflex/components/radix/primitives/slider.pyi +27 -7
- reflex/components/radix/themes/base.pyi +41 -10
- reflex/components/radix/themes/color_mode.py +2 -2
- reflex/components/radix/themes/color_mode.pyi +17 -5
- reflex/components/radix/themes/components/alert_dialog.pyi +36 -9
- reflex/components/radix/themes/components/aspect_ratio.pyi +7 -3
- reflex/components/radix/themes/components/avatar.pyi +6 -3
- reflex/components/radix/themes/components/badge.pyi +6 -3
- reflex/components/radix/themes/components/button.pyi +6 -3
- reflex/components/radix/themes/components/callout.pyi +26 -7
- reflex/components/radix/themes/components/card.pyi +6 -3
- reflex/components/radix/themes/components/checkbox.pyi +16 -5
- reflex/components/radix/themes/components/checkbox_cards.pyi +11 -4
- reflex/components/radix/themes/components/checkbox_group.pyi +11 -4
- reflex/components/radix/themes/components/context_menu.pyi +66 -15
- reflex/components/radix/themes/components/data_list.pyi +21 -6
- reflex/components/radix/themes/components/dialog.pyi +36 -9
- reflex/components/radix/themes/components/dropdown_menu.pyi +41 -10
- reflex/components/radix/themes/components/hover_card.pyi +21 -6
- reflex/components/radix/themes/components/icon_button.pyi +6 -3
- reflex/components/radix/themes/components/inset.pyi +6 -3
- reflex/components/radix/themes/components/popover.pyi +21 -6
- reflex/components/radix/themes/components/progress.pyi +6 -3
- reflex/components/radix/themes/components/radio.pyi +6 -3
- reflex/components/radix/themes/components/radio_cards.pyi +11 -4
- reflex/components/radix/themes/components/radio_group.py +6 -1
- reflex/components/radix/themes/components/radio_group.pyi +21 -6
- reflex/components/radix/themes/components/scroll_area.pyi +7 -3
- reflex/components/radix/themes/components/segmented_control.pyi +11 -4
- reflex/components/radix/themes/components/select.pyi +46 -11
- reflex/components/radix/themes/components/separator.pyi +6 -3
- reflex/components/radix/themes/components/skeleton.pyi +6 -3
- reflex/components/radix/themes/components/slider.pyi +6 -3
- reflex/components/radix/themes/components/spinner.pyi +6 -3
- reflex/components/radix/themes/components/switch.pyi +6 -3
- reflex/components/radix/themes/components/table.pyi +36 -9
- reflex/components/radix/themes/components/tabs.pyi +26 -7
- reflex/components/radix/themes/components/text_area.pyi +6 -3
- reflex/components/radix/themes/components/text_field.py +3 -2
- reflex/components/radix/themes/components/text_field.pyi +16 -5
- reflex/components/radix/themes/components/tooltip.pyi +7 -3
- reflex/components/radix/themes/layout/base.pyi +6 -3
- reflex/components/radix/themes/layout/box.pyi +7 -3
- reflex/components/radix/themes/layout/center.pyi +6 -3
- reflex/components/radix/themes/layout/container.pyi +6 -3
- reflex/components/radix/themes/layout/flex.pyi +6 -3
- reflex/components/radix/themes/layout/grid.pyi +6 -3
- reflex/components/radix/themes/layout/list.pyi +27 -7
- reflex/components/radix/themes/layout/section.pyi +6 -3
- reflex/components/radix/themes/layout/spacer.pyi +6 -3
- reflex/components/radix/themes/layout/stack.pyi +16 -5
- reflex/components/radix/themes/typography/blockquote.pyi +6 -3
- reflex/components/radix/themes/typography/code.pyi +6 -3
- reflex/components/radix/themes/typography/heading.pyi +6 -3
- reflex/components/radix/themes/typography/link.pyi +6 -3
- reflex/components/radix/themes/typography/text.pyi +36 -9
- reflex/components/react_player/audio.pyi +7 -3
- reflex/components/react_player/react_player.pyi +7 -3
- reflex/components/react_player/video.pyi +7 -3
- reflex/components/recharts/cartesian.pyi +97 -21
- reflex/components/recharts/charts.pyi +62 -14
- reflex/components/recharts/general.pyi +32 -8
- reflex/components/recharts/polar.py +1 -1
- reflex/components/recharts/polar.pyi +33 -9
- reflex/components/recharts/recharts.pyi +12 -4
- reflex/components/sonner/toast.pyi +7 -2
- reflex/components/suneditor/editor.pyi +7 -3
- reflex/config.py +15 -1
- reflex/constants/installer.py +22 -1
- reflex/custom_components/custom_components.py +12 -7
- reflex/event.py +26 -10
- reflex/experimental/__init__.py +17 -6
- reflex/experimental/layout.pyi +27 -7
- reflex/model.py +3 -3
- reflex/reflex.py +33 -18
- reflex/state.py +3 -3
- reflex/style.py +2 -2
- reflex/testing.py +17 -5
- reflex/utils/console.py +2 -3
- reflex/utils/exec.py +4 -0
- reflex/utils/imports.py +14 -7
- reflex/utils/prerequisites.py +72 -7
- reflex/utils/processes.py +52 -19
- reflex/utils/pyi_generator.py +66 -53
- reflex/utils/registry.py +5 -3
- reflex/utils/serializers.py +1 -2
- reflex/utils/types.py +4 -4
- reflex/vars/base.py +58 -22
- reflex/vars/number.py +23 -6
- reflex/vars/sequence.py +2 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/METADATA +2 -2
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/RECORD +160 -160
- /reflex/{experimental → utils}/misc.py +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/WHEEL +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components import Component
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.utils.imports import ImportDict
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
@@ -77,7 +76,11 @@ class CommonMarginProps(Component):
|
|
|
77
76
|
ml: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
78
77
|
| Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
|
|
79
78
|
| None = None,
|
|
80
|
-
style:
|
|
79
|
+
style: Sequence[Mapping[str, Any]]
|
|
80
|
+
| Mapping[str, Any]
|
|
81
|
+
| Var[Mapping[str, Any]]
|
|
82
|
+
| Breakpoints
|
|
83
|
+
| None = None,
|
|
81
84
|
key: Any | None = None,
|
|
82
85
|
id: Any | None = None,
|
|
83
86
|
class_name: Any | None = None,
|
|
@@ -179,7 +182,11 @@ class CommonPaddingProps(Component):
|
|
|
179
182
|
| Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
180
183
|
]
|
|
181
184
|
| None = None,
|
|
182
|
-
style:
|
|
185
|
+
style: Sequence[Mapping[str, Any]]
|
|
186
|
+
| Mapping[str, Any]
|
|
187
|
+
| Var[Mapping[str, Any]]
|
|
188
|
+
| Breakpoints
|
|
189
|
+
| None = None,
|
|
183
190
|
key: Any | None = None,
|
|
184
191
|
id: Any | None = None,
|
|
185
192
|
class_name: Any | None = None,
|
|
@@ -233,7 +240,11 @@ class RadixLoadingProp(Component):
|
|
|
233
240
|
cls,
|
|
234
241
|
*children,
|
|
235
242
|
loading: Var[bool] | bool | None = None,
|
|
236
|
-
style:
|
|
243
|
+
style: Sequence[Mapping[str, Any]]
|
|
244
|
+
| Mapping[str, Any]
|
|
245
|
+
| Var[Mapping[str, Any]]
|
|
246
|
+
| Breakpoints
|
|
247
|
+
| None = None,
|
|
237
248
|
key: Any | None = None,
|
|
238
249
|
id: Any | None = None,
|
|
239
250
|
class_name: Any | None = None,
|
|
@@ -280,7 +291,11 @@ class RadixThemesComponent(Component):
|
|
|
280
291
|
def create( # type: ignore
|
|
281
292
|
cls,
|
|
282
293
|
*children,
|
|
283
|
-
style:
|
|
294
|
+
style: Sequence[Mapping[str, Any]]
|
|
295
|
+
| Mapping[str, Any]
|
|
296
|
+
| Var[Mapping[str, Any]]
|
|
297
|
+
| Breakpoints
|
|
298
|
+
| None = None,
|
|
284
299
|
key: Any | None = None,
|
|
285
300
|
id: Any | None = None,
|
|
286
301
|
class_name: Any | None = None,
|
|
@@ -329,7 +344,11 @@ class RadixThemesTriggerComponent(RadixThemesComponent):
|
|
|
329
344
|
def create( # type: ignore
|
|
330
345
|
cls,
|
|
331
346
|
*children,
|
|
332
|
-
style:
|
|
347
|
+
style: Sequence[Mapping[str, Any]]
|
|
348
|
+
| Mapping[str, Any]
|
|
349
|
+
| Var[Mapping[str, Any]]
|
|
350
|
+
| Breakpoints
|
|
351
|
+
| None = None,
|
|
333
352
|
key: Any | None = None,
|
|
334
353
|
id: Any | None = None,
|
|
335
354
|
class_name: Any | None = None,
|
|
@@ -446,7 +465,11 @@ class Theme(RadixThemesComponent):
|
|
|
446
465
|
scaling: Literal["100%", "105%", "110%", "90%", "95%"]
|
|
447
466
|
| Var[Literal["100%", "105%", "110%", "90%", "95%"]]
|
|
448
467
|
| None = None,
|
|
449
|
-
style:
|
|
468
|
+
style: Sequence[Mapping[str, Any]]
|
|
469
|
+
| Mapping[str, Any]
|
|
470
|
+
| Var[Mapping[str, Any]]
|
|
471
|
+
| Breakpoints
|
|
472
|
+
| None = None,
|
|
450
473
|
key: Any | None = None,
|
|
451
474
|
id: Any | None = None,
|
|
452
475
|
class_name: Any | None = None,
|
|
@@ -505,7 +528,11 @@ class ThemePanel(RadixThemesComponent):
|
|
|
505
528
|
cls,
|
|
506
529
|
*children,
|
|
507
530
|
default_open: Var[bool] | bool | None = None,
|
|
508
|
-
style:
|
|
531
|
+
style: Sequence[Mapping[str, Any]]
|
|
532
|
+
| Mapping[str, Any]
|
|
533
|
+
| Var[Mapping[str, Any]]
|
|
534
|
+
| Breakpoints
|
|
535
|
+
| None = None,
|
|
509
536
|
key: Any | None = None,
|
|
510
537
|
id: Any | None = None,
|
|
511
538
|
class_name: Any | None = None,
|
|
@@ -555,7 +582,11 @@ class RadixThemesColorModeProvider(Component):
|
|
|
555
582
|
def create( # type: ignore
|
|
556
583
|
cls,
|
|
557
584
|
*children,
|
|
558
|
-
style:
|
|
585
|
+
style: Sequence[Mapping[str, Any]]
|
|
586
|
+
| Mapping[str, Any]
|
|
587
|
+
| Var[Mapping[str, Any]]
|
|
588
|
+
| Breakpoints
|
|
589
|
+
| None = None,
|
|
559
590
|
key: Any | None = None,
|
|
560
591
|
id: Any | None = None,
|
|
561
592
|
class_name: Any | None = None,
|
|
@@ -83,7 +83,7 @@ def _find(const: list[str], var: Any):
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
def _set_var_default(
|
|
86
|
-
props: dict, position: Any, prop: str, default1: str, default2: str = ""
|
|
86
|
+
props: dict, position: Any, prop: str, default1: str, default2: str | Var = ""
|
|
87
87
|
):
|
|
88
88
|
props.setdefault(
|
|
89
89
|
prop, cond(_find(position_map[prop], position), default1, default2)
|
|
@@ -122,7 +122,7 @@ class ColorModeIconButton(IconButton):
|
|
|
122
122
|
|
|
123
123
|
# position is used to set nice defaults for positioning the icon button
|
|
124
124
|
if isinstance(position, Var):
|
|
125
|
-
_set_var_default(props, position, "position", "fixed", position)
|
|
125
|
+
_set_var_default(props, position, "position", "fixed", position)
|
|
126
126
|
_set_var_default(props, position, "bottom", "2rem")
|
|
127
127
|
_set_var_default(props, position, "top", "2rem")
|
|
128
128
|
_set_var_default(props, position, "left", "2rem")
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.core.cond import Cond
|
|
10
10
|
from reflex.components.lucide.icon import Icon
|
|
11
11
|
from reflex.components.radix.themes.components.switch import Switch
|
|
12
12
|
from reflex.event import EventType
|
|
13
|
-
from reflex.style import
|
|
13
|
+
from reflex.style import color_mode
|
|
14
14
|
from reflex.vars.base import Var
|
|
15
15
|
|
|
16
16
|
from .components.icon_button import IconButton
|
|
@@ -25,7 +25,11 @@ class ColorModeIcon(Cond):
|
|
|
25
25
|
cls,
|
|
26
26
|
*children,
|
|
27
27
|
cond: Any | Var[Any] | None = None,
|
|
28
|
-
style:
|
|
28
|
+
style: Sequence[Mapping[str, Any]]
|
|
29
|
+
| Mapping[str, Any]
|
|
30
|
+
| Var[Mapping[str, Any]]
|
|
31
|
+
| Breakpoints
|
|
32
|
+
| None = None,
|
|
29
33
|
key: Any | None = None,
|
|
30
34
|
id: Any | None = None,
|
|
31
35
|
class_name: Any | None = None,
|
|
@@ -339,7 +343,11 @@ class ColorModeIconButton(IconButton):
|
|
|
339
343
|
tab_index: Var[int] | int | None = None,
|
|
340
344
|
title: Var[str] | str | None = None,
|
|
341
345
|
loading: Var[bool] | bool | None = None,
|
|
342
|
-
style:
|
|
346
|
+
style: Sequence[Mapping[str, Any]]
|
|
347
|
+
| Mapping[str, Any]
|
|
348
|
+
| Var[Mapping[str, Any]]
|
|
349
|
+
| Breakpoints
|
|
350
|
+
| None = None,
|
|
343
351
|
key: Any | None = None,
|
|
344
352
|
id: Any | None = None,
|
|
345
353
|
class_name: Any | None = None,
|
|
@@ -497,7 +505,11 @@ class ColorModeSwitch(Switch):
|
|
|
497
505
|
radius: Literal["full", "none", "small"]
|
|
498
506
|
| Var[Literal["full", "none", "small"]]
|
|
499
507
|
| None = None,
|
|
500
|
-
style:
|
|
508
|
+
style: Sequence[Mapping[str, Any]]
|
|
509
|
+
| Mapping[str, Any]
|
|
510
|
+
| Var[Mapping[str, Any]]
|
|
511
|
+
| Breakpoints
|
|
512
|
+
| None = None,
|
|
501
513
|
key: Any | None = None,
|
|
502
514
|
id: Any | None = None,
|
|
503
515
|
class_name: Any | None = None,
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent, RadixThemesTriggerComponent
|
|
@@ -24,7 +23,11 @@ class AlertDialogRoot(RadixThemesComponent):
|
|
|
24
23
|
*children,
|
|
25
24
|
open: Var[bool] | bool | None = None,
|
|
26
25
|
default_open: Var[bool] | bool | None = None,
|
|
27
|
-
style:
|
|
26
|
+
style: Sequence[Mapping[str, Any]]
|
|
27
|
+
| Mapping[str, Any]
|
|
28
|
+
| Var[Mapping[str, Any]]
|
|
29
|
+
| Breakpoints
|
|
30
|
+
| None = None,
|
|
28
31
|
key: Any | None = None,
|
|
29
32
|
id: Any | None = None,
|
|
30
33
|
class_name: Any | None = None,
|
|
@@ -77,7 +80,11 @@ class AlertDialogTrigger(RadixThemesTriggerComponent):
|
|
|
77
80
|
def create( # type: ignore
|
|
78
81
|
cls,
|
|
79
82
|
*children,
|
|
80
|
-
style:
|
|
83
|
+
style: Sequence[Mapping[str, Any]]
|
|
84
|
+
| Mapping[str, Any]
|
|
85
|
+
| Var[Mapping[str, Any]]
|
|
86
|
+
| Breakpoints
|
|
87
|
+
| None = None,
|
|
81
88
|
key: Any | None = None,
|
|
82
89
|
id: Any | None = None,
|
|
83
90
|
class_name: Any | None = None,
|
|
@@ -302,7 +309,11 @@ class AlertDialogContent(elements.Div, RadixThemesComponent):
|
|
|
302
309
|
spell_check: Var[bool] | bool | None = None,
|
|
303
310
|
tab_index: Var[int] | int | None = None,
|
|
304
311
|
title: Var[str] | str | None = None,
|
|
305
|
-
style:
|
|
312
|
+
style: Sequence[Mapping[str, Any]]
|
|
313
|
+
| Mapping[str, Any]
|
|
314
|
+
| Var[Mapping[str, Any]]
|
|
315
|
+
| Breakpoints
|
|
316
|
+
| None = None,
|
|
306
317
|
key: Any | None = None,
|
|
307
318
|
id: Any | None = None,
|
|
308
319
|
class_name: Any | None = None,
|
|
@@ -375,7 +386,11 @@ class AlertDialogTitle(RadixThemesComponent):
|
|
|
375
386
|
def create( # type: ignore
|
|
376
387
|
cls,
|
|
377
388
|
*children,
|
|
378
|
-
style:
|
|
389
|
+
style: Sequence[Mapping[str, Any]]
|
|
390
|
+
| Mapping[str, Any]
|
|
391
|
+
| Var[Mapping[str, Any]]
|
|
392
|
+
| Breakpoints
|
|
393
|
+
| None = None,
|
|
379
394
|
key: Any | None = None,
|
|
380
395
|
id: Any | None = None,
|
|
381
396
|
class_name: Any | None = None,
|
|
@@ -424,7 +439,11 @@ class AlertDialogDescription(RadixThemesComponent):
|
|
|
424
439
|
def create( # type: ignore
|
|
425
440
|
cls,
|
|
426
441
|
*children,
|
|
427
|
-
style:
|
|
442
|
+
style: Sequence[Mapping[str, Any]]
|
|
443
|
+
| Mapping[str, Any]
|
|
444
|
+
| Var[Mapping[str, Any]]
|
|
445
|
+
| Breakpoints
|
|
446
|
+
| None = None,
|
|
428
447
|
key: Any | None = None,
|
|
429
448
|
id: Any | None = None,
|
|
430
449
|
class_name: Any | None = None,
|
|
@@ -473,7 +492,11 @@ class AlertDialogAction(RadixThemesTriggerComponent):
|
|
|
473
492
|
def create( # type: ignore
|
|
474
493
|
cls,
|
|
475
494
|
*children,
|
|
476
|
-
style:
|
|
495
|
+
style: Sequence[Mapping[str, Any]]
|
|
496
|
+
| Mapping[str, Any]
|
|
497
|
+
| Var[Mapping[str, Any]]
|
|
498
|
+
| Breakpoints
|
|
499
|
+
| None = None,
|
|
477
500
|
key: Any | None = None,
|
|
478
501
|
id: Any | None = None,
|
|
479
502
|
class_name: Any | None = None,
|
|
@@ -513,7 +536,11 @@ class AlertDialogCancel(RadixThemesTriggerComponent):
|
|
|
513
536
|
def create( # type: ignore
|
|
514
537
|
cls,
|
|
515
538
|
*children,
|
|
516
|
-
style:
|
|
539
|
+
style: Sequence[Mapping[str, Any]]
|
|
540
|
+
| Mapping[str, Any]
|
|
541
|
+
| Var[Mapping[str, Any]]
|
|
542
|
+
| Breakpoints
|
|
543
|
+
| None = None,
|
|
517
544
|
key: Any | None = None,
|
|
518
545
|
id: Any | None = None,
|
|
519
546
|
class_name: Any | None = None,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Optional, overload
|
|
6
|
+
from typing import Any, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
8
9
|
from reflex.event import EventType
|
|
9
|
-
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
12
12
|
from ..base import RadixThemesComponent
|
|
@@ -18,7 +18,11 @@ class AspectRatio(RadixThemesComponent):
|
|
|
18
18
|
cls,
|
|
19
19
|
*children,
|
|
20
20
|
ratio: Var[float | int] | float | int | None = None,
|
|
21
|
-
style:
|
|
21
|
+
style: Sequence[Mapping[str, Any]]
|
|
22
|
+
| Mapping[str, Any]
|
|
23
|
+
| Var[Mapping[str, Any]]
|
|
24
|
+
| Breakpoints
|
|
25
|
+
| None = None,
|
|
22
26
|
key: Any | None = None,
|
|
23
27
|
id: Any | None = None,
|
|
24
28
|
class_name: Any | None = None,
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.event import EventType
|
|
10
|
-
from reflex.style import Style
|
|
11
10
|
from reflex.vars.base import Var
|
|
12
11
|
|
|
13
12
|
from ..base import RadixThemesComponent
|
|
@@ -93,7 +92,11 @@ class Avatar(RadixThemesComponent):
|
|
|
93
92
|
| None = None,
|
|
94
93
|
src: Var[str] | str | None = None,
|
|
95
94
|
fallback: Var[str] | str | None = None,
|
|
96
|
-
style:
|
|
95
|
+
style: Sequence[Mapping[str, Any]]
|
|
96
|
+
| Mapping[str, Any]
|
|
97
|
+
| Var[Mapping[str, Any]]
|
|
98
|
+
| Breakpoints
|
|
99
|
+
| None = None,
|
|
97
100
|
key: Any | None = None,
|
|
98
101
|
id: Any | None = None,
|
|
99
102
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -267,7 +266,11 @@ class Badge(elements.Span, RadixThemesComponent):
|
|
|
267
266
|
spell_check: Var[bool] | bool | None = None,
|
|
268
267
|
tab_index: Var[int] | int | None = None,
|
|
269
268
|
title: Var[str] | str | None = None,
|
|
270
|
-
style:
|
|
269
|
+
style: Sequence[Mapping[str, Any]]
|
|
270
|
+
| Mapping[str, Any]
|
|
271
|
+
| Var[Mapping[str, Any]]
|
|
272
|
+
| Breakpoints
|
|
273
|
+
| None = None,
|
|
271
274
|
key: Any | None = None,
|
|
272
275
|
id: Any | None = None,
|
|
273
276
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixLoadingProp, RadixThemesComponent
|
|
@@ -286,7 +285,11 @@ class Button(elements.Button, RadixLoadingProp, RadixThemesComponent):
|
|
|
286
285
|
tab_index: Var[int] | int | None = None,
|
|
287
286
|
title: Var[str] | str | None = None,
|
|
288
287
|
loading: Var[bool] | bool | None = None,
|
|
289
|
-
style:
|
|
288
|
+
style: Sequence[Mapping[str, Any]]
|
|
289
|
+
| Mapping[str, Any]
|
|
290
|
+
| Var[Mapping[str, Any]]
|
|
291
|
+
| Breakpoints
|
|
292
|
+
| None = None,
|
|
290
293
|
key: Any | None = None,
|
|
291
294
|
id: Any | None = None,
|
|
292
295
|
class_name: Any | None = None,
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent
|
|
@@ -268,7 +267,11 @@ class CalloutRoot(elements.Div, RadixThemesComponent):
|
|
|
268
267
|
spell_check: Var[bool] | bool | None = None,
|
|
269
268
|
tab_index: Var[int] | int | None = None,
|
|
270
269
|
title: Var[str] | str | None = None,
|
|
271
|
-
style:
|
|
270
|
+
style: Sequence[Mapping[str, Any]]
|
|
271
|
+
| Mapping[str, Any]
|
|
272
|
+
| Var[Mapping[str, Any]]
|
|
273
|
+
| Breakpoints
|
|
274
|
+
| None = None,
|
|
272
275
|
key: Any | None = None,
|
|
273
276
|
id: Any | None = None,
|
|
274
277
|
class_name: Any | None = None,
|
|
@@ -516,7 +519,11 @@ class CalloutIcon(elements.Div, RadixThemesComponent):
|
|
|
516
519
|
spell_check: Var[bool] | bool | None = None,
|
|
517
520
|
tab_index: Var[int] | int | None = None,
|
|
518
521
|
title: Var[str] | str | None = None,
|
|
519
|
-
style:
|
|
522
|
+
style: Sequence[Mapping[str, Any]]
|
|
523
|
+
| Mapping[str, Any]
|
|
524
|
+
| Var[Mapping[str, Any]]
|
|
525
|
+
| Breakpoints
|
|
526
|
+
| None = None,
|
|
520
527
|
key: Any | None = None,
|
|
521
528
|
id: Any | None = None,
|
|
522
529
|
class_name: Any | None = None,
|
|
@@ -759,7 +766,11 @@ class CalloutText(elements.P, RadixThemesComponent):
|
|
|
759
766
|
spell_check: Var[bool] | bool | None = None,
|
|
760
767
|
tab_index: Var[int] | int | None = None,
|
|
761
768
|
title: Var[str] | str | None = None,
|
|
762
|
-
style:
|
|
769
|
+
style: Sequence[Mapping[str, Any]]
|
|
770
|
+
| Mapping[str, Any]
|
|
771
|
+
| Var[Mapping[str, Any]]
|
|
772
|
+
| Breakpoints
|
|
773
|
+
| None = None,
|
|
763
774
|
key: Any | None = None,
|
|
764
775
|
id: Any | None = None,
|
|
765
776
|
class_name: Any | None = None,
|
|
@@ -1072,7 +1083,11 @@ class Callout(CalloutRoot):
|
|
|
1072
1083
|
spell_check: Var[bool] | bool | None = None,
|
|
1073
1084
|
tab_index: Var[int] | int | None = None,
|
|
1074
1085
|
title: Var[str] | str | None = None,
|
|
1075
|
-
style:
|
|
1086
|
+
style: Sequence[Mapping[str, Any]]
|
|
1087
|
+
| Mapping[str, Any]
|
|
1088
|
+
| Var[Mapping[str, Any]]
|
|
1089
|
+
| Breakpoints
|
|
1090
|
+
| None = None,
|
|
1076
1091
|
key: Any | None = None,
|
|
1077
1092
|
id: Any | None = None,
|
|
1078
1093
|
class_name: Any | None = None,
|
|
@@ -1391,7 +1406,11 @@ class CalloutNamespace(ComponentNamespace):
|
|
|
1391
1406
|
spell_check: Var[bool] | bool | None = None,
|
|
1392
1407
|
tab_index: Var[int] | int | None = None,
|
|
1393
1408
|
title: Var[str] | str | None = None,
|
|
1394
|
-
style:
|
|
1409
|
+
style: Sequence[Mapping[str, Any]]
|
|
1410
|
+
| Mapping[str, Any]
|
|
1411
|
+
| Var[Mapping[str, Any]]
|
|
1412
|
+
| Breakpoints
|
|
1413
|
+
| None = None,
|
|
1395
1414
|
key: Any | None = None,
|
|
1396
1415
|
id: Any | None = None,
|
|
1397
1416
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -208,7 +207,11 @@ class Card(elements.Div, RadixThemesComponent):
|
|
|
208
207
|
spell_check: Var[bool] | bool | None = None,
|
|
209
208
|
tab_index: Var[int] | int | None = None,
|
|
210
209
|
title: Var[str] | str | None = None,
|
|
211
|
-
style:
|
|
210
|
+
style: Sequence[Mapping[str, Any]]
|
|
211
|
+
| Mapping[str, Any]
|
|
212
|
+
| Var[Mapping[str, Any]]
|
|
213
|
+
| Breakpoints
|
|
214
|
+
| None = None,
|
|
212
215
|
key: Any | None = None,
|
|
213
216
|
id: Any | None = None,
|
|
214
217
|
class_name: Any | None = None,
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -96,7 +95,11 @@ class Checkbox(RadixThemesComponent):
|
|
|
96
95
|
required: Var[bool] | bool | None = None,
|
|
97
96
|
name: Var[str] | str | None = None,
|
|
98
97
|
value: Var[str] | str | None = None,
|
|
99
|
-
style:
|
|
98
|
+
style: Sequence[Mapping[str, Any]]
|
|
99
|
+
| Mapping[str, Any]
|
|
100
|
+
| Var[Mapping[str, Any]]
|
|
101
|
+
| Breakpoints
|
|
102
|
+
| None = None,
|
|
100
103
|
key: Any | None = None,
|
|
101
104
|
id: Any | None = None,
|
|
102
105
|
class_name: Any | None = None,
|
|
@@ -233,7 +236,11 @@ class HighLevelCheckbox(RadixThemesComponent):
|
|
|
233
236
|
required: Var[bool] | bool | None = None,
|
|
234
237
|
name: Var[str] | str | None = None,
|
|
235
238
|
value: Var[str] | str | None = None,
|
|
236
|
-
style:
|
|
239
|
+
style: Sequence[Mapping[str, Any]]
|
|
240
|
+
| Mapping[str, Any]
|
|
241
|
+
| Var[Mapping[str, Any]]
|
|
242
|
+
| Breakpoints
|
|
243
|
+
| None = None,
|
|
237
244
|
key: Any | None = None,
|
|
238
245
|
id: Any | None = None,
|
|
239
246
|
class_name: Any | None = None,
|
|
@@ -367,7 +374,11 @@ class CheckboxNamespace(ComponentNamespace):
|
|
|
367
374
|
required: Var[bool] | bool | None = None,
|
|
368
375
|
name: Var[str] | str | None = None,
|
|
369
376
|
value: Var[str] | str | None = None,
|
|
370
|
-
style:
|
|
377
|
+
style: Sequence[Mapping[str, Any]]
|
|
378
|
+
| Mapping[str, Any]
|
|
379
|
+
| Var[Mapping[str, Any]]
|
|
380
|
+
| Breakpoints
|
|
381
|
+
| None = None,
|
|
371
382
|
key: Any | None = None,
|
|
372
383
|
id: Any | None = None,
|
|
373
384
|
class_name: Any | None = None,
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from types import SimpleNamespace
|
|
7
|
-
from typing import Any, Literal, Optional, overload
|
|
7
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -108,7 +107,11 @@ class CheckboxCardsRoot(RadixThemesComponent):
|
|
|
108
107
|
]
|
|
109
108
|
| str
|
|
110
109
|
| None = None,
|
|
111
|
-
style:
|
|
110
|
+
style: Sequence[Mapping[str, Any]]
|
|
111
|
+
| Mapping[str, Any]
|
|
112
|
+
| Var[Mapping[str, Any]]
|
|
113
|
+
| Breakpoints
|
|
114
|
+
| None = None,
|
|
112
115
|
key: Any | None = None,
|
|
113
116
|
id: Any | None = None,
|
|
114
117
|
class_name: Any | None = None,
|
|
@@ -163,7 +166,11 @@ class CheckboxCardsItem(RadixThemesComponent):
|
|
|
163
166
|
def create( # type: ignore
|
|
164
167
|
cls,
|
|
165
168
|
*children,
|
|
166
|
-
style:
|
|
169
|
+
style: Sequence[Mapping[str, Any]]
|
|
170
|
+
| Mapping[str, Any]
|
|
171
|
+
| Var[Mapping[str, Any]]
|
|
172
|
+
| Breakpoints
|
|
173
|
+
| None = None,
|
|
167
174
|
key: Any | None = None,
|
|
168
175
|
id: Any | None = None,
|
|
169
176
|
class_name: Any | None = None,
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from types import SimpleNamespace
|
|
7
|
-
from typing import Any, Literal, Optional, Sequence, overload
|
|
7
|
+
from typing import Any, Literal, Mapping, Optional, Sequence, overload
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -88,7 +87,11 @@ class CheckboxGroupRoot(RadixThemesComponent):
|
|
|
88
87
|
high_contrast: Var[bool] | bool | None = None,
|
|
89
88
|
default_value: Sequence[str] | Var[Sequence[str]] | None = None,
|
|
90
89
|
name: Var[str] | str | None = None,
|
|
91
|
-
style:
|
|
90
|
+
style: Sequence[Mapping[str, Any]]
|
|
91
|
+
| Mapping[str, Any]
|
|
92
|
+
| Var[Mapping[str, Any]]
|
|
93
|
+
| Breakpoints
|
|
94
|
+
| None = None,
|
|
92
95
|
key: Any | None = None,
|
|
93
96
|
id: Any | None = None,
|
|
94
97
|
class_name: Any | None = None,
|
|
@@ -145,7 +148,11 @@ class CheckboxGroupItem(RadixThemesComponent):
|
|
|
145
148
|
*children,
|
|
146
149
|
value: Var[str] | str | None = None,
|
|
147
150
|
disabled: Var[bool] | bool | None = None,
|
|
148
|
-
style:
|
|
151
|
+
style: Sequence[Mapping[str, Any]]
|
|
152
|
+
| Mapping[str, Any]
|
|
153
|
+
| Var[Mapping[str, Any]]
|
|
154
|
+
| Breakpoints
|
|
155
|
+
| None = None,
|
|
149
156
|
key: Any | None = None,
|
|
150
157
|
id: Any | None = None,
|
|
151
158
|
class_name: Any | None = None,
|