reflex 0.8.15a1__py3-none-any.whl → 0.8.16__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/web/utils/state.js +68 -8
- reflex/app.py +45 -51
- reflex/app_mixins/lifespan.py +12 -5
- reflex/base.py +1 -0
- reflex/compiler/compiler.py +4 -6
- reflex/compiler/templates.py +25 -31
- reflex/compiler/utils.py +6 -5
- reflex/components/base/body.pyi +1 -195
- reflex/components/base/link.pyi +1 -407
- reflex/components/base/meta.pyi +1 -405
- reflex/components/base/script.pyi +1 -237
- reflex/components/component.py +41 -46
- reflex/components/core/auto_scroll.pyi +1 -195
- reflex/components/core/banner.pyi +1 -391
- reflex/components/core/breakpoints.py +14 -18
- reflex/components/core/html.pyi +1 -197
- reflex/components/core/match.py +2 -2
- reflex/components/core/sticky.py +11 -15
- reflex/components/core/sticky.pyi +0 -788
- reflex/components/core/upload.py +1 -3
- reflex/components/core/window_events.pyi +6 -5
- reflex/components/datadisplay/code.pyi +1 -0
- reflex/components/datadisplay/dataeditor.py +4 -6
- reflex/components/datadisplay/shiki_code_block.py +106 -110
- reflex/components/dynamic.py +4 -6
- reflex/components/el/elements/__init__.py +5 -7
- reflex/components/el/elements/__init__.pyi +5 -7
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +1 -195
- reflex/components/el/elements/forms.py +7 -9
- reflex/components/el/elements/forms.pyi +12 -3112
- reflex/components/el/elements/inline.pyi +0 -5481
- reflex/components/el/elements/media.pyi +0 -10280
- reflex/components/el/elements/metadata.pyi +1 -835
- reflex/components/el/elements/other.pyi +1 -1365
- reflex/components/el/elements/scripts.pyi +1 -625
- reflex/components/el/elements/sectioning.pyi +1 -2911
- reflex/components/el/elements/tables.pyi +1 -1973
- reflex/components/el/elements/typography.pyi +1 -3125
- reflex/components/lucide/icon.py +4 -4
- reflex/components/lucide/icon.pyi +0 -4
- reflex/components/markdown/markdown.py +15 -19
- reflex/components/markdown/markdown.pyi +1 -0
- reflex/components/moment/moment.pyi +0 -49
- reflex/components/props.py +3 -3
- reflex/components/radix/primitives/accordion.py +4 -6
- reflex/components/radix/primitives/accordion.pyi +0 -14
- reflex/components/radix/primitives/base.pyi +0 -5
- reflex/components/radix/primitives/dialog.py +2 -0
- reflex/components/radix/primitives/dialog.pyi +1 -233
- reflex/components/radix/primitives/drawer.pyi +0 -18
- reflex/components/radix/primitives/form.pyi +30 -632
- reflex/components/radix/primitives/progress.pyi +0 -10
- reflex/components/radix/primitives/slider.pyi +0 -10
- reflex/components/radix/themes/color_mode.pyi +1 -284
- reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
- reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
- reflex/components/radix/themes/components/avatar.pyi +0 -80
- reflex/components/radix/themes/components/badge.pyi +1 -270
- reflex/components/radix/themes/components/button.pyi +1 -274
- reflex/components/radix/themes/components/callout.pyi +0 -1197
- reflex/components/radix/themes/components/card.pyi +1 -209
- reflex/components/radix/themes/components/checkbox.pyi +0 -261
- reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
- reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
- reflex/components/radix/themes/components/context_menu.pyi +13 -321
- reflex/components/radix/themes/components/data_list.pyi +1 -107
- reflex/components/radix/themes/components/dialog.pyi +1 -210
- reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
- reflex/components/radix/themes/components/hover_card.pyi +1 -246
- reflex/components/radix/themes/components/icon_button.pyi +1 -195
- reflex/components/radix/themes/components/inset.pyi +0 -252
- reflex/components/radix/themes/components/popover.pyi +1 -234
- reflex/components/radix/themes/components/progress.pyi +1 -84
- reflex/components/radix/themes/components/radio.pyi +1 -72
- reflex/components/radix/themes/components/radio_cards.pyi +1 -123
- reflex/components/radix/themes/components/scroll_area.pyi +1 -11
- reflex/components/radix/themes/components/select.pyi +1 -376
- reflex/components/radix/themes/components/separator.pyi +0 -77
- reflex/components/radix/themes/components/skeleton.pyi +0 -30
- reflex/components/radix/themes/components/slider.py +3 -5
- reflex/components/radix/themes/components/spinner.pyi +0 -5
- reflex/components/radix/themes/components/switch.pyi +0 -89
- reflex/components/radix/themes/components/table.pyi +0 -1453
- reflex/components/radix/themes/components/text_area.pyi +7 -282
- reflex/components/radix/themes/components/text_field.pyi +6 -392
- reflex/components/radix/themes/components/tooltip.pyi +0 -42
- reflex/components/radix/themes/layout/box.pyi +1 -195
- reflex/components/radix/themes/layout/center.pyi +0 -194
- reflex/components/radix/themes/layout/container.pyi +0 -178
- reflex/components/radix/themes/layout/flex.pyi +0 -194
- reflex/components/radix/themes/layout/grid.pyi +0 -194
- reflex/components/radix/themes/layout/list.pyi +0 -978
- reflex/components/radix/themes/layout/section.pyi +0 -194
- reflex/components/radix/themes/layout/spacer.pyi +0 -194
- reflex/components/radix/themes/layout/stack.pyi +0 -582
- reflex/components/radix/themes/typography/blockquote.pyi +0 -196
- reflex/components/radix/themes/typography/code.pyi +0 -194
- reflex/components/radix/themes/typography/heading.pyi +0 -194
- reflex/components/radix/themes/typography/link.pyi +0 -237
- reflex/components/radix/themes/typography/text.pyi +0 -1360
- reflex/components/react_router/dom.pyi +0 -237
- reflex/components/recharts/cartesian.py +12 -18
- reflex/components/recharts/general.py +12 -18
- reflex/constants/installer.py +5 -5
- reflex/custom_components/custom_components.py +6 -5
- reflex/environment.py +30 -7
- reflex/event.py +14 -12
- reflex/experimental/client_state.py +11 -12
- reflex/istate/data.py +8 -10
- reflex/istate/manager/__init__.py +3 -0
- reflex/istate/manager/disk.py +151 -5
- reflex/model.py +1 -1
- reflex/plugins/_screenshot.py +2 -2
- reflex/plugins/shared_tailwind.py +9 -14
- reflex/reflex.py +7 -9
- reflex/state.py +30 -37
- reflex/style.py +6 -6
- reflex/testing.py +54 -30
- reflex/utils/codespaces.py +31 -2
- reflex/utils/compat.py +1 -0
- reflex/utils/decorator.py +3 -3
- reflex/utils/format.py +18 -22
- reflex/utils/prerequisites.py +1 -1
- reflex/utils/pyi_generator.py +51 -57
- reflex/utils/serializers.py +1 -1
- reflex/utils/telemetry.py +1 -1
- reflex/utils/templates.py +4 -4
- reflex/utils/types.py +11 -4
- reflex/vars/base.py +26 -29
- reflex/vars/color.py +6 -8
- reflex/vars/dep_tracking.py +5 -3
- reflex/vars/function.py +3 -3
- reflex/vars/object.py +9 -13
- reflex/vars/sequence.py +18 -24
- {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/METADATA +1 -1
- {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/RECORD +140 -140
- {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/WHEEL +0 -0
- {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.15a1.dist-info → reflex-0.8.16.dist-info}/licenses/LICENSE +0 -0
|
@@ -91,185 +91,6 @@ class Blockquote(elements.Blockquote, RadixThemesComponent):
|
|
|
91
91
|
]
|
|
92
92
|
| None = None,
|
|
93
93
|
high_contrast: Var[bool] | bool | None = None,
|
|
94
|
-
cite: Var[str] | str | None = None,
|
|
95
|
-
access_key: Var[str] | str | None = None,
|
|
96
|
-
auto_capitalize: Literal[
|
|
97
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
98
|
-
]
|
|
99
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
100
|
-
| None = None,
|
|
101
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
102
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
103
|
-
| None = None,
|
|
104
|
-
context_menu: Var[str] | str | None = None,
|
|
105
|
-
dir: Var[str] | str | None = None,
|
|
106
|
-
draggable: Var[bool] | bool | None = None,
|
|
107
|
-
enter_key_hint: Literal[
|
|
108
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
109
|
-
]
|
|
110
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
111
|
-
| None = None,
|
|
112
|
-
hidden: Var[bool] | bool | None = None,
|
|
113
|
-
input_mode: Literal[
|
|
114
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
115
|
-
]
|
|
116
|
-
| Var[
|
|
117
|
-
Literal[
|
|
118
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
119
|
-
]
|
|
120
|
-
]
|
|
121
|
-
| None = None,
|
|
122
|
-
item_prop: Var[str] | str | None = None,
|
|
123
|
-
lang: Var[str] | str | None = None,
|
|
124
|
-
role: Literal[
|
|
125
|
-
"alert",
|
|
126
|
-
"alertdialog",
|
|
127
|
-
"application",
|
|
128
|
-
"article",
|
|
129
|
-
"banner",
|
|
130
|
-
"button",
|
|
131
|
-
"cell",
|
|
132
|
-
"checkbox",
|
|
133
|
-
"columnheader",
|
|
134
|
-
"combobox",
|
|
135
|
-
"complementary",
|
|
136
|
-
"contentinfo",
|
|
137
|
-
"definition",
|
|
138
|
-
"dialog",
|
|
139
|
-
"directory",
|
|
140
|
-
"document",
|
|
141
|
-
"feed",
|
|
142
|
-
"figure",
|
|
143
|
-
"form",
|
|
144
|
-
"grid",
|
|
145
|
-
"gridcell",
|
|
146
|
-
"group",
|
|
147
|
-
"heading",
|
|
148
|
-
"img",
|
|
149
|
-
"link",
|
|
150
|
-
"list",
|
|
151
|
-
"listbox",
|
|
152
|
-
"listitem",
|
|
153
|
-
"log",
|
|
154
|
-
"main",
|
|
155
|
-
"marquee",
|
|
156
|
-
"math",
|
|
157
|
-
"menu",
|
|
158
|
-
"menubar",
|
|
159
|
-
"menuitem",
|
|
160
|
-
"menuitemcheckbox",
|
|
161
|
-
"menuitemradio",
|
|
162
|
-
"navigation",
|
|
163
|
-
"none",
|
|
164
|
-
"note",
|
|
165
|
-
"option",
|
|
166
|
-
"presentation",
|
|
167
|
-
"progressbar",
|
|
168
|
-
"radio",
|
|
169
|
-
"radiogroup",
|
|
170
|
-
"region",
|
|
171
|
-
"row",
|
|
172
|
-
"rowgroup",
|
|
173
|
-
"rowheader",
|
|
174
|
-
"scrollbar",
|
|
175
|
-
"search",
|
|
176
|
-
"searchbox",
|
|
177
|
-
"separator",
|
|
178
|
-
"slider",
|
|
179
|
-
"spinbutton",
|
|
180
|
-
"status",
|
|
181
|
-
"switch",
|
|
182
|
-
"tab",
|
|
183
|
-
"table",
|
|
184
|
-
"tablist",
|
|
185
|
-
"tabpanel",
|
|
186
|
-
"term",
|
|
187
|
-
"textbox",
|
|
188
|
-
"timer",
|
|
189
|
-
"toolbar",
|
|
190
|
-
"tooltip",
|
|
191
|
-
"tree",
|
|
192
|
-
"treegrid",
|
|
193
|
-
"treeitem",
|
|
194
|
-
]
|
|
195
|
-
| Var[
|
|
196
|
-
Literal[
|
|
197
|
-
"alert",
|
|
198
|
-
"alertdialog",
|
|
199
|
-
"application",
|
|
200
|
-
"article",
|
|
201
|
-
"banner",
|
|
202
|
-
"button",
|
|
203
|
-
"cell",
|
|
204
|
-
"checkbox",
|
|
205
|
-
"columnheader",
|
|
206
|
-
"combobox",
|
|
207
|
-
"complementary",
|
|
208
|
-
"contentinfo",
|
|
209
|
-
"definition",
|
|
210
|
-
"dialog",
|
|
211
|
-
"directory",
|
|
212
|
-
"document",
|
|
213
|
-
"feed",
|
|
214
|
-
"figure",
|
|
215
|
-
"form",
|
|
216
|
-
"grid",
|
|
217
|
-
"gridcell",
|
|
218
|
-
"group",
|
|
219
|
-
"heading",
|
|
220
|
-
"img",
|
|
221
|
-
"link",
|
|
222
|
-
"list",
|
|
223
|
-
"listbox",
|
|
224
|
-
"listitem",
|
|
225
|
-
"log",
|
|
226
|
-
"main",
|
|
227
|
-
"marquee",
|
|
228
|
-
"math",
|
|
229
|
-
"menu",
|
|
230
|
-
"menubar",
|
|
231
|
-
"menuitem",
|
|
232
|
-
"menuitemcheckbox",
|
|
233
|
-
"menuitemradio",
|
|
234
|
-
"navigation",
|
|
235
|
-
"none",
|
|
236
|
-
"note",
|
|
237
|
-
"option",
|
|
238
|
-
"presentation",
|
|
239
|
-
"progressbar",
|
|
240
|
-
"radio",
|
|
241
|
-
"radiogroup",
|
|
242
|
-
"region",
|
|
243
|
-
"row",
|
|
244
|
-
"rowgroup",
|
|
245
|
-
"rowheader",
|
|
246
|
-
"scrollbar",
|
|
247
|
-
"search",
|
|
248
|
-
"searchbox",
|
|
249
|
-
"separator",
|
|
250
|
-
"slider",
|
|
251
|
-
"spinbutton",
|
|
252
|
-
"status",
|
|
253
|
-
"switch",
|
|
254
|
-
"tab",
|
|
255
|
-
"table",
|
|
256
|
-
"tablist",
|
|
257
|
-
"tabpanel",
|
|
258
|
-
"term",
|
|
259
|
-
"textbox",
|
|
260
|
-
"timer",
|
|
261
|
-
"toolbar",
|
|
262
|
-
"tooltip",
|
|
263
|
-
"tree",
|
|
264
|
-
"treegrid",
|
|
265
|
-
"treeitem",
|
|
266
|
-
]
|
|
267
|
-
]
|
|
268
|
-
| None = None,
|
|
269
|
-
slot: Var[str] | str | None = None,
|
|
270
|
-
spell_check: Var[bool] | bool | None = None,
|
|
271
|
-
tab_index: Var[int] | int | None = None,
|
|
272
|
-
title: Var[str] | str | None = None,
|
|
273
94
|
style: Sequence[Mapping[str, Any]]
|
|
274
95
|
| Mapping[str, Any]
|
|
275
96
|
| Var[Mapping[str, Any]]
|
|
@@ -309,23 +130,6 @@ class Blockquote(elements.Blockquote, RadixThemesComponent):
|
|
|
309
130
|
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
310
131
|
color_scheme: Overrides the accent color inherited from the Theme.
|
|
311
132
|
high_contrast: Whether to render the text with higher contrast color
|
|
312
|
-
cite: Define the title of a work.
|
|
313
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
314
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
315
|
-
content_editable: Indicates whether the element's content is editable.
|
|
316
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
317
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
318
|
-
draggable: Defines whether the element can be dragged.
|
|
319
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
320
|
-
hidden: Defines whether the element is hidden.
|
|
321
|
-
input_mode: Defines the type of the element.
|
|
322
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
323
|
-
lang: Defines the language used in the element.
|
|
324
|
-
role: Defines the role of the element.
|
|
325
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
326
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
327
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
328
|
-
title: Defines a tooltip for the element.
|
|
329
133
|
style: The style of the component.
|
|
330
134
|
key: A unique key for the component.
|
|
331
135
|
id: The id for the component.
|
|
@@ -95,184 +95,6 @@ class Code(elements.Code, RadixThemesComponent, MarkdownComponentMap):
|
|
|
95
95
|
]
|
|
96
96
|
| None = None,
|
|
97
97
|
high_contrast: Var[bool] | bool | None = None,
|
|
98
|
-
access_key: Var[str] | str | None = None,
|
|
99
|
-
auto_capitalize: Literal[
|
|
100
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
101
|
-
]
|
|
102
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
103
|
-
| None = None,
|
|
104
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
105
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
106
|
-
| None = None,
|
|
107
|
-
context_menu: Var[str] | str | None = None,
|
|
108
|
-
dir: Var[str] | str | None = None,
|
|
109
|
-
draggable: Var[bool] | bool | None = None,
|
|
110
|
-
enter_key_hint: Literal[
|
|
111
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
112
|
-
]
|
|
113
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
114
|
-
| None = None,
|
|
115
|
-
hidden: Var[bool] | bool | None = None,
|
|
116
|
-
input_mode: Literal[
|
|
117
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
118
|
-
]
|
|
119
|
-
| Var[
|
|
120
|
-
Literal[
|
|
121
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
122
|
-
]
|
|
123
|
-
]
|
|
124
|
-
| None = None,
|
|
125
|
-
item_prop: Var[str] | str | None = None,
|
|
126
|
-
lang: Var[str] | str | None = None,
|
|
127
|
-
role: Literal[
|
|
128
|
-
"alert",
|
|
129
|
-
"alertdialog",
|
|
130
|
-
"application",
|
|
131
|
-
"article",
|
|
132
|
-
"banner",
|
|
133
|
-
"button",
|
|
134
|
-
"cell",
|
|
135
|
-
"checkbox",
|
|
136
|
-
"columnheader",
|
|
137
|
-
"combobox",
|
|
138
|
-
"complementary",
|
|
139
|
-
"contentinfo",
|
|
140
|
-
"definition",
|
|
141
|
-
"dialog",
|
|
142
|
-
"directory",
|
|
143
|
-
"document",
|
|
144
|
-
"feed",
|
|
145
|
-
"figure",
|
|
146
|
-
"form",
|
|
147
|
-
"grid",
|
|
148
|
-
"gridcell",
|
|
149
|
-
"group",
|
|
150
|
-
"heading",
|
|
151
|
-
"img",
|
|
152
|
-
"link",
|
|
153
|
-
"list",
|
|
154
|
-
"listbox",
|
|
155
|
-
"listitem",
|
|
156
|
-
"log",
|
|
157
|
-
"main",
|
|
158
|
-
"marquee",
|
|
159
|
-
"math",
|
|
160
|
-
"menu",
|
|
161
|
-
"menubar",
|
|
162
|
-
"menuitem",
|
|
163
|
-
"menuitemcheckbox",
|
|
164
|
-
"menuitemradio",
|
|
165
|
-
"navigation",
|
|
166
|
-
"none",
|
|
167
|
-
"note",
|
|
168
|
-
"option",
|
|
169
|
-
"presentation",
|
|
170
|
-
"progressbar",
|
|
171
|
-
"radio",
|
|
172
|
-
"radiogroup",
|
|
173
|
-
"region",
|
|
174
|
-
"row",
|
|
175
|
-
"rowgroup",
|
|
176
|
-
"rowheader",
|
|
177
|
-
"scrollbar",
|
|
178
|
-
"search",
|
|
179
|
-
"searchbox",
|
|
180
|
-
"separator",
|
|
181
|
-
"slider",
|
|
182
|
-
"spinbutton",
|
|
183
|
-
"status",
|
|
184
|
-
"switch",
|
|
185
|
-
"tab",
|
|
186
|
-
"table",
|
|
187
|
-
"tablist",
|
|
188
|
-
"tabpanel",
|
|
189
|
-
"term",
|
|
190
|
-
"textbox",
|
|
191
|
-
"timer",
|
|
192
|
-
"toolbar",
|
|
193
|
-
"tooltip",
|
|
194
|
-
"tree",
|
|
195
|
-
"treegrid",
|
|
196
|
-
"treeitem",
|
|
197
|
-
]
|
|
198
|
-
| Var[
|
|
199
|
-
Literal[
|
|
200
|
-
"alert",
|
|
201
|
-
"alertdialog",
|
|
202
|
-
"application",
|
|
203
|
-
"article",
|
|
204
|
-
"banner",
|
|
205
|
-
"button",
|
|
206
|
-
"cell",
|
|
207
|
-
"checkbox",
|
|
208
|
-
"columnheader",
|
|
209
|
-
"combobox",
|
|
210
|
-
"complementary",
|
|
211
|
-
"contentinfo",
|
|
212
|
-
"definition",
|
|
213
|
-
"dialog",
|
|
214
|
-
"directory",
|
|
215
|
-
"document",
|
|
216
|
-
"feed",
|
|
217
|
-
"figure",
|
|
218
|
-
"form",
|
|
219
|
-
"grid",
|
|
220
|
-
"gridcell",
|
|
221
|
-
"group",
|
|
222
|
-
"heading",
|
|
223
|
-
"img",
|
|
224
|
-
"link",
|
|
225
|
-
"list",
|
|
226
|
-
"listbox",
|
|
227
|
-
"listitem",
|
|
228
|
-
"log",
|
|
229
|
-
"main",
|
|
230
|
-
"marquee",
|
|
231
|
-
"math",
|
|
232
|
-
"menu",
|
|
233
|
-
"menubar",
|
|
234
|
-
"menuitem",
|
|
235
|
-
"menuitemcheckbox",
|
|
236
|
-
"menuitemradio",
|
|
237
|
-
"navigation",
|
|
238
|
-
"none",
|
|
239
|
-
"note",
|
|
240
|
-
"option",
|
|
241
|
-
"presentation",
|
|
242
|
-
"progressbar",
|
|
243
|
-
"radio",
|
|
244
|
-
"radiogroup",
|
|
245
|
-
"region",
|
|
246
|
-
"row",
|
|
247
|
-
"rowgroup",
|
|
248
|
-
"rowheader",
|
|
249
|
-
"scrollbar",
|
|
250
|
-
"search",
|
|
251
|
-
"searchbox",
|
|
252
|
-
"separator",
|
|
253
|
-
"slider",
|
|
254
|
-
"spinbutton",
|
|
255
|
-
"status",
|
|
256
|
-
"switch",
|
|
257
|
-
"tab",
|
|
258
|
-
"table",
|
|
259
|
-
"tablist",
|
|
260
|
-
"tabpanel",
|
|
261
|
-
"term",
|
|
262
|
-
"textbox",
|
|
263
|
-
"timer",
|
|
264
|
-
"toolbar",
|
|
265
|
-
"tooltip",
|
|
266
|
-
"tree",
|
|
267
|
-
"treegrid",
|
|
268
|
-
"treeitem",
|
|
269
|
-
]
|
|
270
|
-
]
|
|
271
|
-
| None = None,
|
|
272
|
-
slot: Var[str] | str | None = None,
|
|
273
|
-
spell_check: Var[bool] | bool | None = None,
|
|
274
|
-
tab_index: Var[int] | int | None = None,
|
|
275
|
-
title: Var[str] | str | None = None,
|
|
276
98
|
style: Sequence[Mapping[str, Any]]
|
|
277
99
|
| Mapping[str, Any]
|
|
278
100
|
| Var[Mapping[str, Any]]
|
|
@@ -313,22 +135,6 @@ class Code(elements.Code, RadixThemesComponent, MarkdownComponentMap):
|
|
|
313
135
|
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
314
136
|
color_scheme: Overrides the accent color inherited from the Theme.
|
|
315
137
|
high_contrast: Whether to render the text with higher contrast color
|
|
316
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
317
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
318
|
-
content_editable: Indicates whether the element's content is editable.
|
|
319
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
320
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
321
|
-
draggable: Defines whether the element can be dragged.
|
|
322
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
323
|
-
hidden: Defines whether the element is hidden.
|
|
324
|
-
input_mode: Defines the type of the element.
|
|
325
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
326
|
-
lang: Defines the language used in the element.
|
|
327
|
-
role: Defines the role of the element.
|
|
328
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
329
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
330
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
331
|
-
title: Defines a tooltip for the element.
|
|
332
138
|
style: The style of the component.
|
|
333
139
|
key: A unique key for the component.
|
|
334
140
|
id: The id for the component.
|
|
@@ -108,184 +108,6 @@ class Heading(elements.H1, RadixThemesComponent, MarkdownComponentMap):
|
|
|
108
108
|
]
|
|
109
109
|
| None = None,
|
|
110
110
|
high_contrast: Var[bool] | bool | None = None,
|
|
111
|
-
access_key: Var[str] | str | None = None,
|
|
112
|
-
auto_capitalize: Literal[
|
|
113
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
114
|
-
]
|
|
115
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
116
|
-
| None = None,
|
|
117
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
118
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
119
|
-
| None = None,
|
|
120
|
-
context_menu: Var[str] | str | None = None,
|
|
121
|
-
dir: Var[str] | str | None = None,
|
|
122
|
-
draggable: Var[bool] | bool | None = None,
|
|
123
|
-
enter_key_hint: Literal[
|
|
124
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
125
|
-
]
|
|
126
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
127
|
-
| None = None,
|
|
128
|
-
hidden: Var[bool] | bool | None = None,
|
|
129
|
-
input_mode: Literal[
|
|
130
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
131
|
-
]
|
|
132
|
-
| Var[
|
|
133
|
-
Literal[
|
|
134
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
135
|
-
]
|
|
136
|
-
]
|
|
137
|
-
| None = None,
|
|
138
|
-
item_prop: Var[str] | str | None = None,
|
|
139
|
-
lang: Var[str] | str | None = None,
|
|
140
|
-
role: Literal[
|
|
141
|
-
"alert",
|
|
142
|
-
"alertdialog",
|
|
143
|
-
"application",
|
|
144
|
-
"article",
|
|
145
|
-
"banner",
|
|
146
|
-
"button",
|
|
147
|
-
"cell",
|
|
148
|
-
"checkbox",
|
|
149
|
-
"columnheader",
|
|
150
|
-
"combobox",
|
|
151
|
-
"complementary",
|
|
152
|
-
"contentinfo",
|
|
153
|
-
"definition",
|
|
154
|
-
"dialog",
|
|
155
|
-
"directory",
|
|
156
|
-
"document",
|
|
157
|
-
"feed",
|
|
158
|
-
"figure",
|
|
159
|
-
"form",
|
|
160
|
-
"grid",
|
|
161
|
-
"gridcell",
|
|
162
|
-
"group",
|
|
163
|
-
"heading",
|
|
164
|
-
"img",
|
|
165
|
-
"link",
|
|
166
|
-
"list",
|
|
167
|
-
"listbox",
|
|
168
|
-
"listitem",
|
|
169
|
-
"log",
|
|
170
|
-
"main",
|
|
171
|
-
"marquee",
|
|
172
|
-
"math",
|
|
173
|
-
"menu",
|
|
174
|
-
"menubar",
|
|
175
|
-
"menuitem",
|
|
176
|
-
"menuitemcheckbox",
|
|
177
|
-
"menuitemradio",
|
|
178
|
-
"navigation",
|
|
179
|
-
"none",
|
|
180
|
-
"note",
|
|
181
|
-
"option",
|
|
182
|
-
"presentation",
|
|
183
|
-
"progressbar",
|
|
184
|
-
"radio",
|
|
185
|
-
"radiogroup",
|
|
186
|
-
"region",
|
|
187
|
-
"row",
|
|
188
|
-
"rowgroup",
|
|
189
|
-
"rowheader",
|
|
190
|
-
"scrollbar",
|
|
191
|
-
"search",
|
|
192
|
-
"searchbox",
|
|
193
|
-
"separator",
|
|
194
|
-
"slider",
|
|
195
|
-
"spinbutton",
|
|
196
|
-
"status",
|
|
197
|
-
"switch",
|
|
198
|
-
"tab",
|
|
199
|
-
"table",
|
|
200
|
-
"tablist",
|
|
201
|
-
"tabpanel",
|
|
202
|
-
"term",
|
|
203
|
-
"textbox",
|
|
204
|
-
"timer",
|
|
205
|
-
"toolbar",
|
|
206
|
-
"tooltip",
|
|
207
|
-
"tree",
|
|
208
|
-
"treegrid",
|
|
209
|
-
"treeitem",
|
|
210
|
-
]
|
|
211
|
-
| Var[
|
|
212
|
-
Literal[
|
|
213
|
-
"alert",
|
|
214
|
-
"alertdialog",
|
|
215
|
-
"application",
|
|
216
|
-
"article",
|
|
217
|
-
"banner",
|
|
218
|
-
"button",
|
|
219
|
-
"cell",
|
|
220
|
-
"checkbox",
|
|
221
|
-
"columnheader",
|
|
222
|
-
"combobox",
|
|
223
|
-
"complementary",
|
|
224
|
-
"contentinfo",
|
|
225
|
-
"definition",
|
|
226
|
-
"dialog",
|
|
227
|
-
"directory",
|
|
228
|
-
"document",
|
|
229
|
-
"feed",
|
|
230
|
-
"figure",
|
|
231
|
-
"form",
|
|
232
|
-
"grid",
|
|
233
|
-
"gridcell",
|
|
234
|
-
"group",
|
|
235
|
-
"heading",
|
|
236
|
-
"img",
|
|
237
|
-
"link",
|
|
238
|
-
"list",
|
|
239
|
-
"listbox",
|
|
240
|
-
"listitem",
|
|
241
|
-
"log",
|
|
242
|
-
"main",
|
|
243
|
-
"marquee",
|
|
244
|
-
"math",
|
|
245
|
-
"menu",
|
|
246
|
-
"menubar",
|
|
247
|
-
"menuitem",
|
|
248
|
-
"menuitemcheckbox",
|
|
249
|
-
"menuitemradio",
|
|
250
|
-
"navigation",
|
|
251
|
-
"none",
|
|
252
|
-
"note",
|
|
253
|
-
"option",
|
|
254
|
-
"presentation",
|
|
255
|
-
"progressbar",
|
|
256
|
-
"radio",
|
|
257
|
-
"radiogroup",
|
|
258
|
-
"region",
|
|
259
|
-
"row",
|
|
260
|
-
"rowgroup",
|
|
261
|
-
"rowheader",
|
|
262
|
-
"scrollbar",
|
|
263
|
-
"search",
|
|
264
|
-
"searchbox",
|
|
265
|
-
"separator",
|
|
266
|
-
"slider",
|
|
267
|
-
"spinbutton",
|
|
268
|
-
"status",
|
|
269
|
-
"switch",
|
|
270
|
-
"tab",
|
|
271
|
-
"table",
|
|
272
|
-
"tablist",
|
|
273
|
-
"tabpanel",
|
|
274
|
-
"term",
|
|
275
|
-
"textbox",
|
|
276
|
-
"timer",
|
|
277
|
-
"toolbar",
|
|
278
|
-
"tooltip",
|
|
279
|
-
"tree",
|
|
280
|
-
"treegrid",
|
|
281
|
-
"treeitem",
|
|
282
|
-
]
|
|
283
|
-
]
|
|
284
|
-
| None = None,
|
|
285
|
-
slot: Var[str] | str | None = None,
|
|
286
|
-
spell_check: Var[bool] | bool | None = None,
|
|
287
|
-
tab_index: Var[int] | int | None = None,
|
|
288
|
-
title: Var[str] | str | None = None,
|
|
289
111
|
style: Sequence[Mapping[str, Any]]
|
|
290
112
|
| Mapping[str, Any]
|
|
291
113
|
| Var[Mapping[str, Any]]
|
|
@@ -329,22 +151,6 @@ class Heading(elements.H1, RadixThemesComponent, MarkdownComponentMap):
|
|
|
329
151
|
trim: Removes the leading trim space: "normal" | "start" | "end" | "both"
|
|
330
152
|
color_scheme: Overrides the accent color inherited from the Theme.
|
|
331
153
|
high_contrast: Whether to render the text with higher contrast color
|
|
332
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
333
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
334
|
-
content_editable: Indicates whether the element's content is editable.
|
|
335
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
336
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
337
|
-
draggable: Defines whether the element can be dragged.
|
|
338
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
339
|
-
hidden: Defines whether the element is hidden.
|
|
340
|
-
input_mode: Defines the type of the element.
|
|
341
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
342
|
-
lang: Defines the language used in the element.
|
|
343
|
-
role: Defines the role of the element.
|
|
344
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
345
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
346
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
347
|
-
title: Defines a tooltip for the element.
|
|
348
154
|
style: The style of the component.
|
|
349
155
|
key: A unique key for the component.
|
|
350
156
|
id: The id for the component.
|