reflex 0.6.8a2__py3-none-any.whl → 0.7.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/custom_components/pyproject.toml.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +7 -7
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +3 -3
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +1 -4
- reflex/.templates/web/utils/state.js +65 -36
- reflex/__init__.py +4 -17
- reflex/__init__.pyi +1 -2
- reflex/app.py +286 -129
- reflex/app_mixins/lifespan.py +9 -9
- reflex/app_mixins/middleware.py +6 -6
- reflex/app_module_for_backend.py +3 -7
- reflex/base.py +7 -7
- reflex/compiler/compiler.py +8 -0
- reflex/compiler/utils.py +57 -18
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/bare.py +1 -1
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.py +2 -1
- reflex/components/base/error_boundary.pyi +19 -22
- reflex/components/base/fragment.pyi +16 -16
- reflex/components/base/head.pyi +31 -31
- reflex/components/base/link.pyi +31 -31
- reflex/components/base/meta.py +2 -2
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.py +10 -0
- reflex/components/base/strict_mode.pyi +57 -0
- reflex/components/component.py +38 -77
- reflex/components/core/banner.py +159 -4
- reflex/components/core/banner.pyi +162 -76
- reflex/components/core/breakpoints.py +3 -1
- reflex/components/core/client_side_routing.py +1 -1
- reflex/components/core/client_side_routing.pyi +32 -32
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/cond.py +9 -10
- reflex/components/core/debounce.py +1 -1
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +28 -3
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/match.py +5 -5
- reflex/components/core/sticky.py +134 -0
- reflex/components/core/sticky.pyi +449 -0
- reflex/components/core/upload.py +2 -2
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.py +5 -14
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.py +7 -4
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/logo.py +13 -8
- reflex/components/datadisplay/shiki_code_block.py +14 -9
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/dynamic.py +22 -3
- reflex/components/el/constants/reflex.py +1 -1
- reflex/components/el/element.py +1 -1
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.py +4 -4
- reflex/components/el/elements/forms.pyi +224 -258
- reflex/components/el/elements/inline.pyi +421 -421
- reflex/components/el/elements/media.pyi +376 -376
- reflex/components/el/elements/metadata.pyi +91 -91
- reflex/components/el/elements/other.pyi +106 -106
- reflex/components/el/elements/scripts.pyi +46 -46
- reflex/components/el/elements/sectioning.pyi +226 -226
- reflex/components/el/elements/tables.pyi +151 -151
- reflex/components/el/elements/typography.pyi +226 -226
- reflex/components/gridjs/datatable.pyi +31 -31
- reflex/components/lucide/icon.py +46 -8
- reflex/components/lucide/icon.pyi +85 -31
- reflex/components/markdown/markdown.py +10 -8
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.py +2 -2
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.py +16 -4
- reflex/components/next/image.pyi +22 -20
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/__init__.py +29 -2
- reflex/components/plotly/plotly.py +240 -5
- reflex/components/plotly/plotly.pyi +799 -44
- reflex/components/props.py +3 -3
- reflex/components/radix/__init__.pyi +1 -1
- reflex/components/radix/primitives/accordion.py +9 -5
- reflex/components/radix/primitives/accordion.pyi +110 -108
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.py +5 -2
- reflex/components/radix/primitives/drawer.pyi +179 -187
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.py +11 -9
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.py +3 -0
- reflex/components/radix/themes/components/alert_dialog.pyi +110 -112
- reflex/components/radix/themes/components/aspect_ratio.pyi +16 -16
- reflex/components/radix/themes/components/avatar.pyi +16 -16
- reflex/components/radix/themes/components/badge.pyi +16 -16
- reflex/components/radix/themes/components/button.pyi +16 -16
- reflex/components/radix/themes/components/callout.pyi +76 -76
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +17 -17
- reflex/components/radix/themes/components/checkbox.pyi +49 -55
- reflex/components/radix/themes/components/checkbox_cards.pyi +31 -31
- reflex/components/radix/themes/components/checkbox_group.pyi +31 -31
- reflex/components/radix/themes/components/context_menu.py +5 -0
- reflex/components/radix/themes/components/context_menu.pyi +149 -155
- reflex/components/radix/themes/components/data_list.pyi +61 -61
- reflex/components/radix/themes/components/dialog.py +3 -0
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.py +5 -0
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.py +3 -0
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.py +2 -2
- reflex/components/radix/themes/components/icon_button.pyi +17 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.py +3 -0
- reflex/components/radix/themes/components/popover.pyi +68 -70
- reflex/components/radix/themes/components/progress.pyi +16 -16
- reflex/components/radix/themes/components/radio.pyi +16 -16
- reflex/components/radix/themes/components/radio_cards.py +2 -0
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.py +1 -1
- reflex/components/radix/themes/components/radio_group.pyi +62 -64
- reflex/components/radix/themes/components/scroll_area.pyi +16 -16
- reflex/components/radix/themes/components/segmented_control.pyi +32 -35
- reflex/components/radix/themes/components/select.py +4 -0
- reflex/components/radix/themes/components/select.pyi +145 -157
- reflex/components/radix/themes/components/separator.pyi +16 -16
- reflex/components/radix/themes/components/skeleton.py +3 -0
- reflex/components/radix/themes/components/skeleton.pyi +16 -16
- reflex/components/radix/themes/components/slider.pyi +22 -28
- reflex/components/radix/themes/components/spinner.pyi +16 -16
- reflex/components/radix/themes/components/switch.pyi +17 -19
- reflex/components/radix/themes/components/table.pyi +106 -106
- reflex/components/radix/themes/components/tabs.py +3 -0
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.py +12 -0
- reflex/components/radix/themes/components/text_area.pyi +21 -33
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +6 -1
- reflex/components/radix/themes/components/tooltip.pyi +20 -21
- reflex/components/radix/themes/layout/__init__.pyi +1 -1
- reflex/components/radix/themes/layout/base.pyi +16 -16
- reflex/components/radix/themes/layout/box.pyi +16 -16
- reflex/components/radix/themes/layout/center.pyi +16 -16
- reflex/components/radix/themes/layout/container.pyi +16 -16
- reflex/components/radix/themes/layout/flex.pyi +16 -16
- reflex/components/radix/themes/layout/grid.pyi +16 -16
- reflex/components/radix/themes/layout/list.py +2 -2
- reflex/components/radix/themes/layout/list.pyi +76 -76
- reflex/components/radix/themes/layout/section.pyi +16 -16
- reflex/components/radix/themes/layout/spacer.pyi +16 -16
- reflex/components/radix/themes/layout/stack.py +2 -2
- reflex/components/radix/themes/layout/stack.pyi +46 -46
- reflex/components/radix/themes/typography/blockquote.pyi +16 -16
- reflex/components/radix/themes/typography/code.pyi +16 -16
- reflex/components/radix/themes/typography/heading.pyi +16 -16
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.py +2 -2
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/__init__.py +2 -0
- reflex/components/recharts/__init__.pyi +2 -0
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.py +15 -15
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.py +19 -4
- reflex/components/recharts/general.pyi +132 -81
- reflex/components/recharts/polar.py +2 -2
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.py +4 -4
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.py +15 -13
- reflex/components/sonner/toast.pyi +22 -22
- reflex/components/suneditor/editor.py +6 -4
- reflex/components/suneditor/editor.pyi +26 -40
- reflex/components/tags/iter_tag.py +3 -3
- reflex/components/tags/tag.py +25 -3
- reflex/config.py +48 -15
- reflex/constants/__init__.py +1 -0
- reflex/constants/base.py +4 -1
- reflex/constants/compiler.py +5 -2
- reflex/constants/config.py +8 -1
- reflex/constants/installer.py +9 -9
- reflex/constants/style.py +1 -1
- reflex/custom_components/custom_components.py +18 -10
- reflex/event.py +221 -231
- reflex/experimental/__init__.py +19 -11
- reflex/experimental/client_state.py +53 -28
- reflex/experimental/hooks.py +5 -5
- reflex/experimental/layout.py +8 -5
- reflex/experimental/layout.pyi +79 -83
- reflex/experimental/misc.py +3 -3
- reflex/istate/wrappers.py +1 -1
- reflex/middleware/hydrate_middleware.py +2 -2
- reflex/model.py +11 -6
- reflex/page.py +5 -5
- reflex/reflex.py +104 -26
- reflex/route.py +1 -1
- reflex/state.py +358 -401
- reflex/style.py +27 -3
- reflex/testing.py +29 -23
- reflex/utils/build.py +6 -2
- reflex/utils/codespaces.py +1 -4
- reflex/utils/compat.py +6 -5
- reflex/utils/console.py +71 -16
- reflex/utils/exceptions.py +89 -26
- reflex/utils/exec.py +69 -74
- reflex/utils/export.py +6 -1
- reflex/utils/format.py +8 -40
- reflex/utils/imports.py +5 -2
- reflex/utils/lazy_loader.py +7 -1
- reflex/utils/path_ops.py +74 -14
- reflex/utils/prerequisites.py +345 -68
- reflex/utils/processes.py +45 -32
- reflex/utils/pyi_generator.py +39 -33
- reflex/utils/registry.py +4 -4
- reflex/utils/serializers.py +1 -1
- reflex/utils/telemetry.py +5 -4
- reflex/utils/types.py +42 -18
- reflex/vars/base.py +695 -330
- reflex/vars/datetime.py +6 -7
- reflex/vars/dep_tracking.py +344 -0
- reflex/vars/function.py +11 -5
- reflex/vars/number.py +31 -43
- reflex/vars/object.py +74 -64
- reflex/vars/sequence.py +79 -67
- {reflex-0.6.8a2.dist-info → reflex-0.7.0.dist-info}/METADATA +7 -8
- reflex-0.7.0.dist-info/RECORD +401 -0
- {reflex-0.6.8a2.dist-info → reflex-0.7.0.dist-info}/WHEEL +1 -1
- reflex/experimental/assets.py +0 -37
- reflex-0.6.8a2.dist-info/RECORD +0 -397
- {reflex-0.6.8a2.dist-info → reflex-0.7.0.dist-info}/LICENSE +0 -0
- {reflex-0.6.8a2.dist-info → reflex-0.7.0.dist-info}/entry_points.txt +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
|
-
from reflex.event import
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -102,21 +102,21 @@ class Stack(Flex):
|
|
|
102
102
|
class_name: Optional[Any] = None,
|
|
103
103
|
autofocus: Optional[bool] = None,
|
|
104
104
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
105
|
-
on_blur: Optional[EventType[
|
|
106
|
-
on_click: Optional[EventType[
|
|
107
|
-
on_context_menu: Optional[EventType[
|
|
108
|
-
on_double_click: Optional[EventType[
|
|
109
|
-
on_focus: Optional[EventType[
|
|
110
|
-
on_mount: Optional[EventType[
|
|
111
|
-
on_mouse_down: Optional[EventType[
|
|
112
|
-
on_mouse_enter: Optional[EventType[
|
|
113
|
-
on_mouse_leave: Optional[EventType[
|
|
114
|
-
on_mouse_move: Optional[EventType[
|
|
115
|
-
on_mouse_out: Optional[EventType[
|
|
116
|
-
on_mouse_over: Optional[EventType[
|
|
117
|
-
on_mouse_up: Optional[EventType[
|
|
118
|
-
on_scroll: Optional[EventType[
|
|
119
|
-
on_unmount: Optional[EventType[
|
|
105
|
+
on_blur: Optional[EventType[()]] = None,
|
|
106
|
+
on_click: Optional[EventType[()]] = None,
|
|
107
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
108
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
109
|
+
on_focus: Optional[EventType[()]] = None,
|
|
110
|
+
on_mount: Optional[EventType[()]] = None,
|
|
111
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
112
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
113
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
114
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
115
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
116
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
117
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
118
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
119
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
120
120
|
**props,
|
|
121
121
|
) -> "Stack":
|
|
122
122
|
"""Create a new instance of the component.
|
|
@@ -237,21 +237,21 @@ class VStack(Stack):
|
|
|
237
237
|
class_name: Optional[Any] = None,
|
|
238
238
|
autofocus: Optional[bool] = None,
|
|
239
239
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
240
|
-
on_blur: Optional[EventType[
|
|
241
|
-
on_click: Optional[EventType[
|
|
242
|
-
on_context_menu: Optional[EventType[
|
|
243
|
-
on_double_click: Optional[EventType[
|
|
244
|
-
on_focus: Optional[EventType[
|
|
245
|
-
on_mount: Optional[EventType[
|
|
246
|
-
on_mouse_down: Optional[EventType[
|
|
247
|
-
on_mouse_enter: Optional[EventType[
|
|
248
|
-
on_mouse_leave: Optional[EventType[
|
|
249
|
-
on_mouse_move: Optional[EventType[
|
|
250
|
-
on_mouse_out: Optional[EventType[
|
|
251
|
-
on_mouse_over: Optional[EventType[
|
|
252
|
-
on_mouse_up: Optional[EventType[
|
|
253
|
-
on_scroll: Optional[EventType[
|
|
254
|
-
on_unmount: Optional[EventType[
|
|
240
|
+
on_blur: Optional[EventType[()]] = None,
|
|
241
|
+
on_click: Optional[EventType[()]] = None,
|
|
242
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
243
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
244
|
+
on_focus: Optional[EventType[()]] = None,
|
|
245
|
+
on_mount: Optional[EventType[()]] = None,
|
|
246
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
247
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
248
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
249
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
250
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
251
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
252
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
253
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
254
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
255
255
|
**props,
|
|
256
256
|
) -> "VStack":
|
|
257
257
|
"""Create a new instance of the component.
|
|
@@ -372,21 +372,21 @@ class HStack(Stack):
|
|
|
372
372
|
class_name: Optional[Any] = None,
|
|
373
373
|
autofocus: Optional[bool] = None,
|
|
374
374
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
375
|
-
on_blur: Optional[EventType[
|
|
376
|
-
on_click: Optional[EventType[
|
|
377
|
-
on_context_menu: Optional[EventType[
|
|
378
|
-
on_double_click: Optional[EventType[
|
|
379
|
-
on_focus: Optional[EventType[
|
|
380
|
-
on_mount: Optional[EventType[
|
|
381
|
-
on_mouse_down: Optional[EventType[
|
|
382
|
-
on_mouse_enter: Optional[EventType[
|
|
383
|
-
on_mouse_leave: Optional[EventType[
|
|
384
|
-
on_mouse_move: Optional[EventType[
|
|
385
|
-
on_mouse_out: Optional[EventType[
|
|
386
|
-
on_mouse_over: Optional[EventType[
|
|
387
|
-
on_mouse_up: Optional[EventType[
|
|
388
|
-
on_scroll: Optional[EventType[
|
|
389
|
-
on_unmount: Optional[EventType[
|
|
375
|
+
on_blur: Optional[EventType[()]] = None,
|
|
376
|
+
on_click: Optional[EventType[()]] = None,
|
|
377
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
378
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
379
|
+
on_focus: Optional[EventType[()]] = None,
|
|
380
|
+
on_mount: Optional[EventType[()]] = None,
|
|
381
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
382
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
383
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
384
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
385
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
386
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
387
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
388
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
389
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
390
390
|
**props,
|
|
391
391
|
) -> "HStack":
|
|
392
392
|
"""Create a new instance of the component.
|
|
@@ -7,7 +7,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
7
7
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
|
-
from reflex.event import
|
|
10
|
+
from reflex.event import EventType
|
|
11
11
|
from reflex.style import Style
|
|
12
12
|
from reflex.vars.base import Var
|
|
13
13
|
|
|
@@ -139,21 +139,21 @@ class Blockquote(elements.Blockquote, RadixThemesComponent):
|
|
|
139
139
|
class_name: Optional[Any] = None,
|
|
140
140
|
autofocus: Optional[bool] = None,
|
|
141
141
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
142
|
-
on_blur: Optional[EventType[
|
|
143
|
-
on_click: Optional[EventType[
|
|
144
|
-
on_context_menu: Optional[EventType[
|
|
145
|
-
on_double_click: Optional[EventType[
|
|
146
|
-
on_focus: Optional[EventType[
|
|
147
|
-
on_mount: Optional[EventType[
|
|
148
|
-
on_mouse_down: Optional[EventType[
|
|
149
|
-
on_mouse_enter: Optional[EventType[
|
|
150
|
-
on_mouse_leave: Optional[EventType[
|
|
151
|
-
on_mouse_move: Optional[EventType[
|
|
152
|
-
on_mouse_out: Optional[EventType[
|
|
153
|
-
on_mouse_over: Optional[EventType[
|
|
154
|
-
on_mouse_up: Optional[EventType[
|
|
155
|
-
on_scroll: Optional[EventType[
|
|
156
|
-
on_unmount: Optional[EventType[
|
|
142
|
+
on_blur: Optional[EventType[()]] = None,
|
|
143
|
+
on_click: Optional[EventType[()]] = None,
|
|
144
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
145
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
146
|
+
on_focus: Optional[EventType[()]] = None,
|
|
147
|
+
on_mount: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
149
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
150
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
151
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
152
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
153
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
154
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
155
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
156
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
157
157
|
**props,
|
|
158
158
|
) -> "Blockquote":
|
|
159
159
|
"""Create a new component instance.
|
|
@@ -8,7 +8,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
11
|
-
from reflex.event import
|
|
11
|
+
from reflex.event import EventType
|
|
12
12
|
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
@@ -145,21 +145,21 @@ class Code(elements.Code, RadixThemesComponent, MarkdownComponentMap):
|
|
|
145
145
|
class_name: Optional[Any] = None,
|
|
146
146
|
autofocus: Optional[bool] = None,
|
|
147
147
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
148
|
-
on_blur: Optional[EventType[
|
|
149
|
-
on_click: Optional[EventType[
|
|
150
|
-
on_context_menu: Optional[EventType[
|
|
151
|
-
on_double_click: Optional[EventType[
|
|
152
|
-
on_focus: Optional[EventType[
|
|
153
|
-
on_mount: Optional[EventType[
|
|
154
|
-
on_mouse_down: Optional[EventType[
|
|
155
|
-
on_mouse_enter: Optional[EventType[
|
|
156
|
-
on_mouse_leave: Optional[EventType[
|
|
157
|
-
on_mouse_move: Optional[EventType[
|
|
158
|
-
on_mouse_out: Optional[EventType[
|
|
159
|
-
on_mouse_over: Optional[EventType[
|
|
160
|
-
on_mouse_up: Optional[EventType[
|
|
161
|
-
on_scroll: Optional[EventType[
|
|
162
|
-
on_unmount: Optional[EventType[
|
|
148
|
+
on_blur: Optional[EventType[()]] = None,
|
|
149
|
+
on_click: Optional[EventType[()]] = None,
|
|
150
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
151
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
152
|
+
on_focus: Optional[EventType[()]] = None,
|
|
153
|
+
on_mount: Optional[EventType[()]] = None,
|
|
154
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
155
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
156
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
157
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
158
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
159
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
160
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
161
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
162
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
163
163
|
**props,
|
|
164
164
|
) -> "Code":
|
|
165
165
|
"""Create a new component instance.
|
|
@@ -8,7 +8,7 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
8
8
|
from reflex.components.core.breakpoints import Breakpoints
|
|
9
9
|
from reflex.components.el import elements
|
|
10
10
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
11
|
-
from reflex.event import
|
|
11
|
+
from reflex.event import EventType
|
|
12
12
|
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
@@ -165,21 +165,21 @@ class Heading(elements.H1, RadixThemesComponent, MarkdownComponentMap):
|
|
|
165
165
|
class_name: Optional[Any] = None,
|
|
166
166
|
autofocus: Optional[bool] = None,
|
|
167
167
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
168
|
-
on_blur: Optional[EventType[
|
|
169
|
-
on_click: Optional[EventType[
|
|
170
|
-
on_context_menu: Optional[EventType[
|
|
171
|
-
on_double_click: Optional[EventType[
|
|
172
|
-
on_focus: Optional[EventType[
|
|
173
|
-
on_mount: Optional[EventType[
|
|
174
|
-
on_mouse_down: Optional[EventType[
|
|
175
|
-
on_mouse_enter: Optional[EventType[
|
|
176
|
-
on_mouse_leave: Optional[EventType[
|
|
177
|
-
on_mouse_move: Optional[EventType[
|
|
178
|
-
on_mouse_out: Optional[EventType[
|
|
179
|
-
on_mouse_over: Optional[EventType[
|
|
180
|
-
on_mouse_up: Optional[EventType[
|
|
181
|
-
on_scroll: Optional[EventType[
|
|
182
|
-
on_unmount: Optional[EventType[
|
|
168
|
+
on_blur: Optional[EventType[()]] = None,
|
|
169
|
+
on_click: Optional[EventType[()]] = None,
|
|
170
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
171
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
172
|
+
on_focus: Optional[EventType[()]] = None,
|
|
173
|
+
on_mount: Optional[EventType[()]] = None,
|
|
174
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
175
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
176
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
177
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
178
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
179
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
180
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
181
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
182
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
183
183
|
**props,
|
|
184
184
|
) -> "Heading":
|
|
185
185
|
"""Create a new component instance.
|
|
@@ -60,7 +60,7 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|
|
60
60
|
Returns:
|
|
61
61
|
The import dict.
|
|
62
62
|
"""
|
|
63
|
-
return next_link._get_imports() #
|
|
63
|
+
return next_link._get_imports() # pyright: ignore [reportReturnType]
|
|
64
64
|
|
|
65
65
|
@classmethod
|
|
66
66
|
def create(cls, *children, **props) -> Component:
|
|
@@ -10,7 +10,7 @@ from reflex.components.core.breakpoints import Breakpoints
|
|
|
10
10
|
from reflex.components.el.elements.inline import A
|
|
11
11
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
12
12
|
from reflex.components.next.link import NextLink
|
|
13
|
-
from reflex.event import
|
|
13
|
+
from reflex.event import EventType
|
|
14
14
|
from reflex.style import Style
|
|
15
15
|
from reflex.utils.imports import ImportDict
|
|
16
16
|
from reflex.vars.base import Var
|
|
@@ -177,21 +177,21 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|
|
177
177
|
class_name: Optional[Any] = None,
|
|
178
178
|
autofocus: Optional[bool] = None,
|
|
179
179
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
180
|
-
on_blur: Optional[EventType[
|
|
181
|
-
on_click: Optional[EventType[
|
|
182
|
-
on_context_menu: Optional[EventType[
|
|
183
|
-
on_double_click: Optional[EventType[
|
|
184
|
-
on_focus: Optional[EventType[
|
|
185
|
-
on_mount: Optional[EventType[
|
|
186
|
-
on_mouse_down: Optional[EventType[
|
|
187
|
-
on_mouse_enter: Optional[EventType[
|
|
188
|
-
on_mouse_leave: Optional[EventType[
|
|
189
|
-
on_mouse_move: Optional[EventType[
|
|
190
|
-
on_mouse_out: Optional[EventType[
|
|
191
|
-
on_mouse_over: Optional[EventType[
|
|
192
|
-
on_mouse_up: Optional[EventType[
|
|
193
|
-
on_scroll: Optional[EventType[
|
|
194
|
-
on_unmount: Optional[EventType[
|
|
180
|
+
on_blur: Optional[EventType[()]] = None,
|
|
181
|
+
on_click: Optional[EventType[()]] = None,
|
|
182
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
183
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
184
|
+
on_focus: Optional[EventType[()]] = None,
|
|
185
|
+
on_mount: Optional[EventType[()]] = None,
|
|
186
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
187
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
188
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
189
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
190
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
191
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
192
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
193
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
194
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
195
195
|
**props,
|
|
196
196
|
) -> "Link":
|
|
197
197
|
"""Create a Link component.
|
|
@@ -47,7 +47,7 @@ class Text(elements.Span, RadixThemesComponent, MarkdownComponentMap):
|
|
|
47
47
|
as_child: Var[bool]
|
|
48
48
|
|
|
49
49
|
# Change the default rendered element into a semantically appropriate alternative (cannot be used with asChild)
|
|
50
|
-
as_: Var[LiteralType] = "p"
|
|
50
|
+
as_: Var[LiteralType] = Var.create("p")
|
|
51
51
|
|
|
52
52
|
# Text size: "1" - "9"
|
|
53
53
|
size: Var[Responsive[LiteralTextSize]]
|
|
@@ -71,7 +71,7 @@ class Text(elements.Span, RadixThemesComponent, MarkdownComponentMap):
|
|
|
71
71
|
class Span(Text):
|
|
72
72
|
"""A variant of text rendering as <span> element."""
|
|
73
73
|
|
|
74
|
-
as_: Var[LiteralType] = "span"
|
|
74
|
+
as_: Var[LiteralType] = Var.create("span")
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
class Em(elements.Em, RadixThemesComponent):
|
|
@@ -9,7 +9,7 @@ from reflex.components.component import ComponentNamespace
|
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
11
|
from reflex.components.markdown.markdown import MarkdownComponentMap
|
|
12
|
-
from reflex.event import
|
|
12
|
+
from reflex.event import EventType
|
|
13
13
|
from reflex.style import Style
|
|
14
14
|
from reflex.vars.base import Var
|
|
15
15
|
|
|
@@ -232,21 +232,21 @@ class Text(elements.Span, RadixThemesComponent, MarkdownComponentMap):
|
|
|
232
232
|
class_name: Optional[Any] = None,
|
|
233
233
|
autofocus: Optional[bool] = None,
|
|
234
234
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
235
|
-
on_blur: Optional[EventType[
|
|
236
|
-
on_click: Optional[EventType[
|
|
237
|
-
on_context_menu: Optional[EventType[
|
|
238
|
-
on_double_click: Optional[EventType[
|
|
239
|
-
on_focus: Optional[EventType[
|
|
240
|
-
on_mount: Optional[EventType[
|
|
241
|
-
on_mouse_down: Optional[EventType[
|
|
242
|
-
on_mouse_enter: Optional[EventType[
|
|
243
|
-
on_mouse_leave: Optional[EventType[
|
|
244
|
-
on_mouse_move: Optional[EventType[
|
|
245
|
-
on_mouse_out: Optional[EventType[
|
|
246
|
-
on_mouse_over: Optional[EventType[
|
|
247
|
-
on_mouse_up: Optional[EventType[
|
|
248
|
-
on_scroll: Optional[EventType[
|
|
249
|
-
on_unmount: Optional[EventType[
|
|
235
|
+
on_blur: Optional[EventType[()]] = None,
|
|
236
|
+
on_click: Optional[EventType[()]] = None,
|
|
237
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
238
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
239
|
+
on_focus: Optional[EventType[()]] = None,
|
|
240
|
+
on_mount: Optional[EventType[()]] = None,
|
|
241
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
242
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
243
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
244
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
245
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
246
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
247
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
248
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
249
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
250
250
|
**props,
|
|
251
251
|
) -> "Text":
|
|
252
252
|
"""Create a new component instance.
|
|
@@ -489,21 +489,21 @@ class Span(Text):
|
|
|
489
489
|
class_name: Optional[Any] = None,
|
|
490
490
|
autofocus: Optional[bool] = None,
|
|
491
491
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
492
|
-
on_blur: Optional[EventType[
|
|
493
|
-
on_click: Optional[EventType[
|
|
494
|
-
on_context_menu: Optional[EventType[
|
|
495
|
-
on_double_click: Optional[EventType[
|
|
496
|
-
on_focus: Optional[EventType[
|
|
497
|
-
on_mount: Optional[EventType[
|
|
498
|
-
on_mouse_down: Optional[EventType[
|
|
499
|
-
on_mouse_enter: Optional[EventType[
|
|
500
|
-
on_mouse_leave: Optional[EventType[
|
|
501
|
-
on_mouse_move: Optional[EventType[
|
|
502
|
-
on_mouse_out: Optional[EventType[
|
|
503
|
-
on_mouse_over: Optional[EventType[
|
|
504
|
-
on_mouse_up: Optional[EventType[
|
|
505
|
-
on_scroll: Optional[EventType[
|
|
506
|
-
on_unmount: Optional[EventType[
|
|
492
|
+
on_blur: Optional[EventType[()]] = None,
|
|
493
|
+
on_click: Optional[EventType[()]] = None,
|
|
494
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
495
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
496
|
+
on_focus: Optional[EventType[()]] = None,
|
|
497
|
+
on_mount: Optional[EventType[()]] = None,
|
|
498
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
499
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
500
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
501
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
502
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
503
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
504
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
505
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
506
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
507
507
|
**props,
|
|
508
508
|
) -> "Span":
|
|
509
509
|
"""Create a new component instance.
|
|
@@ -586,21 +586,21 @@ class Em(elements.Em, RadixThemesComponent):
|
|
|
586
586
|
class_name: Optional[Any] = None,
|
|
587
587
|
autofocus: Optional[bool] = None,
|
|
588
588
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
589
|
-
on_blur: Optional[EventType[
|
|
590
|
-
on_click: Optional[EventType[
|
|
591
|
-
on_context_menu: Optional[EventType[
|
|
592
|
-
on_double_click: Optional[EventType[
|
|
593
|
-
on_focus: Optional[EventType[
|
|
594
|
-
on_mount: Optional[EventType[
|
|
595
|
-
on_mouse_down: Optional[EventType[
|
|
596
|
-
on_mouse_enter: Optional[EventType[
|
|
597
|
-
on_mouse_leave: Optional[EventType[
|
|
598
|
-
on_mouse_move: Optional[EventType[
|
|
599
|
-
on_mouse_out: Optional[EventType[
|
|
600
|
-
on_mouse_over: Optional[EventType[
|
|
601
|
-
on_mouse_up: Optional[EventType[
|
|
602
|
-
on_scroll: Optional[EventType[
|
|
603
|
-
on_unmount: Optional[EventType[
|
|
589
|
+
on_blur: Optional[EventType[()]] = None,
|
|
590
|
+
on_click: Optional[EventType[()]] = None,
|
|
591
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
592
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
593
|
+
on_focus: Optional[EventType[()]] = None,
|
|
594
|
+
on_mount: Optional[EventType[()]] = None,
|
|
595
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
596
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
597
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
598
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
599
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
600
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
601
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
602
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
603
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
604
604
|
**props,
|
|
605
605
|
) -> "Em":
|
|
606
606
|
"""Create a new component instance.
|
|
@@ -681,21 +681,21 @@ class Kbd(elements.Kbd, RadixThemesComponent):
|
|
|
681
681
|
class_name: Optional[Any] = None,
|
|
682
682
|
autofocus: Optional[bool] = None,
|
|
683
683
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
684
|
-
on_blur: Optional[EventType[
|
|
685
|
-
on_click: Optional[EventType[
|
|
686
|
-
on_context_menu: Optional[EventType[
|
|
687
|
-
on_double_click: Optional[EventType[
|
|
688
|
-
on_focus: Optional[EventType[
|
|
689
|
-
on_mount: Optional[EventType[
|
|
690
|
-
on_mouse_down: Optional[EventType[
|
|
691
|
-
on_mouse_enter: Optional[EventType[
|
|
692
|
-
on_mouse_leave: Optional[EventType[
|
|
693
|
-
on_mouse_move: Optional[EventType[
|
|
694
|
-
on_mouse_out: Optional[EventType[
|
|
695
|
-
on_mouse_over: Optional[EventType[
|
|
696
|
-
on_mouse_up: Optional[EventType[
|
|
697
|
-
on_scroll: Optional[EventType[
|
|
698
|
-
on_unmount: Optional[EventType[
|
|
684
|
+
on_blur: Optional[EventType[()]] = None,
|
|
685
|
+
on_click: Optional[EventType[()]] = None,
|
|
686
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
687
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
688
|
+
on_focus: Optional[EventType[()]] = None,
|
|
689
|
+
on_mount: Optional[EventType[()]] = None,
|
|
690
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
691
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
692
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
693
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
694
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
695
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
696
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
697
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
698
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
699
699
|
**props,
|
|
700
700
|
) -> "Kbd":
|
|
701
701
|
"""Create a new component instance.
|
|
@@ -772,21 +772,21 @@ class Quote(elements.Q, RadixThemesComponent):
|
|
|
772
772
|
class_name: Optional[Any] = None,
|
|
773
773
|
autofocus: Optional[bool] = None,
|
|
774
774
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
775
|
-
on_blur: Optional[EventType[
|
|
776
|
-
on_click: Optional[EventType[
|
|
777
|
-
on_context_menu: Optional[EventType[
|
|
778
|
-
on_double_click: Optional[EventType[
|
|
779
|
-
on_focus: Optional[EventType[
|
|
780
|
-
on_mount: Optional[EventType[
|
|
781
|
-
on_mouse_down: Optional[EventType[
|
|
782
|
-
on_mouse_enter: Optional[EventType[
|
|
783
|
-
on_mouse_leave: Optional[EventType[
|
|
784
|
-
on_mouse_move: Optional[EventType[
|
|
785
|
-
on_mouse_out: Optional[EventType[
|
|
786
|
-
on_mouse_over: Optional[EventType[
|
|
787
|
-
on_mouse_up: Optional[EventType[
|
|
788
|
-
on_scroll: Optional[EventType[
|
|
789
|
-
on_unmount: Optional[EventType[
|
|
775
|
+
on_blur: Optional[EventType[()]] = None,
|
|
776
|
+
on_click: Optional[EventType[()]] = None,
|
|
777
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
778
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
779
|
+
on_focus: Optional[EventType[()]] = None,
|
|
780
|
+
on_mount: Optional[EventType[()]] = None,
|
|
781
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
782
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
783
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
784
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
785
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
786
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
787
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
788
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
789
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
790
790
|
**props,
|
|
791
791
|
) -> "Quote":
|
|
792
792
|
"""Create a new component instance.
|
|
@@ -862,21 +862,21 @@ class Strong(elements.Strong, RadixThemesComponent):
|
|
|
862
862
|
class_name: Optional[Any] = None,
|
|
863
863
|
autofocus: Optional[bool] = None,
|
|
864
864
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
865
|
-
on_blur: Optional[EventType[
|
|
866
|
-
on_click: Optional[EventType[
|
|
867
|
-
on_context_menu: Optional[EventType[
|
|
868
|
-
on_double_click: Optional[EventType[
|
|
869
|
-
on_focus: Optional[EventType[
|
|
870
|
-
on_mount: Optional[EventType[
|
|
871
|
-
on_mouse_down: Optional[EventType[
|
|
872
|
-
on_mouse_enter: Optional[EventType[
|
|
873
|
-
on_mouse_leave: Optional[EventType[
|
|
874
|
-
on_mouse_move: Optional[EventType[
|
|
875
|
-
on_mouse_out: Optional[EventType[
|
|
876
|
-
on_mouse_over: Optional[EventType[
|
|
877
|
-
on_mouse_up: Optional[EventType[
|
|
878
|
-
on_scroll: Optional[EventType[
|
|
879
|
-
on_unmount: Optional[EventType[
|
|
865
|
+
on_blur: Optional[EventType[()]] = None,
|
|
866
|
+
on_click: Optional[EventType[()]] = None,
|
|
867
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
868
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
869
|
+
on_focus: Optional[EventType[()]] = None,
|
|
870
|
+
on_mount: Optional[EventType[()]] = None,
|
|
871
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
872
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
873
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
874
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
875
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
876
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
877
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
878
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
879
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
880
880
|
**props,
|
|
881
881
|
) -> "Strong":
|
|
882
882
|
"""Create a new component instance.
|
|
@@ -1115,21 +1115,21 @@ class TextNamespace(ComponentNamespace):
|
|
|
1115
1115
|
class_name: Optional[Any] = None,
|
|
1116
1116
|
autofocus: Optional[bool] = None,
|
|
1117
1117
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1118
|
-
on_blur: Optional[EventType[
|
|
1119
|
-
on_click: Optional[EventType[
|
|
1120
|
-
on_context_menu: Optional[EventType[
|
|
1121
|
-
on_double_click: Optional[EventType[
|
|
1122
|
-
on_focus: Optional[EventType[
|
|
1123
|
-
on_mount: Optional[EventType[
|
|
1124
|
-
on_mouse_down: Optional[EventType[
|
|
1125
|
-
on_mouse_enter: Optional[EventType[
|
|
1126
|
-
on_mouse_leave: Optional[EventType[
|
|
1127
|
-
on_mouse_move: Optional[EventType[
|
|
1128
|
-
on_mouse_out: Optional[EventType[
|
|
1129
|
-
on_mouse_over: Optional[EventType[
|
|
1130
|
-
on_mouse_up: Optional[EventType[
|
|
1131
|
-
on_scroll: Optional[EventType[
|
|
1132
|
-
on_unmount: Optional[EventType[
|
|
1118
|
+
on_blur: Optional[EventType[()]] = None,
|
|
1119
|
+
on_click: Optional[EventType[()]] = None,
|
|
1120
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
1121
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
1122
|
+
on_focus: Optional[EventType[()]] = None,
|
|
1123
|
+
on_mount: Optional[EventType[()]] = None,
|
|
1124
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
1125
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
1126
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
1127
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
1128
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
1129
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
1130
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
1131
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
1132
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
1133
1133
|
**props,
|
|
1134
1134
|
) -> "Text":
|
|
1135
1135
|
"""Create a new component instance.
|