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.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.event import EventType, KeyInputInfo
|
|
11
|
-
from reflex.style import Style
|
|
12
11
|
from reflex.vars.base import Var
|
|
13
12
|
|
|
14
13
|
from ..base import RadixThemesComponent
|
|
@@ -294,7 +293,11 @@ class TextArea(RadixThemesComponent, elements.Textarea):
|
|
|
294
293
|
spell_check: Var[bool] | bool | None = None,
|
|
295
294
|
tab_index: Var[int] | int | None = None,
|
|
296
295
|
title: Var[str] | str | None = None,
|
|
297
|
-
style:
|
|
296
|
+
style: Sequence[Mapping[str, Any]]
|
|
297
|
+
| Mapping[str, Any]
|
|
298
|
+
| Var[Mapping[str, Any]]
|
|
299
|
+
| Breakpoints
|
|
300
|
+
| None = None,
|
|
298
301
|
key: Any | None = None,
|
|
299
302
|
id: Any | None = None,
|
|
300
303
|
class_name: Any | None = None,
|
|
@@ -104,9 +104,10 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|
|
104
104
|
if value is not None and is_optional(
|
|
105
105
|
(value_var := Var.create(value))._var_type
|
|
106
106
|
):
|
|
107
|
+
value_var_is_not_none = value_var != Var.create(None)
|
|
108
|
+
value_var_is_not_undefined = value_var != Var(_js_expr="undefined")
|
|
107
109
|
props["value"] = ternary_operation(
|
|
108
|
-
|
|
109
|
-
& (value_var != Var(_js_expr="undefined")),
|
|
110
|
+
value_var_is_not_none & value_var_is_not_undefined,
|
|
110
111
|
value,
|
|
111
112
|
Var.create(""),
|
|
112
113
|
)
|
|
@@ -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, KeyInputInfo
|
|
12
|
-
from reflex.style import Style
|
|
13
12
|
from reflex.vars.base import Var
|
|
14
13
|
|
|
15
14
|
from ..base import RadixThemesComponent
|
|
@@ -302,7 +301,11 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|
|
302
301
|
spell_check: Var[bool] | bool | None = None,
|
|
303
302
|
tab_index: Var[int] | int | None = None,
|
|
304
303
|
title: Var[str] | str | None = None,
|
|
305
|
-
style:
|
|
304
|
+
style: Sequence[Mapping[str, Any]]
|
|
305
|
+
| Mapping[str, Any]
|
|
306
|
+
| Var[Mapping[str, Any]]
|
|
307
|
+
| Breakpoints
|
|
308
|
+
| None = None,
|
|
306
309
|
key: Any | None = None,
|
|
307
310
|
id: Any | None = None,
|
|
308
311
|
class_name: Any | None = None,
|
|
@@ -469,7 +472,11 @@ class TextFieldSlot(RadixThemesComponent):
|
|
|
469
472
|
]
|
|
470
473
|
]
|
|
471
474
|
| None = None,
|
|
472
|
-
style:
|
|
475
|
+
style: Sequence[Mapping[str, Any]]
|
|
476
|
+
| Mapping[str, Any]
|
|
477
|
+
| Var[Mapping[str, Any]]
|
|
478
|
+
| Breakpoints
|
|
479
|
+
| None = None,
|
|
473
480
|
key: Any | None = None,
|
|
474
481
|
id: Any | None = None,
|
|
475
482
|
class_name: Any | None = None,
|
|
@@ -798,7 +805,11 @@ class TextField(ComponentNamespace):
|
|
|
798
805
|
spell_check: Var[bool] | bool | None = None,
|
|
799
806
|
tab_index: Var[int] | int | None = None,
|
|
800
807
|
title: Var[str] | str | None = None,
|
|
801
|
-
style:
|
|
808
|
+
style: Sequence[Mapping[str, Any]]
|
|
809
|
+
| Mapping[str, Any]
|
|
810
|
+
| Var[Mapping[str, Any]]
|
|
811
|
+
| Breakpoints
|
|
812
|
+
| None = None,
|
|
802
813
|
key: Any | None = None,
|
|
803
814
|
id: Any | None = None,
|
|
804
815
|
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, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Literal, 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
|
|
@@ -48,7 +48,11 @@ class Tooltip(RadixThemesComponent):
|
|
|
48
48
|
disable_hoverable_content: Var[bool] | bool | None = None,
|
|
49
49
|
force_mount: Var[bool] | bool | None = None,
|
|
50
50
|
aria_label: Var[str] | str | None = None,
|
|
51
|
-
style:
|
|
51
|
+
style: Sequence[Mapping[str, Any]]
|
|
52
|
+
| Mapping[str, Any]
|
|
53
|
+
| Var[Mapping[str, Any]]
|
|
54
|
+
| Breakpoints
|
|
55
|
+
| None = None,
|
|
52
56
|
key: Any | None = None,
|
|
53
57
|
id: Any | None = None,
|
|
54
58
|
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 CommonMarginProps, CommonPaddingProps, RadixThemesComponent
|
|
@@ -98,7 +97,11 @@ class LayoutComponent(CommonMarginProps, CommonPaddingProps, RadixThemesComponen
|
|
|
98
97
|
| Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
99
98
|
]
|
|
100
99
|
| None = None,
|
|
101
|
-
style:
|
|
100
|
+
style: Sequence[Mapping[str, Any]]
|
|
101
|
+
| Mapping[str, Any]
|
|
102
|
+
| Var[Mapping[str, Any]]
|
|
103
|
+
| Breakpoints
|
|
104
|
+
| None = None,
|
|
102
105
|
key: Any | None = None,
|
|
103
106
|
id: Any | None = None,
|
|
104
107
|
class_name: Any | None = None,
|
|
@@ -3,11 +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
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
8
9
|
from reflex.components.el import elements
|
|
9
10
|
from reflex.event import EventType
|
|
10
|
-
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
13
13
|
from ..base import RadixThemesComponent
|
|
@@ -196,7 +196,11 @@ class Box(elements.Div, RadixThemesComponent):
|
|
|
196
196
|
spell_check: Var[bool] | bool | None = None,
|
|
197
197
|
tab_index: Var[int] | int | None = None,
|
|
198
198
|
title: Var[str] | str | None = None,
|
|
199
|
-
style:
|
|
199
|
+
style: Sequence[Mapping[str, Any]]
|
|
200
|
+
| Mapping[str, Any]
|
|
201
|
+
| Var[Mapping[str, Any]]
|
|
202
|
+
| Breakpoints
|
|
203
|
+
| None = None,
|
|
200
204
|
key: Any | None = None,
|
|
201
205
|
id: Any | None = None,
|
|
202
206
|
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 .flex import Flex
|
|
@@ -239,7 +238,11 @@ class Center(Flex):
|
|
|
239
238
|
spell_check: Var[bool] | bool | None = None,
|
|
240
239
|
tab_index: Var[int] | int | None = None,
|
|
241
240
|
title: Var[str] | str | None = None,
|
|
242
|
-
style:
|
|
241
|
+
style: Sequence[Mapping[str, Any]]
|
|
242
|
+
| Mapping[str, Any]
|
|
243
|
+
| Var[Mapping[str, Any]]
|
|
244
|
+
| Breakpoints
|
|
245
|
+
| None = None,
|
|
243
246
|
key: Any | None = None,
|
|
244
247
|
id: Any | None = None,
|
|
245
248
|
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
|
|
@@ -207,7 +206,11 @@ class Container(elements.Div, RadixThemesComponent):
|
|
|
207
206
|
spell_check: Var[bool] | bool | None = None,
|
|
208
207
|
tab_index: Var[int] | int | None = None,
|
|
209
208
|
title: Var[str] | str | None = None,
|
|
210
|
-
style:
|
|
209
|
+
style: Sequence[Mapping[str, Any]]
|
|
210
|
+
| Mapping[str, Any]
|
|
211
|
+
| Var[Mapping[str, Any]]
|
|
212
|
+
| Breakpoints
|
|
213
|
+
| None = None,
|
|
211
214
|
key: Any | None = None,
|
|
212
215
|
id: Any | None = None,
|
|
213
216
|
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
|
|
@@ -242,7 +241,11 @@ class Flex(elements.Div, RadixThemesComponent):
|
|
|
242
241
|
spell_check: Var[bool] | bool | None = None,
|
|
243
242
|
tab_index: Var[int] | int | None = None,
|
|
244
243
|
title: Var[str] | str | None = None,
|
|
245
|
-
style:
|
|
244
|
+
style: Sequence[Mapping[str, Any]]
|
|
245
|
+
| Mapping[str, Any]
|
|
246
|
+
| Var[Mapping[str, Any]]
|
|
247
|
+
| Breakpoints
|
|
248
|
+
| None = None,
|
|
246
249
|
key: Any | None = None,
|
|
247
250
|
id: Any | None = None,
|
|
248
251
|
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
|
|
@@ -262,7 +261,11 @@ class Grid(elements.Div, RadixThemesComponent):
|
|
|
262
261
|
spell_check: Var[bool] | bool | None = None,
|
|
263
262
|
tab_index: Var[int] | int | None = None,
|
|
264
263
|
title: Var[str] | str | None = None,
|
|
265
|
-
style:
|
|
264
|
+
style: Sequence[Mapping[str, Any]]
|
|
265
|
+
| Mapping[str, Any]
|
|
266
|
+
| Var[Mapping[str, Any]]
|
|
267
|
+
| Breakpoints
|
|
268
|
+
| None = None,
|
|
266
269
|
key: Any | None = None,
|
|
267
270
|
id: Any | None = None,
|
|
268
271
|
class_name: Any | None = None,
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any, Iterable, Literal, Optional, overload
|
|
6
|
+
from typing import Any, Iterable, Literal, Mapping, Optional, Sequence, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.component import Component, ComponentNamespace
|
|
9
|
+
from reflex.components.core.breakpoints import Breakpoints
|
|
9
10
|
from reflex.components.el.elements.typography import Li, Ol, Ul
|
|
10
11
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
11
12
|
from reflex.event import EventType
|
|
12
|
-
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
15
|
LiteralListStyleTypeUnordered = Literal["none", "disc", "circle", "square"]
|
|
@@ -74,7 +74,11 @@ class BaseList(Component, MarkdownComponentMap):
|
|
|
74
74
|
]
|
|
75
75
|
| None = None,
|
|
76
76
|
items: Iterable | Var[Iterable] | None = None,
|
|
77
|
-
style:
|
|
77
|
+
style: Sequence[Mapping[str, Any]]
|
|
78
|
+
| Mapping[str, Any]
|
|
79
|
+
| Var[Mapping[str, Any]]
|
|
80
|
+
| Breakpoints
|
|
81
|
+
| None = None,
|
|
78
82
|
key: Any | None = None,
|
|
79
83
|
id: Any | None = None,
|
|
80
84
|
class_name: Any | None = None,
|
|
@@ -340,7 +344,11 @@ class UnorderedList(BaseList, Ul):
|
|
|
340
344
|
spell_check: Var[bool] | bool | None = None,
|
|
341
345
|
tab_index: Var[int] | int | None = None,
|
|
342
346
|
title: Var[str] | str | None = None,
|
|
343
|
-
style:
|
|
347
|
+
style: Sequence[Mapping[str, Any]]
|
|
348
|
+
| Mapping[str, Any]
|
|
349
|
+
| Var[Mapping[str, Any]]
|
|
350
|
+
| Breakpoints
|
|
351
|
+
| None = None,
|
|
344
352
|
key: Any | None = None,
|
|
345
353
|
id: Any | None = None,
|
|
346
354
|
class_name: Any | None = None,
|
|
@@ -625,7 +633,11 @@ class OrderedList(BaseList, Ol):
|
|
|
625
633
|
spell_check: Var[bool] | bool | None = None,
|
|
626
634
|
tab_index: Var[int] | int | None = None,
|
|
627
635
|
title: Var[str] | str | None = None,
|
|
628
|
-
style:
|
|
636
|
+
style: Sequence[Mapping[str, Any]]
|
|
637
|
+
| Mapping[str, Any]
|
|
638
|
+
| Var[Mapping[str, Any]]
|
|
639
|
+
| Breakpoints
|
|
640
|
+
| None = None,
|
|
629
641
|
key: Any | None = None,
|
|
630
642
|
id: Any | None = None,
|
|
631
643
|
class_name: Any | None = None,
|
|
@@ -870,7 +882,11 @@ class ListItem(Li, MarkdownComponentMap):
|
|
|
870
882
|
spell_check: Var[bool] | bool | None = None,
|
|
871
883
|
tab_index: Var[int] | int | None = None,
|
|
872
884
|
title: Var[str] | str | None = None,
|
|
873
|
-
style:
|
|
885
|
+
style: Sequence[Mapping[str, Any]]
|
|
886
|
+
| Mapping[str, Any]
|
|
887
|
+
| Var[Mapping[str, Any]]
|
|
888
|
+
| Breakpoints
|
|
889
|
+
| None = None,
|
|
874
890
|
key: Any | None = None,
|
|
875
891
|
id: Any | None = None,
|
|
876
892
|
class_name: Any | None = None,
|
|
@@ -972,7 +988,11 @@ class List(ComponentNamespace):
|
|
|
972
988
|
]
|
|
973
989
|
| None = None,
|
|
974
990
|
items: Iterable | Var[Iterable] | None = None,
|
|
975
|
-
style:
|
|
991
|
+
style: Sequence[Mapping[str, Any]]
|
|
992
|
+
| Mapping[str, Any]
|
|
993
|
+
| Var[Mapping[str, Any]]
|
|
994
|
+
| Breakpoints
|
|
995
|
+
| None = None,
|
|
976
996
|
key: Any | None = None,
|
|
977
997
|
id: Any | None = None,
|
|
978
998
|
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
|
|
@@ -203,7 +202,11 @@ class Section(elements.Section, RadixThemesComponent):
|
|
|
203
202
|
spell_check: Var[bool] | bool | None = None,
|
|
204
203
|
tab_index: Var[int] | int | None = None,
|
|
205
204
|
title: Var[str] | str | None = None,
|
|
206
|
-
style:
|
|
205
|
+
style: Sequence[Mapping[str, Any]]
|
|
206
|
+
| Mapping[str, Any]
|
|
207
|
+
| Var[Mapping[str, Any]]
|
|
208
|
+
| Breakpoints
|
|
209
|
+
| None = None,
|
|
207
210
|
key: Any | None = None,
|
|
208
211
|
id: Any | None = None,
|
|
209
212
|
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 .flex import Flex
|
|
@@ -239,7 +238,11 @@ class Spacer(Flex):
|
|
|
239
238
|
spell_check: Var[bool] | bool | None = None,
|
|
240
239
|
tab_index: Var[int] | int | None = None,
|
|
241
240
|
title: Var[str] | str | None = None,
|
|
242
|
-
style:
|
|
241
|
+
style: Sequence[Mapping[str, Any]]
|
|
242
|
+
| Mapping[str, Any]
|
|
243
|
+
| Var[Mapping[str, Any]]
|
|
244
|
+
| Breakpoints
|
|
245
|
+
| None = None,
|
|
243
246
|
key: Any | None = None,
|
|
244
247
|
id: Any | None = None,
|
|
245
248
|
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 .flex import Flex
|
|
@@ -226,7 +225,11 @@ class Stack(Flex):
|
|
|
226
225
|
spell_check: Var[bool] | bool | None = None,
|
|
227
226
|
tab_index: Var[int] | int | None = None,
|
|
228
227
|
title: Var[str] | str | None = None,
|
|
229
|
-
style:
|
|
228
|
+
style: Sequence[Mapping[str, Any]]
|
|
229
|
+
| Mapping[str, Any]
|
|
230
|
+
| Var[Mapping[str, Any]]
|
|
231
|
+
| Breakpoints
|
|
232
|
+
| None = None,
|
|
230
233
|
key: Any | None = None,
|
|
231
234
|
id: Any | None = None,
|
|
232
235
|
class_name: Any | None = None,
|
|
@@ -496,7 +499,11 @@ class VStack(Stack):
|
|
|
496
499
|
spell_check: Var[bool] | bool | None = None,
|
|
497
500
|
tab_index: Var[int] | int | None = None,
|
|
498
501
|
title: Var[str] | str | None = None,
|
|
499
|
-
style:
|
|
502
|
+
style: Sequence[Mapping[str, Any]]
|
|
503
|
+
| Mapping[str, Any]
|
|
504
|
+
| Var[Mapping[str, Any]]
|
|
505
|
+
| Breakpoints
|
|
506
|
+
| None = None,
|
|
500
507
|
key: Any | None = None,
|
|
501
508
|
id: Any | None = None,
|
|
502
509
|
class_name: Any | None = None,
|
|
@@ -766,7 +773,11 @@ class HStack(Stack):
|
|
|
766
773
|
spell_check: Var[bool] | bool | None = None,
|
|
767
774
|
tab_index: Var[int] | int | None = None,
|
|
768
775
|
title: Var[str] | str | None = None,
|
|
769
|
-
style:
|
|
776
|
+
style: Sequence[Mapping[str, Any]]
|
|
777
|
+
| Mapping[str, Any]
|
|
778
|
+
| Var[Mapping[str, Any]]
|
|
779
|
+
| Breakpoints
|
|
780
|
+
| None = None,
|
|
770
781
|
key: Any | None = None,
|
|
771
782
|
id: Any | None = None,
|
|
772
783
|
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
|
|
@@ -272,7 +271,11 @@ class Blockquote(elements.Blockquote, RadixThemesComponent):
|
|
|
272
271
|
spell_check: Var[bool] | bool | None = None,
|
|
273
272
|
tab_index: Var[int] | int | None = None,
|
|
274
273
|
title: Var[str] | str | None = None,
|
|
275
|
-
style:
|
|
274
|
+
style: Sequence[Mapping[str, Any]]
|
|
275
|
+
| Mapping[str, Any]
|
|
276
|
+
| Var[Mapping[str, Any]]
|
|
277
|
+
| Breakpoints
|
|
278
|
+
| None = None,
|
|
276
279
|
key: Any | None = None,
|
|
277
280
|
id: Any | None = None,
|
|
278
281
|
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.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
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
|
|
@@ -275,7 +274,11 @@ class Code(elements.Code, RadixThemesComponent, MarkdownComponentMap):
|
|
|
275
274
|
spell_check: Var[bool] | bool | None = None,
|
|
276
275
|
tab_index: Var[int] | int | None = None,
|
|
277
276
|
title: Var[str] | str | None = None,
|
|
278
|
-
style:
|
|
277
|
+
style: Sequence[Mapping[str, Any]]
|
|
278
|
+
| Mapping[str, Any]
|
|
279
|
+
| Var[Mapping[str, Any]]
|
|
280
|
+
| Breakpoints
|
|
281
|
+
| None = None,
|
|
279
282
|
key: Any | None = None,
|
|
280
283
|
id: Any | None = None,
|
|
281
284
|
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.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
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
|
|
@@ -288,7 +287,11 @@ class Heading(elements.H1, RadixThemesComponent, MarkdownComponentMap):
|
|
|
288
287
|
spell_check: Var[bool] | bool | None = None,
|
|
289
288
|
tab_index: Var[int] | int | None = None,
|
|
290
289
|
title: Var[str] | str | None = None,
|
|
291
|
-
style:
|
|
290
|
+
style: Sequence[Mapping[str, Any]]
|
|
291
|
+
| Mapping[str, Any]
|
|
292
|
+
| Var[Mapping[str, Any]]
|
|
293
|
+
| Breakpoints
|
|
294
|
+
| None = None,
|
|
292
295
|
key: Any | None = None,
|
|
293
296
|
id: Any | None = None,
|
|
294
297
|
class_name: Any | None = None,
|
|
@@ -3,7 +3,7 @@
|
|
|
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 MemoizationLeaf
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
@@ -11,7 +11,6 @@ from reflex.components.el.elements.inline import A
|
|
|
11
11
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
12
12
|
from reflex.components.next.link import NextLink
|
|
13
13
|
from reflex.event import EventType
|
|
14
|
-
from reflex.style import Style
|
|
15
14
|
from reflex.utils.imports import ImportDict
|
|
16
15
|
from reflex.vars.base import Var
|
|
17
16
|
|
|
@@ -326,7 +325,11 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|
|
326
325
|
spell_check: Var[bool] | bool | None = None,
|
|
327
326
|
tab_index: Var[int] | int | None = None,
|
|
328
327
|
title: Var[str] | str | None = None,
|
|
329
|
-
style:
|
|
328
|
+
style: Sequence[Mapping[str, Any]]
|
|
329
|
+
| Mapping[str, Any]
|
|
330
|
+
| Var[Mapping[str, Any]]
|
|
331
|
+
| Breakpoints
|
|
332
|
+
| None = None,
|
|
330
333
|
key: Any | None = None,
|
|
331
334
|
id: Any | None = None,
|
|
332
335
|
class_name: Any | None = None,
|