reflex 0.7.4a2__py3-none-any.whl → 0.7.5a1__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 -8
- 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 +18 -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 +4 -4
- 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/net.py +107 -18
- reflex/utils/prerequisites.py +92 -13
- reflex/utils/processes.py +52 -19
- reflex/utils/pyi_generator.py +66 -53
- reflex/utils/redir.py +3 -1
- reflex/utils/registry.py +15 -5
- 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.4a2.dist-info → reflex-0.7.5a1.dist-info}/METADATA +2 -2
- {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/RECORD +162 -162
- /reflex/{experimental → utils}/misc.py +0 -0
- {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/WHEEL +0 -0
- {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.4a2.dist-info → reflex-0.7.5a1.dist-info}/licenses/LICENSE +0 -0
|
@@ -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.element import Element
|
|
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 BaseHTML
|
|
@@ -198,7 +198,11 @@ class Base(BaseHTML):
|
|
|
198
198
|
spell_check: Var[bool] | bool | None = None,
|
|
199
199
|
tab_index: Var[int] | int | None = None,
|
|
200
200
|
title: Var[str] | str | None = None,
|
|
201
|
-
style:
|
|
201
|
+
style: Sequence[Mapping[str, Any]]
|
|
202
|
+
| Mapping[str, Any]
|
|
203
|
+
| Var[Mapping[str, Any]]
|
|
204
|
+
| Breakpoints
|
|
205
|
+
| None = None,
|
|
202
206
|
key: Any | None = None,
|
|
203
207
|
id: Any | None = None,
|
|
204
208
|
class_name: Any | None = None,
|
|
@@ -438,7 +442,11 @@ class Head(BaseHTML):
|
|
|
438
442
|
spell_check: Var[bool] | bool | None = None,
|
|
439
443
|
tab_index: Var[int] | int | None = None,
|
|
440
444
|
title: Var[str] | str | None = None,
|
|
441
|
-
style:
|
|
445
|
+
style: Sequence[Mapping[str, Any]]
|
|
446
|
+
| Mapping[str, Any]
|
|
447
|
+
| Var[Mapping[str, Any]]
|
|
448
|
+
| Breakpoints
|
|
449
|
+
| None = None,
|
|
442
450
|
key: Any | None = None,
|
|
443
451
|
id: Any | None = None,
|
|
444
452
|
class_name: Any | None = None,
|
|
@@ -713,7 +721,11 @@ class Link(BaseHTML):
|
|
|
713
721
|
spell_check: Var[bool] | bool | None = None,
|
|
714
722
|
tab_index: Var[int] | int | None = None,
|
|
715
723
|
title: Var[str] | str | None = None,
|
|
716
|
-
style:
|
|
724
|
+
style: Sequence[Mapping[str, Any]]
|
|
725
|
+
| Mapping[str, Any]
|
|
726
|
+
| Var[Mapping[str, Any]]
|
|
727
|
+
| Breakpoints
|
|
728
|
+
| None = None,
|
|
717
729
|
key: Any | None = None,
|
|
718
730
|
id: Any | None = None,
|
|
719
731
|
class_name: Any | None = None,
|
|
@@ -966,7 +978,11 @@ class Meta(BaseHTML):
|
|
|
966
978
|
spell_check: Var[bool] | bool | None = None,
|
|
967
979
|
tab_index: Var[int] | int | None = None,
|
|
968
980
|
title: Var[str] | str | None = None,
|
|
969
|
-
style:
|
|
981
|
+
style: Sequence[Mapping[str, Any]]
|
|
982
|
+
| Mapping[str, Any]
|
|
983
|
+
| Var[Mapping[str, Any]]
|
|
984
|
+
| Breakpoints
|
|
985
|
+
| None = None,
|
|
970
986
|
key: Any | None = None,
|
|
971
987
|
id: Any | None = None,
|
|
972
988
|
class_name: Any | None = None,
|
|
@@ -1032,7 +1048,11 @@ class Title(Element):
|
|
|
1032
1048
|
def create( # type: ignore
|
|
1033
1049
|
cls,
|
|
1034
1050
|
*children,
|
|
1035
|
-
style:
|
|
1051
|
+
style: Sequence[Mapping[str, Any]]
|
|
1052
|
+
| Mapping[str, Any]
|
|
1053
|
+
| Var[Mapping[str, Any]]
|
|
1054
|
+
| Breakpoints
|
|
1055
|
+
| None = None,
|
|
1036
1056
|
key: Any | None = None,
|
|
1037
1057
|
id: Any | None = None,
|
|
1038
1058
|
class_name: Any | None = None,
|
|
@@ -1079,7 +1099,11 @@ class StyleEl(Element):
|
|
|
1079
1099
|
cls,
|
|
1080
1100
|
*children,
|
|
1081
1101
|
media: Var[str] | str | None = None,
|
|
1082
|
-
style:
|
|
1102
|
+
style: Sequence[Mapping[str, Any]]
|
|
1103
|
+
| Mapping[str, Any]
|
|
1104
|
+
| Var[Mapping[str, Any]]
|
|
1105
|
+
| Breakpoints
|
|
1106
|
+
| None = None,
|
|
1083
1107
|
key: Any | None = None,
|
|
1084
1108
|
id: Any | None = None,
|
|
1085
1109
|
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 BaseHTML
|
|
@@ -196,7 +196,11 @@ class Details(BaseHTML):
|
|
|
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,
|
|
@@ -438,7 +442,11 @@ class Dialog(BaseHTML):
|
|
|
438
442
|
spell_check: Var[bool] | bool | None = None,
|
|
439
443
|
tab_index: Var[int] | int | None = None,
|
|
440
444
|
title: Var[str] | str | None = None,
|
|
441
|
-
style:
|
|
445
|
+
style: Sequence[Mapping[str, Any]]
|
|
446
|
+
| Mapping[str, Any]
|
|
447
|
+
| Var[Mapping[str, Any]]
|
|
448
|
+
| Breakpoints
|
|
449
|
+
| None = None,
|
|
442
450
|
key: Any | None = None,
|
|
443
451
|
id: Any | None = None,
|
|
444
452
|
class_name: Any | None = None,
|
|
@@ -679,7 +687,11 @@ class Summary(BaseHTML):
|
|
|
679
687
|
spell_check: Var[bool] | bool | None = None,
|
|
680
688
|
tab_index: Var[int] | int | None = None,
|
|
681
689
|
title: Var[str] | str | None = None,
|
|
682
|
-
style:
|
|
690
|
+
style: Sequence[Mapping[str, Any]]
|
|
691
|
+
| Mapping[str, Any]
|
|
692
|
+
| Var[Mapping[str, Any]]
|
|
693
|
+
| Breakpoints
|
|
694
|
+
| None = None,
|
|
683
695
|
key: Any | None = None,
|
|
684
696
|
id: Any | None = None,
|
|
685
697
|
class_name: Any | None = None,
|
|
@@ -919,7 +931,11 @@ class Slot(BaseHTML):
|
|
|
919
931
|
spell_check: Var[bool] | bool | None = None,
|
|
920
932
|
tab_index: Var[int] | int | None = None,
|
|
921
933
|
title: Var[str] | str | None = None,
|
|
922
|
-
style:
|
|
934
|
+
style: Sequence[Mapping[str, Any]]
|
|
935
|
+
| Mapping[str, Any]
|
|
936
|
+
| Var[Mapping[str, Any]]
|
|
937
|
+
| Breakpoints
|
|
938
|
+
| None = None,
|
|
923
939
|
key: Any | None = None,
|
|
924
940
|
id: Any | None = None,
|
|
925
941
|
class_name: Any | None = None,
|
|
@@ -1159,7 +1175,11 @@ class Template(BaseHTML):
|
|
|
1159
1175
|
spell_check: Var[bool] | bool | None = None,
|
|
1160
1176
|
tab_index: Var[int] | int | None = None,
|
|
1161
1177
|
title: Var[str] | str | None = None,
|
|
1162
|
-
style:
|
|
1178
|
+
style: Sequence[Mapping[str, Any]]
|
|
1179
|
+
| Mapping[str, Any]
|
|
1180
|
+
| Var[Mapping[str, Any]]
|
|
1181
|
+
| Breakpoints
|
|
1182
|
+
| None = None,
|
|
1163
1183
|
key: Any | None = None,
|
|
1164
1184
|
id: Any | None = None,
|
|
1165
1185
|
class_name: Any | None = None,
|
|
@@ -1399,7 +1419,11 @@ class Math(BaseHTML):
|
|
|
1399
1419
|
spell_check: Var[bool] | bool | None = None,
|
|
1400
1420
|
tab_index: Var[int] | int | None = None,
|
|
1401
1421
|
title: Var[str] | str | None = None,
|
|
1402
|
-
style:
|
|
1422
|
+
style: Sequence[Mapping[str, Any]]
|
|
1423
|
+
| Mapping[str, Any]
|
|
1424
|
+
| Var[Mapping[str, Any]]
|
|
1425
|
+
| Breakpoints
|
|
1426
|
+
| None = None,
|
|
1403
1427
|
key: Any | None = None,
|
|
1404
1428
|
id: Any | None = None,
|
|
1405
1429
|
class_name: Any | None = None,
|
|
@@ -1640,7 +1664,11 @@ class Html(BaseHTML):
|
|
|
1640
1664
|
spell_check: Var[bool] | bool | None = None,
|
|
1641
1665
|
tab_index: Var[int] | int | None = None,
|
|
1642
1666
|
title: Var[str] | str | None = None,
|
|
1643
|
-
style:
|
|
1667
|
+
style: Sequence[Mapping[str, Any]]
|
|
1668
|
+
| Mapping[str, Any]
|
|
1669
|
+
| Var[Mapping[str, Any]]
|
|
1670
|
+
| Breakpoints
|
|
1671
|
+
| None = None,
|
|
1644
1672
|
key: Any | None = None,
|
|
1645
1673
|
id: Any | None = None,
|
|
1646
1674
|
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 BaseHTML
|
|
@@ -195,7 +195,11 @@ class Canvas(BaseHTML):
|
|
|
195
195
|
spell_check: Var[bool] | bool | None = None,
|
|
196
196
|
tab_index: Var[int] | int | None = None,
|
|
197
197
|
title: Var[str] | str | None = None,
|
|
198
|
-
style:
|
|
198
|
+
style: Sequence[Mapping[str, Any]]
|
|
199
|
+
| Mapping[str, Any]
|
|
200
|
+
| Var[Mapping[str, Any]]
|
|
201
|
+
| Breakpoints
|
|
202
|
+
| None = None,
|
|
199
203
|
key: Any | None = None,
|
|
200
204
|
id: Any | None = None,
|
|
201
205
|
class_name: Any | None = None,
|
|
@@ -435,7 +439,11 @@ class Noscript(BaseHTML):
|
|
|
435
439
|
spell_check: Var[bool] | bool | None = None,
|
|
436
440
|
tab_index: Var[int] | int | None = None,
|
|
437
441
|
title: Var[str] | str | None = None,
|
|
438
|
-
style:
|
|
442
|
+
style: Sequence[Mapping[str, Any]]
|
|
443
|
+
| Mapping[str, Any]
|
|
444
|
+
| Var[Mapping[str, Any]]
|
|
445
|
+
| Breakpoints
|
|
446
|
+
| None = None,
|
|
439
447
|
key: Any | None = None,
|
|
440
448
|
id: Any | None = None,
|
|
441
449
|
class_name: Any | None = None,
|
|
@@ -709,7 +717,11 @@ class Script(BaseHTML):
|
|
|
709
717
|
spell_check: Var[bool] | bool | None = None,
|
|
710
718
|
tab_index: Var[int] | int | None = None,
|
|
711
719
|
title: Var[str] | str | None = None,
|
|
712
|
-
style:
|
|
720
|
+
style: Sequence[Mapping[str, Any]]
|
|
721
|
+
| Mapping[str, Any]
|
|
722
|
+
| Var[Mapping[str, Any]]
|
|
723
|
+
| Breakpoints
|
|
724
|
+
| None = None,
|
|
713
725
|
key: Any | None = None,
|
|
714
726
|
id: Any | None = None,
|
|
715
727
|
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 BaseHTML
|
|
@@ -195,7 +195,11 @@ class Body(BaseHTML):
|
|
|
195
195
|
spell_check: Var[bool] | bool | None = None,
|
|
196
196
|
tab_index: Var[int] | int | None = None,
|
|
197
197
|
title: Var[str] | str | None = None,
|
|
198
|
-
style:
|
|
198
|
+
style: Sequence[Mapping[str, Any]]
|
|
199
|
+
| Mapping[str, Any]
|
|
200
|
+
| Var[Mapping[str, Any]]
|
|
201
|
+
| Breakpoints
|
|
202
|
+
| None = None,
|
|
199
203
|
key: Any | None = None,
|
|
200
204
|
id: Any | None = None,
|
|
201
205
|
class_name: Any | None = None,
|
|
@@ -435,7 +439,11 @@ class Address(BaseHTML):
|
|
|
435
439
|
spell_check: Var[bool] | bool | None = None,
|
|
436
440
|
tab_index: Var[int] | int | None = None,
|
|
437
441
|
title: Var[str] | str | None = None,
|
|
438
|
-
style:
|
|
442
|
+
style: Sequence[Mapping[str, Any]]
|
|
443
|
+
| Mapping[str, Any]
|
|
444
|
+
| Var[Mapping[str, Any]]
|
|
445
|
+
| Breakpoints
|
|
446
|
+
| None = None,
|
|
439
447
|
key: Any | None = None,
|
|
440
448
|
id: Any | None = None,
|
|
441
449
|
class_name: Any | None = None,
|
|
@@ -675,7 +683,11 @@ class Article(BaseHTML):
|
|
|
675
683
|
spell_check: Var[bool] | bool | None = None,
|
|
676
684
|
tab_index: Var[int] | int | None = None,
|
|
677
685
|
title: Var[str] | str | None = None,
|
|
678
|
-
style:
|
|
686
|
+
style: Sequence[Mapping[str, Any]]
|
|
687
|
+
| Mapping[str, Any]
|
|
688
|
+
| Var[Mapping[str, Any]]
|
|
689
|
+
| Breakpoints
|
|
690
|
+
| None = None,
|
|
679
691
|
key: Any | None = None,
|
|
680
692
|
id: Any | None = None,
|
|
681
693
|
class_name: Any | None = None,
|
|
@@ -915,7 +927,11 @@ class Aside(BaseHTML):
|
|
|
915
927
|
spell_check: Var[bool] | bool | None = None,
|
|
916
928
|
tab_index: Var[int] | int | None = None,
|
|
917
929
|
title: Var[str] | str | None = None,
|
|
918
|
-
style:
|
|
930
|
+
style: Sequence[Mapping[str, Any]]
|
|
931
|
+
| Mapping[str, Any]
|
|
932
|
+
| Var[Mapping[str, Any]]
|
|
933
|
+
| Breakpoints
|
|
934
|
+
| None = None,
|
|
919
935
|
key: Any | None = None,
|
|
920
936
|
id: Any | None = None,
|
|
921
937
|
class_name: Any | None = None,
|
|
@@ -1155,7 +1171,11 @@ class Footer(BaseHTML):
|
|
|
1155
1171
|
spell_check: Var[bool] | bool | None = None,
|
|
1156
1172
|
tab_index: Var[int] | int | None = None,
|
|
1157
1173
|
title: Var[str] | str | None = None,
|
|
1158
|
-
style:
|
|
1174
|
+
style: Sequence[Mapping[str, Any]]
|
|
1175
|
+
| Mapping[str, Any]
|
|
1176
|
+
| Var[Mapping[str, Any]]
|
|
1177
|
+
| Breakpoints
|
|
1178
|
+
| None = None,
|
|
1159
1179
|
key: Any | None = None,
|
|
1160
1180
|
id: Any | None = None,
|
|
1161
1181
|
class_name: Any | None = None,
|
|
@@ -1395,7 +1415,11 @@ class Header(BaseHTML):
|
|
|
1395
1415
|
spell_check: Var[bool] | bool | None = None,
|
|
1396
1416
|
tab_index: Var[int] | int | None = None,
|
|
1397
1417
|
title: Var[str] | str | None = None,
|
|
1398
|
-
style:
|
|
1418
|
+
style: Sequence[Mapping[str, Any]]
|
|
1419
|
+
| Mapping[str, Any]
|
|
1420
|
+
| Var[Mapping[str, Any]]
|
|
1421
|
+
| Breakpoints
|
|
1422
|
+
| None = None,
|
|
1399
1423
|
key: Any | None = None,
|
|
1400
1424
|
id: Any | None = None,
|
|
1401
1425
|
class_name: Any | None = None,
|
|
@@ -1635,7 +1659,11 @@ class H1(BaseHTML):
|
|
|
1635
1659
|
spell_check: Var[bool] | bool | None = None,
|
|
1636
1660
|
tab_index: Var[int] | int | None = None,
|
|
1637
1661
|
title: Var[str] | str | None = None,
|
|
1638
|
-
style:
|
|
1662
|
+
style: Sequence[Mapping[str, Any]]
|
|
1663
|
+
| Mapping[str, Any]
|
|
1664
|
+
| Var[Mapping[str, Any]]
|
|
1665
|
+
| Breakpoints
|
|
1666
|
+
| None = None,
|
|
1639
1667
|
key: Any | None = None,
|
|
1640
1668
|
id: Any | None = None,
|
|
1641
1669
|
class_name: Any | None = None,
|
|
@@ -1875,7 +1903,11 @@ class H2(BaseHTML):
|
|
|
1875
1903
|
spell_check: Var[bool] | bool | None = None,
|
|
1876
1904
|
tab_index: Var[int] | int | None = None,
|
|
1877
1905
|
title: Var[str] | str | None = None,
|
|
1878
|
-
style:
|
|
1906
|
+
style: Sequence[Mapping[str, Any]]
|
|
1907
|
+
| Mapping[str, Any]
|
|
1908
|
+
| Var[Mapping[str, Any]]
|
|
1909
|
+
| Breakpoints
|
|
1910
|
+
| None = None,
|
|
1879
1911
|
key: Any | None = None,
|
|
1880
1912
|
id: Any | None = None,
|
|
1881
1913
|
class_name: Any | None = None,
|
|
@@ -2115,7 +2147,11 @@ class H3(BaseHTML):
|
|
|
2115
2147
|
spell_check: Var[bool] | bool | None = None,
|
|
2116
2148
|
tab_index: Var[int] | int | None = None,
|
|
2117
2149
|
title: Var[str] | str | None = None,
|
|
2118
|
-
style:
|
|
2150
|
+
style: Sequence[Mapping[str, Any]]
|
|
2151
|
+
| Mapping[str, Any]
|
|
2152
|
+
| Var[Mapping[str, Any]]
|
|
2153
|
+
| Breakpoints
|
|
2154
|
+
| None = None,
|
|
2119
2155
|
key: Any | None = None,
|
|
2120
2156
|
id: Any | None = None,
|
|
2121
2157
|
class_name: Any | None = None,
|
|
@@ -2355,7 +2391,11 @@ class H4(BaseHTML):
|
|
|
2355
2391
|
spell_check: Var[bool] | bool | None = None,
|
|
2356
2392
|
tab_index: Var[int] | int | None = None,
|
|
2357
2393
|
title: Var[str] | str | None = None,
|
|
2358
|
-
style:
|
|
2394
|
+
style: Sequence[Mapping[str, Any]]
|
|
2395
|
+
| Mapping[str, Any]
|
|
2396
|
+
| Var[Mapping[str, Any]]
|
|
2397
|
+
| Breakpoints
|
|
2398
|
+
| None = None,
|
|
2359
2399
|
key: Any | None = None,
|
|
2360
2400
|
id: Any | None = None,
|
|
2361
2401
|
class_name: Any | None = None,
|
|
@@ -2595,7 +2635,11 @@ class H5(BaseHTML):
|
|
|
2595
2635
|
spell_check: Var[bool] | bool | None = None,
|
|
2596
2636
|
tab_index: Var[int] | int | None = None,
|
|
2597
2637
|
title: Var[str] | str | None = None,
|
|
2598
|
-
style:
|
|
2638
|
+
style: Sequence[Mapping[str, Any]]
|
|
2639
|
+
| Mapping[str, Any]
|
|
2640
|
+
| Var[Mapping[str, Any]]
|
|
2641
|
+
| Breakpoints
|
|
2642
|
+
| None = None,
|
|
2599
2643
|
key: Any | None = None,
|
|
2600
2644
|
id: Any | None = None,
|
|
2601
2645
|
class_name: Any | None = None,
|
|
@@ -2835,7 +2879,11 @@ class H6(BaseHTML):
|
|
|
2835
2879
|
spell_check: Var[bool] | bool | None = None,
|
|
2836
2880
|
tab_index: Var[int] | int | None = None,
|
|
2837
2881
|
title: Var[str] | str | None = None,
|
|
2838
|
-
style:
|
|
2882
|
+
style: Sequence[Mapping[str, Any]]
|
|
2883
|
+
| Mapping[str, Any]
|
|
2884
|
+
| Var[Mapping[str, Any]]
|
|
2885
|
+
| Breakpoints
|
|
2886
|
+
| None = None,
|
|
2839
2887
|
key: Any | None = None,
|
|
2840
2888
|
id: Any | None = None,
|
|
2841
2889
|
class_name: Any | None = None,
|
|
@@ -3075,7 +3123,11 @@ class Main(BaseHTML):
|
|
|
3075
3123
|
spell_check: Var[bool] | bool | None = None,
|
|
3076
3124
|
tab_index: Var[int] | int | None = None,
|
|
3077
3125
|
title: Var[str] | str | None = None,
|
|
3078
|
-
style:
|
|
3126
|
+
style: Sequence[Mapping[str, Any]]
|
|
3127
|
+
| Mapping[str, Any]
|
|
3128
|
+
| Var[Mapping[str, Any]]
|
|
3129
|
+
| Breakpoints
|
|
3130
|
+
| None = None,
|
|
3079
3131
|
key: Any | None = None,
|
|
3080
3132
|
id: Any | None = None,
|
|
3081
3133
|
class_name: Any | None = None,
|
|
@@ -3315,7 +3367,11 @@ class Nav(BaseHTML):
|
|
|
3315
3367
|
spell_check: Var[bool] | bool | None = None,
|
|
3316
3368
|
tab_index: Var[int] | int | None = None,
|
|
3317
3369
|
title: Var[str] | str | None = None,
|
|
3318
|
-
style:
|
|
3370
|
+
style: Sequence[Mapping[str, Any]]
|
|
3371
|
+
| Mapping[str, Any]
|
|
3372
|
+
| Var[Mapping[str, Any]]
|
|
3373
|
+
| Breakpoints
|
|
3374
|
+
| None = None,
|
|
3319
3375
|
key: Any | None = None,
|
|
3320
3376
|
id: Any | None = None,
|
|
3321
3377
|
class_name: Any | None = None,
|
|
@@ -3555,7 +3611,11 @@ class Section(BaseHTML):
|
|
|
3555
3611
|
spell_check: Var[bool] | bool | None = None,
|
|
3556
3612
|
tab_index: Var[int] | int | None = None,
|
|
3557
3613
|
title: Var[str] | str | None = None,
|
|
3558
|
-
style:
|
|
3614
|
+
style: Sequence[Mapping[str, Any]]
|
|
3615
|
+
| Mapping[str, Any]
|
|
3616
|
+
| Var[Mapping[str, Any]]
|
|
3617
|
+
| Breakpoints
|
|
3618
|
+
| None = None,
|
|
3559
3619
|
key: Any | None = None,
|
|
3560
3620
|
id: Any | None = None,
|
|
3561
3621
|
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 BaseHTML
|
|
@@ -195,7 +195,11 @@ class Caption(BaseHTML):
|
|
|
195
195
|
spell_check: Var[bool] | bool | None = None,
|
|
196
196
|
tab_index: Var[int] | int | None = None,
|
|
197
197
|
title: Var[str] | str | None = None,
|
|
198
|
-
style:
|
|
198
|
+
style: Sequence[Mapping[str, Any]]
|
|
199
|
+
| Mapping[str, Any]
|
|
200
|
+
| Var[Mapping[str, Any]]
|
|
201
|
+
| Breakpoints
|
|
202
|
+
| None = None,
|
|
199
203
|
key: Any | None = None,
|
|
200
204
|
id: Any | None = None,
|
|
201
205
|
class_name: Any | None = None,
|
|
@@ -436,7 +440,11 @@ class Col(BaseHTML):
|
|
|
436
440
|
spell_check: Var[bool] | bool | None = None,
|
|
437
441
|
tab_index: Var[int] | int | None = None,
|
|
438
442
|
title: Var[str] | str | None = None,
|
|
439
|
-
style:
|
|
443
|
+
style: Sequence[Mapping[str, Any]]
|
|
444
|
+
| Mapping[str, Any]
|
|
445
|
+
| Var[Mapping[str, Any]]
|
|
446
|
+
| Breakpoints
|
|
447
|
+
| None = None,
|
|
440
448
|
key: Any | None = None,
|
|
441
449
|
id: Any | None = None,
|
|
442
450
|
class_name: Any | None = None,
|
|
@@ -678,7 +686,11 @@ class Colgroup(BaseHTML):
|
|
|
678
686
|
spell_check: Var[bool] | bool | None = None,
|
|
679
687
|
tab_index: Var[int] | int | None = None,
|
|
680
688
|
title: Var[str] | str | None = None,
|
|
681
|
-
style:
|
|
689
|
+
style: Sequence[Mapping[str, Any]]
|
|
690
|
+
| Mapping[str, Any]
|
|
691
|
+
| Var[Mapping[str, Any]]
|
|
692
|
+
| Breakpoints
|
|
693
|
+
| None = None,
|
|
682
694
|
key: Any | None = None,
|
|
683
695
|
id: Any | None = None,
|
|
684
696
|
class_name: Any | None = None,
|
|
@@ -923,7 +935,11 @@ class Table(BaseHTML):
|
|
|
923
935
|
spell_check: Var[bool] | bool | None = None,
|
|
924
936
|
tab_index: Var[int] | int | None = None,
|
|
925
937
|
title: Var[str] | str | None = None,
|
|
926
|
-
style:
|
|
938
|
+
style: Sequence[Mapping[str, Any]]
|
|
939
|
+
| Mapping[str, Any]
|
|
940
|
+
| Var[Mapping[str, Any]]
|
|
941
|
+
| Breakpoints
|
|
942
|
+
| None = None,
|
|
927
943
|
key: Any | None = None,
|
|
928
944
|
id: Any | None = None,
|
|
929
945
|
class_name: Any | None = None,
|
|
@@ -1165,7 +1181,11 @@ class Tbody(BaseHTML):
|
|
|
1165
1181
|
spell_check: Var[bool] | bool | None = None,
|
|
1166
1182
|
tab_index: Var[int] | int | None = None,
|
|
1167
1183
|
title: Var[str] | str | None = None,
|
|
1168
|
-
style:
|
|
1184
|
+
style: Sequence[Mapping[str, Any]]
|
|
1185
|
+
| Mapping[str, Any]
|
|
1186
|
+
| Var[Mapping[str, Any]]
|
|
1187
|
+
| Breakpoints
|
|
1188
|
+
| None = None,
|
|
1169
1189
|
key: Any | None = None,
|
|
1170
1190
|
id: Any | None = None,
|
|
1171
1191
|
class_name: Any | None = None,
|
|
@@ -1411,7 +1431,11 @@ class Td(BaseHTML):
|
|
|
1411
1431
|
spell_check: Var[bool] | bool | None = None,
|
|
1412
1432
|
tab_index: Var[int] | int | None = None,
|
|
1413
1433
|
title: Var[str] | str | None = None,
|
|
1414
|
-
style:
|
|
1434
|
+
style: Sequence[Mapping[str, Any]]
|
|
1435
|
+
| Mapping[str, Any]
|
|
1436
|
+
| Var[Mapping[str, Any]]
|
|
1437
|
+
| Breakpoints
|
|
1438
|
+
| None = None,
|
|
1415
1439
|
key: Any | None = None,
|
|
1416
1440
|
id: Any | None = None,
|
|
1417
1441
|
class_name: Any | None = None,
|
|
@@ -1655,7 +1679,11 @@ class Tfoot(BaseHTML):
|
|
|
1655
1679
|
spell_check: Var[bool] | bool | None = None,
|
|
1656
1680
|
tab_index: Var[int] | int | None = None,
|
|
1657
1681
|
title: Var[str] | str | None = None,
|
|
1658
|
-
style:
|
|
1682
|
+
style: Sequence[Mapping[str, Any]]
|
|
1683
|
+
| Mapping[str, Any]
|
|
1684
|
+
| Var[Mapping[str, Any]]
|
|
1685
|
+
| Breakpoints
|
|
1686
|
+
| None = None,
|
|
1659
1687
|
key: Any | None = None,
|
|
1660
1688
|
id: Any | None = None,
|
|
1661
1689
|
class_name: Any | None = None,
|
|
@@ -1902,7 +1930,11 @@ class Th(BaseHTML):
|
|
|
1902
1930
|
spell_check: Var[bool] | bool | None = None,
|
|
1903
1931
|
tab_index: Var[int] | int | None = None,
|
|
1904
1932
|
title: Var[str] | str | None = None,
|
|
1905
|
-
style:
|
|
1933
|
+
style: Sequence[Mapping[str, Any]]
|
|
1934
|
+
| Mapping[str, Any]
|
|
1935
|
+
| Var[Mapping[str, Any]]
|
|
1936
|
+
| Breakpoints
|
|
1937
|
+
| None = None,
|
|
1906
1938
|
key: Any | None = None,
|
|
1907
1939
|
id: Any | None = None,
|
|
1908
1940
|
class_name: Any | None = None,
|
|
@@ -2147,7 +2179,11 @@ class Thead(BaseHTML):
|
|
|
2147
2179
|
spell_check: Var[bool] | bool | None = None,
|
|
2148
2180
|
tab_index: Var[int] | int | None = None,
|
|
2149
2181
|
title: Var[str] | str | None = None,
|
|
2150
|
-
style:
|
|
2182
|
+
style: Sequence[Mapping[str, Any]]
|
|
2183
|
+
| Mapping[str, Any]
|
|
2184
|
+
| Var[Mapping[str, Any]]
|
|
2185
|
+
| Breakpoints
|
|
2186
|
+
| None = None,
|
|
2151
2187
|
key: Any | None = None,
|
|
2152
2188
|
id: Any | None = None,
|
|
2153
2189
|
class_name: Any | None = None,
|
|
@@ -2387,7 +2423,11 @@ class Tr(BaseHTML):
|
|
|
2387
2423
|
spell_check: Var[bool] | bool | None = None,
|
|
2388
2424
|
tab_index: Var[int] | int | None = None,
|
|
2389
2425
|
title: Var[str] | str | None = None,
|
|
2390
|
-
style:
|
|
2426
|
+
style: Sequence[Mapping[str, Any]]
|
|
2427
|
+
| Mapping[str, Any]
|
|
2428
|
+
| Var[Mapping[str, Any]]
|
|
2429
|
+
| Breakpoints
|
|
2430
|
+
| None = None,
|
|
2391
2431
|
key: Any | None = None,
|
|
2392
2432
|
id: Any | None = None,
|
|
2393
2433
|
class_name: Any | None = None,
|