reflex 0.6.4a3__py3-none-any.whl → 0.6.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -14
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +4 -8
- reflex/.templates/web/components/shiki/code.js +16 -11
- reflex/.templates/web/utils/state.js +29 -21
- reflex/__init__.py +4 -0
- reflex/__init__.pyi +4 -0
- reflex/app.py +148 -154
- reflex/app_mixins/lifespan.py +5 -1
- reflex/app_mixins/middleware.py +3 -1
- reflex/app_mixins/mixin.py +3 -2
- reflex/base.py +2 -4
- reflex/compiler/compiler.py +111 -37
- reflex/components/base/app_wrap.pyi +17 -17
- reflex/components/base/bare.py +72 -3
- reflex/components/base/body.pyi +17 -17
- reflex/components/base/document.pyi +81 -81
- reflex/components/base/error_boundary.pyi +25 -18
- reflex/components/base/fragment.pyi +17 -17
- reflex/components/base/head.pyi +33 -33
- reflex/components/base/link.pyi +33 -33
- reflex/components/base/meta.pyi +65 -65
- reflex/components/base/script.py +4 -4
- reflex/components/base/script.pyi +23 -20
- reflex/components/component.py +250 -31
- reflex/components/core/banner.py +1 -1
- reflex/components/core/banner.pyi +81 -81
- reflex/components/core/client_side_routing.pyi +33 -33
- reflex/components/core/clipboard.py +2 -2
- reflex/components/core/clipboard.pyi +24 -18
- reflex/components/core/debounce.py +2 -2
- reflex/components/core/debounce.pyi +18 -18
- reflex/components/core/html.pyi +17 -17
- reflex/components/core/upload.py +90 -28
- reflex/components/core/upload.pyi +128 -72
- reflex/components/datadisplay/code.py +55 -40
- reflex/components/datadisplay/code.pyi +46 -44
- reflex/components/datadisplay/dataeditor.py +21 -20
- reflex/components/datadisplay/dataeditor.pyi +103 -35
- reflex/components/datadisplay/shiki_code_block.py +60 -27
- reflex/components/datadisplay/shiki_code_block.pyi +86 -65
- reflex/components/dynamic.py +9 -5
- reflex/components/el/element.pyi +17 -17
- reflex/components/el/elements/base.pyi +17 -17
- reflex/components/el/elements/forms.py +12 -3
- reflex/components/el/elements/forms.pyi +293 -233
- reflex/components/el/elements/inline.pyi +449 -449
- reflex/components/el/elements/media.pyi +401 -401
- reflex/components/el/elements/metadata.pyi +97 -97
- reflex/components/el/elements/other.pyi +113 -113
- reflex/components/el/elements/scripts.pyi +49 -49
- reflex/components/el/elements/sectioning.pyi +241 -241
- reflex/components/el/elements/tables.pyi +161 -161
- reflex/components/el/elements/typography.pyi +241 -241
- reflex/components/gridjs/datatable.pyi +33 -33
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +33 -33
- reflex/components/markdown/markdown.py +180 -49
- reflex/components/markdown/markdown.pyi +36 -19
- reflex/components/moment/moment.py +17 -21
- reflex/components/moment/moment.pyi +26 -21
- reflex/components/next/base.pyi +17 -17
- reflex/components/next/image.py +3 -3
- reflex/components/next/image.pyi +21 -19
- reflex/components/next/link.pyi +17 -17
- reflex/components/next/video.pyi +17 -17
- reflex/components/plotly/plotly.py +79 -78
- reflex/components/plotly/plotly.pyi +91 -41
- reflex/components/props.py +34 -0
- reflex/components/radix/primitives/accordion.py +15 -8
- reflex/components/radix/primitives/accordion.pyi +121 -118
- reflex/components/radix/primitives/base.pyi +33 -33
- reflex/components/radix/primitives/drawer.py +41 -20
- reflex/components/radix/primitives/drawer.pyi +279 -190
- reflex/components/radix/primitives/form.py +2 -2
- reflex/components/radix/primitives/form.pyi +200 -167
- reflex/components/radix/primitives/progress.pyi +81 -81
- reflex/components/radix/primitives/slider.pyi +89 -83
- reflex/components/radix/themes/base.py +30 -1
- reflex/components/radix/themes/base.pyi +286 -113
- reflex/components/radix/themes/color_mode.py +17 -9
- reflex/components/radix/themes/color_mode.pyi +68 -56
- reflex/components/radix/themes/components/alert_dialog.py +8 -5
- reflex/components/radix/themes/components/alert_dialog.pyi +125 -117
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -17
- reflex/components/radix/themes/components/avatar.py +1 -5
- reflex/components/radix/themes/components/avatar.pyi +17 -17
- reflex/components/radix/themes/components/badge.py +1 -5
- reflex/components/radix/themes/components/badge.pyi +17 -17
- reflex/components/radix/themes/components/button.pyi +18 -21
- reflex/components/radix/themes/components/callout.py +1 -4
- reflex/components/radix/themes/components/callout.pyi +81 -81
- reflex/components/radix/themes/components/card.py +1 -3
- reflex/components/radix/themes/components/card.pyi +17 -17
- reflex/components/radix/themes/components/checkbox.py +4 -8
- reflex/components/radix/themes/components/checkbox.pyi +61 -52
- reflex/components/radix/themes/components/checkbox_cards.pyi +33 -33
- reflex/components/radix/themes/components/checkbox_group.pyi +33 -33
- reflex/components/radix/themes/components/context_menu.py +121 -28
- reflex/components/radix/themes/components/context_menu.pyi +250 -147
- reflex/components/radix/themes/components/data_list.pyi +65 -65
- reflex/components/radix/themes/components/dialog.py +11 -11
- reflex/components/radix/themes/components/dialog.pyi +135 -120
- reflex/components/radix/themes/components/dropdown_menu.py +14 -25
- reflex/components/radix/themes/components/dropdown_menu.pyi +157 -145
- reflex/components/radix/themes/components/hover_card.py +19 -7
- reflex/components/radix/themes/components/hover_card.pyi +102 -67
- reflex/components/radix/themes/components/icon_button.pyi +18 -21
- reflex/components/radix/themes/components/inset.py +1 -3
- reflex/components/radix/themes/components/inset.pyi +17 -17
- reflex/components/radix/themes/components/popover.py +22 -13
- reflex/components/radix/themes/components/popover.pyi +98 -72
- reflex/components/radix/themes/components/progress.pyi +17 -17
- reflex/components/radix/themes/components/radio.pyi +17 -17
- reflex/components/radix/themes/components/radio_cards.py +2 -2
- reflex/components/radix/themes/components/radio_cards.pyi +37 -34
- reflex/components/radix/themes/components/radio_group.py +3 -7
- reflex/components/radix/themes/components/radio_group.pyi +69 -66
- reflex/components/radix/themes/components/scroll_area.py +1 -3
- reflex/components/radix/themes/components/scroll_area.pyi +17 -17
- reflex/components/radix/themes/components/segmented_control.pyi +37 -34
- reflex/components/radix/themes/components/select.py +7 -11
- reflex/components/radix/themes/components/select.pyi +175 -154
- reflex/components/radix/themes/components/separator.py +1 -4
- reflex/components/radix/themes/components/separator.pyi +17 -17
- reflex/components/radix/themes/components/skeleton.pyi +17 -17
- reflex/components/radix/themes/components/slider.py +12 -21
- reflex/components/radix/themes/components/slider.pyi +47 -25
- reflex/components/radix/themes/components/spinner.py +1 -4
- reflex/components/radix/themes/components/spinner.pyi +17 -17
- reflex/components/radix/themes/components/switch.py +3 -6
- reflex/components/radix/themes/components/switch.pyi +21 -18
- reflex/components/radix/themes/components/table.py +21 -5
- reflex/components/radix/themes/components/table.pyi +392 -116
- reflex/components/radix/themes/components/tabs.py +3 -6
- reflex/components/radix/themes/components/tabs.pyi +89 -83
- reflex/components/radix/themes/components/text_area.py +1 -5
- reflex/components/radix/themes/components/text_area.pyi +43 -20
- reflex/components/radix/themes/components/text_field.py +1 -5
- reflex/components/radix/themes/components/text_field.pyi +101 -55
- reflex/components/radix/themes/components/tooltip.py +5 -7
- reflex/components/radix/themes/components/tooltip.pyi +25 -22
- reflex/components/radix/themes/layout/base.py +2 -27
- reflex/components/radix/themes/layout/base.pyi +82 -82
- reflex/components/radix/themes/layout/box.pyi +17 -17
- reflex/components/radix/themes/layout/center.pyi +17 -17
- reflex/components/radix/themes/layout/container.pyi +17 -17
- reflex/components/radix/themes/layout/flex.py +1 -6
- reflex/components/radix/themes/layout/flex.pyi +17 -17
- reflex/components/radix/themes/layout/grid.py +1 -6
- reflex/components/radix/themes/layout/grid.pyi +17 -17
- reflex/components/radix/themes/layout/list.py +20 -15
- reflex/components/radix/themes/layout/list.pyi +175 -92
- reflex/components/radix/themes/layout/section.pyi +17 -17
- reflex/components/radix/themes/layout/spacer.pyi +17 -17
- reflex/components/radix/themes/layout/stack.py +6 -6
- reflex/components/radix/themes/layout/stack.pyi +91 -62
- reflex/components/radix/themes/typography/blockquote.py +2 -8
- reflex/components/radix/themes/typography/blockquote.pyi +17 -17
- reflex/components/radix/themes/typography/code.py +4 -10
- reflex/components/radix/themes/typography/code.pyi +19 -18
- reflex/components/radix/themes/typography/heading.py +4 -11
- reflex/components/radix/themes/typography/heading.pyi +19 -18
- reflex/components/radix/themes/typography/link.py +4 -10
- reflex/components/radix/themes/typography/link.pyi +19 -18
- reflex/components/radix/themes/typography/text.py +4 -11
- reflex/components/radix/themes/typography/text.pyi +115 -114
- reflex/components/react_player/audio.pyi +58 -33
- reflex/components/react_player/react_player.py +17 -17
- reflex/components/react_player/react_player.pyi +55 -33
- reflex/components/react_player/video.pyi +58 -33
- reflex/components/recharts/cartesian.py +45 -45
- reflex/components/recharts/cartesian.pyi +389 -304
- reflex/components/recharts/charts.py +22 -22
- reflex/components/recharts/charts.pyi +226 -179
- reflex/components/recharts/general.py +26 -27
- reflex/components/recharts/general.pyi +106 -99
- reflex/components/recharts/polar.py +33 -33
- reflex/components/recharts/polar.pyi +70 -64
- reflex/components/recharts/recharts.pyi +33 -33
- reflex/components/sonner/toast.py +9 -36
- reflex/components/sonner/toast.pyi +20 -24
- reflex/components/suneditor/editor.py +8 -8
- reflex/components/suneditor/editor.pyi +50 -25
- reflex/components/tags/iter_tag.py +1 -10
- reflex/components/tags/tag.py +1 -4
- reflex/config.py +198 -35
- reflex/constants/__init__.py +4 -16
- reflex/constants/base.py +7 -14
- reflex/constants/colors.py +0 -1
- reflex/constants/installer.py +12 -7
- reflex/constants/state.py +4 -0
- reflex/custom_components/custom_components.py +6 -6
- reflex/event.py +486 -241
- reflex/experimental/client_state.py +9 -9
- reflex/experimental/layout.py +2 -2
- reflex/experimental/layout.pyi +95 -87
- reflex/experimental/misc.py +1 -1
- reflex/istate/__init__.py +1 -0
- reflex/istate/proxy.py +33 -0
- reflex/istate/wrappers.py +27 -0
- reflex/model.py +7 -7
- reflex/page.py +2 -1
- reflex/reflex.py +142 -8
- reflex/state.py +133 -46
- reflex/testing.py +9 -7
- reflex/utils/console.py +0 -1
- reflex/utils/exceptions.py +31 -3
- reflex/utils/exec.py +33 -14
- reflex/utils/format.py +15 -12
- reflex/utils/net.py +1 -1
- reflex/utils/path_ops.py +2 -2
- reflex/utils/prerequisites.py +82 -46
- reflex/utils/pyi_generator.py +63 -20
- reflex/utils/registry.py +1 -1
- reflex/utils/serializers.py +75 -36
- reflex/utils/telemetry.py +3 -2
- reflex/utils/types.py +125 -10
- reflex/vars/base.py +131 -119
- reflex/vars/function.py +59 -12
- reflex/vars/number.py +3 -1
- reflex/vars/object.py +30 -24
- reflex/vars/sequence.py +7 -7
- {reflex-0.6.4a3.dist-info → reflex-0.6.5.dist-info}/METADATA +3 -3
- reflex-0.6.5.dist-info/RECORD +394 -0
- reflex-0.6.4a3.dist-info/RECORD +0 -391
- {reflex-0.6.4a3.dist-info → reflex-0.6.5.dist-info}/LICENSE +0 -0
- {reflex-0.6.4a3.dist-info → reflex-0.6.5.dist-info}/WHEEL +0 -0
- {reflex-0.6.4a3.dist-info → reflex-0.6.5.dist-info}/entry_points.txt +0 -0
|
@@ -8,11 +8,11 @@ from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
8
8
|
from reflex.components.component import ComponentNamespace
|
|
9
9
|
from reflex.components.core.breakpoints import Breakpoints
|
|
10
10
|
from reflex.components.el import elements
|
|
11
|
-
from reflex.event import EventType
|
|
11
|
+
from reflex.event import BASE_STATE, EventType
|
|
12
12
|
from reflex.style import Style
|
|
13
13
|
from reflex.vars.base import Var
|
|
14
14
|
|
|
15
|
-
from ..base import RadixThemesComponent
|
|
15
|
+
from ..base import CommonPaddingProps, RadixThemesComponent
|
|
16
16
|
|
|
17
17
|
class TableRoot(elements.Table, RadixThemesComponent):
|
|
18
18
|
@overload
|
|
@@ -65,22 +65,22 @@ class TableRoot(elements.Table, RadixThemesComponent):
|
|
|
65
65
|
id: Optional[Any] = None,
|
|
66
66
|
class_name: Optional[Any] = None,
|
|
67
67
|
autofocus: Optional[bool] = None,
|
|
68
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
69
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
70
|
-
on_click: Optional[EventType[[]]] = None,
|
|
71
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
72
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
73
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
74
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
75
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
76
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
77
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
78
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
79
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
80
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
81
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
82
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
83
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
68
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
69
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
70
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
71
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
72
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
73
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
74
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
75
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
76
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
77
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
78
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
79
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
80
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
81
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
82
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
83
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
84
84
|
**props,
|
|
85
85
|
) -> "TableRoot":
|
|
86
86
|
"""Create a new component instance.
|
|
@@ -159,22 +159,22 @@ class TableHeader(elements.Thead, RadixThemesComponent):
|
|
|
159
159
|
id: Optional[Any] = None,
|
|
160
160
|
class_name: Optional[Any] = None,
|
|
161
161
|
autofocus: Optional[bool] = None,
|
|
162
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
163
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
164
|
-
on_click: Optional[EventType[[]]] = None,
|
|
165
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
166
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
167
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
168
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
169
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
170
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
171
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
172
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
173
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
174
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
175
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
176
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
177
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
162
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
163
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
164
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
165
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
166
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
167
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
168
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
169
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
170
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
171
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
172
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
173
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
174
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
175
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
176
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
177
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
178
178
|
**props,
|
|
179
179
|
) -> "TableHeader":
|
|
180
180
|
"""Create a new component instance.
|
|
@@ -255,22 +255,22 @@ class TableRow(elements.Tr, RadixThemesComponent):
|
|
|
255
255
|
id: Optional[Any] = None,
|
|
256
256
|
class_name: Optional[Any] = None,
|
|
257
257
|
autofocus: Optional[bool] = None,
|
|
258
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
259
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
260
|
-
on_click: Optional[EventType[[]]] = None,
|
|
261
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
262
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
263
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
264
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
265
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
266
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
267
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
268
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
269
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
270
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
271
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
272
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
273
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
258
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
259
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
260
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
261
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
262
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
263
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
264
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
265
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
266
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
267
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
268
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
269
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
270
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
271
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
272
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
273
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
274
274
|
**props,
|
|
275
275
|
) -> "TableRow":
|
|
276
276
|
"""Create a new component instance.
|
|
@@ -322,6 +322,12 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
322
322
|
Var[Literal["center", "end", "start"]],
|
|
323
323
|
]
|
|
324
324
|
] = None,
|
|
325
|
+
min_width: Optional[
|
|
326
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
327
|
+
] = None,
|
|
328
|
+
max_width: Optional[
|
|
329
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
330
|
+
] = None,
|
|
325
331
|
align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
326
332
|
col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
327
333
|
headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
@@ -356,22 +362,22 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
356
362
|
id: Optional[Any] = None,
|
|
357
363
|
class_name: Optional[Any] = None,
|
|
358
364
|
autofocus: Optional[bool] = None,
|
|
359
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
360
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
361
|
-
on_click: Optional[EventType[[]]] = None,
|
|
362
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
363
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
364
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
365
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
366
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
367
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
368
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
369
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
370
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
371
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
372
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
373
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
374
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
365
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
366
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
367
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
368
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
369
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
370
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
371
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
372
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
373
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
374
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
375
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
376
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
377
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
378
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
379
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
380
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
375
381
|
**props,
|
|
376
382
|
) -> "TableColumnHeaderCell":
|
|
377
383
|
"""Create a new component instance.
|
|
@@ -382,6 +388,8 @@ class TableColumnHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
382
388
|
Args:
|
|
383
389
|
*children: Child components.
|
|
384
390
|
justify: The justification of the column
|
|
391
|
+
min_width: The minimum width of the cell
|
|
392
|
+
max_width: The maximum width of the cell
|
|
385
393
|
align: Alignment of the content within the table header cell
|
|
386
394
|
col_span: Number of columns a header cell should span
|
|
387
395
|
headers: IDs of the headers associated with this header cell
|
|
@@ -452,22 +460,22 @@ class TableBody(elements.Tbody, RadixThemesComponent):
|
|
|
452
460
|
id: Optional[Any] = None,
|
|
453
461
|
class_name: Optional[Any] = None,
|
|
454
462
|
autofocus: Optional[bool] = None,
|
|
455
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
456
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
457
|
-
on_click: Optional[EventType[[]]] = None,
|
|
458
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
459
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
460
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
461
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
462
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
463
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
464
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
465
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
466
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
467
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
468
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
469
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
470
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
463
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
464
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
465
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
466
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
467
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
468
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
469
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
470
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
471
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
472
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
473
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
474
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
475
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
476
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
477
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
478
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
471
479
|
**props,
|
|
472
480
|
) -> "TableBody":
|
|
473
481
|
"""Create a new component instance.
|
|
@@ -507,7 +515,7 @@ class TableBody(elements.Tbody, RadixThemesComponent):
|
|
|
507
515
|
"""
|
|
508
516
|
...
|
|
509
517
|
|
|
510
|
-
class TableCell(elements.Td, RadixThemesComponent):
|
|
518
|
+
class TableCell(elements.Td, CommonPaddingProps, RadixThemesComponent):
|
|
511
519
|
@overload
|
|
512
520
|
@classmethod
|
|
513
521
|
def create( # type: ignore
|
|
@@ -519,6 +527,12 @@ class TableCell(elements.Td, RadixThemesComponent):
|
|
|
519
527
|
Var[Literal["center", "end", "start"]],
|
|
520
528
|
]
|
|
521
529
|
] = None,
|
|
530
|
+
min_width: Optional[
|
|
531
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
532
|
+
] = None,
|
|
533
|
+
max_width: Optional[
|
|
534
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
535
|
+
] = None,
|
|
522
536
|
align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
523
537
|
col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
524
538
|
headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
@@ -547,27 +561,146 @@ class TableCell(elements.Td, RadixThemesComponent):
|
|
|
547
561
|
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
548
562
|
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
549
563
|
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
564
|
+
p: Optional[
|
|
565
|
+
Union[
|
|
566
|
+
Breakpoints[
|
|
567
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
568
|
+
],
|
|
569
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
570
|
+
Var[
|
|
571
|
+
Union[
|
|
572
|
+
Breakpoints[
|
|
573
|
+
str,
|
|
574
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
575
|
+
],
|
|
576
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
577
|
+
]
|
|
578
|
+
],
|
|
579
|
+
]
|
|
580
|
+
] = None,
|
|
581
|
+
px: Optional[
|
|
582
|
+
Union[
|
|
583
|
+
Breakpoints[
|
|
584
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
585
|
+
],
|
|
586
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
587
|
+
Var[
|
|
588
|
+
Union[
|
|
589
|
+
Breakpoints[
|
|
590
|
+
str,
|
|
591
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
592
|
+
],
|
|
593
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
594
|
+
]
|
|
595
|
+
],
|
|
596
|
+
]
|
|
597
|
+
] = None,
|
|
598
|
+
py: Optional[
|
|
599
|
+
Union[
|
|
600
|
+
Breakpoints[
|
|
601
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
602
|
+
],
|
|
603
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
604
|
+
Var[
|
|
605
|
+
Union[
|
|
606
|
+
Breakpoints[
|
|
607
|
+
str,
|
|
608
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
609
|
+
],
|
|
610
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
611
|
+
]
|
|
612
|
+
],
|
|
613
|
+
]
|
|
614
|
+
] = None,
|
|
615
|
+
pt: Optional[
|
|
616
|
+
Union[
|
|
617
|
+
Breakpoints[
|
|
618
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
619
|
+
],
|
|
620
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
621
|
+
Var[
|
|
622
|
+
Union[
|
|
623
|
+
Breakpoints[
|
|
624
|
+
str,
|
|
625
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
626
|
+
],
|
|
627
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
628
|
+
]
|
|
629
|
+
],
|
|
630
|
+
]
|
|
631
|
+
] = None,
|
|
632
|
+
pr: Optional[
|
|
633
|
+
Union[
|
|
634
|
+
Breakpoints[
|
|
635
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
636
|
+
],
|
|
637
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
638
|
+
Var[
|
|
639
|
+
Union[
|
|
640
|
+
Breakpoints[
|
|
641
|
+
str,
|
|
642
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
643
|
+
],
|
|
644
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
645
|
+
]
|
|
646
|
+
],
|
|
647
|
+
]
|
|
648
|
+
] = None,
|
|
649
|
+
pb: Optional[
|
|
650
|
+
Union[
|
|
651
|
+
Breakpoints[
|
|
652
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
653
|
+
],
|
|
654
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
655
|
+
Var[
|
|
656
|
+
Union[
|
|
657
|
+
Breakpoints[
|
|
658
|
+
str,
|
|
659
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
660
|
+
],
|
|
661
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
662
|
+
]
|
|
663
|
+
],
|
|
664
|
+
]
|
|
665
|
+
] = None,
|
|
666
|
+
pl: Optional[
|
|
667
|
+
Union[
|
|
668
|
+
Breakpoints[
|
|
669
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
670
|
+
],
|
|
671
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
672
|
+
Var[
|
|
673
|
+
Union[
|
|
674
|
+
Breakpoints[
|
|
675
|
+
str,
|
|
676
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
677
|
+
],
|
|
678
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
679
|
+
]
|
|
680
|
+
],
|
|
681
|
+
]
|
|
682
|
+
] = None,
|
|
550
683
|
style: Optional[Style] = None,
|
|
551
684
|
key: Optional[Any] = None,
|
|
552
685
|
id: Optional[Any] = None,
|
|
553
686
|
class_name: Optional[Any] = None,
|
|
554
687
|
autofocus: Optional[bool] = None,
|
|
555
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
556
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
557
|
-
on_click: Optional[EventType[[]]] = None,
|
|
558
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
559
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
560
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
561
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
562
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
563
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
564
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
565
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
566
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
567
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
568
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
569
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
570
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
688
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
689
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
690
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
691
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
692
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
693
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
694
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
695
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
696
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
697
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
698
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
699
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
700
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
701
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
702
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
703
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
571
704
|
**props,
|
|
572
705
|
) -> "TableCell":
|
|
573
706
|
"""Create a new component instance.
|
|
@@ -578,6 +711,8 @@ class TableCell(elements.Td, RadixThemesComponent):
|
|
|
578
711
|
Args:
|
|
579
712
|
*children: Child components.
|
|
580
713
|
justify: The justification of the column
|
|
714
|
+
min_width: The minimum width of the cell
|
|
715
|
+
max_width: The maximum width of the cell
|
|
581
716
|
align: Alignment of the content within the table cell
|
|
582
717
|
col_span: Number of columns a cell should span
|
|
583
718
|
headers: IDs of the headers associated with this cell
|
|
@@ -598,6 +733,13 @@ class TableCell(elements.Td, RadixThemesComponent):
|
|
|
598
733
|
spell_check: Defines whether the element may be checked for spelling errors.
|
|
599
734
|
tab_index: Defines the position of the current element in the tabbing order.
|
|
600
735
|
title: Defines a tooltip for the element.
|
|
736
|
+
p: Padding: "0" - "9"
|
|
737
|
+
px: Padding horizontal: "0" - "9"
|
|
738
|
+
py: Padding vertical: "0" - "9"
|
|
739
|
+
pt: Padding top: "0" - "9"
|
|
740
|
+
pr: Padding right: "0" - "9"
|
|
741
|
+
pb: Padding bottom: "0" - "9"
|
|
742
|
+
pl: Padding left: "0" - "9"
|
|
601
743
|
style: The style of the component.
|
|
602
744
|
key: A unique key for the component.
|
|
603
745
|
id: The id for the component.
|
|
@@ -611,7 +753,7 @@ class TableCell(elements.Td, RadixThemesComponent):
|
|
|
611
753
|
"""
|
|
612
754
|
...
|
|
613
755
|
|
|
614
|
-
class TableRowHeaderCell(elements.Th, RadixThemesComponent):
|
|
756
|
+
class TableRowHeaderCell(elements.Th, CommonPaddingProps, RadixThemesComponent):
|
|
615
757
|
@overload
|
|
616
758
|
@classmethod
|
|
617
759
|
def create( # type: ignore
|
|
@@ -623,6 +765,12 @@ class TableRowHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
623
765
|
Var[Literal["center", "end", "start"]],
|
|
624
766
|
]
|
|
625
767
|
] = None,
|
|
768
|
+
min_width: Optional[
|
|
769
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
770
|
+
] = None,
|
|
771
|
+
max_width: Optional[
|
|
772
|
+
Union[Breakpoints[str, str], Var[Union[Breakpoints[str, str], str]], str]
|
|
773
|
+
] = None,
|
|
626
774
|
align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
627
775
|
col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
628
776
|
headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
@@ -652,27 +800,146 @@ class TableRowHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
652
800
|
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
653
801
|
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
654
802
|
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
803
|
+
p: Optional[
|
|
804
|
+
Union[
|
|
805
|
+
Breakpoints[
|
|
806
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
807
|
+
],
|
|
808
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
809
|
+
Var[
|
|
810
|
+
Union[
|
|
811
|
+
Breakpoints[
|
|
812
|
+
str,
|
|
813
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
814
|
+
],
|
|
815
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
816
|
+
]
|
|
817
|
+
],
|
|
818
|
+
]
|
|
819
|
+
] = None,
|
|
820
|
+
px: Optional[
|
|
821
|
+
Union[
|
|
822
|
+
Breakpoints[
|
|
823
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
824
|
+
],
|
|
825
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
826
|
+
Var[
|
|
827
|
+
Union[
|
|
828
|
+
Breakpoints[
|
|
829
|
+
str,
|
|
830
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
831
|
+
],
|
|
832
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
833
|
+
]
|
|
834
|
+
],
|
|
835
|
+
]
|
|
836
|
+
] = None,
|
|
837
|
+
py: Optional[
|
|
838
|
+
Union[
|
|
839
|
+
Breakpoints[
|
|
840
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
841
|
+
],
|
|
842
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
843
|
+
Var[
|
|
844
|
+
Union[
|
|
845
|
+
Breakpoints[
|
|
846
|
+
str,
|
|
847
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
848
|
+
],
|
|
849
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
850
|
+
]
|
|
851
|
+
],
|
|
852
|
+
]
|
|
853
|
+
] = None,
|
|
854
|
+
pt: Optional[
|
|
855
|
+
Union[
|
|
856
|
+
Breakpoints[
|
|
857
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
858
|
+
],
|
|
859
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
860
|
+
Var[
|
|
861
|
+
Union[
|
|
862
|
+
Breakpoints[
|
|
863
|
+
str,
|
|
864
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
865
|
+
],
|
|
866
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
867
|
+
]
|
|
868
|
+
],
|
|
869
|
+
]
|
|
870
|
+
] = None,
|
|
871
|
+
pr: Optional[
|
|
872
|
+
Union[
|
|
873
|
+
Breakpoints[
|
|
874
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
875
|
+
],
|
|
876
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
877
|
+
Var[
|
|
878
|
+
Union[
|
|
879
|
+
Breakpoints[
|
|
880
|
+
str,
|
|
881
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
882
|
+
],
|
|
883
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
884
|
+
]
|
|
885
|
+
],
|
|
886
|
+
]
|
|
887
|
+
] = None,
|
|
888
|
+
pb: Optional[
|
|
889
|
+
Union[
|
|
890
|
+
Breakpoints[
|
|
891
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
892
|
+
],
|
|
893
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
894
|
+
Var[
|
|
895
|
+
Union[
|
|
896
|
+
Breakpoints[
|
|
897
|
+
str,
|
|
898
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
899
|
+
],
|
|
900
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
901
|
+
]
|
|
902
|
+
],
|
|
903
|
+
]
|
|
904
|
+
] = None,
|
|
905
|
+
pl: Optional[
|
|
906
|
+
Union[
|
|
907
|
+
Breakpoints[
|
|
908
|
+
str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
909
|
+
],
|
|
910
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
911
|
+
Var[
|
|
912
|
+
Union[
|
|
913
|
+
Breakpoints[
|
|
914
|
+
str,
|
|
915
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
916
|
+
],
|
|
917
|
+
Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
918
|
+
]
|
|
919
|
+
],
|
|
920
|
+
]
|
|
921
|
+
] = None,
|
|
655
922
|
style: Optional[Style] = None,
|
|
656
923
|
key: Optional[Any] = None,
|
|
657
924
|
id: Optional[Any] = None,
|
|
658
925
|
class_name: Optional[Any] = None,
|
|
659
926
|
autofocus: Optional[bool] = None,
|
|
660
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
661
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
662
|
-
on_click: Optional[EventType[[]]] = None,
|
|
663
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
664
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
665
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
666
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
667
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
668
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
669
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
670
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
671
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
672
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
673
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
674
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
675
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
927
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
928
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
929
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
930
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
931
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
932
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
933
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
934
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
935
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
936
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
937
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
938
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
939
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
940
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
941
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
942
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
676
943
|
**props,
|
|
677
944
|
) -> "TableRowHeaderCell":
|
|
678
945
|
"""Create a new component instance.
|
|
@@ -683,6 +950,8 @@ class TableRowHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
683
950
|
Args:
|
|
684
951
|
*children: Child components.
|
|
685
952
|
justify: The justification of the column
|
|
953
|
+
min_width: The minimum width of the cell
|
|
954
|
+
max_width: The maximum width of the cell
|
|
686
955
|
align: Alignment of the content within the table header cell
|
|
687
956
|
col_span: Number of columns a header cell should span
|
|
688
957
|
headers: IDs of the headers associated with this header cell
|
|
@@ -704,6 +973,13 @@ class TableRowHeaderCell(elements.Th, RadixThemesComponent):
|
|
|
704
973
|
spell_check: Defines whether the element may be checked for spelling errors.
|
|
705
974
|
tab_index: Defines the position of the current element in the tabbing order.
|
|
706
975
|
title: Defines a tooltip for the element.
|
|
976
|
+
p: Padding: "0" - "9"
|
|
977
|
+
px: Padding horizontal: "0" - "9"
|
|
978
|
+
py: Padding vertical: "0" - "9"
|
|
979
|
+
pt: Padding top: "0" - "9"
|
|
980
|
+
pr: Padding right: "0" - "9"
|
|
981
|
+
pb: Padding bottom: "0" - "9"
|
|
982
|
+
pl: Padding left: "0" - "9"
|
|
707
983
|
style: The style of the component.
|
|
708
984
|
key: A unique key for the component.
|
|
709
985
|
id: The id for the component.
|