reflex 0.7.0a4__py3-none-any.whl → 0.7.1a1__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/components/reflex/radix_themes_color_mode_provider.js +3 -1
- reflex/__init__.py +1 -0
- reflex/__init__.pyi +1 -0
- reflex/app.py +251 -68
- reflex/base.py +4 -10
- reflex/compiler/compiler.py +46 -12
- reflex/compiler/templates.py +1 -2
- reflex/compiler/utils.py +23 -14
- reflex/components/base/bare.py +109 -16
- reflex/components/component.py +179 -124
- reflex/components/core/__init__.py +1 -0
- reflex/components/core/__init__.pyi +1 -0
- reflex/components/core/auto_scroll.py +111 -0
- reflex/components/core/auto_scroll.pyi +284 -0
- reflex/components/core/banner.py +35 -5
- reflex/components/core/banner.pyi +398 -36
- reflex/components/core/breakpoints.py +1 -1
- reflex/components/core/cond.py +0 -8
- reflex/components/core/foreach.py +12 -2
- reflex/components/core/html.pyi +200 -19
- reflex/components/core/match.py +4 -4
- reflex/components/core/sticky.py +4 -30
- reflex/components/core/sticky.pyi +874 -90
- reflex/components/core/upload.py +3 -5
- reflex/components/core/upload.pyi +2 -4
- reflex/components/datadisplay/code.py +36 -10
- reflex/components/datadisplay/code.pyi +1 -1
- reflex/components/datadisplay/dataeditor.py +1 -3
- reflex/components/datadisplay/dataeditor.pyi +1 -3
- reflex/components/el/elements/base.py +95 -17
- reflex/components/el/elements/base.pyi +278 -19
- reflex/components/el/elements/forms.py +124 -102
- reflex/components/el/elements/forms.pyi +2787 -365
- reflex/components/el/elements/inline.py +24 -15
- reflex/components/el/elements/inline.pyi +5655 -546
- reflex/components/el/elements/media.py +79 -95
- reflex/components/el/elements/media.pyi +5167 -565
- reflex/components/el/elements/metadata.py +19 -17
- reflex/components/el/elements/metadata.pyi +841 -89
- reflex/components/el/elements/other.py +3 -5
- reflex/components/el/elements/other.pyi +1404 -137
- reflex/components/el/elements/scripts.py +10 -13
- reflex/components/el/elements/scripts.pyi +634 -65
- reflex/components/el/elements/sectioning.pyi +3001 -286
- reflex/components/el/elements/tables.py +14 -35
- reflex/components/el/elements/tables.pyi +2029 -218
- reflex/components/el/elements/typography.py +10 -13
- reflex/components/el/elements/typography.pyi +3014 -297
- reflex/components/lucide/icon.py +22 -6
- reflex/components/markdown/markdown.py +30 -10
- reflex/components/markdown/markdown.pyi +3 -2
- reflex/components/plotly/plotly.py +1 -3
- reflex/components/plotly/plotly.pyi +1 -3
- reflex/components/radix/primitives/form.pyi +624 -93
- reflex/components/radix/themes/color_mode.py +1 -1
- reflex/components/radix/themes/color_mode.pyi +213 -31
- reflex/components/radix/themes/components/alert_dialog.pyi +199 -18
- reflex/components/radix/themes/components/badge.pyi +199 -18
- reflex/components/radix/themes/components/button.pyi +213 -31
- reflex/components/radix/themes/components/callout.pyi +1000 -95
- reflex/components/radix/themes/components/card.pyi +199 -18
- reflex/components/radix/themes/components/context_menu.py +79 -1
- reflex/components/radix/themes/components/context_menu.pyi +320 -1
- reflex/components/radix/themes/components/dialog.pyi +199 -18
- reflex/components/radix/themes/components/hover_card.pyi +199 -18
- reflex/components/radix/themes/components/icon_button.pyi +213 -31
- reflex/components/radix/themes/components/inset.pyi +199 -18
- reflex/components/radix/themes/components/popover.pyi +199 -18
- reflex/components/radix/themes/components/table.pyi +1437 -154
- reflex/components/radix/themes/components/text_area.py +2 -2
- reflex/components/radix/themes/components/text_area.pyi +201 -20
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +444 -88
- reflex/components/radix/themes/layout/box.pyi +200 -19
- reflex/components/radix/themes/layout/center.pyi +199 -18
- reflex/components/radix/themes/layout/container.pyi +199 -18
- reflex/components/radix/themes/layout/flex.pyi +199 -18
- reflex/components/radix/themes/layout/grid.pyi +199 -18
- reflex/components/radix/themes/layout/list.pyi +604 -57
- reflex/components/radix/themes/layout/section.pyi +199 -18
- reflex/components/radix/themes/layout/spacer.pyi +199 -18
- reflex/components/radix/themes/layout/stack.pyi +597 -54
- reflex/components/radix/themes/typography/blockquote.pyi +200 -19
- reflex/components/radix/themes/typography/code.pyi +199 -18
- reflex/components/radix/themes/typography/heading.pyi +199 -18
- reflex/components/radix/themes/typography/link.pyi +238 -28
- reflex/components/radix/themes/typography/text.pyi +1394 -127
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +1 -3
- reflex/components/sonner/toast.py +19 -1
- reflex/components/sonner/toast.pyi +10 -1
- reflex/components/tags/iter_tag.py +4 -0
- reflex/components/tags/tag.py +3 -3
- reflex/config.py +187 -28
- reflex/constants/__init__.py +2 -0
- reflex/constants/base.py +6 -0
- reflex/constants/compiler.py +9 -0
- reflex/constants/event.py +1 -0
- reflex/constants/installer.py +4 -5
- reflex/constants/utils.py +1 -3
- reflex/event.py +7 -16
- reflex/experimental/layout.pyi +597 -54
- reflex/py.typed +0 -0
- reflex/reflex.py +44 -48
- reflex/state.py +49 -44
- reflex/style.py +6 -4
- reflex/testing.py +2 -0
- reflex/utils/build.py +12 -0
- reflex/utils/console.py +4 -0
- reflex/utils/decorator.py +25 -0
- reflex/utils/exec.py +92 -34
- reflex/utils/format.py +35 -6
- reflex/utils/path_ops.py +32 -1
- reflex/utils/prerequisites.py +54 -10
- reflex/utils/processes.py +12 -13
- reflex/utils/serializers.py +20 -43
- reflex/utils/telemetry.py +4 -15
- reflex/utils/types.py +36 -66
- reflex/vars/base.py +53 -76
- reflex/vars/function.py +17 -5
- reflex/vars/number.py +1 -1
- reflex/vars/sequence.py +80 -4
- {reflex-0.7.0a4.dist-info → reflex-0.7.1a1.dist-info}/METADATA +4 -5
- {reflex-0.7.0a4.dist-info → reflex-0.7.1a1.dist-info}/RECORD +127 -123
- {reflex-0.7.0a4.dist-info → reflex-0.7.1a1.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a4.dist-info → reflex-0.7.1a1.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a4.dist-info → reflex-0.7.1a1.dist-info}/entry_points.txt +0 -0
reflex/experimental/layout.pyi
CHANGED
|
@@ -21,30 +21,211 @@ class Sidebar(Box, MemoizationLeaf):
|
|
|
21
21
|
def create( # type: ignore
|
|
22
22
|
cls,
|
|
23
23
|
*children,
|
|
24
|
-
access_key: Optional[Union[Var[
|
|
24
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
25
25
|
auto_capitalize: Optional[
|
|
26
|
-
Union[
|
|
26
|
+
Union[
|
|
27
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
28
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
29
|
+
]
|
|
27
30
|
] = None,
|
|
28
31
|
content_editable: Optional[
|
|
29
|
-
Union[
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
Union[
|
|
33
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
34
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
35
|
+
]
|
|
33
36
|
] = None,
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
38
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
39
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
36
40
|
enter_key_hint: Optional[
|
|
37
|
-
Union[
|
|
41
|
+
Union[
|
|
42
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
43
|
+
Var[
|
|
44
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
45
|
+
],
|
|
46
|
+
]
|
|
47
|
+
] = None,
|
|
48
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
49
|
+
input_mode: Optional[
|
|
50
|
+
Union[
|
|
51
|
+
Literal[
|
|
52
|
+
"decimal",
|
|
53
|
+
"email",
|
|
54
|
+
"none",
|
|
55
|
+
"numeric",
|
|
56
|
+
"search",
|
|
57
|
+
"tel",
|
|
58
|
+
"text",
|
|
59
|
+
"url",
|
|
60
|
+
],
|
|
61
|
+
Var[
|
|
62
|
+
Literal[
|
|
63
|
+
"decimal",
|
|
64
|
+
"email",
|
|
65
|
+
"none",
|
|
66
|
+
"numeric",
|
|
67
|
+
"search",
|
|
68
|
+
"tel",
|
|
69
|
+
"text",
|
|
70
|
+
"url",
|
|
71
|
+
]
|
|
72
|
+
],
|
|
73
|
+
]
|
|
38
74
|
] = None,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
75
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
76
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
77
|
+
role: Optional[
|
|
78
|
+
Union[
|
|
79
|
+
Literal[
|
|
80
|
+
"alert",
|
|
81
|
+
"alertdialog",
|
|
82
|
+
"application",
|
|
83
|
+
"article",
|
|
84
|
+
"banner",
|
|
85
|
+
"button",
|
|
86
|
+
"cell",
|
|
87
|
+
"checkbox",
|
|
88
|
+
"columnheader",
|
|
89
|
+
"combobox",
|
|
90
|
+
"complementary",
|
|
91
|
+
"contentinfo",
|
|
92
|
+
"definition",
|
|
93
|
+
"dialog",
|
|
94
|
+
"directory",
|
|
95
|
+
"document",
|
|
96
|
+
"feed",
|
|
97
|
+
"figure",
|
|
98
|
+
"form",
|
|
99
|
+
"grid",
|
|
100
|
+
"gridcell",
|
|
101
|
+
"group",
|
|
102
|
+
"heading",
|
|
103
|
+
"img",
|
|
104
|
+
"link",
|
|
105
|
+
"list",
|
|
106
|
+
"listbox",
|
|
107
|
+
"listitem",
|
|
108
|
+
"log",
|
|
109
|
+
"main",
|
|
110
|
+
"marquee",
|
|
111
|
+
"math",
|
|
112
|
+
"menu",
|
|
113
|
+
"menubar",
|
|
114
|
+
"menuitem",
|
|
115
|
+
"menuitemcheckbox",
|
|
116
|
+
"menuitemradio",
|
|
117
|
+
"navigation",
|
|
118
|
+
"none",
|
|
119
|
+
"note",
|
|
120
|
+
"option",
|
|
121
|
+
"presentation",
|
|
122
|
+
"progressbar",
|
|
123
|
+
"radio",
|
|
124
|
+
"radiogroup",
|
|
125
|
+
"region",
|
|
126
|
+
"row",
|
|
127
|
+
"rowgroup",
|
|
128
|
+
"rowheader",
|
|
129
|
+
"scrollbar",
|
|
130
|
+
"search",
|
|
131
|
+
"searchbox",
|
|
132
|
+
"separator",
|
|
133
|
+
"slider",
|
|
134
|
+
"spinbutton",
|
|
135
|
+
"status",
|
|
136
|
+
"switch",
|
|
137
|
+
"tab",
|
|
138
|
+
"table",
|
|
139
|
+
"tablist",
|
|
140
|
+
"tabpanel",
|
|
141
|
+
"term",
|
|
142
|
+
"textbox",
|
|
143
|
+
"timer",
|
|
144
|
+
"toolbar",
|
|
145
|
+
"tooltip",
|
|
146
|
+
"tree",
|
|
147
|
+
"treegrid",
|
|
148
|
+
"treeitem",
|
|
149
|
+
],
|
|
150
|
+
Var[
|
|
151
|
+
Literal[
|
|
152
|
+
"alert",
|
|
153
|
+
"alertdialog",
|
|
154
|
+
"application",
|
|
155
|
+
"article",
|
|
156
|
+
"banner",
|
|
157
|
+
"button",
|
|
158
|
+
"cell",
|
|
159
|
+
"checkbox",
|
|
160
|
+
"columnheader",
|
|
161
|
+
"combobox",
|
|
162
|
+
"complementary",
|
|
163
|
+
"contentinfo",
|
|
164
|
+
"definition",
|
|
165
|
+
"dialog",
|
|
166
|
+
"directory",
|
|
167
|
+
"document",
|
|
168
|
+
"feed",
|
|
169
|
+
"figure",
|
|
170
|
+
"form",
|
|
171
|
+
"grid",
|
|
172
|
+
"gridcell",
|
|
173
|
+
"group",
|
|
174
|
+
"heading",
|
|
175
|
+
"img",
|
|
176
|
+
"link",
|
|
177
|
+
"list",
|
|
178
|
+
"listbox",
|
|
179
|
+
"listitem",
|
|
180
|
+
"log",
|
|
181
|
+
"main",
|
|
182
|
+
"marquee",
|
|
183
|
+
"math",
|
|
184
|
+
"menu",
|
|
185
|
+
"menubar",
|
|
186
|
+
"menuitem",
|
|
187
|
+
"menuitemcheckbox",
|
|
188
|
+
"menuitemradio",
|
|
189
|
+
"navigation",
|
|
190
|
+
"none",
|
|
191
|
+
"note",
|
|
192
|
+
"option",
|
|
193
|
+
"presentation",
|
|
194
|
+
"progressbar",
|
|
195
|
+
"radio",
|
|
196
|
+
"radiogroup",
|
|
197
|
+
"region",
|
|
198
|
+
"row",
|
|
199
|
+
"rowgroup",
|
|
200
|
+
"rowheader",
|
|
201
|
+
"scrollbar",
|
|
202
|
+
"search",
|
|
203
|
+
"searchbox",
|
|
204
|
+
"separator",
|
|
205
|
+
"slider",
|
|
206
|
+
"spinbutton",
|
|
207
|
+
"status",
|
|
208
|
+
"switch",
|
|
209
|
+
"tab",
|
|
210
|
+
"table",
|
|
211
|
+
"tablist",
|
|
212
|
+
"tabpanel",
|
|
213
|
+
"term",
|
|
214
|
+
"textbox",
|
|
215
|
+
"timer",
|
|
216
|
+
"toolbar",
|
|
217
|
+
"tooltip",
|
|
218
|
+
"tree",
|
|
219
|
+
"treegrid",
|
|
220
|
+
"treeitem",
|
|
221
|
+
]
|
|
222
|
+
],
|
|
223
|
+
]
|
|
224
|
+
] = None,
|
|
225
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
226
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
227
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
228
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
48
229
|
style: Optional[Style] = None,
|
|
49
230
|
key: Optional[Any] = None,
|
|
50
231
|
id: Optional[Any] = None,
|
|
@@ -204,30 +385,211 @@ class Layout(Box):
|
|
|
204
385
|
cls,
|
|
205
386
|
*children,
|
|
206
387
|
sidebar: Optional[Component] = None,
|
|
207
|
-
access_key: Optional[Union[Var[
|
|
388
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
208
389
|
auto_capitalize: Optional[
|
|
209
|
-
Union[
|
|
390
|
+
Union[
|
|
391
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
392
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
393
|
+
]
|
|
210
394
|
] = None,
|
|
211
395
|
content_editable: Optional[
|
|
212
|
-
Union[
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
396
|
+
Union[
|
|
397
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
398
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
399
|
+
]
|
|
216
400
|
] = None,
|
|
217
|
-
|
|
218
|
-
|
|
401
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
402
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
403
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
219
404
|
enter_key_hint: Optional[
|
|
220
|
-
Union[
|
|
405
|
+
Union[
|
|
406
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
407
|
+
Var[
|
|
408
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
409
|
+
],
|
|
410
|
+
]
|
|
221
411
|
] = None,
|
|
222
|
-
hidden: Optional[Union[Var[
|
|
223
|
-
input_mode: Optional[
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
412
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
413
|
+
input_mode: Optional[
|
|
414
|
+
Union[
|
|
415
|
+
Literal[
|
|
416
|
+
"decimal",
|
|
417
|
+
"email",
|
|
418
|
+
"none",
|
|
419
|
+
"numeric",
|
|
420
|
+
"search",
|
|
421
|
+
"tel",
|
|
422
|
+
"text",
|
|
423
|
+
"url",
|
|
424
|
+
],
|
|
425
|
+
Var[
|
|
426
|
+
Literal[
|
|
427
|
+
"decimal",
|
|
428
|
+
"email",
|
|
429
|
+
"none",
|
|
430
|
+
"numeric",
|
|
431
|
+
"search",
|
|
432
|
+
"tel",
|
|
433
|
+
"text",
|
|
434
|
+
"url",
|
|
435
|
+
]
|
|
436
|
+
],
|
|
437
|
+
]
|
|
438
|
+
] = None,
|
|
439
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
440
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
441
|
+
role: Optional[
|
|
442
|
+
Union[
|
|
443
|
+
Literal[
|
|
444
|
+
"alert",
|
|
445
|
+
"alertdialog",
|
|
446
|
+
"application",
|
|
447
|
+
"article",
|
|
448
|
+
"banner",
|
|
449
|
+
"button",
|
|
450
|
+
"cell",
|
|
451
|
+
"checkbox",
|
|
452
|
+
"columnheader",
|
|
453
|
+
"combobox",
|
|
454
|
+
"complementary",
|
|
455
|
+
"contentinfo",
|
|
456
|
+
"definition",
|
|
457
|
+
"dialog",
|
|
458
|
+
"directory",
|
|
459
|
+
"document",
|
|
460
|
+
"feed",
|
|
461
|
+
"figure",
|
|
462
|
+
"form",
|
|
463
|
+
"grid",
|
|
464
|
+
"gridcell",
|
|
465
|
+
"group",
|
|
466
|
+
"heading",
|
|
467
|
+
"img",
|
|
468
|
+
"link",
|
|
469
|
+
"list",
|
|
470
|
+
"listbox",
|
|
471
|
+
"listitem",
|
|
472
|
+
"log",
|
|
473
|
+
"main",
|
|
474
|
+
"marquee",
|
|
475
|
+
"math",
|
|
476
|
+
"menu",
|
|
477
|
+
"menubar",
|
|
478
|
+
"menuitem",
|
|
479
|
+
"menuitemcheckbox",
|
|
480
|
+
"menuitemradio",
|
|
481
|
+
"navigation",
|
|
482
|
+
"none",
|
|
483
|
+
"note",
|
|
484
|
+
"option",
|
|
485
|
+
"presentation",
|
|
486
|
+
"progressbar",
|
|
487
|
+
"radio",
|
|
488
|
+
"radiogroup",
|
|
489
|
+
"region",
|
|
490
|
+
"row",
|
|
491
|
+
"rowgroup",
|
|
492
|
+
"rowheader",
|
|
493
|
+
"scrollbar",
|
|
494
|
+
"search",
|
|
495
|
+
"searchbox",
|
|
496
|
+
"separator",
|
|
497
|
+
"slider",
|
|
498
|
+
"spinbutton",
|
|
499
|
+
"status",
|
|
500
|
+
"switch",
|
|
501
|
+
"tab",
|
|
502
|
+
"table",
|
|
503
|
+
"tablist",
|
|
504
|
+
"tabpanel",
|
|
505
|
+
"term",
|
|
506
|
+
"textbox",
|
|
507
|
+
"timer",
|
|
508
|
+
"toolbar",
|
|
509
|
+
"tooltip",
|
|
510
|
+
"tree",
|
|
511
|
+
"treegrid",
|
|
512
|
+
"treeitem",
|
|
513
|
+
],
|
|
514
|
+
Var[
|
|
515
|
+
Literal[
|
|
516
|
+
"alert",
|
|
517
|
+
"alertdialog",
|
|
518
|
+
"application",
|
|
519
|
+
"article",
|
|
520
|
+
"banner",
|
|
521
|
+
"button",
|
|
522
|
+
"cell",
|
|
523
|
+
"checkbox",
|
|
524
|
+
"columnheader",
|
|
525
|
+
"combobox",
|
|
526
|
+
"complementary",
|
|
527
|
+
"contentinfo",
|
|
528
|
+
"definition",
|
|
529
|
+
"dialog",
|
|
530
|
+
"directory",
|
|
531
|
+
"document",
|
|
532
|
+
"feed",
|
|
533
|
+
"figure",
|
|
534
|
+
"form",
|
|
535
|
+
"grid",
|
|
536
|
+
"gridcell",
|
|
537
|
+
"group",
|
|
538
|
+
"heading",
|
|
539
|
+
"img",
|
|
540
|
+
"link",
|
|
541
|
+
"list",
|
|
542
|
+
"listbox",
|
|
543
|
+
"listitem",
|
|
544
|
+
"log",
|
|
545
|
+
"main",
|
|
546
|
+
"marquee",
|
|
547
|
+
"math",
|
|
548
|
+
"menu",
|
|
549
|
+
"menubar",
|
|
550
|
+
"menuitem",
|
|
551
|
+
"menuitemcheckbox",
|
|
552
|
+
"menuitemradio",
|
|
553
|
+
"navigation",
|
|
554
|
+
"none",
|
|
555
|
+
"note",
|
|
556
|
+
"option",
|
|
557
|
+
"presentation",
|
|
558
|
+
"progressbar",
|
|
559
|
+
"radio",
|
|
560
|
+
"radiogroup",
|
|
561
|
+
"region",
|
|
562
|
+
"row",
|
|
563
|
+
"rowgroup",
|
|
564
|
+
"rowheader",
|
|
565
|
+
"scrollbar",
|
|
566
|
+
"search",
|
|
567
|
+
"searchbox",
|
|
568
|
+
"separator",
|
|
569
|
+
"slider",
|
|
570
|
+
"spinbutton",
|
|
571
|
+
"status",
|
|
572
|
+
"switch",
|
|
573
|
+
"tab",
|
|
574
|
+
"table",
|
|
575
|
+
"tablist",
|
|
576
|
+
"tabpanel",
|
|
577
|
+
"term",
|
|
578
|
+
"textbox",
|
|
579
|
+
"timer",
|
|
580
|
+
"toolbar",
|
|
581
|
+
"tooltip",
|
|
582
|
+
"tree",
|
|
583
|
+
"treegrid",
|
|
584
|
+
"treeitem",
|
|
585
|
+
]
|
|
586
|
+
],
|
|
587
|
+
]
|
|
588
|
+
] = None,
|
|
589
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
590
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
591
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
592
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
231
593
|
style: Optional[Style] = None,
|
|
232
594
|
key: Optional[Any] = None,
|
|
233
595
|
id: Optional[Any] = None,
|
|
@@ -272,30 +634,211 @@ class LayoutNamespace(ComponentNamespace):
|
|
|
272
634
|
def __call__(
|
|
273
635
|
*children,
|
|
274
636
|
sidebar: Optional[Component] = None,
|
|
275
|
-
access_key: Optional[Union[Var[
|
|
637
|
+
access_key: Optional[Union[Var[str], str]] = None,
|
|
276
638
|
auto_capitalize: Optional[
|
|
277
|
-
Union[
|
|
639
|
+
Union[
|
|
640
|
+
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
641
|
+
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
642
|
+
]
|
|
278
643
|
] = None,
|
|
279
644
|
content_editable: Optional[
|
|
280
|
-
Union[
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
645
|
+
Union[
|
|
646
|
+
Literal["inherit", "plaintext-only", False, True],
|
|
647
|
+
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
648
|
+
]
|
|
284
649
|
] = None,
|
|
285
|
-
|
|
286
|
-
|
|
650
|
+
context_menu: Optional[Union[Var[str], str]] = None,
|
|
651
|
+
dir: Optional[Union[Var[str], str]] = None,
|
|
652
|
+
draggable: Optional[Union[Var[bool], bool]] = None,
|
|
287
653
|
enter_key_hint: Optional[
|
|
288
|
-
Union[
|
|
654
|
+
Union[
|
|
655
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
|
656
|
+
Var[
|
|
657
|
+
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
|
658
|
+
],
|
|
659
|
+
]
|
|
660
|
+
] = None,
|
|
661
|
+
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
662
|
+
input_mode: Optional[
|
|
663
|
+
Union[
|
|
664
|
+
Literal[
|
|
665
|
+
"decimal",
|
|
666
|
+
"email",
|
|
667
|
+
"none",
|
|
668
|
+
"numeric",
|
|
669
|
+
"search",
|
|
670
|
+
"tel",
|
|
671
|
+
"text",
|
|
672
|
+
"url",
|
|
673
|
+
],
|
|
674
|
+
Var[
|
|
675
|
+
Literal[
|
|
676
|
+
"decimal",
|
|
677
|
+
"email",
|
|
678
|
+
"none",
|
|
679
|
+
"numeric",
|
|
680
|
+
"search",
|
|
681
|
+
"tel",
|
|
682
|
+
"text",
|
|
683
|
+
"url",
|
|
684
|
+
]
|
|
685
|
+
],
|
|
686
|
+
]
|
|
687
|
+
] = None,
|
|
688
|
+
item_prop: Optional[Union[Var[str], str]] = None,
|
|
689
|
+
lang: Optional[Union[Var[str], str]] = None,
|
|
690
|
+
role: Optional[
|
|
691
|
+
Union[
|
|
692
|
+
Literal[
|
|
693
|
+
"alert",
|
|
694
|
+
"alertdialog",
|
|
695
|
+
"application",
|
|
696
|
+
"article",
|
|
697
|
+
"banner",
|
|
698
|
+
"button",
|
|
699
|
+
"cell",
|
|
700
|
+
"checkbox",
|
|
701
|
+
"columnheader",
|
|
702
|
+
"combobox",
|
|
703
|
+
"complementary",
|
|
704
|
+
"contentinfo",
|
|
705
|
+
"definition",
|
|
706
|
+
"dialog",
|
|
707
|
+
"directory",
|
|
708
|
+
"document",
|
|
709
|
+
"feed",
|
|
710
|
+
"figure",
|
|
711
|
+
"form",
|
|
712
|
+
"grid",
|
|
713
|
+
"gridcell",
|
|
714
|
+
"group",
|
|
715
|
+
"heading",
|
|
716
|
+
"img",
|
|
717
|
+
"link",
|
|
718
|
+
"list",
|
|
719
|
+
"listbox",
|
|
720
|
+
"listitem",
|
|
721
|
+
"log",
|
|
722
|
+
"main",
|
|
723
|
+
"marquee",
|
|
724
|
+
"math",
|
|
725
|
+
"menu",
|
|
726
|
+
"menubar",
|
|
727
|
+
"menuitem",
|
|
728
|
+
"menuitemcheckbox",
|
|
729
|
+
"menuitemradio",
|
|
730
|
+
"navigation",
|
|
731
|
+
"none",
|
|
732
|
+
"note",
|
|
733
|
+
"option",
|
|
734
|
+
"presentation",
|
|
735
|
+
"progressbar",
|
|
736
|
+
"radio",
|
|
737
|
+
"radiogroup",
|
|
738
|
+
"region",
|
|
739
|
+
"row",
|
|
740
|
+
"rowgroup",
|
|
741
|
+
"rowheader",
|
|
742
|
+
"scrollbar",
|
|
743
|
+
"search",
|
|
744
|
+
"searchbox",
|
|
745
|
+
"separator",
|
|
746
|
+
"slider",
|
|
747
|
+
"spinbutton",
|
|
748
|
+
"status",
|
|
749
|
+
"switch",
|
|
750
|
+
"tab",
|
|
751
|
+
"table",
|
|
752
|
+
"tablist",
|
|
753
|
+
"tabpanel",
|
|
754
|
+
"term",
|
|
755
|
+
"textbox",
|
|
756
|
+
"timer",
|
|
757
|
+
"toolbar",
|
|
758
|
+
"tooltip",
|
|
759
|
+
"tree",
|
|
760
|
+
"treegrid",
|
|
761
|
+
"treeitem",
|
|
762
|
+
],
|
|
763
|
+
Var[
|
|
764
|
+
Literal[
|
|
765
|
+
"alert",
|
|
766
|
+
"alertdialog",
|
|
767
|
+
"application",
|
|
768
|
+
"article",
|
|
769
|
+
"banner",
|
|
770
|
+
"button",
|
|
771
|
+
"cell",
|
|
772
|
+
"checkbox",
|
|
773
|
+
"columnheader",
|
|
774
|
+
"combobox",
|
|
775
|
+
"complementary",
|
|
776
|
+
"contentinfo",
|
|
777
|
+
"definition",
|
|
778
|
+
"dialog",
|
|
779
|
+
"directory",
|
|
780
|
+
"document",
|
|
781
|
+
"feed",
|
|
782
|
+
"figure",
|
|
783
|
+
"form",
|
|
784
|
+
"grid",
|
|
785
|
+
"gridcell",
|
|
786
|
+
"group",
|
|
787
|
+
"heading",
|
|
788
|
+
"img",
|
|
789
|
+
"link",
|
|
790
|
+
"list",
|
|
791
|
+
"listbox",
|
|
792
|
+
"listitem",
|
|
793
|
+
"log",
|
|
794
|
+
"main",
|
|
795
|
+
"marquee",
|
|
796
|
+
"math",
|
|
797
|
+
"menu",
|
|
798
|
+
"menubar",
|
|
799
|
+
"menuitem",
|
|
800
|
+
"menuitemcheckbox",
|
|
801
|
+
"menuitemradio",
|
|
802
|
+
"navigation",
|
|
803
|
+
"none",
|
|
804
|
+
"note",
|
|
805
|
+
"option",
|
|
806
|
+
"presentation",
|
|
807
|
+
"progressbar",
|
|
808
|
+
"radio",
|
|
809
|
+
"radiogroup",
|
|
810
|
+
"region",
|
|
811
|
+
"row",
|
|
812
|
+
"rowgroup",
|
|
813
|
+
"rowheader",
|
|
814
|
+
"scrollbar",
|
|
815
|
+
"search",
|
|
816
|
+
"searchbox",
|
|
817
|
+
"separator",
|
|
818
|
+
"slider",
|
|
819
|
+
"spinbutton",
|
|
820
|
+
"status",
|
|
821
|
+
"switch",
|
|
822
|
+
"tab",
|
|
823
|
+
"table",
|
|
824
|
+
"tablist",
|
|
825
|
+
"tabpanel",
|
|
826
|
+
"term",
|
|
827
|
+
"textbox",
|
|
828
|
+
"timer",
|
|
829
|
+
"toolbar",
|
|
830
|
+
"tooltip",
|
|
831
|
+
"tree",
|
|
832
|
+
"treegrid",
|
|
833
|
+
"treeitem",
|
|
834
|
+
]
|
|
835
|
+
],
|
|
836
|
+
]
|
|
289
837
|
] = None,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
295
|
-
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
296
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
297
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
298
|
-
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
838
|
+
slot: Optional[Union[Var[str], str]] = None,
|
|
839
|
+
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
840
|
+
tab_index: Optional[Union[Var[int], int]] = None,
|
|
841
|
+
title: Optional[Union[Var[str], str]] = None,
|
|
299
842
|
style: Optional[Style] = None,
|
|
300
843
|
key: Optional[Any] = None,
|
|
301
844
|
id: Optional[Any] = None,
|