reflex 0.8.0a4__py3-none-any.whl → 0.8.0a6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/styles/styles.css.jinja2 +1 -0
- reflex/.templates/web/app/routes.js +3 -3
- reflex/.templates/web/utils/client_side_routing.js +1 -1
- reflex/.templates/web/utils/state.js +110 -52
- reflex/__init__.pyi +327 -188
- reflex/app.py +50 -48
- reflex/compiler/compiler.py +6 -2
- reflex/compiler/utils.py +32 -14
- reflex/components/__init__.pyi +34 -15
- reflex/components/base/__init__.pyi +30 -19
- reflex/components/base/app_wrap.pyi +2 -3
- reflex/components/base/body.pyi +2 -3
- reflex/components/base/document.pyi +7 -13
- reflex/components/base/error_boundary.pyi +2 -3
- reflex/components/base/fragment.pyi +2 -3
- reflex/components/base/link.pyi +3 -5
- reflex/components/base/meta.py +4 -15
- reflex/components/base/meta.pyi +14 -18
- reflex/components/base/script.pyi +2 -3
- reflex/components/base/strict_mode.pyi +2 -3
- reflex/components/core/__init__.pyi +77 -38
- reflex/components/core/auto_scroll.pyi +2 -3
- reflex/components/core/banner.pyi +8 -14
- reflex/components/core/client_side_routing.pyi +2 -3
- reflex/components/core/clipboard.pyi +2 -3
- reflex/components/core/debounce.pyi +2 -3
- reflex/components/core/foreach.py +2 -2
- reflex/components/core/helmet.pyi +2 -3
- reflex/components/core/html.pyi +2 -3
- reflex/components/core/match.py +3 -3
- reflex/components/core/sticky.pyi +4 -7
- reflex/components/core/upload.py +2 -1
- reflex/components/core/upload.pyi +5 -9
- reflex/components/datadisplay/__init__.pyi +13 -7
- reflex/components/datadisplay/code.py +12 -7
- reflex/components/datadisplay/code.pyi +2 -3
- reflex/components/datadisplay/dataeditor.pyi +33 -11
- reflex/components/datadisplay/shiki_code_block.py +5 -3
- reflex/components/datadisplay/shiki_code_block.pyi +3 -5
- reflex/components/el/__init__.pyi +506 -246
- reflex/components/el/element.pyi +2 -3
- reflex/components/el/elements/__init__.pyi +504 -245
- reflex/components/el/elements/base.pyi +2 -3
- reflex/components/el/elements/forms.pyi +77 -49
- reflex/components/el/elements/inline.pyi +29 -57
- reflex/components/el/elements/media.pyi +26 -51
- reflex/components/el/elements/metadata.pyi +7 -13
- reflex/components/el/elements/other.pyi +8 -15
- reflex/components/el/elements/scripts.pyi +4 -7
- reflex/components/el/elements/sectioning.pyi +16 -31
- reflex/components/el/elements/tables.pyi +11 -21
- reflex/components/el/elements/typography.pyi +16 -31
- reflex/components/gridjs/datatable.pyi +3 -5
- reflex/components/lucide/icon.pyi +4 -7
- reflex/components/markdown/markdown.py +5 -3
- reflex/components/markdown/markdown.pyi +2 -3
- reflex/components/moment/moment.py +1 -1
- reflex/components/moment/moment.pyi +2 -3
- reflex/components/plotly/plotly.py +12 -6
- reflex/components/plotly/plotly.pyi +31 -39
- reflex/components/radix/__init__.pyi +123 -65
- reflex/components/radix/primitives/__init__.pyi +6 -4
- reflex/components/radix/primitives/accordion.pyi +8 -15
- reflex/components/radix/primitives/base.pyi +3 -5
- reflex/components/radix/primitives/drawer.pyi +11 -21
- reflex/components/radix/primitives/form.pyi +22 -22
- reflex/components/radix/primitives/progress.pyi +5 -9
- reflex/components/radix/primitives/slider.pyi +6 -11
- reflex/components/radix/themes/__init__.pyi +5 -6
- reflex/components/radix/themes/base.pyi +9 -17
- reflex/components/radix/themes/color_mode.py +5 -6
- reflex/components/radix/themes/color_mode.pyi +4 -7
- reflex/components/radix/themes/components/__init__.pyi +75 -38
- reflex/components/radix/themes/components/alert_dialog.pyi +8 -15
- reflex/components/radix/themes/components/aspect_ratio.pyi +2 -3
- reflex/components/radix/themes/components/avatar.pyi +2 -3
- reflex/components/radix/themes/components/badge.pyi +2 -3
- reflex/components/radix/themes/components/button.pyi +2 -3
- reflex/components/radix/themes/components/callout.pyi +5 -9
- reflex/components/radix/themes/components/card.pyi +2 -3
- reflex/components/radix/themes/components/checkbox.pyi +3 -5
- reflex/components/radix/themes/components/checkbox_cards.pyi +3 -5
- reflex/components/radix/themes/components/checkbox_group.pyi +3 -5
- reflex/components/radix/themes/components/context_menu.pyi +14 -27
- reflex/components/radix/themes/components/data_list.pyi +5 -9
- reflex/components/radix/themes/components/dialog.pyi +7 -13
- reflex/components/radix/themes/components/dropdown_menu.pyi +9 -17
- reflex/components/radix/themes/components/hover_card.pyi +4 -7
- reflex/components/radix/themes/components/icon_button.pyi +2 -3
- reflex/components/radix/themes/components/inset.pyi +2 -3
- reflex/components/radix/themes/components/popover.pyi +5 -9
- reflex/components/radix/themes/components/progress.pyi +2 -3
- reflex/components/radix/themes/components/radio.pyi +2 -3
- reflex/components/radix/themes/components/radio_cards.pyi +3 -5
- reflex/components/radix/themes/components/radio_group.pyi +4 -7
- reflex/components/radix/themes/components/scroll_area.pyi +2 -3
- reflex/components/radix/themes/components/segmented_control.pyi +3 -5
- reflex/components/radix/themes/components/select.pyi +9 -17
- reflex/components/radix/themes/components/separator.pyi +2 -3
- reflex/components/radix/themes/components/skeleton.pyi +2 -3
- reflex/components/radix/themes/components/slider.pyi +12 -5
- reflex/components/radix/themes/components/spinner.pyi +2 -3
- reflex/components/radix/themes/components/switch.pyi +2 -3
- reflex/components/radix/themes/components/table.pyi +8 -15
- reflex/components/radix/themes/components/tabs.pyi +5 -9
- reflex/components/radix/themes/components/text_area.pyi +10 -5
- reflex/components/radix/themes/components/text_field.pyi +19 -9
- reflex/components/radix/themes/components/tooltip.pyi +2 -3
- reflex/components/radix/themes/layout/__init__.pyi +27 -14
- reflex/components/radix/themes/layout/base.pyi +2 -3
- reflex/components/radix/themes/layout/box.pyi +2 -3
- reflex/components/radix/themes/layout/center.pyi +2 -3
- reflex/components/radix/themes/layout/container.pyi +2 -3
- reflex/components/radix/themes/layout/flex.pyi +2 -3
- reflex/components/radix/themes/layout/grid.pyi +2 -3
- reflex/components/radix/themes/layout/list.pyi +5 -9
- reflex/components/radix/themes/layout/section.pyi +2 -3
- reflex/components/radix/themes/layout/spacer.pyi +2 -3
- reflex/components/radix/themes/layout/stack.pyi +4 -7
- reflex/components/radix/themes/typography/__init__.pyi +7 -5
- reflex/components/radix/themes/typography/blockquote.pyi +2 -3
- reflex/components/radix/themes/typography/code.pyi +2 -3
- reflex/components/radix/themes/typography/heading.pyi +2 -3
- reflex/components/radix/themes/typography/link.pyi +3 -5
- reflex/components/radix/themes/typography/text.pyi +7 -13
- reflex/components/react_player/audio.pyi +5 -4
- reflex/components/react_player/react_player.pyi +2 -3
- reflex/components/react_player/video.pyi +5 -4
- reflex/components/recharts/__init__.pyi +208 -100
- reflex/components/recharts/cartesian.py +8 -7
- reflex/components/recharts/cartesian.pyi +25 -48
- reflex/components/recharts/charts.pyi +13 -25
- reflex/components/recharts/general.pyi +7 -13
- reflex/components/recharts/polar.pyi +7 -13
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/recharts/recharts.pyi +3 -5
- reflex/components/sonner/toast.py +1 -1
- reflex/components/sonner/toast.pyi +2 -3
- reflex/constants/installer.py +7 -8
- reflex/constants/route.py +13 -6
- reflex/istate/__init__.py +69 -0
- reflex/istate/manager.py +1 -0
- reflex/plugins/shared_tailwind.py +58 -1
- reflex/plugins/tailwind_v3.py +4 -4
- reflex/plugins/tailwind_v4.py +6 -5
- reflex/route.py +159 -71
- reflex/state.py +38 -16
- reflex/testing.py +2 -1
- reflex/utils/exec.py +18 -13
- reflex/utils/format.py +1 -5
- reflex/utils/imports.py +5 -12
- reflex/utils/misc.py +40 -0
- reflex/utils/prerequisites.py +7 -12
- reflex/utils/processes.py +8 -41
- reflex/utils/pyi_generator.py +23 -40
- reflex/utils/telemetry.py +0 -15
- reflex/utils/types.py +1 -1
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/METADATA +3 -3
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/RECORD +163 -163
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/WHEEL +0 -0
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.0a4.dist-info → reflex-0.8.0a6.dist-info}/licenses/LICENSE +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el.element import Element
|
|
@@ -90,9 +90,8 @@ AriaRole = Literal[
|
|
|
90
90
|
]
|
|
91
91
|
|
|
92
92
|
class BaseHTML(Element):
|
|
93
|
-
@overload
|
|
94
93
|
@classmethod
|
|
95
|
-
def create(
|
|
94
|
+
def create(
|
|
96
95
|
cls,
|
|
97
96
|
*children,
|
|
98
97
|
access_key: Var[str] | str | None = None,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from jinja2 import Environment
|
|
10
10
|
|
|
@@ -23,9 +23,8 @@ HANDLE_SUBMIT_JS_JINJA2 = Environment().from_string(
|
|
|
23
23
|
ButtonType = Literal["submit", "reset", "button"]
|
|
24
24
|
|
|
25
25
|
class Button(BaseHTML):
|
|
26
|
-
@overload
|
|
27
26
|
@classmethod
|
|
28
|
-
def create(
|
|
27
|
+
def create(
|
|
29
28
|
cls,
|
|
30
29
|
*children,
|
|
31
30
|
auto_focus: Var[bool] | bool | None = None,
|
|
@@ -293,9 +292,8 @@ class Button(BaseHTML):
|
|
|
293
292
|
"""
|
|
294
293
|
|
|
295
294
|
class Datalist(BaseHTML):
|
|
296
|
-
@overload
|
|
297
295
|
@classmethod
|
|
298
|
-
def create(
|
|
296
|
+
def create(
|
|
299
297
|
cls,
|
|
300
298
|
*children,
|
|
301
299
|
access_key: Var[str] | str | None = None,
|
|
@@ -539,9 +537,8 @@ class Datalist(BaseHTML):
|
|
|
539
537
|
"""
|
|
540
538
|
|
|
541
539
|
class Fieldset(Element):
|
|
542
|
-
@overload
|
|
543
540
|
@classmethod
|
|
544
|
-
def create(
|
|
541
|
+
def create(
|
|
545
542
|
cls,
|
|
546
543
|
*children,
|
|
547
544
|
disabled: Var[bool] | bool | None = None,
|
|
@@ -600,9 +597,8 @@ def on_submit_event_spec() -> tuple[Var[dict[str, Any]]]: ...
|
|
|
600
597
|
def on_submit_string_event_spec() -> tuple[Var[dict[str, str]]]: ...
|
|
601
598
|
|
|
602
599
|
class Form(BaseHTML):
|
|
603
|
-
@overload
|
|
604
600
|
@classmethod
|
|
605
|
-
def create(
|
|
601
|
+
def create(
|
|
606
602
|
cls,
|
|
607
603
|
*children,
|
|
608
604
|
accept: Var[str] | str | None = None,
|
|
@@ -820,7 +816,10 @@ class Form(BaseHTML):
|
|
|
820
816
|
on_mouse_up: EventType[()] | None = None,
|
|
821
817
|
on_scroll: EventType[()] | None = None,
|
|
822
818
|
on_scroll_end: EventType[()] | None = None,
|
|
823
|
-
on_submit: EventType[()]
|
|
819
|
+
on_submit: EventType[()]
|
|
820
|
+
| EventType[dict[str, Any]]
|
|
821
|
+
| (EventType[()] | EventType[dict[str, str]])
|
|
822
|
+
| None = None,
|
|
824
823
|
on_unmount: EventType[()] | None = None,
|
|
825
824
|
**props,
|
|
826
825
|
) -> Form:
|
|
@@ -898,9 +897,8 @@ HTMLInputTypeAttribute = Literal[
|
|
|
898
897
|
]
|
|
899
898
|
|
|
900
899
|
class BaseInput(BaseHTML):
|
|
901
|
-
@overload
|
|
902
900
|
@classmethod
|
|
903
|
-
def create(
|
|
901
|
+
def create(
|
|
904
902
|
cls,
|
|
905
903
|
*children,
|
|
906
904
|
accept: Var[str] | str | None = None,
|
|
@@ -1180,8 +1178,14 @@ class BaseInput(BaseHTML):
|
|
|
1180
1178
|
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1181
1179
|
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1182
1180
|
on_focus: EventType[()] | None = None,
|
|
1183
|
-
on_key_down: EventType[()]
|
|
1184
|
-
|
|
1181
|
+
on_key_down: EventType[()]
|
|
1182
|
+
| EventType[str]
|
|
1183
|
+
| EventType[str, KeyInputInfo]
|
|
1184
|
+
| None = None,
|
|
1185
|
+
on_key_up: EventType[()]
|
|
1186
|
+
| EventType[str]
|
|
1187
|
+
| EventType[str, KeyInputInfo]
|
|
1188
|
+
| None = None,
|
|
1185
1189
|
on_mount: EventType[()] | None = None,
|
|
1186
1190
|
on_mouse_down: EventType[()] | None = None,
|
|
1187
1191
|
on_mouse_enter: EventType[()] | None = None,
|
|
@@ -1262,9 +1266,8 @@ class BaseInput(BaseHTML):
|
|
|
1262
1266
|
"""
|
|
1263
1267
|
|
|
1264
1268
|
class CheckboxInput(BaseInput):
|
|
1265
|
-
@overload
|
|
1266
1269
|
@classmethod
|
|
1267
|
-
def create(
|
|
1270
|
+
def create(
|
|
1268
1271
|
cls,
|
|
1269
1272
|
*children,
|
|
1270
1273
|
accept: Var[str] | str | None = None,
|
|
@@ -1545,8 +1548,14 @@ class CheckboxInput(BaseInput):
|
|
|
1545
1548
|
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1546
1549
|
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1547
1550
|
on_focus: EventType[()] | EventType[bool] | None = None,
|
|
1548
|
-
on_key_down: EventType[()]
|
|
1549
|
-
|
|
1551
|
+
on_key_down: EventType[()]
|
|
1552
|
+
| EventType[str]
|
|
1553
|
+
| EventType[str, KeyInputInfo]
|
|
1554
|
+
| None = None,
|
|
1555
|
+
on_key_up: EventType[()]
|
|
1556
|
+
| EventType[str]
|
|
1557
|
+
| EventType[str, KeyInputInfo]
|
|
1558
|
+
| None = None,
|
|
1550
1559
|
on_mount: EventType[()] | None = None,
|
|
1551
1560
|
on_mouse_down: EventType[()] | None = None,
|
|
1552
1561
|
on_mouse_enter: EventType[()] | None = None,
|
|
@@ -1630,9 +1639,8 @@ class CheckboxInput(BaseInput):
|
|
|
1630
1639
|
"""
|
|
1631
1640
|
|
|
1632
1641
|
class ValueNumberInput(BaseInput):
|
|
1633
|
-
@overload
|
|
1634
1642
|
@classmethod
|
|
1635
|
-
def create(
|
|
1643
|
+
def create(
|
|
1636
1644
|
cls,
|
|
1637
1645
|
*children,
|
|
1638
1646
|
accept: Var[str] | str | None = None,
|
|
@@ -1907,14 +1915,32 @@ class ValueNumberInput(BaseInput):
|
|
|
1907
1915
|
class_name: Any | None = None,
|
|
1908
1916
|
autofocus: bool | None = None,
|
|
1909
1917
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1910
|
-
on_blur: EventType[()]
|
|
1911
|
-
|
|
1918
|
+
on_blur: EventType[()]
|
|
1919
|
+
| EventType[float]
|
|
1920
|
+
| (EventType[()] | EventType[int])
|
|
1921
|
+
| (EventType[()] | EventType[str])
|
|
1922
|
+
| None = None,
|
|
1923
|
+
on_change: EventType[()]
|
|
1924
|
+
| EventType[float]
|
|
1925
|
+
| (EventType[()] | EventType[int])
|
|
1926
|
+
| (EventType[()] | EventType[str])
|
|
1927
|
+
| None = None,
|
|
1912
1928
|
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1913
1929
|
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1914
1930
|
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1915
|
-
on_focus: EventType[()]
|
|
1916
|
-
|
|
1917
|
-
|
|
1931
|
+
on_focus: EventType[()]
|
|
1932
|
+
| EventType[float]
|
|
1933
|
+
| (EventType[()] | EventType[int])
|
|
1934
|
+
| (EventType[()] | EventType[str])
|
|
1935
|
+
| None = None,
|
|
1936
|
+
on_key_down: EventType[()]
|
|
1937
|
+
| EventType[str]
|
|
1938
|
+
| EventType[str, KeyInputInfo]
|
|
1939
|
+
| None = None,
|
|
1940
|
+
on_key_up: EventType[()]
|
|
1941
|
+
| EventType[str]
|
|
1942
|
+
| EventType[str, KeyInputInfo]
|
|
1943
|
+
| None = None,
|
|
1918
1944
|
on_mount: EventType[()] | None = None,
|
|
1919
1945
|
on_mouse_down: EventType[()] | None = None,
|
|
1920
1946
|
on_mouse_enter: EventType[()] | None = None,
|
|
@@ -1998,9 +2024,8 @@ class ValueNumberInput(BaseInput):
|
|
|
1998
2024
|
"""
|
|
1999
2025
|
|
|
2000
2026
|
class Input(BaseInput):
|
|
2001
|
-
@overload
|
|
2002
2027
|
@classmethod
|
|
2003
|
-
def create(
|
|
2028
|
+
def create(
|
|
2004
2029
|
cls,
|
|
2005
2030
|
*children,
|
|
2006
2031
|
accept: Var[str] | str | None = None,
|
|
@@ -2281,8 +2306,14 @@ class Input(BaseInput):
|
|
|
2281
2306
|
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2282
2307
|
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2283
2308
|
on_focus: EventType[()] | EventType[str] | None = None,
|
|
2284
|
-
on_key_down: EventType[()]
|
|
2285
|
-
|
|
2309
|
+
on_key_down: EventType[()]
|
|
2310
|
+
| EventType[str]
|
|
2311
|
+
| EventType[str, KeyInputInfo]
|
|
2312
|
+
| None = None,
|
|
2313
|
+
on_key_up: EventType[()]
|
|
2314
|
+
| EventType[str]
|
|
2315
|
+
| EventType[str, KeyInputInfo]
|
|
2316
|
+
| None = None,
|
|
2286
2317
|
on_mount: EventType[()] | None = None,
|
|
2287
2318
|
on_mouse_down: EventType[()] | None = None,
|
|
2288
2319
|
on_mouse_enter: EventType[()] | None = None,
|
|
@@ -2366,9 +2397,8 @@ class Input(BaseInput):
|
|
|
2366
2397
|
"""
|
|
2367
2398
|
|
|
2368
2399
|
class Label(BaseHTML):
|
|
2369
|
-
@overload
|
|
2370
2400
|
@classmethod
|
|
2371
|
-
def create(
|
|
2401
|
+
def create(
|
|
2372
2402
|
cls,
|
|
2373
2403
|
*children,
|
|
2374
2404
|
html_for: Var[str] | str | None = None,
|
|
@@ -2616,9 +2646,8 @@ class Label(BaseHTML):
|
|
|
2616
2646
|
"""
|
|
2617
2647
|
|
|
2618
2648
|
class Legend(BaseHTML):
|
|
2619
|
-
@overload
|
|
2620
2649
|
@classmethod
|
|
2621
|
-
def create(
|
|
2650
|
+
def create(
|
|
2622
2651
|
cls,
|
|
2623
2652
|
*children,
|
|
2624
2653
|
access_key: Var[str] | str | None = None,
|
|
@@ -2862,9 +2891,8 @@ class Legend(BaseHTML):
|
|
|
2862
2891
|
"""
|
|
2863
2892
|
|
|
2864
2893
|
class Meter(BaseHTML):
|
|
2865
|
-
@overload
|
|
2866
2894
|
@classmethod
|
|
2867
|
-
def create(
|
|
2895
|
+
def create(
|
|
2868
2896
|
cls,
|
|
2869
2897
|
*children,
|
|
2870
2898
|
form: Var[str] | str | None = None,
|
|
@@ -3122,9 +3150,8 @@ class Meter(BaseHTML):
|
|
|
3122
3150
|
"""
|
|
3123
3151
|
|
|
3124
3152
|
class Optgroup(BaseHTML):
|
|
3125
|
-
@overload
|
|
3126
3153
|
@classmethod
|
|
3127
|
-
def create(
|
|
3154
|
+
def create(
|
|
3128
3155
|
cls,
|
|
3129
3156
|
*children,
|
|
3130
3157
|
disabled: Var[bool] | bool | None = None,
|
|
@@ -3372,9 +3399,8 @@ class Optgroup(BaseHTML):
|
|
|
3372
3399
|
"""
|
|
3373
3400
|
|
|
3374
3401
|
class Option(BaseHTML):
|
|
3375
|
-
@overload
|
|
3376
3402
|
@classmethod
|
|
3377
|
-
def create(
|
|
3403
|
+
def create(
|
|
3378
3404
|
cls,
|
|
3379
3405
|
*children,
|
|
3380
3406
|
disabled: Var[bool] | bool | None = None,
|
|
@@ -3626,9 +3652,8 @@ class Option(BaseHTML):
|
|
|
3626
3652
|
"""
|
|
3627
3653
|
|
|
3628
3654
|
class Output(BaseHTML):
|
|
3629
|
-
@overload
|
|
3630
3655
|
@classmethod
|
|
3631
|
-
def create(
|
|
3656
|
+
def create(
|
|
3632
3657
|
cls,
|
|
3633
3658
|
*children,
|
|
3634
3659
|
html_for: Var[str] | str | None = None,
|
|
@@ -3878,9 +3903,8 @@ class Output(BaseHTML):
|
|
|
3878
3903
|
"""
|
|
3879
3904
|
|
|
3880
3905
|
class Progress(BaseHTML):
|
|
3881
|
-
@overload
|
|
3882
3906
|
@classmethod
|
|
3883
|
-
def create(
|
|
3907
|
+
def create(
|
|
3884
3908
|
cls,
|
|
3885
3909
|
*children,
|
|
3886
3910
|
form: Var[str] | str | None = None,
|
|
@@ -4130,9 +4154,8 @@ class Progress(BaseHTML):
|
|
|
4130
4154
|
"""
|
|
4131
4155
|
|
|
4132
4156
|
class Select(BaseHTML):
|
|
4133
|
-
@overload
|
|
4134
4157
|
@classmethod
|
|
4135
|
-
def create(
|
|
4158
|
+
def create(
|
|
4136
4159
|
cls,
|
|
4137
4160
|
*children,
|
|
4138
4161
|
auto_complete: Var[str] | str | None = None,
|
|
@@ -4401,9 +4424,8 @@ AUTO_HEIGHT_JS = '\nconst autoHeightOnInput = (e, is_enabled) => {\n if (is_e
|
|
|
4401
4424
|
ENTER_KEY_SUBMIT_JS = "\nconst enterKeySubmitOnKeyDown = (e, is_enabled) => {\n if (is_enabled && e.which === 13 && !e.shiftKey) {\n e.preventDefault();\n if (!e.repeat) {\n if (e.target.form) {\n e.target.form.requestSubmit();\n }\n }\n }\n}\n"
|
|
4402
4425
|
|
|
4403
4426
|
class Textarea(BaseHTML):
|
|
4404
|
-
@overload
|
|
4405
4427
|
@classmethod
|
|
4406
|
-
def create(
|
|
4428
|
+
def create(
|
|
4407
4429
|
cls,
|
|
4408
4430
|
*children,
|
|
4409
4431
|
auto_complete: Var[str] | str | None = None,
|
|
@@ -4619,8 +4641,14 @@ class Textarea(BaseHTML):
|
|
|
4619
4641
|
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4620
4642
|
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4621
4643
|
on_focus: EventType[()] | EventType[str] | None = None,
|
|
4622
|
-
on_key_down: EventType[()]
|
|
4623
|
-
|
|
4644
|
+
on_key_down: EventType[()]
|
|
4645
|
+
| EventType[str]
|
|
4646
|
+
| EventType[str, KeyInputInfo]
|
|
4647
|
+
| None = None,
|
|
4648
|
+
on_key_up: EventType[()]
|
|
4649
|
+
| EventType[str]
|
|
4650
|
+
| EventType[str, KeyInputInfo]
|
|
4651
|
+
| None = None,
|
|
4624
4652
|
on_mount: EventType[()] | None = None,
|
|
4625
4653
|
on_mouse_down: EventType[()] | None = None,
|
|
4626
4654
|
on_mouse_enter: EventType[()] | None = None,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from collections.abc import Mapping, Sequence
|
|
7
|
-
from typing import Any, Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
8
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.event import EventType, PointerEventInfo
|
|
@@ -25,9 +25,8 @@ ReferrerPolicy = Literal[
|
|
|
25
25
|
]
|
|
26
26
|
|
|
27
27
|
class A(BaseHTML):
|
|
28
|
-
@overload
|
|
29
28
|
@classmethod
|
|
30
|
-
def create(
|
|
29
|
+
def create(
|
|
31
30
|
cls,
|
|
32
31
|
*children,
|
|
33
32
|
download: Var[bool | str] | bool | str | None = None,
|
|
@@ -314,9 +313,8 @@ class A(BaseHTML):
|
|
|
314
313
|
"""
|
|
315
314
|
|
|
316
315
|
class Abbr(BaseHTML):
|
|
317
|
-
@overload
|
|
318
316
|
@classmethod
|
|
319
|
-
def create(
|
|
317
|
+
def create(
|
|
320
318
|
cls,
|
|
321
319
|
*children,
|
|
322
320
|
access_key: Var[str] | str | None = None,
|
|
@@ -560,9 +558,8 @@ class Abbr(BaseHTML):
|
|
|
560
558
|
"""
|
|
561
559
|
|
|
562
560
|
class B(BaseHTML):
|
|
563
|
-
@overload
|
|
564
561
|
@classmethod
|
|
565
|
-
def create(
|
|
562
|
+
def create(
|
|
566
563
|
cls,
|
|
567
564
|
*children,
|
|
568
565
|
access_key: Var[str] | str | None = None,
|
|
@@ -806,9 +803,8 @@ class B(BaseHTML):
|
|
|
806
803
|
"""
|
|
807
804
|
|
|
808
805
|
class Bdi(BaseHTML):
|
|
809
|
-
@overload
|
|
810
806
|
@classmethod
|
|
811
|
-
def create(
|
|
807
|
+
def create(
|
|
812
808
|
cls,
|
|
813
809
|
*children,
|
|
814
810
|
access_key: Var[str] | str | None = None,
|
|
@@ -1052,9 +1048,8 @@ class Bdi(BaseHTML):
|
|
|
1052
1048
|
"""
|
|
1053
1049
|
|
|
1054
1050
|
class Bdo(BaseHTML):
|
|
1055
|
-
@overload
|
|
1056
1051
|
@classmethod
|
|
1057
|
-
def create(
|
|
1052
|
+
def create(
|
|
1058
1053
|
cls,
|
|
1059
1054
|
*children,
|
|
1060
1055
|
access_key: Var[str] | str | None = None,
|
|
@@ -1298,9 +1293,8 @@ class Bdo(BaseHTML):
|
|
|
1298
1293
|
"""
|
|
1299
1294
|
|
|
1300
1295
|
class Br(BaseHTML):
|
|
1301
|
-
@overload
|
|
1302
1296
|
@classmethod
|
|
1303
|
-
def create(
|
|
1297
|
+
def create(
|
|
1304
1298
|
cls,
|
|
1305
1299
|
*children,
|
|
1306
1300
|
access_key: Var[str] | str | None = None,
|
|
@@ -1544,9 +1538,8 @@ class Br(BaseHTML):
|
|
|
1544
1538
|
"""
|
|
1545
1539
|
|
|
1546
1540
|
class Cite(BaseHTML):
|
|
1547
|
-
@overload
|
|
1548
1541
|
@classmethod
|
|
1549
|
-
def create(
|
|
1542
|
+
def create(
|
|
1550
1543
|
cls,
|
|
1551
1544
|
*children,
|
|
1552
1545
|
access_key: Var[str] | str | None = None,
|
|
@@ -1790,9 +1783,8 @@ class Cite(BaseHTML):
|
|
|
1790
1783
|
"""
|
|
1791
1784
|
|
|
1792
1785
|
class Code(BaseHTML):
|
|
1793
|
-
@overload
|
|
1794
1786
|
@classmethod
|
|
1795
|
-
def create(
|
|
1787
|
+
def create(
|
|
1796
1788
|
cls,
|
|
1797
1789
|
*children,
|
|
1798
1790
|
access_key: Var[str] | str | None = None,
|
|
@@ -2036,9 +2028,8 @@ class Code(BaseHTML):
|
|
|
2036
2028
|
"""
|
|
2037
2029
|
|
|
2038
2030
|
class Data(BaseHTML):
|
|
2039
|
-
@overload
|
|
2040
2031
|
@classmethod
|
|
2041
|
-
def create(
|
|
2032
|
+
def create(
|
|
2042
2033
|
cls,
|
|
2043
2034
|
*children,
|
|
2044
2035
|
value: Var[float | int | str] | float | int | str | None = None,
|
|
@@ -2284,9 +2275,8 @@ class Data(BaseHTML):
|
|
|
2284
2275
|
"""
|
|
2285
2276
|
|
|
2286
2277
|
class Dfn(BaseHTML):
|
|
2287
|
-
@overload
|
|
2288
2278
|
@classmethod
|
|
2289
|
-
def create(
|
|
2279
|
+
def create(
|
|
2290
2280
|
cls,
|
|
2291
2281
|
*children,
|
|
2292
2282
|
access_key: Var[str] | str | None = None,
|
|
@@ -2530,9 +2520,8 @@ class Dfn(BaseHTML):
|
|
|
2530
2520
|
"""
|
|
2531
2521
|
|
|
2532
2522
|
class Em(BaseHTML):
|
|
2533
|
-
@overload
|
|
2534
2523
|
@classmethod
|
|
2535
|
-
def create(
|
|
2524
|
+
def create(
|
|
2536
2525
|
cls,
|
|
2537
2526
|
*children,
|
|
2538
2527
|
access_key: Var[str] | str | None = None,
|
|
@@ -2776,9 +2765,8 @@ class Em(BaseHTML):
|
|
|
2776
2765
|
"""
|
|
2777
2766
|
|
|
2778
2767
|
class I(BaseHTML):
|
|
2779
|
-
@overload
|
|
2780
2768
|
@classmethod
|
|
2781
|
-
def create(
|
|
2769
|
+
def create(
|
|
2782
2770
|
cls,
|
|
2783
2771
|
*children,
|
|
2784
2772
|
access_key: Var[str] | str | None = None,
|
|
@@ -3022,9 +3010,8 @@ class I(BaseHTML):
|
|
|
3022
3010
|
"""
|
|
3023
3011
|
|
|
3024
3012
|
class Kbd(BaseHTML):
|
|
3025
|
-
@overload
|
|
3026
3013
|
@classmethod
|
|
3027
|
-
def create(
|
|
3014
|
+
def create(
|
|
3028
3015
|
cls,
|
|
3029
3016
|
*children,
|
|
3030
3017
|
access_key: Var[str] | str | None = None,
|
|
@@ -3268,9 +3255,8 @@ class Kbd(BaseHTML):
|
|
|
3268
3255
|
"""
|
|
3269
3256
|
|
|
3270
3257
|
class Mark(BaseHTML):
|
|
3271
|
-
@overload
|
|
3272
3258
|
@classmethod
|
|
3273
|
-
def create(
|
|
3259
|
+
def create(
|
|
3274
3260
|
cls,
|
|
3275
3261
|
*children,
|
|
3276
3262
|
access_key: Var[str] | str | None = None,
|
|
@@ -3514,9 +3500,8 @@ class Mark(BaseHTML):
|
|
|
3514
3500
|
"""
|
|
3515
3501
|
|
|
3516
3502
|
class Q(BaseHTML):
|
|
3517
|
-
@overload
|
|
3518
3503
|
@classmethod
|
|
3519
|
-
def create(
|
|
3504
|
+
def create(
|
|
3520
3505
|
cls,
|
|
3521
3506
|
*children,
|
|
3522
3507
|
cite: Var[str] | str | None = None,
|
|
@@ -3762,9 +3747,8 @@ class Q(BaseHTML):
|
|
|
3762
3747
|
"""
|
|
3763
3748
|
|
|
3764
3749
|
class Rp(BaseHTML):
|
|
3765
|
-
@overload
|
|
3766
3750
|
@classmethod
|
|
3767
|
-
def create(
|
|
3751
|
+
def create(
|
|
3768
3752
|
cls,
|
|
3769
3753
|
*children,
|
|
3770
3754
|
access_key: Var[str] | str | None = None,
|
|
@@ -4008,9 +3992,8 @@ class Rp(BaseHTML):
|
|
|
4008
3992
|
"""
|
|
4009
3993
|
|
|
4010
3994
|
class Rt(BaseHTML):
|
|
4011
|
-
@overload
|
|
4012
3995
|
@classmethod
|
|
4013
|
-
def create(
|
|
3996
|
+
def create(
|
|
4014
3997
|
cls,
|
|
4015
3998
|
*children,
|
|
4016
3999
|
access_key: Var[str] | str | None = None,
|
|
@@ -4254,9 +4237,8 @@ class Rt(BaseHTML):
|
|
|
4254
4237
|
"""
|
|
4255
4238
|
|
|
4256
4239
|
class Ruby(BaseHTML):
|
|
4257
|
-
@overload
|
|
4258
4240
|
@classmethod
|
|
4259
|
-
def create(
|
|
4241
|
+
def create(
|
|
4260
4242
|
cls,
|
|
4261
4243
|
*children,
|
|
4262
4244
|
access_key: Var[str] | str | None = None,
|
|
@@ -4500,9 +4482,8 @@ class Ruby(BaseHTML):
|
|
|
4500
4482
|
"""
|
|
4501
4483
|
|
|
4502
4484
|
class S(BaseHTML):
|
|
4503
|
-
@overload
|
|
4504
4485
|
@classmethod
|
|
4505
|
-
def create(
|
|
4486
|
+
def create(
|
|
4506
4487
|
cls,
|
|
4507
4488
|
*children,
|
|
4508
4489
|
access_key: Var[str] | str | None = None,
|
|
@@ -4746,9 +4727,8 @@ class S(BaseHTML):
|
|
|
4746
4727
|
"""
|
|
4747
4728
|
|
|
4748
4729
|
class Samp(BaseHTML):
|
|
4749
|
-
@overload
|
|
4750
4730
|
@classmethod
|
|
4751
|
-
def create(
|
|
4731
|
+
def create(
|
|
4752
4732
|
cls,
|
|
4753
4733
|
*children,
|
|
4754
4734
|
access_key: Var[str] | str | None = None,
|
|
@@ -4992,9 +4972,8 @@ class Samp(BaseHTML):
|
|
|
4992
4972
|
"""
|
|
4993
4973
|
|
|
4994
4974
|
class Small(BaseHTML):
|
|
4995
|
-
@overload
|
|
4996
4975
|
@classmethod
|
|
4997
|
-
def create(
|
|
4976
|
+
def create(
|
|
4998
4977
|
cls,
|
|
4999
4978
|
*children,
|
|
5000
4979
|
access_key: Var[str] | str | None = None,
|
|
@@ -5238,9 +5217,8 @@ class Small(BaseHTML):
|
|
|
5238
5217
|
"""
|
|
5239
5218
|
|
|
5240
5219
|
class Span(BaseHTML):
|
|
5241
|
-
@overload
|
|
5242
5220
|
@classmethod
|
|
5243
|
-
def create(
|
|
5221
|
+
def create(
|
|
5244
5222
|
cls,
|
|
5245
5223
|
*children,
|
|
5246
5224
|
access_key: Var[str] | str | None = None,
|
|
@@ -5484,9 +5462,8 @@ class Span(BaseHTML):
|
|
|
5484
5462
|
"""
|
|
5485
5463
|
|
|
5486
5464
|
class Strong(BaseHTML):
|
|
5487
|
-
@overload
|
|
5488
5465
|
@classmethod
|
|
5489
|
-
def create(
|
|
5466
|
+
def create(
|
|
5490
5467
|
cls,
|
|
5491
5468
|
*children,
|
|
5492
5469
|
access_key: Var[str] | str | None = None,
|
|
@@ -5730,9 +5707,8 @@ class Strong(BaseHTML):
|
|
|
5730
5707
|
"""
|
|
5731
5708
|
|
|
5732
5709
|
class Sub(BaseHTML):
|
|
5733
|
-
@overload
|
|
5734
5710
|
@classmethod
|
|
5735
|
-
def create(
|
|
5711
|
+
def create(
|
|
5736
5712
|
cls,
|
|
5737
5713
|
*children,
|
|
5738
5714
|
access_key: Var[str] | str | None = None,
|
|
@@ -5976,9 +5952,8 @@ class Sub(BaseHTML):
|
|
|
5976
5952
|
"""
|
|
5977
5953
|
|
|
5978
5954
|
class Sup(BaseHTML):
|
|
5979
|
-
@overload
|
|
5980
5955
|
@classmethod
|
|
5981
|
-
def create(
|
|
5956
|
+
def create(
|
|
5982
5957
|
cls,
|
|
5983
5958
|
*children,
|
|
5984
5959
|
access_key: Var[str] | str | None = None,
|
|
@@ -6222,9 +6197,8 @@ class Sup(BaseHTML):
|
|
|
6222
6197
|
"""
|
|
6223
6198
|
|
|
6224
6199
|
class Time(BaseHTML):
|
|
6225
|
-
@overload
|
|
6226
6200
|
@classmethod
|
|
6227
|
-
def create(
|
|
6201
|
+
def create(
|
|
6228
6202
|
cls,
|
|
6229
6203
|
*children,
|
|
6230
6204
|
date_time: Var[str] | str | None = None,
|
|
@@ -6470,9 +6444,8 @@ class Time(BaseHTML):
|
|
|
6470
6444
|
"""
|
|
6471
6445
|
|
|
6472
6446
|
class U(BaseHTML):
|
|
6473
|
-
@overload
|
|
6474
6447
|
@classmethod
|
|
6475
|
-
def create(
|
|
6448
|
+
def create(
|
|
6476
6449
|
cls,
|
|
6477
6450
|
*children,
|
|
6478
6451
|
access_key: Var[str] | str | None = None,
|
|
@@ -6716,9 +6689,8 @@ class U(BaseHTML):
|
|
|
6716
6689
|
"""
|
|
6717
6690
|
|
|
6718
6691
|
class Wbr(BaseHTML):
|
|
6719
|
-
@overload
|
|
6720
6692
|
@classmethod
|
|
6721
|
-
def create(
|
|
6693
|
+
def create(
|
|
6722
6694
|
cls,
|
|
6723
6695
|
*children,
|
|
6724
6696
|
access_key: Var[str] | str | None = None,
|