reflex 0.7.14a5__py3-none-any.whl → 0.8.0__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/app/rxconfig.py.jinja2 +4 -1
- reflex/.templates/jinja/web/package.json.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +21 -11
- reflex/.templates/jinja/web/pages/_document.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -1
- reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +4 -0
- reflex/.templates/jinja/web/styles/styles.css.jinja2 +1 -0
- reflex/.templates/jinja/web/utils/context.js.jinja2 +25 -8
- reflex/.templates/web/app/entry.client.js +8 -0
- reflex/.templates/web/app/routes.js +10 -0
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +12 -37
- reflex/.templates/web/postcss.config.js +1 -1
- reflex/.templates/web/react-router.config.js +6 -0
- reflex/.templates/web/styles/__reflex_style_reset.css +399 -0
- reflex/.templates/web/utils/client_side_routing.js +21 -19
- reflex/.templates/web/utils/react-theme.js +92 -0
- reflex/.templates/web/utils/state.js +251 -100
- reflex/.templates/web/vite-plugin-safari-cachebust.js +160 -0
- reflex/.templates/web/vite.config.js +39 -0
- reflex/__init__.py +1 -6
- reflex/__init__.pyi +327 -192
- reflex/app.py +103 -152
- reflex/base.py +1 -87
- reflex/compiler/compiler.py +70 -19
- reflex/compiler/templates.py +3 -3
- reflex/compiler/utils.py +91 -33
- reflex/components/__init__.py +0 -2
- reflex/components/__init__.pyi +34 -18
- reflex/components/base/__init__.py +1 -5
- reflex/components/base/__init__.pyi +30 -21
- reflex/components/base/app_wrap.pyi +7 -7
- reflex/components/base/body.pyi +7 -7
- reflex/components/base/document.py +18 -14
- reflex/components/base/document.pyi +88 -38
- reflex/components/base/error_boundary.pyi +7 -7
- reflex/components/base/fragment.pyi +7 -7
- reflex/components/base/link.pyi +12 -12
- reflex/components/base/meta.py +4 -15
- reflex/components/base/meta.pyi +31 -31
- reflex/components/base/script.py +60 -58
- reflex/components/base/script.pyi +248 -34
- reflex/components/base/strict_mode.pyi +7 -7
- reflex/components/component.py +146 -217
- reflex/components/core/__init__.py +1 -0
- reflex/components/core/__init__.pyi +77 -37
- reflex/components/core/auto_scroll.pyi +7 -7
- reflex/components/core/banner.pyi +33 -33
- reflex/components/core/client_side_routing.py +7 -6
- reflex/components/core/client_side_routing.pyi +8 -59
- reflex/components/core/clipboard.pyi +7 -7
- reflex/components/core/debounce.py +1 -0
- reflex/components/core/debounce.pyi +7 -7
- reflex/components/core/foreach.py +5 -4
- reflex/components/core/helmet.py +14 -0
- reflex/components/{next/base.pyi → core/helmet.pyi} +12 -10
- reflex/components/core/html.pyi +7 -7
- reflex/components/core/match.py +3 -3
- reflex/components/core/sticky.pyi +21 -20
- reflex/components/core/upload.py +4 -2
- reflex/components/core/upload.pyi +26 -25
- reflex/components/datadisplay/__init__.pyi +13 -7
- reflex/components/datadisplay/code.py +14 -79
- reflex/components/datadisplay/code.pyi +11 -13
- reflex/components/datadisplay/dataeditor.pyi +38 -15
- reflex/components/datadisplay/shiki_code_block.py +5 -3
- reflex/components/datadisplay/shiki_code_block.pyi +16 -15
- reflex/components/dynamic.py +5 -5
- reflex/components/el/__init__.pyi +506 -246
- reflex/components/el/element.pyi +7 -7
- reflex/components/el/elements/__init__.pyi +504 -245
- reflex/components/el/elements/base.pyi +7 -7
- reflex/components/el/elements/forms.pyi +146 -101
- reflex/components/el/elements/inline.pyi +142 -142
- reflex/components/el/elements/media.pyi +131 -130
- reflex/components/el/elements/metadata.pyi +32 -32
- reflex/components/el/elements/other.pyi +37 -37
- reflex/components/el/elements/scripts.pyi +17 -17
- reflex/components/el/elements/sectioning.pyi +77 -77
- reflex/components/el/elements/tables.pyi +52 -52
- reflex/components/el/elements/typography.pyi +77 -77
- reflex/components/field.py +175 -0
- reflex/components/gridjs/datatable.py +2 -2
- reflex/components/gridjs/datatable.pyi +14 -14
- reflex/components/lucide/icon.py +6 -2
- reflex/components/lucide/icon.pyi +19 -17
- reflex/components/markdown/markdown.py +5 -3
- reflex/components/markdown/markdown.pyi +7 -7
- reflex/components/moment/moment.py +1 -1
- reflex/components/moment/moment.pyi +7 -7
- reflex/components/plotly/plotly.py +12 -6
- reflex/components/plotly/plotly.pyi +50 -49
- reflex/components/props.py +376 -27
- reflex/components/radix/__init__.pyi +123 -65
- reflex/components/radix/primitives/__init__.pyi +6 -4
- reflex/components/radix/primitives/accordion.py +8 -1
- reflex/components/radix/primitives/accordion.pyi +37 -37
- reflex/components/radix/primitives/base.pyi +12 -12
- reflex/components/radix/primitives/drawer.pyi +56 -55
- reflex/components/radix/primitives/form.pyi +63 -53
- reflex/components/radix/primitives/progress.pyi +26 -25
- reflex/components/radix/primitives/slider.pyi +27 -27
- reflex/components/radix/themes/__init__.pyi +5 -6
- reflex/components/radix/themes/base.py +3 -3
- reflex/components/radix/themes/base.pyi +42 -42
- reflex/components/radix/themes/color_mode.py +5 -6
- reflex/components/radix/themes/color_mode.pyi +17 -17
- reflex/components/radix/themes/components/__init__.pyi +75 -38
- reflex/components/radix/themes/components/alert_dialog.pyi +37 -37
- reflex/components/radix/themes/components/aspect_ratio.pyi +7 -7
- reflex/components/radix/themes/components/avatar.pyi +7 -7
- reflex/components/radix/themes/components/badge.pyi +7 -7
- reflex/components/radix/themes/components/button.pyi +7 -7
- reflex/components/radix/themes/components/callout.pyi +26 -25
- reflex/components/radix/themes/components/card.pyi +7 -7
- reflex/components/radix/themes/components/checkbox.pyi +16 -15
- reflex/components/radix/themes/components/checkbox_cards.pyi +12 -12
- reflex/components/radix/themes/components/checkbox_group.pyi +12 -12
- reflex/components/radix/themes/components/context_menu.pyi +67 -67
- reflex/components/radix/themes/components/data_list.pyi +22 -22
- reflex/components/radix/themes/components/dialog.pyi +36 -35
- reflex/components/radix/themes/components/dropdown_menu.pyi +42 -42
- reflex/components/radix/themes/components/hover_card.pyi +21 -20
- reflex/components/radix/themes/components/icon_button.pyi +7 -7
- reflex/components/radix/themes/components/inset.pyi +7 -7
- reflex/components/radix/themes/components/popover.pyi +22 -22
- reflex/components/radix/themes/components/progress.pyi +7 -7
- reflex/components/radix/themes/components/radio.pyi +7 -7
- reflex/components/radix/themes/components/radio_cards.pyi +12 -12
- reflex/components/radix/themes/components/radio_group.pyi +21 -20
- reflex/components/radix/themes/components/scroll_area.pyi +7 -7
- reflex/components/radix/themes/components/segmented_control.pyi +12 -12
- reflex/components/radix/themes/components/select.pyi +46 -45
- reflex/components/radix/themes/components/separator.pyi +7 -7
- reflex/components/radix/themes/components/skeleton.pyi +7 -7
- reflex/components/radix/themes/components/slider.pyi +17 -9
- reflex/components/radix/themes/components/spinner.pyi +7 -7
- reflex/components/radix/themes/components/switch.pyi +7 -7
- reflex/components/radix/themes/components/table.pyi +37 -37
- reflex/components/radix/themes/components/tabs.pyi +26 -25
- reflex/components/radix/themes/components/text_area.pyi +15 -9
- reflex/components/radix/themes/components/text_field.pyi +32 -19
- reflex/components/radix/themes/components/tooltip.pyi +7 -7
- reflex/components/radix/themes/layout/__init__.pyi +27 -14
- reflex/components/radix/themes/layout/base.pyi +7 -7
- reflex/components/radix/themes/layout/box.pyi +7 -7
- reflex/components/radix/themes/layout/center.pyi +7 -7
- reflex/components/radix/themes/layout/container.pyi +7 -7
- reflex/components/radix/themes/layout/flex.pyi +7 -7
- reflex/components/radix/themes/layout/grid.pyi +7 -7
- reflex/components/radix/themes/layout/list.pyi +26 -25
- reflex/components/radix/themes/layout/section.pyi +7 -7
- reflex/components/radix/themes/layout/spacer.pyi +7 -7
- reflex/components/radix/themes/layout/stack.pyi +17 -17
- reflex/components/radix/themes/typography/__init__.pyi +7 -5
- reflex/components/radix/themes/typography/blockquote.pyi +7 -7
- reflex/components/radix/themes/typography/code.pyi +7 -7
- reflex/components/radix/themes/typography/heading.pyi +7 -7
- reflex/components/radix/themes/typography/link.py +46 -11
- reflex/components/radix/themes/typography/link.pyi +312 -9
- reflex/components/radix/themes/typography/text.pyi +36 -35
- reflex/components/react_player/audio.pyi +10 -8
- reflex/components/react_player/react_player.pyi +7 -7
- reflex/components/react_player/video.pyi +10 -8
- reflex/components/recharts/__init__.pyi +208 -100
- reflex/components/recharts/cartesian.py +10 -8
- reflex/components/recharts/cartesian.pyi +90 -94
- reflex/components/recharts/charts.py +4 -2
- reflex/components/recharts/charts.pyi +49 -49
- reflex/components/recharts/general.pyi +31 -31
- reflex/components/recharts/polar.py +8 -4
- reflex/components/recharts/polar.pyi +23 -23
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/recharts/recharts.pyi +12 -12
- reflex/components/sonner/toast.py +3 -3
- reflex/components/sonner/toast.pyi +9 -9
- reflex/config.py +10 -113
- reflex/constants/__init__.py +2 -2
- reflex/constants/base.py +28 -11
- reflex/constants/compiler.py +12 -3
- reflex/constants/event.py +1 -0
- reflex/constants/installer.py +26 -20
- reflex/constants/route.py +27 -8
- reflex/constants/state.py +2 -0
- reflex/custom_components/custom_components.py +0 -14
- reflex/environment.py +77 -5
- reflex/event.py +178 -81
- reflex/experimental/__init__.py +0 -30
- reflex/istate/__init__.py +69 -0
- reflex/istate/manager.py +1 -0
- reflex/istate/proxy.py +5 -3
- reflex/page.py +0 -27
- reflex/plugins/__init__.py +3 -2
- reflex/plugins/base.py +5 -1
- reflex/plugins/shared_tailwind.py +215 -0
- reflex/plugins/sitemap.py +206 -0
- reflex/plugins/tailwind_v3.py +15 -108
- reflex/plugins/tailwind_v4.py +18 -110
- reflex/reflex.py +1 -0
- reflex/route.py +157 -75
- reflex/state.py +171 -155
- reflex/testing.py +86 -16
- reflex/utils/build.py +38 -82
- reflex/utils/exec.py +83 -175
- reflex/utils/export.py +2 -2
- reflex/utils/format.py +1 -5
- reflex/utils/imports.py +5 -16
- reflex/utils/misc.py +67 -0
- reflex/utils/prerequisites.py +66 -68
- reflex/utils/processes.py +24 -47
- reflex/utils/pyi_generator.py +44 -49
- reflex/utils/serializers.py +14 -1
- reflex/utils/telemetry.py +0 -15
- reflex/utils/types.py +197 -62
- reflex/vars/__init__.py +2 -0
- reflex/vars/base.py +367 -134
- {reflex-0.7.14a5.dist-info → reflex-0.8.0.dist-info}/METADATA +15 -8
- reflex-0.8.0.dist-info/RECORD +403 -0
- reflex/.templates/web/next.config.js +0 -7
- reflex/components/base/head.py +0 -20
- reflex/components/base/head.pyi +0 -116
- reflex/components/next/__init__.py +0 -10
- reflex/components/next/base.py +0 -7
- reflex/components/next/image.py +0 -117
- reflex/components/next/image.pyi +0 -94
- reflex/components/next/link.py +0 -20
- reflex/components/next/link.pyi +0 -67
- reflex/components/next/video.py +0 -38
- reflex/components/next/video.pyi +0 -68
- reflex/components/suneditor/__init__.py +0 -5
- reflex/components/suneditor/editor.py +0 -269
- reflex/components/suneditor/editor.pyi +0 -199
- reflex/experimental/layout.py +0 -254
- reflex-0.7.14a5.dist-info/RECORD +0 -407
- {reflex-0.7.14a5.dist-info → reflex-0.8.0.dist-info}/WHEEL +0 -0
- {reflex-0.7.14a5.dist-info → reflex-0.8.0.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.14a5.dist-info → reflex-0.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -4,20 +4,19 @@
|
|
|
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 import ComponentNamespace
|
|
10
10
|
from reflex.components.core.breakpoints import Breakpoints
|
|
11
11
|
from reflex.constants.colors import Color
|
|
12
|
-
from reflex.event import EventType
|
|
12
|
+
from reflex.event import EventType, PointerEventInfo
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
15
|
from .base import BaseHTML
|
|
16
16
|
|
|
17
17
|
class Area(BaseHTML):
|
|
18
|
-
@overload
|
|
19
18
|
@classmethod
|
|
20
|
-
def create(
|
|
19
|
+
def create(
|
|
21
20
|
cls,
|
|
22
21
|
*children,
|
|
23
22
|
alt: Var[str] | str | None = None,
|
|
@@ -244,9 +243,9 @@ class Area(BaseHTML):
|
|
|
244
243
|
autofocus: bool | None = None,
|
|
245
244
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
246
245
|
on_blur: EventType[()] | None = None,
|
|
247
|
-
on_click: EventType[()] | None = None,
|
|
248
|
-
on_context_menu: EventType[()] | None = None,
|
|
249
|
-
on_double_click: EventType[()] | None = None,
|
|
246
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
247
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
248
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
250
249
|
on_focus: EventType[()] | None = None,
|
|
251
250
|
on_mount: EventType[()] | None = None,
|
|
252
251
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -257,6 +256,7 @@ class Area(BaseHTML):
|
|
|
257
256
|
on_mouse_over: EventType[()] | None = None,
|
|
258
257
|
on_mouse_up: EventType[()] | None = None,
|
|
259
258
|
on_scroll: EventType[()] | None = None,
|
|
259
|
+
on_scroll_end: EventType[()] | None = None,
|
|
260
260
|
on_unmount: EventType[()] | None = None,
|
|
261
261
|
**props,
|
|
262
262
|
) -> Area:
|
|
@@ -306,9 +306,8 @@ class Area(BaseHTML):
|
|
|
306
306
|
CrossOrigin = Literal["anonymous", "use-credentials", ""]
|
|
307
307
|
|
|
308
308
|
class Audio(BaseHTML):
|
|
309
|
-
@overload
|
|
310
309
|
@classmethod
|
|
311
|
-
def create(
|
|
310
|
+
def create(
|
|
312
311
|
cls,
|
|
313
312
|
*children,
|
|
314
313
|
auto_play: Var[bool] | bool | None = None,
|
|
@@ -510,9 +509,9 @@ class Audio(BaseHTML):
|
|
|
510
509
|
autofocus: bool | None = None,
|
|
511
510
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
512
511
|
on_blur: EventType[()] | None = None,
|
|
513
|
-
on_click: EventType[()] | None = None,
|
|
514
|
-
on_context_menu: EventType[()] | None = None,
|
|
515
|
-
on_double_click: EventType[()] | None = None,
|
|
512
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
513
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
514
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
516
515
|
on_focus: EventType[()] | None = None,
|
|
517
516
|
on_mount: EventType[()] | None = None,
|
|
518
517
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -523,6 +522,7 @@ class Audio(BaseHTML):
|
|
|
523
522
|
on_mouse_over: EventType[()] | None = None,
|
|
524
523
|
on_mouse_up: EventType[()] | None = None,
|
|
525
524
|
on_scroll: EventType[()] | None = None,
|
|
525
|
+
on_scroll_end: EventType[()] | None = None,
|
|
526
526
|
on_unmount: EventType[()] | None = None,
|
|
527
527
|
**props,
|
|
528
528
|
) -> Audio:
|
|
@@ -570,9 +570,8 @@ ImageDecoding = Literal["async", "auto", "sync"]
|
|
|
570
570
|
ImageLoading = Literal["eager", "lazy"]
|
|
571
571
|
|
|
572
572
|
class Img(BaseHTML):
|
|
573
|
-
@overload
|
|
574
573
|
@classmethod
|
|
575
|
-
def create(
|
|
574
|
+
def create(
|
|
576
575
|
cls,
|
|
577
576
|
*children,
|
|
578
577
|
alt: Var[str] | str | None = None,
|
|
@@ -802,9 +801,9 @@ class Img(BaseHTML):
|
|
|
802
801
|
autofocus: bool | None = None,
|
|
803
802
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
804
803
|
on_blur: EventType[()] | None = None,
|
|
805
|
-
on_click: EventType[()] | None = None,
|
|
806
|
-
on_context_menu: EventType[()] | None = None,
|
|
807
|
-
on_double_click: EventType[()] | None = None,
|
|
804
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
805
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
806
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
808
807
|
on_focus: EventType[()] | None = None,
|
|
809
808
|
on_mount: EventType[()] | None = None,
|
|
810
809
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -815,6 +814,7 @@ class Img(BaseHTML):
|
|
|
815
814
|
on_mouse_over: EventType[()] | None = None,
|
|
816
815
|
on_mouse_up: EventType[()] | None = None,
|
|
817
816
|
on_scroll: EventType[()] | None = None,
|
|
817
|
+
on_scroll_end: EventType[()] | None = None,
|
|
818
818
|
on_unmount: EventType[()] | None = None,
|
|
819
819
|
**props,
|
|
820
820
|
) -> Img:
|
|
@@ -861,9 +861,8 @@ class Img(BaseHTML):
|
|
|
861
861
|
"""
|
|
862
862
|
|
|
863
863
|
class Map(BaseHTML):
|
|
864
|
-
@overload
|
|
865
864
|
@classmethod
|
|
866
|
-
def create(
|
|
865
|
+
def create(
|
|
867
866
|
cls,
|
|
868
867
|
*children,
|
|
869
868
|
name: Var[str] | str | None = None,
|
|
@@ -1057,9 +1056,9 @@ class Map(BaseHTML):
|
|
|
1057
1056
|
autofocus: bool | None = None,
|
|
1058
1057
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1059
1058
|
on_blur: EventType[()] | None = None,
|
|
1060
|
-
on_click: EventType[()] | None = None,
|
|
1061
|
-
on_context_menu: EventType[()] | None = None,
|
|
1062
|
-
on_double_click: EventType[()] | None = None,
|
|
1059
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1060
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1061
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1063
1062
|
on_focus: EventType[()] | None = None,
|
|
1064
1063
|
on_mount: EventType[()] | None = None,
|
|
1065
1064
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -1070,6 +1069,7 @@ class Map(BaseHTML):
|
|
|
1070
1069
|
on_mouse_over: EventType[()] | None = None,
|
|
1071
1070
|
on_mouse_up: EventType[()] | None = None,
|
|
1072
1071
|
on_scroll: EventType[()] | None = None,
|
|
1072
|
+
on_scroll_end: EventType[()] | None = None,
|
|
1073
1073
|
on_unmount: EventType[()] | None = None,
|
|
1074
1074
|
**props,
|
|
1075
1075
|
) -> Map:
|
|
@@ -1108,9 +1108,8 @@ class Map(BaseHTML):
|
|
|
1108
1108
|
"""
|
|
1109
1109
|
|
|
1110
1110
|
class Track(BaseHTML):
|
|
1111
|
-
@overload
|
|
1112
1111
|
@classmethod
|
|
1113
|
-
def create(
|
|
1112
|
+
def create(
|
|
1114
1113
|
cls,
|
|
1115
1114
|
*children,
|
|
1116
1115
|
default: Var[bool] | bool | None = None,
|
|
@@ -1308,9 +1307,9 @@ class Track(BaseHTML):
|
|
|
1308
1307
|
autofocus: bool | None = None,
|
|
1309
1308
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1310
1309
|
on_blur: EventType[()] | None = None,
|
|
1311
|
-
on_click: EventType[()] | None = None,
|
|
1312
|
-
on_context_menu: EventType[()] | None = None,
|
|
1313
|
-
on_double_click: EventType[()] | None = None,
|
|
1310
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1311
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1312
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1314
1313
|
on_focus: EventType[()] | None = None,
|
|
1315
1314
|
on_mount: EventType[()] | None = None,
|
|
1316
1315
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -1321,6 +1320,7 @@ class Track(BaseHTML):
|
|
|
1321
1320
|
on_mouse_over: EventType[()] | None = None,
|
|
1322
1321
|
on_mouse_up: EventType[()] | None = None,
|
|
1323
1322
|
on_scroll: EventType[()] | None = None,
|
|
1323
|
+
on_scroll_end: EventType[()] | None = None,
|
|
1324
1324
|
on_unmount: EventType[()] | None = None,
|
|
1325
1325
|
**props,
|
|
1326
1326
|
) -> Track:
|
|
@@ -1363,9 +1363,8 @@ class Track(BaseHTML):
|
|
|
1363
1363
|
"""
|
|
1364
1364
|
|
|
1365
1365
|
class Video(BaseHTML):
|
|
1366
|
-
@overload
|
|
1367
1366
|
@classmethod
|
|
1368
|
-
def create(
|
|
1367
|
+
def create(
|
|
1369
1368
|
cls,
|
|
1370
1369
|
*children,
|
|
1371
1370
|
auto_play: Var[bool] | bool | None = None,
|
|
@@ -1569,9 +1568,9 @@ class Video(BaseHTML):
|
|
|
1569
1568
|
autofocus: bool | None = None,
|
|
1570
1569
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1571
1570
|
on_blur: EventType[()] | None = None,
|
|
1572
|
-
on_click: EventType[()] | None = None,
|
|
1573
|
-
on_context_menu: EventType[()] | None = None,
|
|
1574
|
-
on_double_click: EventType[()] | None = None,
|
|
1571
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1572
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1573
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1575
1574
|
on_focus: EventType[()] | None = None,
|
|
1576
1575
|
on_mount: EventType[()] | None = None,
|
|
1577
1576
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -1582,6 +1581,7 @@ class Video(BaseHTML):
|
|
|
1582
1581
|
on_mouse_over: EventType[()] | None = None,
|
|
1583
1582
|
on_mouse_up: EventType[()] | None = None,
|
|
1584
1583
|
on_scroll: EventType[()] | None = None,
|
|
1584
|
+
on_scroll_end: EventType[()] | None = None,
|
|
1585
1585
|
on_unmount: EventType[()] | None = None,
|
|
1586
1586
|
**props,
|
|
1587
1587
|
) -> Video:
|
|
@@ -1628,9 +1628,8 @@ class Video(BaseHTML):
|
|
|
1628
1628
|
"""
|
|
1629
1629
|
|
|
1630
1630
|
class Embed(BaseHTML):
|
|
1631
|
-
@overload
|
|
1632
1631
|
@classmethod
|
|
1633
|
-
def create(
|
|
1632
|
+
def create(
|
|
1634
1633
|
cls,
|
|
1635
1634
|
*children,
|
|
1636
1635
|
src: Var[str] | str | None = None,
|
|
@@ -1825,9 +1824,9 @@ class Embed(BaseHTML):
|
|
|
1825
1824
|
autofocus: bool | None = None,
|
|
1826
1825
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1827
1826
|
on_blur: EventType[()] | None = None,
|
|
1828
|
-
on_click: EventType[()] | None = None,
|
|
1829
|
-
on_context_menu: EventType[()] | None = None,
|
|
1830
|
-
on_double_click: EventType[()] | None = None,
|
|
1827
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1828
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1829
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
1831
1830
|
on_focus: EventType[()] | None = None,
|
|
1832
1831
|
on_mount: EventType[()] | None = None,
|
|
1833
1832
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -1838,6 +1837,7 @@ class Embed(BaseHTML):
|
|
|
1838
1837
|
on_mouse_over: EventType[()] | None = None,
|
|
1839
1838
|
on_mouse_up: EventType[()] | None = None,
|
|
1840
1839
|
on_scroll: EventType[()] | None = None,
|
|
1840
|
+
on_scroll_end: EventType[()] | None = None,
|
|
1841
1841
|
on_unmount: EventType[()] | None = None,
|
|
1842
1842
|
**props,
|
|
1843
1843
|
) -> Embed:
|
|
@@ -1877,9 +1877,8 @@ class Embed(BaseHTML):
|
|
|
1877
1877
|
"""
|
|
1878
1878
|
|
|
1879
1879
|
class Iframe(BaseHTML):
|
|
1880
|
-
@overload
|
|
1881
1880
|
@classmethod
|
|
1882
|
-
def create(
|
|
1881
|
+
def create(
|
|
1883
1882
|
cls,
|
|
1884
1883
|
*children,
|
|
1885
1884
|
allow: Var[str] | str | None = None,
|
|
@@ -2103,9 +2102,9 @@ class Iframe(BaseHTML):
|
|
|
2103
2102
|
autofocus: bool | None = None,
|
|
2104
2103
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2105
2104
|
on_blur: EventType[()] | None = None,
|
|
2106
|
-
on_click: EventType[()] | None = None,
|
|
2107
|
-
on_context_menu: EventType[()] | None = None,
|
|
2108
|
-
on_double_click: EventType[()] | None = None,
|
|
2105
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2106
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2107
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2109
2108
|
on_focus: EventType[()] | None = None,
|
|
2110
2109
|
on_mount: EventType[()] | None = None,
|
|
2111
2110
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -2116,6 +2115,7 @@ class Iframe(BaseHTML):
|
|
|
2116
2115
|
on_mouse_over: EventType[()] | None = None,
|
|
2117
2116
|
on_mouse_up: EventType[()] | None = None,
|
|
2118
2117
|
on_scroll: EventType[()] | None = None,
|
|
2118
|
+
on_scroll_end: EventType[()] | None = None,
|
|
2119
2119
|
on_unmount: EventType[()] | None = None,
|
|
2120
2120
|
**props,
|
|
2121
2121
|
) -> Iframe:
|
|
@@ -2160,9 +2160,8 @@ class Iframe(BaseHTML):
|
|
|
2160
2160
|
"""
|
|
2161
2161
|
|
|
2162
2162
|
class Object(BaseHTML):
|
|
2163
|
-
@overload
|
|
2164
2163
|
@classmethod
|
|
2165
|
-
def create(
|
|
2164
|
+
def create(
|
|
2166
2165
|
cls,
|
|
2167
2166
|
*children,
|
|
2168
2167
|
data: Var[str] | str | None = None,
|
|
@@ -2360,9 +2359,9 @@ class Object(BaseHTML):
|
|
|
2360
2359
|
autofocus: bool | None = None,
|
|
2361
2360
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2362
2361
|
on_blur: EventType[()] | None = None,
|
|
2363
|
-
on_click: EventType[()] | None = None,
|
|
2364
|
-
on_context_menu: EventType[()] | None = None,
|
|
2365
|
-
on_double_click: EventType[()] | None = None,
|
|
2362
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2363
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2364
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2366
2365
|
on_focus: EventType[()] | None = None,
|
|
2367
2366
|
on_mount: EventType[()] | None = None,
|
|
2368
2367
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -2373,6 +2372,7 @@ class Object(BaseHTML):
|
|
|
2373
2372
|
on_mouse_over: EventType[()] | None = None,
|
|
2374
2373
|
on_mouse_up: EventType[()] | None = None,
|
|
2375
2374
|
on_scroll: EventType[()] | None = None,
|
|
2375
|
+
on_scroll_end: EventType[()] | None = None,
|
|
2376
2376
|
on_unmount: EventType[()] | None = None,
|
|
2377
2377
|
**props,
|
|
2378
2378
|
) -> Object:
|
|
@@ -2415,9 +2415,8 @@ class Object(BaseHTML):
|
|
|
2415
2415
|
"""
|
|
2416
2416
|
|
|
2417
2417
|
class Picture(BaseHTML):
|
|
2418
|
-
@overload
|
|
2419
2418
|
@classmethod
|
|
2420
|
-
def create(
|
|
2419
|
+
def create(
|
|
2421
2420
|
cls,
|
|
2422
2421
|
*children,
|
|
2423
2422
|
access_key: Var[str] | str | None = None,
|
|
@@ -2610,9 +2609,9 @@ class Picture(BaseHTML):
|
|
|
2610
2609
|
autofocus: bool | None = None,
|
|
2611
2610
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2612
2611
|
on_blur: EventType[()] | None = None,
|
|
2613
|
-
on_click: EventType[()] | None = None,
|
|
2614
|
-
on_context_menu: EventType[()] | None = None,
|
|
2615
|
-
on_double_click: EventType[()] | None = None,
|
|
2612
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2613
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2614
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2616
2615
|
on_focus: EventType[()] | None = None,
|
|
2617
2616
|
on_mount: EventType[()] | None = None,
|
|
2618
2617
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -2623,6 +2622,7 @@ class Picture(BaseHTML):
|
|
|
2623
2622
|
on_mouse_over: EventType[()] | None = None,
|
|
2624
2623
|
on_mouse_up: EventType[()] | None = None,
|
|
2625
2624
|
on_scroll: EventType[()] | None = None,
|
|
2625
|
+
on_scroll_end: EventType[()] | None = None,
|
|
2626
2626
|
on_unmount: EventType[()] | None = None,
|
|
2627
2627
|
**props,
|
|
2628
2628
|
) -> Picture:
|
|
@@ -2660,9 +2660,8 @@ class Picture(BaseHTML):
|
|
|
2660
2660
|
"""
|
|
2661
2661
|
|
|
2662
2662
|
class Portal(BaseHTML):
|
|
2663
|
-
@overload
|
|
2664
2663
|
@classmethod
|
|
2665
|
-
def create(
|
|
2664
|
+
def create(
|
|
2666
2665
|
cls,
|
|
2667
2666
|
*children,
|
|
2668
2667
|
access_key: Var[str] | str | None = None,
|
|
@@ -2855,9 +2854,9 @@ class Portal(BaseHTML):
|
|
|
2855
2854
|
autofocus: bool | None = None,
|
|
2856
2855
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2857
2856
|
on_blur: EventType[()] | None = None,
|
|
2858
|
-
on_click: EventType[()] | None = None,
|
|
2859
|
-
on_context_menu: EventType[()] | None = None,
|
|
2860
|
-
on_double_click: EventType[()] | None = None,
|
|
2857
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2858
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2859
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
2861
2860
|
on_focus: EventType[()] | None = None,
|
|
2862
2861
|
on_mount: EventType[()] | None = None,
|
|
2863
2862
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -2868,6 +2867,7 @@ class Portal(BaseHTML):
|
|
|
2868
2867
|
on_mouse_over: EventType[()] | None = None,
|
|
2869
2868
|
on_mouse_up: EventType[()] | None = None,
|
|
2870
2869
|
on_scroll: EventType[()] | None = None,
|
|
2870
|
+
on_scroll_end: EventType[()] | None = None,
|
|
2871
2871
|
on_unmount: EventType[()] | None = None,
|
|
2872
2872
|
**props,
|
|
2873
2873
|
) -> Portal:
|
|
@@ -2905,9 +2905,8 @@ class Portal(BaseHTML):
|
|
|
2905
2905
|
"""
|
|
2906
2906
|
|
|
2907
2907
|
class Source(BaseHTML):
|
|
2908
|
-
@overload
|
|
2909
2908
|
@classmethod
|
|
2910
|
-
def create(
|
|
2909
|
+
def create(
|
|
2911
2910
|
cls,
|
|
2912
2911
|
*children,
|
|
2913
2912
|
media: Var[str] | str | None = None,
|
|
@@ -3105,9 +3104,9 @@ class Source(BaseHTML):
|
|
|
3105
3104
|
autofocus: bool | None = None,
|
|
3106
3105
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3107
3106
|
on_blur: EventType[()] | None = None,
|
|
3108
|
-
on_click: EventType[()] | None = None,
|
|
3109
|
-
on_context_menu: EventType[()] | None = None,
|
|
3110
|
-
on_double_click: EventType[()] | None = None,
|
|
3107
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3108
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3109
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3111
3110
|
on_focus: EventType[()] | None = None,
|
|
3112
3111
|
on_mount: EventType[()] | None = None,
|
|
3113
3112
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -3118,6 +3117,7 @@ class Source(BaseHTML):
|
|
|
3118
3117
|
on_mouse_over: EventType[()] | None = None,
|
|
3119
3118
|
on_mouse_up: EventType[()] | None = None,
|
|
3120
3119
|
on_scroll: EventType[()] | None = None,
|
|
3120
|
+
on_scroll_end: EventType[()] | None = None,
|
|
3121
3121
|
on_unmount: EventType[()] | None = None,
|
|
3122
3122
|
**props,
|
|
3123
3123
|
) -> Source:
|
|
@@ -3160,9 +3160,8 @@ class Source(BaseHTML):
|
|
|
3160
3160
|
"""
|
|
3161
3161
|
|
|
3162
3162
|
class Svg(BaseHTML):
|
|
3163
|
-
@overload
|
|
3164
3163
|
@classmethod
|
|
3165
|
-
def create(
|
|
3164
|
+
def create(
|
|
3166
3165
|
cls,
|
|
3167
3166
|
*children,
|
|
3168
3167
|
width: Var[int | str] | int | str | None = None,
|
|
@@ -3358,9 +3357,9 @@ class Svg(BaseHTML):
|
|
|
3358
3357
|
autofocus: bool | None = None,
|
|
3359
3358
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3360
3359
|
on_blur: EventType[()] | None = None,
|
|
3361
|
-
on_click: EventType[()] | None = None,
|
|
3362
|
-
on_context_menu: EventType[()] | None = None,
|
|
3363
|
-
on_double_click: EventType[()] | None = None,
|
|
3360
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3361
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3362
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3364
3363
|
on_focus: EventType[()] | None = None,
|
|
3365
3364
|
on_mount: EventType[()] | None = None,
|
|
3366
3365
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -3371,6 +3370,7 @@ class Svg(BaseHTML):
|
|
|
3371
3370
|
on_mouse_over: EventType[()] | None = None,
|
|
3372
3371
|
on_mouse_up: EventType[()] | None = None,
|
|
3373
3372
|
on_scroll: EventType[()] | None = None,
|
|
3373
|
+
on_scroll_end: EventType[()] | None = None,
|
|
3374
3374
|
on_unmount: EventType[()] | None = None,
|
|
3375
3375
|
**props,
|
|
3376
3376
|
) -> Svg:
|
|
@@ -3411,9 +3411,8 @@ class Svg(BaseHTML):
|
|
|
3411
3411
|
"""
|
|
3412
3412
|
|
|
3413
3413
|
class Text(BaseHTML):
|
|
3414
|
-
@overload
|
|
3415
3414
|
@classmethod
|
|
3416
|
-
def create(
|
|
3415
|
+
def create(
|
|
3417
3416
|
cls,
|
|
3418
3417
|
*children,
|
|
3419
3418
|
x: Var[int | str] | int | str | None = None,
|
|
@@ -3613,9 +3612,9 @@ class Text(BaseHTML):
|
|
|
3613
3612
|
autofocus: bool | None = None,
|
|
3614
3613
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3615
3614
|
on_blur: EventType[()] | None = None,
|
|
3616
|
-
on_click: EventType[()] | None = None,
|
|
3617
|
-
on_context_menu: EventType[()] | None = None,
|
|
3618
|
-
on_double_click: EventType[()] | None = None,
|
|
3615
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3616
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3617
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3619
3618
|
on_focus: EventType[()] | None = None,
|
|
3620
3619
|
on_mount: EventType[()] | None = None,
|
|
3621
3620
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -3626,6 +3625,7 @@ class Text(BaseHTML):
|
|
|
3626
3625
|
on_mouse_over: EventType[()] | None = None,
|
|
3627
3626
|
on_mouse_up: EventType[()] | None = None,
|
|
3628
3627
|
on_scroll: EventType[()] | None = None,
|
|
3628
|
+
on_scroll_end: EventType[()] | None = None,
|
|
3629
3629
|
on_unmount: EventType[()] | None = None,
|
|
3630
3630
|
**props,
|
|
3631
3631
|
) -> Text:
|
|
@@ -3670,9 +3670,8 @@ class Text(BaseHTML):
|
|
|
3670
3670
|
"""
|
|
3671
3671
|
|
|
3672
3672
|
class Line(BaseHTML):
|
|
3673
|
-
@overload
|
|
3674
3673
|
@classmethod
|
|
3675
|
-
def create(
|
|
3674
|
+
def create(
|
|
3676
3675
|
cls,
|
|
3677
3676
|
*children,
|
|
3678
3677
|
x1: Var[int | str] | int | str | None = None,
|
|
@@ -3870,9 +3869,9 @@ class Line(BaseHTML):
|
|
|
3870
3869
|
autofocus: bool | None = None,
|
|
3871
3870
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3872
3871
|
on_blur: EventType[()] | None = None,
|
|
3873
|
-
on_click: EventType[()] | None = None,
|
|
3874
|
-
on_context_menu: EventType[()] | None = None,
|
|
3875
|
-
on_double_click: EventType[()] | None = None,
|
|
3872
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3873
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3874
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
3876
3875
|
on_focus: EventType[()] | None = None,
|
|
3877
3876
|
on_mount: EventType[()] | None = None,
|
|
3878
3877
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -3883,6 +3882,7 @@ class Line(BaseHTML):
|
|
|
3883
3882
|
on_mouse_over: EventType[()] | None = None,
|
|
3884
3883
|
on_mouse_up: EventType[()] | None = None,
|
|
3885
3884
|
on_scroll: EventType[()] | None = None,
|
|
3885
|
+
on_scroll_end: EventType[()] | None = None,
|
|
3886
3886
|
on_unmount: EventType[()] | None = None,
|
|
3887
3887
|
**props,
|
|
3888
3888
|
) -> Line:
|
|
@@ -3925,9 +3925,8 @@ class Line(BaseHTML):
|
|
|
3925
3925
|
"""
|
|
3926
3926
|
|
|
3927
3927
|
class Circle(BaseHTML):
|
|
3928
|
-
@overload
|
|
3929
3928
|
@classmethod
|
|
3930
|
-
def create(
|
|
3929
|
+
def create(
|
|
3931
3930
|
cls,
|
|
3932
3931
|
*children,
|
|
3933
3932
|
cx: Var[int | str] | int | str | None = None,
|
|
@@ -4124,9 +4123,9 @@ class Circle(BaseHTML):
|
|
|
4124
4123
|
autofocus: bool | None = None,
|
|
4125
4124
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4126
4125
|
on_blur: EventType[()] | None = None,
|
|
4127
|
-
on_click: EventType[()] | None = None,
|
|
4128
|
-
on_context_menu: EventType[()] | None = None,
|
|
4129
|
-
on_double_click: EventType[()] | None = None,
|
|
4126
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4127
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4128
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4130
4129
|
on_focus: EventType[()] | None = None,
|
|
4131
4130
|
on_mount: EventType[()] | None = None,
|
|
4132
4131
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -4137,6 +4136,7 @@ class Circle(BaseHTML):
|
|
|
4137
4136
|
on_mouse_over: EventType[()] | None = None,
|
|
4138
4137
|
on_mouse_up: EventType[()] | None = None,
|
|
4139
4138
|
on_scroll: EventType[()] | None = None,
|
|
4139
|
+
on_scroll_end: EventType[()] | None = None,
|
|
4140
4140
|
on_unmount: EventType[()] | None = None,
|
|
4141
4141
|
**props,
|
|
4142
4142
|
) -> Circle:
|
|
@@ -4178,9 +4178,8 @@ class Circle(BaseHTML):
|
|
|
4178
4178
|
"""
|
|
4179
4179
|
|
|
4180
4180
|
class Ellipse(BaseHTML):
|
|
4181
|
-
@overload
|
|
4182
4181
|
@classmethod
|
|
4183
|
-
def create(
|
|
4182
|
+
def create(
|
|
4184
4183
|
cls,
|
|
4185
4184
|
*children,
|
|
4186
4185
|
cx: Var[int | str] | int | str | None = None,
|
|
@@ -4378,9 +4377,9 @@ class Ellipse(BaseHTML):
|
|
|
4378
4377
|
autofocus: bool | None = None,
|
|
4379
4378
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4380
4379
|
on_blur: EventType[()] | None = None,
|
|
4381
|
-
on_click: EventType[()] | None = None,
|
|
4382
|
-
on_context_menu: EventType[()] | None = None,
|
|
4383
|
-
on_double_click: EventType[()] | None = None,
|
|
4380
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4381
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4382
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4384
4383
|
on_focus: EventType[()] | None = None,
|
|
4385
4384
|
on_mount: EventType[()] | None = None,
|
|
4386
4385
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -4391,6 +4390,7 @@ class Ellipse(BaseHTML):
|
|
|
4391
4390
|
on_mouse_over: EventType[()] | None = None,
|
|
4392
4391
|
on_mouse_up: EventType[()] | None = None,
|
|
4393
4392
|
on_scroll: EventType[()] | None = None,
|
|
4393
|
+
on_scroll_end: EventType[()] | None = None,
|
|
4394
4394
|
on_unmount: EventType[()] | None = None,
|
|
4395
4395
|
**props,
|
|
4396
4396
|
) -> Ellipse:
|
|
@@ -4433,9 +4433,8 @@ class Ellipse(BaseHTML):
|
|
|
4433
4433
|
"""
|
|
4434
4434
|
|
|
4435
4435
|
class Rect(BaseHTML):
|
|
4436
|
-
@overload
|
|
4437
4436
|
@classmethod
|
|
4438
|
-
def create(
|
|
4437
|
+
def create(
|
|
4439
4438
|
cls,
|
|
4440
4439
|
*children,
|
|
4441
4440
|
x: Var[int | str] | int | str | None = None,
|
|
@@ -4635,9 +4634,9 @@ class Rect(BaseHTML):
|
|
|
4635
4634
|
autofocus: bool | None = None,
|
|
4636
4635
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4637
4636
|
on_blur: EventType[()] | None = None,
|
|
4638
|
-
on_click: EventType[()] | None = None,
|
|
4639
|
-
on_context_menu: EventType[()] | None = None,
|
|
4640
|
-
on_double_click: EventType[()] | None = None,
|
|
4637
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4638
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4639
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4641
4640
|
on_focus: EventType[()] | None = None,
|
|
4642
4641
|
on_mount: EventType[()] | None = None,
|
|
4643
4642
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -4648,6 +4647,7 @@ class Rect(BaseHTML):
|
|
|
4648
4647
|
on_mouse_over: EventType[()] | None = None,
|
|
4649
4648
|
on_mouse_up: EventType[()] | None = None,
|
|
4650
4649
|
on_scroll: EventType[()] | None = None,
|
|
4650
|
+
on_scroll_end: EventType[()] | None = None,
|
|
4651
4651
|
on_unmount: EventType[()] | None = None,
|
|
4652
4652
|
**props,
|
|
4653
4653
|
) -> Rect:
|
|
@@ -4692,9 +4692,8 @@ class Rect(BaseHTML):
|
|
|
4692
4692
|
"""
|
|
4693
4693
|
|
|
4694
4694
|
class Polygon(BaseHTML):
|
|
4695
|
-
@overload
|
|
4696
4695
|
@classmethod
|
|
4697
|
-
def create(
|
|
4696
|
+
def create(
|
|
4698
4697
|
cls,
|
|
4699
4698
|
*children,
|
|
4700
4699
|
points: Var[str] | str | None = None,
|
|
@@ -4889,9 +4888,9 @@ class Polygon(BaseHTML):
|
|
|
4889
4888
|
autofocus: bool | None = None,
|
|
4890
4889
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4891
4890
|
on_blur: EventType[()] | None = None,
|
|
4892
|
-
on_click: EventType[()] | None = None,
|
|
4893
|
-
on_context_menu: EventType[()] | None = None,
|
|
4894
|
-
on_double_click: EventType[()] | None = None,
|
|
4891
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4892
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4893
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
4895
4894
|
on_focus: EventType[()] | None = None,
|
|
4896
4895
|
on_mount: EventType[()] | None = None,
|
|
4897
4896
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -4902,6 +4901,7 @@ class Polygon(BaseHTML):
|
|
|
4902
4901
|
on_mouse_over: EventType[()] | None = None,
|
|
4903
4902
|
on_mouse_up: EventType[()] | None = None,
|
|
4904
4903
|
on_scroll: EventType[()] | None = None,
|
|
4904
|
+
on_scroll_end: EventType[()] | None = None,
|
|
4905
4905
|
on_unmount: EventType[()] | None = None,
|
|
4906
4906
|
**props,
|
|
4907
4907
|
) -> Polygon:
|
|
@@ -4941,9 +4941,8 @@ class Polygon(BaseHTML):
|
|
|
4941
4941
|
"""
|
|
4942
4942
|
|
|
4943
4943
|
class Defs(BaseHTML):
|
|
4944
|
-
@overload
|
|
4945
4944
|
@classmethod
|
|
4946
|
-
def create(
|
|
4945
|
+
def create(
|
|
4947
4946
|
cls,
|
|
4948
4947
|
*children,
|
|
4949
4948
|
access_key: Var[str] | str | None = None,
|
|
@@ -5136,9 +5135,9 @@ class Defs(BaseHTML):
|
|
|
5136
5135
|
autofocus: bool | None = None,
|
|
5137
5136
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
5138
5137
|
on_blur: EventType[()] | None = None,
|
|
5139
|
-
on_click: EventType[()] | None = None,
|
|
5140
|
-
on_context_menu: EventType[()] | None = None,
|
|
5141
|
-
on_double_click: EventType[()] | None = None,
|
|
5138
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5139
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5140
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5142
5141
|
on_focus: EventType[()] | None = None,
|
|
5143
5142
|
on_mount: EventType[()] | None = None,
|
|
5144
5143
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -5149,6 +5148,7 @@ class Defs(BaseHTML):
|
|
|
5149
5148
|
on_mouse_over: EventType[()] | None = None,
|
|
5150
5149
|
on_mouse_up: EventType[()] | None = None,
|
|
5151
5150
|
on_scroll: EventType[()] | None = None,
|
|
5151
|
+
on_scroll_end: EventType[()] | None = None,
|
|
5152
5152
|
on_unmount: EventType[()] | None = None,
|
|
5153
5153
|
**props,
|
|
5154
5154
|
) -> Defs:
|
|
@@ -5186,9 +5186,8 @@ class Defs(BaseHTML):
|
|
|
5186
5186
|
"""
|
|
5187
5187
|
|
|
5188
5188
|
class LinearGradient(BaseHTML):
|
|
5189
|
-
@overload
|
|
5190
5189
|
@classmethod
|
|
5191
|
-
def create(
|
|
5190
|
+
def create(
|
|
5192
5191
|
cls,
|
|
5193
5192
|
*children,
|
|
5194
5193
|
gradient_units: Var[bool | str] | bool | str | None = None,
|
|
@@ -5388,9 +5387,9 @@ class LinearGradient(BaseHTML):
|
|
|
5388
5387
|
autofocus: bool | None = None,
|
|
5389
5388
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
5390
5389
|
on_blur: EventType[()] | None = None,
|
|
5391
|
-
on_click: EventType[()] | None = None,
|
|
5392
|
-
on_context_menu: EventType[()] | None = None,
|
|
5393
|
-
on_double_click: EventType[()] | None = None,
|
|
5390
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5391
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5392
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5394
5393
|
on_focus: EventType[()] | None = None,
|
|
5395
5394
|
on_mount: EventType[()] | None = None,
|
|
5396
5395
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -5401,6 +5400,7 @@ class LinearGradient(BaseHTML):
|
|
|
5401
5400
|
on_mouse_over: EventType[()] | None = None,
|
|
5402
5401
|
on_mouse_up: EventType[()] | None = None,
|
|
5403
5402
|
on_scroll: EventType[()] | None = None,
|
|
5403
|
+
on_scroll_end: EventType[()] | None = None,
|
|
5404
5404
|
on_unmount: EventType[()] | None = None,
|
|
5405
5405
|
**props,
|
|
5406
5406
|
) -> LinearGradient:
|
|
@@ -5445,9 +5445,8 @@ class LinearGradient(BaseHTML):
|
|
|
5445
5445
|
"""
|
|
5446
5446
|
|
|
5447
5447
|
class RadialGradient(BaseHTML):
|
|
5448
|
-
@overload
|
|
5449
5448
|
@classmethod
|
|
5450
|
-
def create(
|
|
5449
|
+
def create(
|
|
5451
5450
|
cls,
|
|
5452
5451
|
*children,
|
|
5453
5452
|
cx: Var[float | int | str] | float | int | str | None = None,
|
|
@@ -5649,9 +5648,9 @@ class RadialGradient(BaseHTML):
|
|
|
5649
5648
|
autofocus: bool | None = None,
|
|
5650
5649
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
5651
5650
|
on_blur: EventType[()] | None = None,
|
|
5652
|
-
on_click: EventType[()] | None = None,
|
|
5653
|
-
on_context_menu: EventType[()] | None = None,
|
|
5654
|
-
on_double_click: EventType[()] | None = None,
|
|
5651
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5652
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5653
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5655
5654
|
on_focus: EventType[()] | None = None,
|
|
5656
5655
|
on_mount: EventType[()] | None = None,
|
|
5657
5656
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -5662,6 +5661,7 @@ class RadialGradient(BaseHTML):
|
|
|
5662
5661
|
on_mouse_over: EventType[()] | None = None,
|
|
5663
5662
|
on_mouse_up: EventType[()] | None = None,
|
|
5664
5663
|
on_scroll: EventType[()] | None = None,
|
|
5664
|
+
on_scroll_end: EventType[()] | None = None,
|
|
5665
5665
|
on_unmount: EventType[()] | None = None,
|
|
5666
5666
|
**props,
|
|
5667
5667
|
) -> RadialGradient:
|
|
@@ -5708,9 +5708,8 @@ class RadialGradient(BaseHTML):
|
|
|
5708
5708
|
"""
|
|
5709
5709
|
|
|
5710
5710
|
class Stop(BaseHTML):
|
|
5711
|
-
@overload
|
|
5712
5711
|
@classmethod
|
|
5713
|
-
def create(
|
|
5712
|
+
def create(
|
|
5714
5713
|
cls,
|
|
5715
5714
|
*children,
|
|
5716
5715
|
offset: Var[float | int | str] | float | int | str | None = None,
|
|
@@ -5911,9 +5910,9 @@ class Stop(BaseHTML):
|
|
|
5911
5910
|
autofocus: bool | None = None,
|
|
5912
5911
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
5913
5912
|
on_blur: EventType[()] | None = None,
|
|
5914
|
-
on_click: EventType[()] | None = None,
|
|
5915
|
-
on_context_menu: EventType[()] | None = None,
|
|
5916
|
-
on_double_click: EventType[()] | None = None,
|
|
5913
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5914
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5915
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
5917
5916
|
on_focus: EventType[()] | None = None,
|
|
5918
5917
|
on_mount: EventType[()] | None = None,
|
|
5919
5918
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -5924,6 +5923,7 @@ class Stop(BaseHTML):
|
|
|
5924
5923
|
on_mouse_over: EventType[()] | None = None,
|
|
5925
5924
|
on_mouse_up: EventType[()] | None = None,
|
|
5926
5925
|
on_scroll: EventType[()] | None = None,
|
|
5926
|
+
on_scroll_end: EventType[()] | None = None,
|
|
5927
5927
|
on_unmount: EventType[()] | None = None,
|
|
5928
5928
|
**props,
|
|
5929
5929
|
) -> Stop:
|
|
@@ -5964,9 +5964,8 @@ class Stop(BaseHTML):
|
|
|
5964
5964
|
"""
|
|
5965
5965
|
|
|
5966
5966
|
class Path(BaseHTML):
|
|
5967
|
-
@overload
|
|
5968
5967
|
@classmethod
|
|
5969
|
-
def create(
|
|
5968
|
+
def create(
|
|
5970
5969
|
cls,
|
|
5971
5970
|
*children,
|
|
5972
5971
|
d: Var[float | int | str] | float | int | str | None = None,
|
|
@@ -6160,9 +6159,9 @@ class Path(BaseHTML):
|
|
|
6160
6159
|
autofocus: bool | None = None,
|
|
6161
6160
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
6162
6161
|
on_blur: EventType[()] | None = None,
|
|
6163
|
-
on_click: EventType[()] | None = None,
|
|
6164
|
-
on_context_menu: EventType[()] | None = None,
|
|
6165
|
-
on_double_click: EventType[()] | None = None,
|
|
6162
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6163
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6164
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6166
6165
|
on_focus: EventType[()] | None = None,
|
|
6167
6166
|
on_mount: EventType[()] | None = None,
|
|
6168
6167
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -6173,6 +6172,7 @@ class Path(BaseHTML):
|
|
|
6173
6172
|
on_mouse_over: EventType[()] | None = None,
|
|
6174
6173
|
on_mouse_up: EventType[()] | None = None,
|
|
6175
6174
|
on_scroll: EventType[()] | None = None,
|
|
6175
|
+
on_scroll_end: EventType[()] | None = None,
|
|
6176
6176
|
on_unmount: EventType[()] | None = None,
|
|
6177
6177
|
**props,
|
|
6178
6178
|
) -> Path:
|
|
@@ -6211,9 +6211,8 @@ class Path(BaseHTML):
|
|
|
6211
6211
|
"""
|
|
6212
6212
|
|
|
6213
6213
|
class G(BaseHTML):
|
|
6214
|
-
@overload
|
|
6215
6214
|
@classmethod
|
|
6216
|
-
def create(
|
|
6215
|
+
def create(
|
|
6217
6216
|
cls,
|
|
6218
6217
|
*children,
|
|
6219
6218
|
fill: Color | Var[Color | str] | str | None = None,
|
|
@@ -6412,9 +6411,9 @@ class G(BaseHTML):
|
|
|
6412
6411
|
autofocus: bool | None = None,
|
|
6413
6412
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
6414
6413
|
on_blur: EventType[()] | None = None,
|
|
6415
|
-
on_click: EventType[()] | None = None,
|
|
6416
|
-
on_context_menu: EventType[()] | None = None,
|
|
6417
|
-
on_double_click: EventType[()] | None = None,
|
|
6414
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6415
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6416
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6418
6417
|
on_focus: EventType[()] | None = None,
|
|
6419
6418
|
on_mount: EventType[()] | None = None,
|
|
6420
6419
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -6425,6 +6424,7 @@ class G(BaseHTML):
|
|
|
6425
6424
|
on_mouse_over: EventType[()] | None = None,
|
|
6426
6425
|
on_mouse_up: EventType[()] | None = None,
|
|
6427
6426
|
on_scroll: EventType[()] | None = None,
|
|
6427
|
+
on_scroll_end: EventType[()] | None = None,
|
|
6428
6428
|
on_unmount: EventType[()] | None = None,
|
|
6429
6429
|
**props,
|
|
6430
6430
|
) -> G:
|
|
@@ -6677,9 +6677,9 @@ class SVG(ComponentNamespace):
|
|
|
6677
6677
|
autofocus: bool | None = None,
|
|
6678
6678
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
6679
6679
|
on_blur: EventType[()] | None = None,
|
|
6680
|
-
on_click: EventType[()] | None = None,
|
|
6681
|
-
on_context_menu: EventType[()] | None = None,
|
|
6682
|
-
on_double_click: EventType[()] | None = None,
|
|
6680
|
+
on_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6681
|
+
on_context_menu: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6682
|
+
on_double_click: EventType[()] | EventType[PointerEventInfo] | None = None,
|
|
6683
6683
|
on_focus: EventType[()] | None = None,
|
|
6684
6684
|
on_mount: EventType[()] | None = None,
|
|
6685
6685
|
on_mouse_down: EventType[()] | None = None,
|
|
@@ -6690,6 +6690,7 @@ class SVG(ComponentNamespace):
|
|
|
6690
6690
|
on_mouse_over: EventType[()] | None = None,
|
|
6691
6691
|
on_mouse_up: EventType[()] | None = None,
|
|
6692
6692
|
on_scroll: EventType[()] | None = None,
|
|
6693
|
+
on_scroll_end: EventType[()] | None = None,
|
|
6693
6694
|
on_unmount: EventType[()] | None = None,
|
|
6694
6695
|
**props,
|
|
6695
6696
|
) -> Svg:
|