reflex 0.3.5a4__py3-none-any.whl → 0.3.7__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/base_page.js.jinja2 +2 -0
- reflex/.templates/web/utils/state.js +1 -1
- reflex/__init__.py +29 -6
- reflex/__init__.pyi +2 -0
- reflex/app.py +3 -0
- reflex/components/__init__.py +2 -0
- reflex/components/chakra/__init__.py +23 -0
- reflex/components/{media → chakra/media}/image.py +1 -28
- reflex/components/chakra/media/image.pyi +120 -0
- reflex/components/component.py +32 -4
- reflex/components/datadisplay/datatable.py +1 -37
- reflex/components/datadisplay/datatable.pyi +1 -11
- reflex/components/el/elements/forms.py +43 -1
- reflex/components/el/elements/forms.pyi +26 -1
- reflex/components/graphing/plotly.py +0 -22
- reflex/components/graphing/plotly.pyi +0 -12
- reflex/components/media/__init__.py +0 -1
- reflex/components/media/image.pyi +0 -9
- reflex/components/next/__init__.py +8 -0
- reflex/components/next/base.py +8 -0
- reflex/components/next/base.pyi +91 -0
- reflex/components/next/image.py +114 -0
- reflex/components/next/image.pyi +122 -0
- reflex/components/next/video.py +33 -0
- reflex/components/next/video.pyi +92 -0
- reflex/components/radix/primitives/__init__.py +3 -0
- reflex/components/radix/primitives/accordion.py +279 -0
- reflex/components/radix/primitives/accordion.pyi +619 -0
- reflex/components/radix/themes/__init__.py +4 -73
- reflex/components/radix/themes/base.py +7 -7
- reflex/components/radix/themes/base.pyi +21 -21
- reflex/components/radix/themes/components/__init__.py +193 -0
- reflex/components/radix/themes/components/alertdialog.py +72 -0
- reflex/components/radix/themes/components/alertdialog.pyi +733 -0
- reflex/components/radix/themes/components/aspectratio.py +20 -0
- reflex/components/radix/themes/components/aspectratio.pyi +144 -0
- reflex/components/radix/themes/components/avatar.py +38 -0
- reflex/components/radix/themes/components/avatar.pyi +233 -0
- reflex/components/radix/themes/components/badge.py +38 -0
- reflex/components/radix/themes/components/badge.pyi +291 -0
- reflex/components/radix/themes/components/button.py +39 -0
- reflex/components/radix/themes/components/button.pyi +330 -0
- reflex/components/radix/themes/components/callout.py +49 -0
- reflex/components/radix/themes/components/callout.pyi +668 -0
- reflex/components/radix/themes/components/card.py +25 -0
- reflex/components/radix/themes/components/card.pyi +214 -0
- reflex/components/radix/themes/components/checkbox.py +67 -0
- reflex/components/radix/themes/components/checkbox.pyi +249 -0
- reflex/components/radix/themes/components/contextmenu.py +134 -0
- reflex/components/radix/themes/{typography.pyi → components/contextmenu.pyi} +182 -602
- reflex/components/radix/themes/components/dialog.py +75 -0
- reflex/components/radix/themes/components/dialog.pyi +739 -0
- reflex/components/radix/themes/components/dropdownmenu.py +101 -0
- reflex/components/radix/themes/components/dropdownmenu.pyi +1065 -0
- reflex/components/radix/themes/components/hovercard.py +63 -0
- reflex/components/radix/themes/components/hovercard.pyi +487 -0
- reflex/components/radix/themes/components/iconbutton.py +39 -0
- reflex/components/radix/themes/components/iconbutton.pyi +332 -0
- reflex/components/radix/themes/components/icons.py +400 -0
- reflex/components/radix/themes/components/icons.pyi +185 -0
- reflex/components/radix/themes/components/inset.py +44 -0
- reflex/components/radix/themes/components/inset.pyi +230 -0
- reflex/components/radix/themes/components/popover.py +85 -0
- reflex/components/radix/themes/components/popover.pyi +634 -0
- reflex/components/radix/themes/components/radiogroup.py +72 -0
- reflex/components/radix/themes/components/radiogroup.pyi +369 -0
- reflex/components/radix/themes/components/scrollarea.py +31 -0
- reflex/components/radix/themes/components/scrollarea.pyi +165 -0
- reflex/components/radix/themes/components/select.py +137 -0
- reflex/components/radix/themes/{layout.pyi → components/select.pyi} +422 -418
- reflex/components/radix/themes/components/separator.py +30 -0
- reflex/components/radix/themes/components/separator.pyi +218 -0
- reflex/components/radix/themes/components/slider.py +68 -0
- reflex/components/radix/themes/components/slider.pyi +254 -0
- reflex/components/radix/themes/components/switch.py +68 -0
- reflex/components/radix/themes/components/switch.pyi +250 -0
- reflex/components/radix/themes/components/table.py +79 -0
- reflex/components/radix/themes/components/table.pyi +1485 -0
- reflex/components/radix/themes/components/tabs.py +65 -0
- reflex/components/radix/themes/components/tabs.pyi +549 -0
- reflex/components/radix/themes/components/textarea.py +68 -0
- reflex/components/radix/themes/components/textarea.pyi +333 -0
- reflex/components/radix/themes/{components.py → components/textfield.py} +3 -87
- reflex/components/radix/themes/{components.pyi → components/textfield.pyi} +202 -591
- reflex/components/radix/themes/layout/__init__.py +13 -0
- reflex/components/radix/themes/layout/base.py +48 -0
- reflex/components/radix/themes/layout/base.pyi +195 -0
- reflex/components/radix/themes/layout/box.py +12 -0
- reflex/components/radix/themes/layout/box.pyi +252 -0
- reflex/components/radix/themes/layout/container.py +23 -0
- reflex/components/radix/themes/layout/container.pyi +260 -0
- reflex/components/radix/themes/layout/flex.py +45 -0
- reflex/components/radix/themes/layout/flex.pyi +303 -0
- reflex/components/radix/themes/layout/grid.py +53 -0
- reflex/components/radix/themes/layout/grid.pyi +203 -0
- reflex/components/radix/themes/layout/section.py +20 -0
- reflex/components/radix/themes/layout/section.pyi +260 -0
- reflex/components/radix/themes/typography/__init__.py +21 -0
- reflex/components/radix/themes/typography/base.py +12 -0
- reflex/components/radix/themes/typography/blockquote.py +36 -0
- reflex/components/radix/themes/typography/blockquote.pyi +282 -0
- reflex/components/radix/themes/typography/code.py +40 -0
- reflex/components/radix/themes/typography/code.pyi +292 -0
- reflex/components/radix/themes/typography/em.py +18 -0
- reflex/components/radix/themes/typography/em.pyi +199 -0
- reflex/components/radix/themes/typography/heading.py +50 -0
- reflex/components/radix/themes/typography/heading.pyi +298 -0
- reflex/components/radix/themes/typography/kbd.py +25 -0
- reflex/components/radix/themes/typography/kbd.pyi +208 -0
- reflex/components/radix/themes/typography/link.py +49 -0
- reflex/components/radix/themes/typography/link.pyi +238 -0
- reflex/components/radix/themes/typography/quote.py +18 -0
- reflex/components/radix/themes/typography/quote.pyi +200 -0
- reflex/components/radix/themes/typography/strong.py +18 -0
- reflex/components/radix/themes/typography/strong.pyi +199 -0
- reflex/components/radix/themes/typography/text.py +50 -0
- reflex/components/radix/themes/typography/text.pyi +298 -0
- reflex/components/radix/themes/typography.py +1 -1
- reflex/constants/__init__.py +1 -0
- reflex/constants/base.py +7 -0
- reflex/constants/config.py +1 -1
- reflex/model.py +2 -1
- reflex/reflex.py +8 -1
- reflex/state.py +11 -0
- reflex/style.py +120 -10
- reflex/testing.py +4 -4
- reflex/utils/format.py +9 -5
- reflex/utils/prerequisites.py +49 -6
- reflex/utils/processes.py +8 -1
- reflex/utils/serializers.py +83 -0
- reflex/utils/types.py +22 -1
- reflex/vars.py +24 -1
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/METADATA +3 -2
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/RECORD +137 -44
- reflex/components/radix/themes/layout.py +0 -155
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/LICENSE +0 -0
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/WHEEL +0 -0
- {reflex-0.3.5a4.dist-info → reflex-0.3.7.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,1485 @@
|
|
|
1
|
+
"""Stub file for reflex/components/radix/themes/components/table.py"""
|
|
2
|
+
# ------------------- DO NOT EDIT ----------------------
|
|
3
|
+
# This file was generated by `scripts/pyi_generator.py`!
|
|
4
|
+
# ------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
7
|
+
from reflex.vars import Var, BaseVar, ComputedVar
|
|
8
|
+
from reflex.event import EventChain, EventHandler, EventSpec
|
|
9
|
+
from reflex.style import Style
|
|
10
|
+
from typing import Literal, Union
|
|
11
|
+
from reflex import el
|
|
12
|
+
from reflex.vars import Var
|
|
13
|
+
from ..base import CommonMarginProps, RadixThemesComponent
|
|
14
|
+
|
|
15
|
+
class TableRoot(el.Table, CommonMarginProps, RadixThemesComponent):
|
|
16
|
+
@overload
|
|
17
|
+
@classmethod
|
|
18
|
+
def create( # type: ignore
|
|
19
|
+
cls,
|
|
20
|
+
*children,
|
|
21
|
+
size: Optional[Union[Var[Literal[1, 2, 3]], Literal[1, 2, 3]]] = None,
|
|
22
|
+
variant: Optional[
|
|
23
|
+
Union[Var[Literal["surface", "ghost"]], Literal["surface", "ghost"]]
|
|
24
|
+
] = None,
|
|
25
|
+
align: Optional[
|
|
26
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
27
|
+
] = None,
|
|
28
|
+
background: Optional[
|
|
29
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
30
|
+
] = None,
|
|
31
|
+
bgcolor: Optional[
|
|
32
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
33
|
+
] = None,
|
|
34
|
+
border: Optional[
|
|
35
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
36
|
+
] = None,
|
|
37
|
+
summary: Optional[
|
|
38
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
39
|
+
] = None,
|
|
40
|
+
access_key: Optional[
|
|
41
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
42
|
+
] = None,
|
|
43
|
+
auto_capitalize: Optional[
|
|
44
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
45
|
+
] = None,
|
|
46
|
+
content_editable: Optional[
|
|
47
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
48
|
+
] = None,
|
|
49
|
+
context_menu: Optional[
|
|
50
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
51
|
+
] = None,
|
|
52
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
53
|
+
draggable: Optional[
|
|
54
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
55
|
+
] = None,
|
|
56
|
+
enter_key_hint: Optional[
|
|
57
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
58
|
+
] = None,
|
|
59
|
+
hidden: Optional[
|
|
60
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
61
|
+
] = None,
|
|
62
|
+
input_mode: Optional[
|
|
63
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
64
|
+
] = None,
|
|
65
|
+
item_prop: Optional[
|
|
66
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
67
|
+
] = None,
|
|
68
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
69
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
70
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
71
|
+
spell_check: Optional[
|
|
72
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
73
|
+
] = None,
|
|
74
|
+
tab_index: Optional[
|
|
75
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
76
|
+
] = None,
|
|
77
|
+
title: Optional[
|
|
78
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
79
|
+
] = None,
|
|
80
|
+
translate: Optional[
|
|
81
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
82
|
+
] = None,
|
|
83
|
+
m: Optional[
|
|
84
|
+
Union[
|
|
85
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
86
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
87
|
+
]
|
|
88
|
+
] = None,
|
|
89
|
+
mx: Optional[
|
|
90
|
+
Union[
|
|
91
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
92
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
93
|
+
]
|
|
94
|
+
] = None,
|
|
95
|
+
my: Optional[
|
|
96
|
+
Union[
|
|
97
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
98
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
99
|
+
]
|
|
100
|
+
] = None,
|
|
101
|
+
mt: Optional[
|
|
102
|
+
Union[
|
|
103
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
104
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
105
|
+
]
|
|
106
|
+
] = None,
|
|
107
|
+
mr: Optional[
|
|
108
|
+
Union[
|
|
109
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
110
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
111
|
+
]
|
|
112
|
+
] = None,
|
|
113
|
+
mb: Optional[
|
|
114
|
+
Union[
|
|
115
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
116
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
117
|
+
]
|
|
118
|
+
] = None,
|
|
119
|
+
ml: Optional[
|
|
120
|
+
Union[
|
|
121
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
122
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
123
|
+
]
|
|
124
|
+
] = None,
|
|
125
|
+
style: Optional[Style] = None,
|
|
126
|
+
key: Optional[Any] = None,
|
|
127
|
+
id: Optional[Any] = None,
|
|
128
|
+
class_name: Optional[Any] = None,
|
|
129
|
+
autofocus: Optional[bool] = None,
|
|
130
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
131
|
+
on_blur: Optional[
|
|
132
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
133
|
+
] = None,
|
|
134
|
+
on_click: Optional[
|
|
135
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
136
|
+
] = None,
|
|
137
|
+
on_context_menu: Optional[
|
|
138
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
139
|
+
] = None,
|
|
140
|
+
on_double_click: Optional[
|
|
141
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
142
|
+
] = None,
|
|
143
|
+
on_focus: Optional[
|
|
144
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
145
|
+
] = None,
|
|
146
|
+
on_mount: Optional[
|
|
147
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
148
|
+
] = None,
|
|
149
|
+
on_mouse_down: Optional[
|
|
150
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
151
|
+
] = None,
|
|
152
|
+
on_mouse_enter: Optional[
|
|
153
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
154
|
+
] = None,
|
|
155
|
+
on_mouse_leave: Optional[
|
|
156
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
157
|
+
] = None,
|
|
158
|
+
on_mouse_move: Optional[
|
|
159
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
160
|
+
] = None,
|
|
161
|
+
on_mouse_out: Optional[
|
|
162
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
163
|
+
] = None,
|
|
164
|
+
on_mouse_over: Optional[
|
|
165
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
166
|
+
] = None,
|
|
167
|
+
on_mouse_up: Optional[
|
|
168
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
169
|
+
] = None,
|
|
170
|
+
on_scroll: Optional[
|
|
171
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
172
|
+
] = None,
|
|
173
|
+
on_unmount: Optional[
|
|
174
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
175
|
+
] = None,
|
|
176
|
+
**props
|
|
177
|
+
) -> "TableRoot":
|
|
178
|
+
"""Create a new component instance.
|
|
179
|
+
|
|
180
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
181
|
+
other UI libraries for common names, like Text and Button.
|
|
182
|
+
|
|
183
|
+
Args:
|
|
184
|
+
*children: Child components.
|
|
185
|
+
size: The size of the table: "1" | "2" | "3"
|
|
186
|
+
variant: The variant of the table
|
|
187
|
+
align: Alignment of the table
|
|
188
|
+
background: Background image for the table
|
|
189
|
+
bgcolor: Background color of the table
|
|
190
|
+
border: Specifies the width of the border around the table
|
|
191
|
+
summary: Provides a summary of the table's purpose and structure
|
|
192
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
193
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
194
|
+
content_editable: Indicates whether the element's content is editable.
|
|
195
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
196
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
197
|
+
draggable: Defines whether the element can be dragged.
|
|
198
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
199
|
+
hidden: Defines whether the element is hidden.
|
|
200
|
+
input_mode: Defines the type of the element.
|
|
201
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
202
|
+
lang: Defines the language used in the element.
|
|
203
|
+
role: Defines the role of the element.
|
|
204
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
205
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
206
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
207
|
+
title: Defines a tooltip for the element.
|
|
208
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
209
|
+
m: Margin: "0" - "9"
|
|
210
|
+
mx: Margin horizontal: "0" - "9"
|
|
211
|
+
my: Margin vertical: "0" - "9"
|
|
212
|
+
mt: Margin top: "0" - "9"
|
|
213
|
+
mr: Margin right: "0" - "9"
|
|
214
|
+
mb: Margin bottom: "0" - "9"
|
|
215
|
+
ml: Margin left: "0" - "9"
|
|
216
|
+
style: The style of the component.
|
|
217
|
+
key: A unique key for the component.
|
|
218
|
+
id: The id for the component.
|
|
219
|
+
class_name: The class name for the component.
|
|
220
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
221
|
+
custom_attrs: custom attribute
|
|
222
|
+
**props: Component properties.
|
|
223
|
+
|
|
224
|
+
Returns:
|
|
225
|
+
A new component instance.
|
|
226
|
+
"""
|
|
227
|
+
...
|
|
228
|
+
|
|
229
|
+
class TableHeader(el.Thead, CommonMarginProps, RadixThemesComponent):
|
|
230
|
+
@overload
|
|
231
|
+
@classmethod
|
|
232
|
+
def create( # type: ignore
|
|
233
|
+
cls,
|
|
234
|
+
*children,
|
|
235
|
+
align: Optional[
|
|
236
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
237
|
+
] = None,
|
|
238
|
+
access_key: Optional[
|
|
239
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
240
|
+
] = None,
|
|
241
|
+
auto_capitalize: Optional[
|
|
242
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
243
|
+
] = None,
|
|
244
|
+
content_editable: Optional[
|
|
245
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
246
|
+
] = None,
|
|
247
|
+
context_menu: Optional[
|
|
248
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
249
|
+
] = None,
|
|
250
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
251
|
+
draggable: Optional[
|
|
252
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
253
|
+
] = None,
|
|
254
|
+
enter_key_hint: Optional[
|
|
255
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
256
|
+
] = None,
|
|
257
|
+
hidden: Optional[
|
|
258
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
259
|
+
] = None,
|
|
260
|
+
input_mode: Optional[
|
|
261
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
262
|
+
] = None,
|
|
263
|
+
item_prop: Optional[
|
|
264
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
265
|
+
] = None,
|
|
266
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
267
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
268
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
269
|
+
spell_check: Optional[
|
|
270
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
271
|
+
] = None,
|
|
272
|
+
tab_index: Optional[
|
|
273
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
274
|
+
] = None,
|
|
275
|
+
title: Optional[
|
|
276
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
277
|
+
] = None,
|
|
278
|
+
translate: Optional[
|
|
279
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
280
|
+
] = None,
|
|
281
|
+
m: Optional[
|
|
282
|
+
Union[
|
|
283
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
284
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
285
|
+
]
|
|
286
|
+
] = None,
|
|
287
|
+
mx: Optional[
|
|
288
|
+
Union[
|
|
289
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
290
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
291
|
+
]
|
|
292
|
+
] = None,
|
|
293
|
+
my: Optional[
|
|
294
|
+
Union[
|
|
295
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
296
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
297
|
+
]
|
|
298
|
+
] = None,
|
|
299
|
+
mt: Optional[
|
|
300
|
+
Union[
|
|
301
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
302
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
303
|
+
]
|
|
304
|
+
] = None,
|
|
305
|
+
mr: Optional[
|
|
306
|
+
Union[
|
|
307
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
308
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
309
|
+
]
|
|
310
|
+
] = None,
|
|
311
|
+
mb: Optional[
|
|
312
|
+
Union[
|
|
313
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
314
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
315
|
+
]
|
|
316
|
+
] = None,
|
|
317
|
+
ml: Optional[
|
|
318
|
+
Union[
|
|
319
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
320
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
321
|
+
]
|
|
322
|
+
] = None,
|
|
323
|
+
style: Optional[Style] = None,
|
|
324
|
+
key: Optional[Any] = None,
|
|
325
|
+
id: Optional[Any] = None,
|
|
326
|
+
class_name: Optional[Any] = None,
|
|
327
|
+
autofocus: Optional[bool] = None,
|
|
328
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
329
|
+
on_blur: Optional[
|
|
330
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
331
|
+
] = None,
|
|
332
|
+
on_click: Optional[
|
|
333
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
334
|
+
] = None,
|
|
335
|
+
on_context_menu: Optional[
|
|
336
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
337
|
+
] = None,
|
|
338
|
+
on_double_click: Optional[
|
|
339
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
340
|
+
] = None,
|
|
341
|
+
on_focus: Optional[
|
|
342
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
343
|
+
] = None,
|
|
344
|
+
on_mount: Optional[
|
|
345
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
346
|
+
] = None,
|
|
347
|
+
on_mouse_down: Optional[
|
|
348
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
349
|
+
] = None,
|
|
350
|
+
on_mouse_enter: Optional[
|
|
351
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
352
|
+
] = None,
|
|
353
|
+
on_mouse_leave: Optional[
|
|
354
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
355
|
+
] = None,
|
|
356
|
+
on_mouse_move: Optional[
|
|
357
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
358
|
+
] = None,
|
|
359
|
+
on_mouse_out: Optional[
|
|
360
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
361
|
+
] = None,
|
|
362
|
+
on_mouse_over: Optional[
|
|
363
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
364
|
+
] = None,
|
|
365
|
+
on_mouse_up: Optional[
|
|
366
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
367
|
+
] = None,
|
|
368
|
+
on_scroll: Optional[
|
|
369
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
370
|
+
] = None,
|
|
371
|
+
on_unmount: Optional[
|
|
372
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
373
|
+
] = None,
|
|
374
|
+
**props
|
|
375
|
+
) -> "TableHeader":
|
|
376
|
+
"""Create a new component instance.
|
|
377
|
+
|
|
378
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
379
|
+
other UI libraries for common names, like Text and Button.
|
|
380
|
+
|
|
381
|
+
Args:
|
|
382
|
+
*children: Child components.
|
|
383
|
+
align: Alignment of the content within the table header
|
|
384
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
385
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
386
|
+
content_editable: Indicates whether the element's content is editable.
|
|
387
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
388
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
389
|
+
draggable: Defines whether the element can be dragged.
|
|
390
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
391
|
+
hidden: Defines whether the element is hidden.
|
|
392
|
+
input_mode: Defines the type of the element.
|
|
393
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
394
|
+
lang: Defines the language used in the element.
|
|
395
|
+
role: Defines the role of the element.
|
|
396
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
397
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
398
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
399
|
+
title: Defines a tooltip for the element.
|
|
400
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
401
|
+
m: Margin: "0" - "9"
|
|
402
|
+
mx: Margin horizontal: "0" - "9"
|
|
403
|
+
my: Margin vertical: "0" - "9"
|
|
404
|
+
mt: Margin top: "0" - "9"
|
|
405
|
+
mr: Margin right: "0" - "9"
|
|
406
|
+
mb: Margin bottom: "0" - "9"
|
|
407
|
+
ml: Margin left: "0" - "9"
|
|
408
|
+
style: The style of the component.
|
|
409
|
+
key: A unique key for the component.
|
|
410
|
+
id: The id for the component.
|
|
411
|
+
class_name: The class name for the component.
|
|
412
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
413
|
+
custom_attrs: custom attribute
|
|
414
|
+
**props: Component properties.
|
|
415
|
+
|
|
416
|
+
Returns:
|
|
417
|
+
A new component instance.
|
|
418
|
+
"""
|
|
419
|
+
...
|
|
420
|
+
|
|
421
|
+
class TableRow(el.Tr, CommonMarginProps, RadixThemesComponent):
|
|
422
|
+
@overload
|
|
423
|
+
@classmethod
|
|
424
|
+
def create( # type: ignore
|
|
425
|
+
cls,
|
|
426
|
+
*children,
|
|
427
|
+
align: Optional[
|
|
428
|
+
Union[
|
|
429
|
+
Var[Literal["start", "center", "end", "baseline"]],
|
|
430
|
+
Literal["start", "center", "end", "baseline"],
|
|
431
|
+
]
|
|
432
|
+
] = None,
|
|
433
|
+
bgcolor: Optional[
|
|
434
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
435
|
+
] = None,
|
|
436
|
+
access_key: Optional[
|
|
437
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
438
|
+
] = None,
|
|
439
|
+
auto_capitalize: Optional[
|
|
440
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
441
|
+
] = None,
|
|
442
|
+
content_editable: Optional[
|
|
443
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
444
|
+
] = None,
|
|
445
|
+
context_menu: Optional[
|
|
446
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
447
|
+
] = None,
|
|
448
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
449
|
+
draggable: Optional[
|
|
450
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
451
|
+
] = None,
|
|
452
|
+
enter_key_hint: Optional[
|
|
453
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
454
|
+
] = None,
|
|
455
|
+
hidden: Optional[
|
|
456
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
457
|
+
] = None,
|
|
458
|
+
input_mode: Optional[
|
|
459
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
460
|
+
] = None,
|
|
461
|
+
item_prop: Optional[
|
|
462
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
463
|
+
] = None,
|
|
464
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
465
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
466
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
467
|
+
spell_check: Optional[
|
|
468
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
469
|
+
] = None,
|
|
470
|
+
tab_index: Optional[
|
|
471
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
472
|
+
] = None,
|
|
473
|
+
title: Optional[
|
|
474
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
475
|
+
] = None,
|
|
476
|
+
translate: Optional[
|
|
477
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
478
|
+
] = None,
|
|
479
|
+
m: Optional[
|
|
480
|
+
Union[
|
|
481
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
482
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
483
|
+
]
|
|
484
|
+
] = None,
|
|
485
|
+
mx: Optional[
|
|
486
|
+
Union[
|
|
487
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
488
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
489
|
+
]
|
|
490
|
+
] = None,
|
|
491
|
+
my: Optional[
|
|
492
|
+
Union[
|
|
493
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
494
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
495
|
+
]
|
|
496
|
+
] = None,
|
|
497
|
+
mt: Optional[
|
|
498
|
+
Union[
|
|
499
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
500
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
501
|
+
]
|
|
502
|
+
] = None,
|
|
503
|
+
mr: Optional[
|
|
504
|
+
Union[
|
|
505
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
506
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
507
|
+
]
|
|
508
|
+
] = None,
|
|
509
|
+
mb: Optional[
|
|
510
|
+
Union[
|
|
511
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
512
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
513
|
+
]
|
|
514
|
+
] = None,
|
|
515
|
+
ml: Optional[
|
|
516
|
+
Union[
|
|
517
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
518
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
519
|
+
]
|
|
520
|
+
] = None,
|
|
521
|
+
style: Optional[Style] = None,
|
|
522
|
+
key: Optional[Any] = None,
|
|
523
|
+
id: Optional[Any] = None,
|
|
524
|
+
class_name: Optional[Any] = None,
|
|
525
|
+
autofocus: Optional[bool] = None,
|
|
526
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
527
|
+
on_blur: Optional[
|
|
528
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
529
|
+
] = None,
|
|
530
|
+
on_click: Optional[
|
|
531
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
532
|
+
] = None,
|
|
533
|
+
on_context_menu: Optional[
|
|
534
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
535
|
+
] = None,
|
|
536
|
+
on_double_click: Optional[
|
|
537
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
538
|
+
] = None,
|
|
539
|
+
on_focus: Optional[
|
|
540
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
541
|
+
] = None,
|
|
542
|
+
on_mount: Optional[
|
|
543
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
544
|
+
] = None,
|
|
545
|
+
on_mouse_down: Optional[
|
|
546
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
547
|
+
] = None,
|
|
548
|
+
on_mouse_enter: Optional[
|
|
549
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
550
|
+
] = None,
|
|
551
|
+
on_mouse_leave: Optional[
|
|
552
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
553
|
+
] = None,
|
|
554
|
+
on_mouse_move: Optional[
|
|
555
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
556
|
+
] = None,
|
|
557
|
+
on_mouse_out: Optional[
|
|
558
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
559
|
+
] = None,
|
|
560
|
+
on_mouse_over: Optional[
|
|
561
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
562
|
+
] = None,
|
|
563
|
+
on_mouse_up: Optional[
|
|
564
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
565
|
+
] = None,
|
|
566
|
+
on_scroll: Optional[
|
|
567
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
568
|
+
] = None,
|
|
569
|
+
on_unmount: Optional[
|
|
570
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
571
|
+
] = None,
|
|
572
|
+
**props
|
|
573
|
+
) -> "TableRow":
|
|
574
|
+
"""Create a new component instance.
|
|
575
|
+
|
|
576
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
577
|
+
other UI libraries for common names, like Text and Button.
|
|
578
|
+
|
|
579
|
+
Args:
|
|
580
|
+
*children: Child components.
|
|
581
|
+
align: Alignment of the content within the table row
|
|
582
|
+
bgcolor: Background color of the table row
|
|
583
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
584
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
585
|
+
content_editable: Indicates whether the element's content is editable.
|
|
586
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
587
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
588
|
+
draggable: Defines whether the element can be dragged.
|
|
589
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
590
|
+
hidden: Defines whether the element is hidden.
|
|
591
|
+
input_mode: Defines the type of the element.
|
|
592
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
593
|
+
lang: Defines the language used in the element.
|
|
594
|
+
role: Defines the role of the element.
|
|
595
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
596
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
597
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
598
|
+
title: Defines a tooltip for the element.
|
|
599
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
600
|
+
m: Margin: "0" - "9"
|
|
601
|
+
mx: Margin horizontal: "0" - "9"
|
|
602
|
+
my: Margin vertical: "0" - "9"
|
|
603
|
+
mt: Margin top: "0" - "9"
|
|
604
|
+
mr: Margin right: "0" - "9"
|
|
605
|
+
mb: Margin bottom: "0" - "9"
|
|
606
|
+
ml: Margin left: "0" - "9"
|
|
607
|
+
style: The style of the component.
|
|
608
|
+
key: A unique key for the component.
|
|
609
|
+
id: The id for the component.
|
|
610
|
+
class_name: The class name for the component.
|
|
611
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
612
|
+
custom_attrs: custom attribute
|
|
613
|
+
**props: Component properties.
|
|
614
|
+
|
|
615
|
+
Returns:
|
|
616
|
+
A new component instance.
|
|
617
|
+
"""
|
|
618
|
+
...
|
|
619
|
+
|
|
620
|
+
class TableColumnHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
621
|
+
@overload
|
|
622
|
+
@classmethod
|
|
623
|
+
def create( # type: ignore
|
|
624
|
+
cls,
|
|
625
|
+
*children,
|
|
626
|
+
justify: Optional[
|
|
627
|
+
Union[
|
|
628
|
+
Var[Literal["start", "center", "end"]],
|
|
629
|
+
Literal["start", "center", "end"],
|
|
630
|
+
]
|
|
631
|
+
] = None,
|
|
632
|
+
width: Optional[Union[Var[Union[str, int]], Union[str, int]]] = None,
|
|
633
|
+
align: Optional[
|
|
634
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
635
|
+
] = None,
|
|
636
|
+
background: Optional[
|
|
637
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
638
|
+
] = None,
|
|
639
|
+
bgcolor: Optional[
|
|
640
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
641
|
+
] = None,
|
|
642
|
+
col_span: Optional[
|
|
643
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
644
|
+
] = None,
|
|
645
|
+
headers: Optional[
|
|
646
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
647
|
+
] = None,
|
|
648
|
+
row_span: Optional[
|
|
649
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
650
|
+
] = None,
|
|
651
|
+
scope: Optional[
|
|
652
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
653
|
+
] = None,
|
|
654
|
+
access_key: Optional[
|
|
655
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
656
|
+
] = None,
|
|
657
|
+
auto_capitalize: Optional[
|
|
658
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
659
|
+
] = None,
|
|
660
|
+
content_editable: Optional[
|
|
661
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
662
|
+
] = None,
|
|
663
|
+
context_menu: Optional[
|
|
664
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
665
|
+
] = None,
|
|
666
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
667
|
+
draggable: Optional[
|
|
668
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
669
|
+
] = None,
|
|
670
|
+
enter_key_hint: Optional[
|
|
671
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
672
|
+
] = None,
|
|
673
|
+
hidden: Optional[
|
|
674
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
675
|
+
] = None,
|
|
676
|
+
input_mode: Optional[
|
|
677
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
678
|
+
] = None,
|
|
679
|
+
item_prop: Optional[
|
|
680
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
681
|
+
] = None,
|
|
682
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
683
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
684
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
685
|
+
spell_check: Optional[
|
|
686
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
687
|
+
] = None,
|
|
688
|
+
tab_index: Optional[
|
|
689
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
690
|
+
] = None,
|
|
691
|
+
title: Optional[
|
|
692
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
693
|
+
] = None,
|
|
694
|
+
translate: Optional[
|
|
695
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
696
|
+
] = None,
|
|
697
|
+
m: Optional[
|
|
698
|
+
Union[
|
|
699
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
700
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
701
|
+
]
|
|
702
|
+
] = None,
|
|
703
|
+
mx: Optional[
|
|
704
|
+
Union[
|
|
705
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
706
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
707
|
+
]
|
|
708
|
+
] = None,
|
|
709
|
+
my: Optional[
|
|
710
|
+
Union[
|
|
711
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
712
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
713
|
+
]
|
|
714
|
+
] = None,
|
|
715
|
+
mt: Optional[
|
|
716
|
+
Union[
|
|
717
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
718
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
719
|
+
]
|
|
720
|
+
] = None,
|
|
721
|
+
mr: Optional[
|
|
722
|
+
Union[
|
|
723
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
724
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
725
|
+
]
|
|
726
|
+
] = None,
|
|
727
|
+
mb: Optional[
|
|
728
|
+
Union[
|
|
729
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
730
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
731
|
+
]
|
|
732
|
+
] = None,
|
|
733
|
+
ml: Optional[
|
|
734
|
+
Union[
|
|
735
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
736
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
737
|
+
]
|
|
738
|
+
] = None,
|
|
739
|
+
style: Optional[Style] = None,
|
|
740
|
+
key: Optional[Any] = None,
|
|
741
|
+
id: Optional[Any] = None,
|
|
742
|
+
class_name: Optional[Any] = None,
|
|
743
|
+
autofocus: Optional[bool] = None,
|
|
744
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
745
|
+
on_blur: Optional[
|
|
746
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
747
|
+
] = None,
|
|
748
|
+
on_click: Optional[
|
|
749
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
750
|
+
] = None,
|
|
751
|
+
on_context_menu: Optional[
|
|
752
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
753
|
+
] = None,
|
|
754
|
+
on_double_click: Optional[
|
|
755
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
756
|
+
] = None,
|
|
757
|
+
on_focus: Optional[
|
|
758
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
759
|
+
] = None,
|
|
760
|
+
on_mount: Optional[
|
|
761
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
762
|
+
] = None,
|
|
763
|
+
on_mouse_down: Optional[
|
|
764
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
765
|
+
] = None,
|
|
766
|
+
on_mouse_enter: Optional[
|
|
767
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
768
|
+
] = None,
|
|
769
|
+
on_mouse_leave: Optional[
|
|
770
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
771
|
+
] = None,
|
|
772
|
+
on_mouse_move: Optional[
|
|
773
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
774
|
+
] = None,
|
|
775
|
+
on_mouse_out: Optional[
|
|
776
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
777
|
+
] = None,
|
|
778
|
+
on_mouse_over: Optional[
|
|
779
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
780
|
+
] = None,
|
|
781
|
+
on_mouse_up: Optional[
|
|
782
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
783
|
+
] = None,
|
|
784
|
+
on_scroll: Optional[
|
|
785
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
786
|
+
] = None,
|
|
787
|
+
on_unmount: Optional[
|
|
788
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
789
|
+
] = None,
|
|
790
|
+
**props
|
|
791
|
+
) -> "TableColumnHeaderCell":
|
|
792
|
+
"""Create a new component instance.
|
|
793
|
+
|
|
794
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
795
|
+
other UI libraries for common names, like Text and Button.
|
|
796
|
+
|
|
797
|
+
Args:
|
|
798
|
+
*children: Child components.
|
|
799
|
+
justify: The justification of the column
|
|
800
|
+
width: width of the column
|
|
801
|
+
align: Alignment of the content within the table header cell
|
|
802
|
+
background: Background image for the table header cell
|
|
803
|
+
bgcolor: Background color of the table header cell
|
|
804
|
+
col_span: Number of columns a header cell should span
|
|
805
|
+
headers: IDs of the headers associated with this header cell
|
|
806
|
+
row_span: Number of rows a header cell should span
|
|
807
|
+
scope: Scope of the header cell (row, col, rowgroup, colgroup)
|
|
808
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
809
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
810
|
+
content_editable: Indicates whether the element's content is editable.
|
|
811
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
812
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
813
|
+
draggable: Defines whether the element can be dragged.
|
|
814
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
815
|
+
hidden: Defines whether the element is hidden.
|
|
816
|
+
input_mode: Defines the type of the element.
|
|
817
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
818
|
+
lang: Defines the language used in the element.
|
|
819
|
+
role: Defines the role of the element.
|
|
820
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
821
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
822
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
823
|
+
title: Defines a tooltip for the element.
|
|
824
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
825
|
+
m: Margin: "0" - "9"
|
|
826
|
+
mx: Margin horizontal: "0" - "9"
|
|
827
|
+
my: Margin vertical: "0" - "9"
|
|
828
|
+
mt: Margin top: "0" - "9"
|
|
829
|
+
mr: Margin right: "0" - "9"
|
|
830
|
+
mb: Margin bottom: "0" - "9"
|
|
831
|
+
ml: Margin left: "0" - "9"
|
|
832
|
+
style: The style of the component.
|
|
833
|
+
key: A unique key for the component.
|
|
834
|
+
id: The id for the component.
|
|
835
|
+
class_name: The class name for the component.
|
|
836
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
837
|
+
custom_attrs: custom attribute
|
|
838
|
+
**props: Component properties.
|
|
839
|
+
|
|
840
|
+
Returns:
|
|
841
|
+
A new component instance.
|
|
842
|
+
"""
|
|
843
|
+
...
|
|
844
|
+
|
|
845
|
+
class TableBody(el.Tbody, CommonMarginProps, RadixThemesComponent):
|
|
846
|
+
@overload
|
|
847
|
+
@classmethod
|
|
848
|
+
def create( # type: ignore
|
|
849
|
+
cls,
|
|
850
|
+
*children,
|
|
851
|
+
align: Optional[
|
|
852
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
853
|
+
] = None,
|
|
854
|
+
bgcolor: Optional[
|
|
855
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
856
|
+
] = None,
|
|
857
|
+
access_key: Optional[
|
|
858
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
859
|
+
] = None,
|
|
860
|
+
auto_capitalize: Optional[
|
|
861
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
862
|
+
] = None,
|
|
863
|
+
content_editable: Optional[
|
|
864
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
865
|
+
] = None,
|
|
866
|
+
context_menu: Optional[
|
|
867
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
868
|
+
] = None,
|
|
869
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
870
|
+
draggable: Optional[
|
|
871
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
872
|
+
] = None,
|
|
873
|
+
enter_key_hint: Optional[
|
|
874
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
875
|
+
] = None,
|
|
876
|
+
hidden: Optional[
|
|
877
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
878
|
+
] = None,
|
|
879
|
+
input_mode: Optional[
|
|
880
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
881
|
+
] = None,
|
|
882
|
+
item_prop: Optional[
|
|
883
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
884
|
+
] = None,
|
|
885
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
886
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
887
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
888
|
+
spell_check: Optional[
|
|
889
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
890
|
+
] = None,
|
|
891
|
+
tab_index: Optional[
|
|
892
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
893
|
+
] = None,
|
|
894
|
+
title: Optional[
|
|
895
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
896
|
+
] = None,
|
|
897
|
+
translate: Optional[
|
|
898
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
899
|
+
] = None,
|
|
900
|
+
m: Optional[
|
|
901
|
+
Union[
|
|
902
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
903
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
904
|
+
]
|
|
905
|
+
] = None,
|
|
906
|
+
mx: Optional[
|
|
907
|
+
Union[
|
|
908
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
909
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
910
|
+
]
|
|
911
|
+
] = None,
|
|
912
|
+
my: Optional[
|
|
913
|
+
Union[
|
|
914
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
915
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
916
|
+
]
|
|
917
|
+
] = None,
|
|
918
|
+
mt: Optional[
|
|
919
|
+
Union[
|
|
920
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
921
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
922
|
+
]
|
|
923
|
+
] = None,
|
|
924
|
+
mr: Optional[
|
|
925
|
+
Union[
|
|
926
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
927
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
928
|
+
]
|
|
929
|
+
] = None,
|
|
930
|
+
mb: Optional[
|
|
931
|
+
Union[
|
|
932
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
933
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
934
|
+
]
|
|
935
|
+
] = None,
|
|
936
|
+
ml: Optional[
|
|
937
|
+
Union[
|
|
938
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
939
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
940
|
+
]
|
|
941
|
+
] = None,
|
|
942
|
+
style: Optional[Style] = None,
|
|
943
|
+
key: Optional[Any] = None,
|
|
944
|
+
id: Optional[Any] = None,
|
|
945
|
+
class_name: Optional[Any] = None,
|
|
946
|
+
autofocus: Optional[bool] = None,
|
|
947
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
948
|
+
on_blur: Optional[
|
|
949
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
950
|
+
] = None,
|
|
951
|
+
on_click: Optional[
|
|
952
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
953
|
+
] = None,
|
|
954
|
+
on_context_menu: Optional[
|
|
955
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
956
|
+
] = None,
|
|
957
|
+
on_double_click: Optional[
|
|
958
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
959
|
+
] = None,
|
|
960
|
+
on_focus: Optional[
|
|
961
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
962
|
+
] = None,
|
|
963
|
+
on_mount: Optional[
|
|
964
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
965
|
+
] = None,
|
|
966
|
+
on_mouse_down: Optional[
|
|
967
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
968
|
+
] = None,
|
|
969
|
+
on_mouse_enter: Optional[
|
|
970
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
971
|
+
] = None,
|
|
972
|
+
on_mouse_leave: Optional[
|
|
973
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
974
|
+
] = None,
|
|
975
|
+
on_mouse_move: Optional[
|
|
976
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
977
|
+
] = None,
|
|
978
|
+
on_mouse_out: Optional[
|
|
979
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
980
|
+
] = None,
|
|
981
|
+
on_mouse_over: Optional[
|
|
982
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
983
|
+
] = None,
|
|
984
|
+
on_mouse_up: Optional[
|
|
985
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
986
|
+
] = None,
|
|
987
|
+
on_scroll: Optional[
|
|
988
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
989
|
+
] = None,
|
|
990
|
+
on_unmount: Optional[
|
|
991
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
992
|
+
] = None,
|
|
993
|
+
**props
|
|
994
|
+
) -> "TableBody":
|
|
995
|
+
"""Create a new component instance.
|
|
996
|
+
|
|
997
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
998
|
+
other UI libraries for common names, like Text and Button.
|
|
999
|
+
|
|
1000
|
+
Args:
|
|
1001
|
+
*children: Child components.
|
|
1002
|
+
align: Alignment of the content within the table body
|
|
1003
|
+
bgcolor: Background color of the table body
|
|
1004
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1005
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1006
|
+
content_editable: Indicates whether the element's content is editable.
|
|
1007
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1008
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1009
|
+
draggable: Defines whether the element can be dragged.
|
|
1010
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
1011
|
+
hidden: Defines whether the element is hidden.
|
|
1012
|
+
input_mode: Defines the type of the element.
|
|
1013
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
1014
|
+
lang: Defines the language used in the element.
|
|
1015
|
+
role: Defines the role of the element.
|
|
1016
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1017
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1018
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
1019
|
+
title: Defines a tooltip for the element.
|
|
1020
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
1021
|
+
m: Margin: "0" - "9"
|
|
1022
|
+
mx: Margin horizontal: "0" - "9"
|
|
1023
|
+
my: Margin vertical: "0" - "9"
|
|
1024
|
+
mt: Margin top: "0" - "9"
|
|
1025
|
+
mr: Margin right: "0" - "9"
|
|
1026
|
+
mb: Margin bottom: "0" - "9"
|
|
1027
|
+
ml: Margin left: "0" - "9"
|
|
1028
|
+
style: The style of the component.
|
|
1029
|
+
key: A unique key for the component.
|
|
1030
|
+
id: The id for the component.
|
|
1031
|
+
class_name: The class name for the component.
|
|
1032
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
1033
|
+
custom_attrs: custom attribute
|
|
1034
|
+
**props: Component properties.
|
|
1035
|
+
|
|
1036
|
+
Returns:
|
|
1037
|
+
A new component instance.
|
|
1038
|
+
"""
|
|
1039
|
+
...
|
|
1040
|
+
|
|
1041
|
+
class TableCell(el.Td, CommonMarginProps, RadixThemesComponent):
|
|
1042
|
+
@overload
|
|
1043
|
+
@classmethod
|
|
1044
|
+
def create( # type: ignore
|
|
1045
|
+
cls,
|
|
1046
|
+
*children,
|
|
1047
|
+
justify: Optional[
|
|
1048
|
+
Union[
|
|
1049
|
+
Var[Literal["start", "center", "end"]],
|
|
1050
|
+
Literal["start", "center", "end"],
|
|
1051
|
+
]
|
|
1052
|
+
] = None,
|
|
1053
|
+
width: Optional[Union[Var[Union[str, int]], Union[str, int]]] = None,
|
|
1054
|
+
align: Optional[
|
|
1055
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1056
|
+
] = None,
|
|
1057
|
+
background: Optional[
|
|
1058
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1059
|
+
] = None,
|
|
1060
|
+
bgcolor: Optional[
|
|
1061
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1062
|
+
] = None,
|
|
1063
|
+
col_span: Optional[
|
|
1064
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1065
|
+
] = None,
|
|
1066
|
+
headers: Optional[
|
|
1067
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1068
|
+
] = None,
|
|
1069
|
+
row_span: Optional[
|
|
1070
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1071
|
+
] = None,
|
|
1072
|
+
access_key: Optional[
|
|
1073
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1074
|
+
] = None,
|
|
1075
|
+
auto_capitalize: Optional[
|
|
1076
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1077
|
+
] = None,
|
|
1078
|
+
content_editable: Optional[
|
|
1079
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1080
|
+
] = None,
|
|
1081
|
+
context_menu: Optional[
|
|
1082
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1083
|
+
] = None,
|
|
1084
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1085
|
+
draggable: Optional[
|
|
1086
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1087
|
+
] = None,
|
|
1088
|
+
enter_key_hint: Optional[
|
|
1089
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1090
|
+
] = None,
|
|
1091
|
+
hidden: Optional[
|
|
1092
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1093
|
+
] = None,
|
|
1094
|
+
input_mode: Optional[
|
|
1095
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1096
|
+
] = None,
|
|
1097
|
+
item_prop: Optional[
|
|
1098
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1099
|
+
] = None,
|
|
1100
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1101
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1102
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1103
|
+
spell_check: Optional[
|
|
1104
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1105
|
+
] = None,
|
|
1106
|
+
tab_index: Optional[
|
|
1107
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1108
|
+
] = None,
|
|
1109
|
+
title: Optional[
|
|
1110
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1111
|
+
] = None,
|
|
1112
|
+
translate: Optional[
|
|
1113
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1114
|
+
] = None,
|
|
1115
|
+
m: Optional[
|
|
1116
|
+
Union[
|
|
1117
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1118
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1119
|
+
]
|
|
1120
|
+
] = None,
|
|
1121
|
+
mx: Optional[
|
|
1122
|
+
Union[
|
|
1123
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1124
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1125
|
+
]
|
|
1126
|
+
] = None,
|
|
1127
|
+
my: Optional[
|
|
1128
|
+
Union[
|
|
1129
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1130
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1131
|
+
]
|
|
1132
|
+
] = None,
|
|
1133
|
+
mt: Optional[
|
|
1134
|
+
Union[
|
|
1135
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1136
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1137
|
+
]
|
|
1138
|
+
] = None,
|
|
1139
|
+
mr: Optional[
|
|
1140
|
+
Union[
|
|
1141
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1142
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1143
|
+
]
|
|
1144
|
+
] = None,
|
|
1145
|
+
mb: Optional[
|
|
1146
|
+
Union[
|
|
1147
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1148
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1149
|
+
]
|
|
1150
|
+
] = None,
|
|
1151
|
+
ml: Optional[
|
|
1152
|
+
Union[
|
|
1153
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1154
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1155
|
+
]
|
|
1156
|
+
] = None,
|
|
1157
|
+
style: Optional[Style] = None,
|
|
1158
|
+
key: Optional[Any] = None,
|
|
1159
|
+
id: Optional[Any] = None,
|
|
1160
|
+
class_name: Optional[Any] = None,
|
|
1161
|
+
autofocus: Optional[bool] = None,
|
|
1162
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1163
|
+
on_blur: Optional[
|
|
1164
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1165
|
+
] = None,
|
|
1166
|
+
on_click: Optional[
|
|
1167
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1168
|
+
] = None,
|
|
1169
|
+
on_context_menu: Optional[
|
|
1170
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1171
|
+
] = None,
|
|
1172
|
+
on_double_click: Optional[
|
|
1173
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1174
|
+
] = None,
|
|
1175
|
+
on_focus: Optional[
|
|
1176
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1177
|
+
] = None,
|
|
1178
|
+
on_mount: Optional[
|
|
1179
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1180
|
+
] = None,
|
|
1181
|
+
on_mouse_down: Optional[
|
|
1182
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1183
|
+
] = None,
|
|
1184
|
+
on_mouse_enter: Optional[
|
|
1185
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1186
|
+
] = None,
|
|
1187
|
+
on_mouse_leave: Optional[
|
|
1188
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1189
|
+
] = None,
|
|
1190
|
+
on_mouse_move: Optional[
|
|
1191
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1192
|
+
] = None,
|
|
1193
|
+
on_mouse_out: Optional[
|
|
1194
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1195
|
+
] = None,
|
|
1196
|
+
on_mouse_over: Optional[
|
|
1197
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1198
|
+
] = None,
|
|
1199
|
+
on_mouse_up: Optional[
|
|
1200
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1201
|
+
] = None,
|
|
1202
|
+
on_scroll: Optional[
|
|
1203
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1204
|
+
] = None,
|
|
1205
|
+
on_unmount: Optional[
|
|
1206
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1207
|
+
] = None,
|
|
1208
|
+
**props
|
|
1209
|
+
) -> "TableCell":
|
|
1210
|
+
"""Create a new component instance.
|
|
1211
|
+
|
|
1212
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
1213
|
+
other UI libraries for common names, like Text and Button.
|
|
1214
|
+
|
|
1215
|
+
Args:
|
|
1216
|
+
*children: Child components.
|
|
1217
|
+
justify: The justification of the column
|
|
1218
|
+
width: width of the column
|
|
1219
|
+
align: Alignment of the content within the table cell
|
|
1220
|
+
background: Background image for the table cell
|
|
1221
|
+
bgcolor: Background color of the table cell
|
|
1222
|
+
col_span: Number of columns a cell should span
|
|
1223
|
+
headers: IDs of the headers associated with this cell
|
|
1224
|
+
row_span: Number of rows a cell should span
|
|
1225
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1226
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1227
|
+
content_editable: Indicates whether the element's content is editable.
|
|
1228
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1229
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1230
|
+
draggable: Defines whether the element can be dragged.
|
|
1231
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
1232
|
+
hidden: Defines whether the element is hidden.
|
|
1233
|
+
input_mode: Defines the type of the element.
|
|
1234
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
1235
|
+
lang: Defines the language used in the element.
|
|
1236
|
+
role: Defines the role of the element.
|
|
1237
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1238
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1239
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
1240
|
+
title: Defines a tooltip for the element.
|
|
1241
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
1242
|
+
m: Margin: "0" - "9"
|
|
1243
|
+
mx: Margin horizontal: "0" - "9"
|
|
1244
|
+
my: Margin vertical: "0" - "9"
|
|
1245
|
+
mt: Margin top: "0" - "9"
|
|
1246
|
+
mr: Margin right: "0" - "9"
|
|
1247
|
+
mb: Margin bottom: "0" - "9"
|
|
1248
|
+
ml: Margin left: "0" - "9"
|
|
1249
|
+
style: The style of the component.
|
|
1250
|
+
key: A unique key for the component.
|
|
1251
|
+
id: The id for the component.
|
|
1252
|
+
class_name: The class name for the component.
|
|
1253
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
1254
|
+
custom_attrs: custom attribute
|
|
1255
|
+
**props: Component properties.
|
|
1256
|
+
|
|
1257
|
+
Returns:
|
|
1258
|
+
A new component instance.
|
|
1259
|
+
"""
|
|
1260
|
+
...
|
|
1261
|
+
|
|
1262
|
+
class TableRowHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
1263
|
+
@overload
|
|
1264
|
+
@classmethod
|
|
1265
|
+
def create( # type: ignore
|
|
1266
|
+
cls,
|
|
1267
|
+
*children,
|
|
1268
|
+
justify: Optional[
|
|
1269
|
+
Union[
|
|
1270
|
+
Var[Literal["start", "center", "end"]],
|
|
1271
|
+
Literal["start", "center", "end"],
|
|
1272
|
+
]
|
|
1273
|
+
] = None,
|
|
1274
|
+
width: Optional[Union[Var[Union[str, int]], Union[str, int]]] = None,
|
|
1275
|
+
align: Optional[
|
|
1276
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1277
|
+
] = None,
|
|
1278
|
+
background: Optional[
|
|
1279
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1280
|
+
] = None,
|
|
1281
|
+
bgcolor: Optional[
|
|
1282
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1283
|
+
] = None,
|
|
1284
|
+
col_span: Optional[
|
|
1285
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1286
|
+
] = None,
|
|
1287
|
+
headers: Optional[
|
|
1288
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1289
|
+
] = None,
|
|
1290
|
+
row_span: Optional[
|
|
1291
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1292
|
+
] = None,
|
|
1293
|
+
scope: Optional[
|
|
1294
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1295
|
+
] = None,
|
|
1296
|
+
access_key: Optional[
|
|
1297
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1298
|
+
] = None,
|
|
1299
|
+
auto_capitalize: Optional[
|
|
1300
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1301
|
+
] = None,
|
|
1302
|
+
content_editable: Optional[
|
|
1303
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1304
|
+
] = None,
|
|
1305
|
+
context_menu: Optional[
|
|
1306
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1307
|
+
] = None,
|
|
1308
|
+
dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1309
|
+
draggable: Optional[
|
|
1310
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1311
|
+
] = None,
|
|
1312
|
+
enter_key_hint: Optional[
|
|
1313
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1314
|
+
] = None,
|
|
1315
|
+
hidden: Optional[
|
|
1316
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1317
|
+
] = None,
|
|
1318
|
+
input_mode: Optional[
|
|
1319
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1320
|
+
] = None,
|
|
1321
|
+
item_prop: Optional[
|
|
1322
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1323
|
+
] = None,
|
|
1324
|
+
lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1325
|
+
role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1326
|
+
slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
1327
|
+
spell_check: Optional[
|
|
1328
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1329
|
+
] = None,
|
|
1330
|
+
tab_index: Optional[
|
|
1331
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1332
|
+
] = None,
|
|
1333
|
+
title: Optional[
|
|
1334
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1335
|
+
] = None,
|
|
1336
|
+
translate: Optional[
|
|
1337
|
+
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
1338
|
+
] = None,
|
|
1339
|
+
m: Optional[
|
|
1340
|
+
Union[
|
|
1341
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1342
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1343
|
+
]
|
|
1344
|
+
] = None,
|
|
1345
|
+
mx: Optional[
|
|
1346
|
+
Union[
|
|
1347
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1348
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1349
|
+
]
|
|
1350
|
+
] = None,
|
|
1351
|
+
my: Optional[
|
|
1352
|
+
Union[
|
|
1353
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1354
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1355
|
+
]
|
|
1356
|
+
] = None,
|
|
1357
|
+
mt: Optional[
|
|
1358
|
+
Union[
|
|
1359
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1360
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1361
|
+
]
|
|
1362
|
+
] = None,
|
|
1363
|
+
mr: Optional[
|
|
1364
|
+
Union[
|
|
1365
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1366
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1367
|
+
]
|
|
1368
|
+
] = None,
|
|
1369
|
+
mb: Optional[
|
|
1370
|
+
Union[
|
|
1371
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1372
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1373
|
+
]
|
|
1374
|
+
] = None,
|
|
1375
|
+
ml: Optional[
|
|
1376
|
+
Union[
|
|
1377
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
1378
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
1379
|
+
]
|
|
1380
|
+
] = None,
|
|
1381
|
+
style: Optional[Style] = None,
|
|
1382
|
+
key: Optional[Any] = None,
|
|
1383
|
+
id: Optional[Any] = None,
|
|
1384
|
+
class_name: Optional[Any] = None,
|
|
1385
|
+
autofocus: Optional[bool] = None,
|
|
1386
|
+
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
1387
|
+
on_blur: Optional[
|
|
1388
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1389
|
+
] = None,
|
|
1390
|
+
on_click: Optional[
|
|
1391
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1392
|
+
] = None,
|
|
1393
|
+
on_context_menu: Optional[
|
|
1394
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1395
|
+
] = None,
|
|
1396
|
+
on_double_click: Optional[
|
|
1397
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1398
|
+
] = None,
|
|
1399
|
+
on_focus: Optional[
|
|
1400
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1401
|
+
] = None,
|
|
1402
|
+
on_mount: Optional[
|
|
1403
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1404
|
+
] = None,
|
|
1405
|
+
on_mouse_down: Optional[
|
|
1406
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1407
|
+
] = None,
|
|
1408
|
+
on_mouse_enter: Optional[
|
|
1409
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1410
|
+
] = None,
|
|
1411
|
+
on_mouse_leave: Optional[
|
|
1412
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1413
|
+
] = None,
|
|
1414
|
+
on_mouse_move: Optional[
|
|
1415
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1416
|
+
] = None,
|
|
1417
|
+
on_mouse_out: Optional[
|
|
1418
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1419
|
+
] = None,
|
|
1420
|
+
on_mouse_over: Optional[
|
|
1421
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1422
|
+
] = None,
|
|
1423
|
+
on_mouse_up: Optional[
|
|
1424
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1425
|
+
] = None,
|
|
1426
|
+
on_scroll: Optional[
|
|
1427
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1428
|
+
] = None,
|
|
1429
|
+
on_unmount: Optional[
|
|
1430
|
+
Union[EventHandler, EventSpec, list, function, BaseVar]
|
|
1431
|
+
] = None,
|
|
1432
|
+
**props
|
|
1433
|
+
) -> "TableRowHeaderCell":
|
|
1434
|
+
"""Create a new component instance.
|
|
1435
|
+
|
|
1436
|
+
Will prepend "RadixThemes" to the component tag to avoid conflicts with
|
|
1437
|
+
other UI libraries for common names, like Text and Button.
|
|
1438
|
+
|
|
1439
|
+
Args:
|
|
1440
|
+
*children: Child components.
|
|
1441
|
+
justify: The justification of the column
|
|
1442
|
+
width: width of the column
|
|
1443
|
+
align: Alignment of the content within the table header cell
|
|
1444
|
+
background: Background image for the table header cell
|
|
1445
|
+
bgcolor: Background color of the table header cell
|
|
1446
|
+
col_span: Number of columns a header cell should span
|
|
1447
|
+
headers: IDs of the headers associated with this header cell
|
|
1448
|
+
row_span: Number of rows a header cell should span
|
|
1449
|
+
scope: Scope of the header cell (row, col, rowgroup, colgroup)
|
|
1450
|
+
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
1451
|
+
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
1452
|
+
content_editable: Indicates whether the element's content is editable.
|
|
1453
|
+
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
1454
|
+
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
1455
|
+
draggable: Defines whether the element can be dragged.
|
|
1456
|
+
enter_key_hint: Hints what media types the media element is able to play.
|
|
1457
|
+
hidden: Defines whether the element is hidden.
|
|
1458
|
+
input_mode: Defines the type of the element.
|
|
1459
|
+
item_prop: Defines the name of the element for metadata purposes.
|
|
1460
|
+
lang: Defines the language used in the element.
|
|
1461
|
+
role: Defines the role of the element.
|
|
1462
|
+
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
1463
|
+
spell_check: Defines whether the element may be checked for spelling errors.
|
|
1464
|
+
tab_index: Defines the position of the current element in the tabbing order.
|
|
1465
|
+
title: Defines a tooltip for the element.
|
|
1466
|
+
translate: Specifies whether the content of an element should be translated or not.
|
|
1467
|
+
m: Margin: "0" - "9"
|
|
1468
|
+
mx: Margin horizontal: "0" - "9"
|
|
1469
|
+
my: Margin vertical: "0" - "9"
|
|
1470
|
+
mt: Margin top: "0" - "9"
|
|
1471
|
+
mr: Margin right: "0" - "9"
|
|
1472
|
+
mb: Margin bottom: "0" - "9"
|
|
1473
|
+
ml: Margin left: "0" - "9"
|
|
1474
|
+
style: The style of the component.
|
|
1475
|
+
key: A unique key for the component.
|
|
1476
|
+
id: The id for the component.
|
|
1477
|
+
class_name: The class name for the component.
|
|
1478
|
+
autofocus: Whether the component should take the focus once the page is loaded
|
|
1479
|
+
custom_attrs: custom attribute
|
|
1480
|
+
**props: Component properties.
|
|
1481
|
+
|
|
1482
|
+
Returns:
|
|
1483
|
+
A new component instance.
|
|
1484
|
+
"""
|
|
1485
|
+
...
|