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
|
@@ -19,190 +19,6 @@ class StickyLogo(Svg):
|
|
|
19
19
|
def create(
|
|
20
20
|
cls,
|
|
21
21
|
*children,
|
|
22
|
-
width: Var[int | str] | int | str | None = None,
|
|
23
|
-
height: Var[int | str] | int | str | None = None,
|
|
24
|
-
xmlns: Var[str] | str | None = None,
|
|
25
|
-
view_box: Var[str] | str | None = None,
|
|
26
|
-
preserve_aspect_ratio: Var[str] | str | None = None,
|
|
27
|
-
transform: Var[str] | str | None = None,
|
|
28
|
-
access_key: Var[str] | str | None = None,
|
|
29
|
-
auto_capitalize: Literal[
|
|
30
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
31
|
-
]
|
|
32
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
33
|
-
| None = None,
|
|
34
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
35
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
36
|
-
| None = None,
|
|
37
|
-
context_menu: Var[str] | str | None = None,
|
|
38
|
-
dir: Var[str] | str | None = None,
|
|
39
|
-
draggable: Var[bool] | bool | None = None,
|
|
40
|
-
enter_key_hint: Literal[
|
|
41
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
42
|
-
]
|
|
43
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
44
|
-
| None = None,
|
|
45
|
-
hidden: Var[bool] | bool | None = None,
|
|
46
|
-
input_mode: Literal[
|
|
47
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
48
|
-
]
|
|
49
|
-
| Var[
|
|
50
|
-
Literal[
|
|
51
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
52
|
-
]
|
|
53
|
-
]
|
|
54
|
-
| None = None,
|
|
55
|
-
item_prop: Var[str] | str | None = None,
|
|
56
|
-
lang: Var[str] | str | None = None,
|
|
57
|
-
role: Literal[
|
|
58
|
-
"alert",
|
|
59
|
-
"alertdialog",
|
|
60
|
-
"application",
|
|
61
|
-
"article",
|
|
62
|
-
"banner",
|
|
63
|
-
"button",
|
|
64
|
-
"cell",
|
|
65
|
-
"checkbox",
|
|
66
|
-
"columnheader",
|
|
67
|
-
"combobox",
|
|
68
|
-
"complementary",
|
|
69
|
-
"contentinfo",
|
|
70
|
-
"definition",
|
|
71
|
-
"dialog",
|
|
72
|
-
"directory",
|
|
73
|
-
"document",
|
|
74
|
-
"feed",
|
|
75
|
-
"figure",
|
|
76
|
-
"form",
|
|
77
|
-
"grid",
|
|
78
|
-
"gridcell",
|
|
79
|
-
"group",
|
|
80
|
-
"heading",
|
|
81
|
-
"img",
|
|
82
|
-
"link",
|
|
83
|
-
"list",
|
|
84
|
-
"listbox",
|
|
85
|
-
"listitem",
|
|
86
|
-
"log",
|
|
87
|
-
"main",
|
|
88
|
-
"marquee",
|
|
89
|
-
"math",
|
|
90
|
-
"menu",
|
|
91
|
-
"menubar",
|
|
92
|
-
"menuitem",
|
|
93
|
-
"menuitemcheckbox",
|
|
94
|
-
"menuitemradio",
|
|
95
|
-
"navigation",
|
|
96
|
-
"none",
|
|
97
|
-
"note",
|
|
98
|
-
"option",
|
|
99
|
-
"presentation",
|
|
100
|
-
"progressbar",
|
|
101
|
-
"radio",
|
|
102
|
-
"radiogroup",
|
|
103
|
-
"region",
|
|
104
|
-
"row",
|
|
105
|
-
"rowgroup",
|
|
106
|
-
"rowheader",
|
|
107
|
-
"scrollbar",
|
|
108
|
-
"search",
|
|
109
|
-
"searchbox",
|
|
110
|
-
"separator",
|
|
111
|
-
"slider",
|
|
112
|
-
"spinbutton",
|
|
113
|
-
"status",
|
|
114
|
-
"switch",
|
|
115
|
-
"tab",
|
|
116
|
-
"table",
|
|
117
|
-
"tablist",
|
|
118
|
-
"tabpanel",
|
|
119
|
-
"term",
|
|
120
|
-
"textbox",
|
|
121
|
-
"timer",
|
|
122
|
-
"toolbar",
|
|
123
|
-
"tooltip",
|
|
124
|
-
"tree",
|
|
125
|
-
"treegrid",
|
|
126
|
-
"treeitem",
|
|
127
|
-
]
|
|
128
|
-
| Var[
|
|
129
|
-
Literal[
|
|
130
|
-
"alert",
|
|
131
|
-
"alertdialog",
|
|
132
|
-
"application",
|
|
133
|
-
"article",
|
|
134
|
-
"banner",
|
|
135
|
-
"button",
|
|
136
|
-
"cell",
|
|
137
|
-
"checkbox",
|
|
138
|
-
"columnheader",
|
|
139
|
-
"combobox",
|
|
140
|
-
"complementary",
|
|
141
|
-
"contentinfo",
|
|
142
|
-
"definition",
|
|
143
|
-
"dialog",
|
|
144
|
-
"directory",
|
|
145
|
-
"document",
|
|
146
|
-
"feed",
|
|
147
|
-
"figure",
|
|
148
|
-
"form",
|
|
149
|
-
"grid",
|
|
150
|
-
"gridcell",
|
|
151
|
-
"group",
|
|
152
|
-
"heading",
|
|
153
|
-
"img",
|
|
154
|
-
"link",
|
|
155
|
-
"list",
|
|
156
|
-
"listbox",
|
|
157
|
-
"listitem",
|
|
158
|
-
"log",
|
|
159
|
-
"main",
|
|
160
|
-
"marquee",
|
|
161
|
-
"math",
|
|
162
|
-
"menu",
|
|
163
|
-
"menubar",
|
|
164
|
-
"menuitem",
|
|
165
|
-
"menuitemcheckbox",
|
|
166
|
-
"menuitemradio",
|
|
167
|
-
"navigation",
|
|
168
|
-
"none",
|
|
169
|
-
"note",
|
|
170
|
-
"option",
|
|
171
|
-
"presentation",
|
|
172
|
-
"progressbar",
|
|
173
|
-
"radio",
|
|
174
|
-
"radiogroup",
|
|
175
|
-
"region",
|
|
176
|
-
"row",
|
|
177
|
-
"rowgroup",
|
|
178
|
-
"rowheader",
|
|
179
|
-
"scrollbar",
|
|
180
|
-
"search",
|
|
181
|
-
"searchbox",
|
|
182
|
-
"separator",
|
|
183
|
-
"slider",
|
|
184
|
-
"spinbutton",
|
|
185
|
-
"status",
|
|
186
|
-
"switch",
|
|
187
|
-
"tab",
|
|
188
|
-
"table",
|
|
189
|
-
"tablist",
|
|
190
|
-
"tabpanel",
|
|
191
|
-
"term",
|
|
192
|
-
"textbox",
|
|
193
|
-
"timer",
|
|
194
|
-
"toolbar",
|
|
195
|
-
"tooltip",
|
|
196
|
-
"tree",
|
|
197
|
-
"treegrid",
|
|
198
|
-
"treeitem",
|
|
199
|
-
]
|
|
200
|
-
]
|
|
201
|
-
| None = None,
|
|
202
|
-
slot: Var[str] | str | None = None,
|
|
203
|
-
spell_check: Var[bool] | bool | None = None,
|
|
204
|
-
tab_index: Var[int] | int | None = None,
|
|
205
|
-
title: Var[str] | str | None = None,
|
|
206
22
|
style: Sequence[Mapping[str, Any]]
|
|
207
23
|
| Mapping[str, Any]
|
|
208
24
|
| Var[Mapping[str, Any]]
|
|
@@ -376,184 +192,6 @@ class StickyLabel(Text):
|
|
|
376
192
|
]
|
|
377
193
|
| None = None,
|
|
378
194
|
high_contrast: Var[bool] | bool | None = None,
|
|
379
|
-
access_key: Var[str] | str | None = None,
|
|
380
|
-
auto_capitalize: Literal[
|
|
381
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
382
|
-
]
|
|
383
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
384
|
-
| None = None,
|
|
385
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
386
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
387
|
-
| None = None,
|
|
388
|
-
context_menu: Var[str] | str | None = None,
|
|
389
|
-
dir: Var[str] | str | None = None,
|
|
390
|
-
draggable: Var[bool] | bool | None = None,
|
|
391
|
-
enter_key_hint: Literal[
|
|
392
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
393
|
-
]
|
|
394
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
395
|
-
| None = None,
|
|
396
|
-
hidden: Var[bool] | bool | None = None,
|
|
397
|
-
input_mode: Literal[
|
|
398
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
399
|
-
]
|
|
400
|
-
| Var[
|
|
401
|
-
Literal[
|
|
402
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
403
|
-
]
|
|
404
|
-
]
|
|
405
|
-
| None = None,
|
|
406
|
-
item_prop: Var[str] | str | None = None,
|
|
407
|
-
lang: Var[str] | str | None = None,
|
|
408
|
-
role: Literal[
|
|
409
|
-
"alert",
|
|
410
|
-
"alertdialog",
|
|
411
|
-
"application",
|
|
412
|
-
"article",
|
|
413
|
-
"banner",
|
|
414
|
-
"button",
|
|
415
|
-
"cell",
|
|
416
|
-
"checkbox",
|
|
417
|
-
"columnheader",
|
|
418
|
-
"combobox",
|
|
419
|
-
"complementary",
|
|
420
|
-
"contentinfo",
|
|
421
|
-
"definition",
|
|
422
|
-
"dialog",
|
|
423
|
-
"directory",
|
|
424
|
-
"document",
|
|
425
|
-
"feed",
|
|
426
|
-
"figure",
|
|
427
|
-
"form",
|
|
428
|
-
"grid",
|
|
429
|
-
"gridcell",
|
|
430
|
-
"group",
|
|
431
|
-
"heading",
|
|
432
|
-
"img",
|
|
433
|
-
"link",
|
|
434
|
-
"list",
|
|
435
|
-
"listbox",
|
|
436
|
-
"listitem",
|
|
437
|
-
"log",
|
|
438
|
-
"main",
|
|
439
|
-
"marquee",
|
|
440
|
-
"math",
|
|
441
|
-
"menu",
|
|
442
|
-
"menubar",
|
|
443
|
-
"menuitem",
|
|
444
|
-
"menuitemcheckbox",
|
|
445
|
-
"menuitemradio",
|
|
446
|
-
"navigation",
|
|
447
|
-
"none",
|
|
448
|
-
"note",
|
|
449
|
-
"option",
|
|
450
|
-
"presentation",
|
|
451
|
-
"progressbar",
|
|
452
|
-
"radio",
|
|
453
|
-
"radiogroup",
|
|
454
|
-
"region",
|
|
455
|
-
"row",
|
|
456
|
-
"rowgroup",
|
|
457
|
-
"rowheader",
|
|
458
|
-
"scrollbar",
|
|
459
|
-
"search",
|
|
460
|
-
"searchbox",
|
|
461
|
-
"separator",
|
|
462
|
-
"slider",
|
|
463
|
-
"spinbutton",
|
|
464
|
-
"status",
|
|
465
|
-
"switch",
|
|
466
|
-
"tab",
|
|
467
|
-
"table",
|
|
468
|
-
"tablist",
|
|
469
|
-
"tabpanel",
|
|
470
|
-
"term",
|
|
471
|
-
"textbox",
|
|
472
|
-
"timer",
|
|
473
|
-
"toolbar",
|
|
474
|
-
"tooltip",
|
|
475
|
-
"tree",
|
|
476
|
-
"treegrid",
|
|
477
|
-
"treeitem",
|
|
478
|
-
]
|
|
479
|
-
| Var[
|
|
480
|
-
Literal[
|
|
481
|
-
"alert",
|
|
482
|
-
"alertdialog",
|
|
483
|
-
"application",
|
|
484
|
-
"article",
|
|
485
|
-
"banner",
|
|
486
|
-
"button",
|
|
487
|
-
"cell",
|
|
488
|
-
"checkbox",
|
|
489
|
-
"columnheader",
|
|
490
|
-
"combobox",
|
|
491
|
-
"complementary",
|
|
492
|
-
"contentinfo",
|
|
493
|
-
"definition",
|
|
494
|
-
"dialog",
|
|
495
|
-
"directory",
|
|
496
|
-
"document",
|
|
497
|
-
"feed",
|
|
498
|
-
"figure",
|
|
499
|
-
"form",
|
|
500
|
-
"grid",
|
|
501
|
-
"gridcell",
|
|
502
|
-
"group",
|
|
503
|
-
"heading",
|
|
504
|
-
"img",
|
|
505
|
-
"link",
|
|
506
|
-
"list",
|
|
507
|
-
"listbox",
|
|
508
|
-
"listitem",
|
|
509
|
-
"log",
|
|
510
|
-
"main",
|
|
511
|
-
"marquee",
|
|
512
|
-
"math",
|
|
513
|
-
"menu",
|
|
514
|
-
"menubar",
|
|
515
|
-
"menuitem",
|
|
516
|
-
"menuitemcheckbox",
|
|
517
|
-
"menuitemradio",
|
|
518
|
-
"navigation",
|
|
519
|
-
"none",
|
|
520
|
-
"note",
|
|
521
|
-
"option",
|
|
522
|
-
"presentation",
|
|
523
|
-
"progressbar",
|
|
524
|
-
"radio",
|
|
525
|
-
"radiogroup",
|
|
526
|
-
"region",
|
|
527
|
-
"row",
|
|
528
|
-
"rowgroup",
|
|
529
|
-
"rowheader",
|
|
530
|
-
"scrollbar",
|
|
531
|
-
"search",
|
|
532
|
-
"searchbox",
|
|
533
|
-
"separator",
|
|
534
|
-
"slider",
|
|
535
|
-
"spinbutton",
|
|
536
|
-
"status",
|
|
537
|
-
"switch",
|
|
538
|
-
"tab",
|
|
539
|
-
"table",
|
|
540
|
-
"tablist",
|
|
541
|
-
"tabpanel",
|
|
542
|
-
"term",
|
|
543
|
-
"textbox",
|
|
544
|
-
"timer",
|
|
545
|
-
"toolbar",
|
|
546
|
-
"tooltip",
|
|
547
|
-
"tree",
|
|
548
|
-
"treegrid",
|
|
549
|
-
"treeitem",
|
|
550
|
-
]
|
|
551
|
-
]
|
|
552
|
-
| None = None,
|
|
553
|
-
slot: Var[str] | str | None = None,
|
|
554
|
-
spell_check: Var[bool] | bool | None = None,
|
|
555
|
-
tab_index: Var[int] | int | None = None,
|
|
556
|
-
title: Var[str] | str | None = None,
|
|
557
195
|
style: Sequence[Mapping[str, Any]]
|
|
558
196
|
| Mapping[str, Any]
|
|
559
197
|
| Var[Mapping[str, Any]]
|
|
@@ -595,219 +233,6 @@ class StickyBadge(A):
|
|
|
595
233
|
def create(
|
|
596
234
|
cls,
|
|
597
235
|
*children,
|
|
598
|
-
download: Var[bool | str] | bool | str | None = None,
|
|
599
|
-
href: Var[str] | str | None = None,
|
|
600
|
-
href_lang: Var[str] | str | None = None,
|
|
601
|
-
media: Var[str] | str | None = None,
|
|
602
|
-
ping: Var[str] | str | None = None,
|
|
603
|
-
referrer_policy: Literal[
|
|
604
|
-
"",
|
|
605
|
-
"no-referrer",
|
|
606
|
-
"no-referrer-when-downgrade",
|
|
607
|
-
"origin",
|
|
608
|
-
"origin-when-cross-origin",
|
|
609
|
-
"same-origin",
|
|
610
|
-
"strict-origin",
|
|
611
|
-
"strict-origin-when-cross-origin",
|
|
612
|
-
"unsafe-url",
|
|
613
|
-
]
|
|
614
|
-
| Var[
|
|
615
|
-
Literal[
|
|
616
|
-
"",
|
|
617
|
-
"no-referrer",
|
|
618
|
-
"no-referrer-when-downgrade",
|
|
619
|
-
"origin",
|
|
620
|
-
"origin-when-cross-origin",
|
|
621
|
-
"same-origin",
|
|
622
|
-
"strict-origin",
|
|
623
|
-
"strict-origin-when-cross-origin",
|
|
624
|
-
"unsafe-url",
|
|
625
|
-
]
|
|
626
|
-
]
|
|
627
|
-
| None = None,
|
|
628
|
-
rel: Var[str] | str | None = None,
|
|
629
|
-
target: Literal["_blank", "_parent", "_self", "_top"]
|
|
630
|
-
| Var[Literal["_blank", "_parent", "_self", "_top"] | str]
|
|
631
|
-
| str
|
|
632
|
-
| None = None,
|
|
633
|
-
access_key: Var[str] | str | None = None,
|
|
634
|
-
auto_capitalize: Literal[
|
|
635
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
636
|
-
]
|
|
637
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
638
|
-
| None = None,
|
|
639
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
640
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
641
|
-
| None = None,
|
|
642
|
-
context_menu: Var[str] | str | None = None,
|
|
643
|
-
dir: Var[str] | str | None = None,
|
|
644
|
-
draggable: Var[bool] | bool | None = None,
|
|
645
|
-
enter_key_hint: Literal[
|
|
646
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
647
|
-
]
|
|
648
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
649
|
-
| None = None,
|
|
650
|
-
hidden: Var[bool] | bool | None = None,
|
|
651
|
-
input_mode: Literal[
|
|
652
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
653
|
-
]
|
|
654
|
-
| Var[
|
|
655
|
-
Literal[
|
|
656
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
657
|
-
]
|
|
658
|
-
]
|
|
659
|
-
| None = None,
|
|
660
|
-
item_prop: Var[str] | str | None = None,
|
|
661
|
-
lang: Var[str] | str | None = None,
|
|
662
|
-
role: Literal[
|
|
663
|
-
"alert",
|
|
664
|
-
"alertdialog",
|
|
665
|
-
"application",
|
|
666
|
-
"article",
|
|
667
|
-
"banner",
|
|
668
|
-
"button",
|
|
669
|
-
"cell",
|
|
670
|
-
"checkbox",
|
|
671
|
-
"columnheader",
|
|
672
|
-
"combobox",
|
|
673
|
-
"complementary",
|
|
674
|
-
"contentinfo",
|
|
675
|
-
"definition",
|
|
676
|
-
"dialog",
|
|
677
|
-
"directory",
|
|
678
|
-
"document",
|
|
679
|
-
"feed",
|
|
680
|
-
"figure",
|
|
681
|
-
"form",
|
|
682
|
-
"grid",
|
|
683
|
-
"gridcell",
|
|
684
|
-
"group",
|
|
685
|
-
"heading",
|
|
686
|
-
"img",
|
|
687
|
-
"link",
|
|
688
|
-
"list",
|
|
689
|
-
"listbox",
|
|
690
|
-
"listitem",
|
|
691
|
-
"log",
|
|
692
|
-
"main",
|
|
693
|
-
"marquee",
|
|
694
|
-
"math",
|
|
695
|
-
"menu",
|
|
696
|
-
"menubar",
|
|
697
|
-
"menuitem",
|
|
698
|
-
"menuitemcheckbox",
|
|
699
|
-
"menuitemradio",
|
|
700
|
-
"navigation",
|
|
701
|
-
"none",
|
|
702
|
-
"note",
|
|
703
|
-
"option",
|
|
704
|
-
"presentation",
|
|
705
|
-
"progressbar",
|
|
706
|
-
"radio",
|
|
707
|
-
"radiogroup",
|
|
708
|
-
"region",
|
|
709
|
-
"row",
|
|
710
|
-
"rowgroup",
|
|
711
|
-
"rowheader",
|
|
712
|
-
"scrollbar",
|
|
713
|
-
"search",
|
|
714
|
-
"searchbox",
|
|
715
|
-
"separator",
|
|
716
|
-
"slider",
|
|
717
|
-
"spinbutton",
|
|
718
|
-
"status",
|
|
719
|
-
"switch",
|
|
720
|
-
"tab",
|
|
721
|
-
"table",
|
|
722
|
-
"tablist",
|
|
723
|
-
"tabpanel",
|
|
724
|
-
"term",
|
|
725
|
-
"textbox",
|
|
726
|
-
"timer",
|
|
727
|
-
"toolbar",
|
|
728
|
-
"tooltip",
|
|
729
|
-
"tree",
|
|
730
|
-
"treegrid",
|
|
731
|
-
"treeitem",
|
|
732
|
-
]
|
|
733
|
-
| Var[
|
|
734
|
-
Literal[
|
|
735
|
-
"alert",
|
|
736
|
-
"alertdialog",
|
|
737
|
-
"application",
|
|
738
|
-
"article",
|
|
739
|
-
"banner",
|
|
740
|
-
"button",
|
|
741
|
-
"cell",
|
|
742
|
-
"checkbox",
|
|
743
|
-
"columnheader",
|
|
744
|
-
"combobox",
|
|
745
|
-
"complementary",
|
|
746
|
-
"contentinfo",
|
|
747
|
-
"definition",
|
|
748
|
-
"dialog",
|
|
749
|
-
"directory",
|
|
750
|
-
"document",
|
|
751
|
-
"feed",
|
|
752
|
-
"figure",
|
|
753
|
-
"form",
|
|
754
|
-
"grid",
|
|
755
|
-
"gridcell",
|
|
756
|
-
"group",
|
|
757
|
-
"heading",
|
|
758
|
-
"img",
|
|
759
|
-
"link",
|
|
760
|
-
"list",
|
|
761
|
-
"listbox",
|
|
762
|
-
"listitem",
|
|
763
|
-
"log",
|
|
764
|
-
"main",
|
|
765
|
-
"marquee",
|
|
766
|
-
"math",
|
|
767
|
-
"menu",
|
|
768
|
-
"menubar",
|
|
769
|
-
"menuitem",
|
|
770
|
-
"menuitemcheckbox",
|
|
771
|
-
"menuitemradio",
|
|
772
|
-
"navigation",
|
|
773
|
-
"none",
|
|
774
|
-
"note",
|
|
775
|
-
"option",
|
|
776
|
-
"presentation",
|
|
777
|
-
"progressbar",
|
|
778
|
-
"radio",
|
|
779
|
-
"radiogroup",
|
|
780
|
-
"region",
|
|
781
|
-
"row",
|
|
782
|
-
"rowgroup",
|
|
783
|
-
"rowheader",
|
|
784
|
-
"scrollbar",
|
|
785
|
-
"search",
|
|
786
|
-
"searchbox",
|
|
787
|
-
"separator",
|
|
788
|
-
"slider",
|
|
789
|
-
"spinbutton",
|
|
790
|
-
"status",
|
|
791
|
-
"switch",
|
|
792
|
-
"tab",
|
|
793
|
-
"table",
|
|
794
|
-
"tablist",
|
|
795
|
-
"tabpanel",
|
|
796
|
-
"term",
|
|
797
|
-
"textbox",
|
|
798
|
-
"timer",
|
|
799
|
-
"toolbar",
|
|
800
|
-
"tooltip",
|
|
801
|
-
"tree",
|
|
802
|
-
"treegrid",
|
|
803
|
-
"treeitem",
|
|
804
|
-
]
|
|
805
|
-
]
|
|
806
|
-
| None = None,
|
|
807
|
-
slot: Var[str] | str | None = None,
|
|
808
|
-
spell_check: Var[bool] | bool | None = None,
|
|
809
|
-
tab_index: Var[int] | int | None = None,
|
|
810
|
-
title: Var[str] | str | None = None,
|
|
811
236
|
style: Sequence[Mapping[str, Any]]
|
|
812
237
|
| Mapping[str, Any]
|
|
813
238
|
| Var[Mapping[str, Any]]
|
|
@@ -851,219 +276,6 @@ class StickyNamespace(ComponentNamespace):
|
|
|
851
276
|
@staticmethod
|
|
852
277
|
def __call__(
|
|
853
278
|
*children,
|
|
854
|
-
download: Var[bool | str] | bool | str | None = None,
|
|
855
|
-
href: Var[str] | str | None = None,
|
|
856
|
-
href_lang: Var[str] | str | None = None,
|
|
857
|
-
media: Var[str] | str | None = None,
|
|
858
|
-
ping: Var[str] | str | None = None,
|
|
859
|
-
referrer_policy: Literal[
|
|
860
|
-
"",
|
|
861
|
-
"no-referrer",
|
|
862
|
-
"no-referrer-when-downgrade",
|
|
863
|
-
"origin",
|
|
864
|
-
"origin-when-cross-origin",
|
|
865
|
-
"same-origin",
|
|
866
|
-
"strict-origin",
|
|
867
|
-
"strict-origin-when-cross-origin",
|
|
868
|
-
"unsafe-url",
|
|
869
|
-
]
|
|
870
|
-
| Var[
|
|
871
|
-
Literal[
|
|
872
|
-
"",
|
|
873
|
-
"no-referrer",
|
|
874
|
-
"no-referrer-when-downgrade",
|
|
875
|
-
"origin",
|
|
876
|
-
"origin-when-cross-origin",
|
|
877
|
-
"same-origin",
|
|
878
|
-
"strict-origin",
|
|
879
|
-
"strict-origin-when-cross-origin",
|
|
880
|
-
"unsafe-url",
|
|
881
|
-
]
|
|
882
|
-
]
|
|
883
|
-
| None = None,
|
|
884
|
-
rel: Var[str] | str | None = None,
|
|
885
|
-
target: Literal["_blank", "_parent", "_self", "_top"]
|
|
886
|
-
| Var[Literal["_blank", "_parent", "_self", "_top"] | str]
|
|
887
|
-
| str
|
|
888
|
-
| None = None,
|
|
889
|
-
access_key: Var[str] | str | None = None,
|
|
890
|
-
auto_capitalize: Literal[
|
|
891
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
892
|
-
]
|
|
893
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
894
|
-
| None = None,
|
|
895
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
896
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
897
|
-
| None = None,
|
|
898
|
-
context_menu: Var[str] | str | None = None,
|
|
899
|
-
dir: Var[str] | str | None = None,
|
|
900
|
-
draggable: Var[bool] | bool | None = None,
|
|
901
|
-
enter_key_hint: Literal[
|
|
902
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
903
|
-
]
|
|
904
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
905
|
-
| None = None,
|
|
906
|
-
hidden: Var[bool] | bool | None = None,
|
|
907
|
-
input_mode: Literal[
|
|
908
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
909
|
-
]
|
|
910
|
-
| Var[
|
|
911
|
-
Literal[
|
|
912
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
913
|
-
]
|
|
914
|
-
]
|
|
915
|
-
| None = None,
|
|
916
|
-
item_prop: Var[str] | str | None = None,
|
|
917
|
-
lang: Var[str] | str | None = None,
|
|
918
|
-
role: Literal[
|
|
919
|
-
"alert",
|
|
920
|
-
"alertdialog",
|
|
921
|
-
"application",
|
|
922
|
-
"article",
|
|
923
|
-
"banner",
|
|
924
|
-
"button",
|
|
925
|
-
"cell",
|
|
926
|
-
"checkbox",
|
|
927
|
-
"columnheader",
|
|
928
|
-
"combobox",
|
|
929
|
-
"complementary",
|
|
930
|
-
"contentinfo",
|
|
931
|
-
"definition",
|
|
932
|
-
"dialog",
|
|
933
|
-
"directory",
|
|
934
|
-
"document",
|
|
935
|
-
"feed",
|
|
936
|
-
"figure",
|
|
937
|
-
"form",
|
|
938
|
-
"grid",
|
|
939
|
-
"gridcell",
|
|
940
|
-
"group",
|
|
941
|
-
"heading",
|
|
942
|
-
"img",
|
|
943
|
-
"link",
|
|
944
|
-
"list",
|
|
945
|
-
"listbox",
|
|
946
|
-
"listitem",
|
|
947
|
-
"log",
|
|
948
|
-
"main",
|
|
949
|
-
"marquee",
|
|
950
|
-
"math",
|
|
951
|
-
"menu",
|
|
952
|
-
"menubar",
|
|
953
|
-
"menuitem",
|
|
954
|
-
"menuitemcheckbox",
|
|
955
|
-
"menuitemradio",
|
|
956
|
-
"navigation",
|
|
957
|
-
"none",
|
|
958
|
-
"note",
|
|
959
|
-
"option",
|
|
960
|
-
"presentation",
|
|
961
|
-
"progressbar",
|
|
962
|
-
"radio",
|
|
963
|
-
"radiogroup",
|
|
964
|
-
"region",
|
|
965
|
-
"row",
|
|
966
|
-
"rowgroup",
|
|
967
|
-
"rowheader",
|
|
968
|
-
"scrollbar",
|
|
969
|
-
"search",
|
|
970
|
-
"searchbox",
|
|
971
|
-
"separator",
|
|
972
|
-
"slider",
|
|
973
|
-
"spinbutton",
|
|
974
|
-
"status",
|
|
975
|
-
"switch",
|
|
976
|
-
"tab",
|
|
977
|
-
"table",
|
|
978
|
-
"tablist",
|
|
979
|
-
"tabpanel",
|
|
980
|
-
"term",
|
|
981
|
-
"textbox",
|
|
982
|
-
"timer",
|
|
983
|
-
"toolbar",
|
|
984
|
-
"tooltip",
|
|
985
|
-
"tree",
|
|
986
|
-
"treegrid",
|
|
987
|
-
"treeitem",
|
|
988
|
-
]
|
|
989
|
-
| Var[
|
|
990
|
-
Literal[
|
|
991
|
-
"alert",
|
|
992
|
-
"alertdialog",
|
|
993
|
-
"application",
|
|
994
|
-
"article",
|
|
995
|
-
"banner",
|
|
996
|
-
"button",
|
|
997
|
-
"cell",
|
|
998
|
-
"checkbox",
|
|
999
|
-
"columnheader",
|
|
1000
|
-
"combobox",
|
|
1001
|
-
"complementary",
|
|
1002
|
-
"contentinfo",
|
|
1003
|
-
"definition",
|
|
1004
|
-
"dialog",
|
|
1005
|
-
"directory",
|
|
1006
|
-
"document",
|
|
1007
|
-
"feed",
|
|
1008
|
-
"figure",
|
|
1009
|
-
"form",
|
|
1010
|
-
"grid",
|
|
1011
|
-
"gridcell",
|
|
1012
|
-
"group",
|
|
1013
|
-
"heading",
|
|
1014
|
-
"img",
|
|
1015
|
-
"link",
|
|
1016
|
-
"list",
|
|
1017
|
-
"listbox",
|
|
1018
|
-
"listitem",
|
|
1019
|
-
"log",
|
|
1020
|
-
"main",
|
|
1021
|
-
"marquee",
|
|
1022
|
-
"math",
|
|
1023
|
-
"menu",
|
|
1024
|
-
"menubar",
|
|
1025
|
-
"menuitem",
|
|
1026
|
-
"menuitemcheckbox",
|
|
1027
|
-
"menuitemradio",
|
|
1028
|
-
"navigation",
|
|
1029
|
-
"none",
|
|
1030
|
-
"note",
|
|
1031
|
-
"option",
|
|
1032
|
-
"presentation",
|
|
1033
|
-
"progressbar",
|
|
1034
|
-
"radio",
|
|
1035
|
-
"radiogroup",
|
|
1036
|
-
"region",
|
|
1037
|
-
"row",
|
|
1038
|
-
"rowgroup",
|
|
1039
|
-
"rowheader",
|
|
1040
|
-
"scrollbar",
|
|
1041
|
-
"search",
|
|
1042
|
-
"searchbox",
|
|
1043
|
-
"separator",
|
|
1044
|
-
"slider",
|
|
1045
|
-
"spinbutton",
|
|
1046
|
-
"status",
|
|
1047
|
-
"switch",
|
|
1048
|
-
"tab",
|
|
1049
|
-
"table",
|
|
1050
|
-
"tablist",
|
|
1051
|
-
"tabpanel",
|
|
1052
|
-
"term",
|
|
1053
|
-
"textbox",
|
|
1054
|
-
"timer",
|
|
1055
|
-
"toolbar",
|
|
1056
|
-
"tooltip",
|
|
1057
|
-
"tree",
|
|
1058
|
-
"treegrid",
|
|
1059
|
-
"treeitem",
|
|
1060
|
-
]
|
|
1061
|
-
]
|
|
1062
|
-
| None = None,
|
|
1063
|
-
slot: Var[str] | str | None = None,
|
|
1064
|
-
spell_check: Var[bool] | bool | None = None,
|
|
1065
|
-
tab_index: Var[int] | int | None = None,
|
|
1066
|
-
title: Var[str] | str | None = None,
|
|
1067
279
|
style: Sequence[Mapping[str, Any]]
|
|
1068
280
|
| Mapping[str, Any]
|
|
1069
281
|
| Var[Mapping[str, Any]]
|