fix types for html elements
This commit is contained in:
parent
b3b79a652d
commit
9b3ef8bb88
@ -271,30 +271,211 @@ class ConnectionPulser(Div):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -356,30 +537,211 @@ class BackendDisabled(Div):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ------------------- DO NOT EDIT ----------------------
|
# ------------------- DO NOT EDIT ----------------------
|
||||||
# This file was generated by `reflex/utils/pyi_generator.py`!
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
from typing import Any, Dict, Optional, Union, overload
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
||||||
|
|
||||||
from reflex.components.el.elements.typography import Div
|
from reflex.components.el.elements.typography import Div
|
||||||
from reflex.event import EventType
|
from reflex.event import EventType
|
||||||
@ -19,30 +19,211 @@ class Html(Div):
|
|||||||
dangerouslySetInnerHTML: Optional[
|
dangerouslySetInnerHTML: Optional[
|
||||||
Union[Dict[str, str], Var[Dict[str, str]]]
|
Union[Dict[str, str], Var[Dict[str, str]]]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,58 +1,136 @@
|
|||||||
"""Base classes."""
|
"""Base classes."""
|
||||||
|
|
||||||
from typing import Union
|
from typing import Literal
|
||||||
|
|
||||||
from reflex.components.el.element import Element
|
from reflex.components.el.element import Element
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
|
AutoCapitalize = Literal["off", "none", "on", "sentences", "words", "characters"]
|
||||||
|
ContentEditable = Literal[True, False, "inherit", "plaintext-only"]
|
||||||
|
EnterKeyHint = Literal["enter", "done", "go", "next", "previous", "search", "send"]
|
||||||
|
InputMode = Literal[
|
||||||
|
"none", "text", "tel", "url", "email", "numeric", "decimal", "search", "search"
|
||||||
|
]
|
||||||
|
AriaRole = Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class BaseHTML(Element):
|
class BaseHTML(Element):
|
||||||
"""Base class for common attributes."""
|
"""Base class for common attributes."""
|
||||||
|
|
||||||
# Provides a hint for generating a keyboard shortcut for the current element.
|
# Provides a hint for generating a keyboard shortcut for the current element.
|
||||||
access_key: Var[Union[str, int, bool]]
|
access_key: Var[str]
|
||||||
|
|
||||||
# Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
# Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
||||||
auto_capitalize: Var[Union[str, int, bool]]
|
auto_capitalize: Var[AutoCapitalize]
|
||||||
|
|
||||||
# Indicates whether the element's content is editable.
|
# Indicates whether the element's content is editable.
|
||||||
content_editable: Var[Union[str, int, bool]]
|
content_editable: Var[ContentEditable]
|
||||||
|
|
||||||
# Defines the ID of a <menu> element which will serve as the element's context menu.
|
# Defines the ID of a <menu> element which will serve as the element's context menu.
|
||||||
context_menu: Var[Union[str, int, bool]]
|
context_menu: Var[str]
|
||||||
|
|
||||||
# Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
# Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
||||||
dir: Var[Union[str, int, bool]]
|
dir: Var[str]
|
||||||
|
|
||||||
# Defines whether the element can be dragged.
|
# Defines whether the element can be dragged.
|
||||||
draggable: Var[Union[str, int, bool]]
|
draggable: Var[bool]
|
||||||
|
|
||||||
# Hints what media types the media element is able to play.
|
# Hints what media types the media element is able to play.
|
||||||
enter_key_hint: Var[Union[str, int, bool]]
|
enter_key_hint: Var[EnterKeyHint]
|
||||||
|
|
||||||
# Defines whether the element is hidden.
|
# Defines whether the element is hidden.
|
||||||
hidden: Var[Union[str, int, bool]]
|
hidden: Var[bool]
|
||||||
|
|
||||||
# Defines the type of the element.
|
# Defines the type of the element.
|
||||||
input_mode: Var[Union[str, int, bool]]
|
input_mode: Var[InputMode]
|
||||||
|
|
||||||
# Defines the name of the element for metadata purposes.
|
# Defines the name of the element for metadata purposes.
|
||||||
item_prop: Var[Union[str, int, bool]]
|
item_prop: Var[str]
|
||||||
|
|
||||||
# Defines the language used in the element.
|
# Defines the language used in the element.
|
||||||
lang: Var[Union[str, int, bool]]
|
lang: Var[str]
|
||||||
|
|
||||||
# Defines the role of the element.
|
# Defines the role of the element.
|
||||||
role: Var[Union[str, int, bool]]
|
role: Var[AriaRole]
|
||||||
|
|
||||||
# Assigns a slot in a shadow DOM shadow tree to an element.
|
# Assigns a slot in a shadow DOM shadow tree to an element.
|
||||||
slot: Var[Union[str, int, bool]]
|
slot: Var[str]
|
||||||
|
|
||||||
# Defines whether the element may be checked for spelling errors.
|
# Defines whether the element may be checked for spelling errors.
|
||||||
spell_check: Var[Union[str, int, bool]]
|
spell_check: Var[bool]
|
||||||
|
|
||||||
# Defines the position of the current element in the tabbing order.
|
# Defines the position of the current element in the tabbing order.
|
||||||
tab_index: Var[Union[str, int, bool]]
|
tab_index: Var[int]
|
||||||
|
|
||||||
# Defines a tooltip for the element.
|
# Defines a tooltip for the element.
|
||||||
title: Var[Union[str, int, bool]]
|
title: Var[str]
|
||||||
|
@ -3,43 +3,302 @@
|
|||||||
# ------------------- DO NOT EDIT ----------------------
|
# ------------------- DO NOT EDIT ----------------------
|
||||||
# This file was generated by `reflex/utils/pyi_generator.py`!
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
from typing import Any, Dict, Optional, Union, overload
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
||||||
|
|
||||||
from reflex.components.el.element import Element
|
from reflex.components.el.element import Element
|
||||||
from reflex.event import EventType
|
from reflex.event import EventType
|
||||||
from reflex.style import Style
|
from reflex.style import Style
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
|
AutoCapitalize = Literal["off", "none", "on", "sentences", "words", "characters"]
|
||||||
|
ContentEditable = Literal[True, False, "inherit", "plaintext-only"]
|
||||||
|
EnterKeyHint = Literal["enter", "done", "go", "next", "previous", "search", "send"]
|
||||||
|
InputMode = Literal[
|
||||||
|
"none", "text", "tel", "url", "email", "numeric", "decimal", "search", "search"
|
||||||
|
]
|
||||||
|
AriaRole = Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
|
||||||
class BaseHTML(Element):
|
class BaseHTML(Element):
|
||||||
@overload
|
@overload
|
||||||
@classmethod
|
@classmethod
|
||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from hashlib import md5
|
from hashlib import md5
|
||||||
from typing import Any, Dict, Iterator, Set, Tuple, Union
|
from typing import Any, Dict, Iterator, Literal, Set, Tuple, Union
|
||||||
|
|
||||||
from jinja2 import Environment
|
from jinja2 import Environment
|
||||||
|
|
||||||
@ -41,6 +41,8 @@ HANDLE_SUBMIT_JS_JINJA2 = Environment().from_string(
|
|||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ButtonType = Literal["submit", "reset", "button"]
|
||||||
|
|
||||||
|
|
||||||
class Button(BaseHTML):
|
class Button(BaseHTML):
|
||||||
"""Display the button element."""
|
"""Display the button element."""
|
||||||
@ -48,37 +50,37 @@ class Button(BaseHTML):
|
|||||||
tag = "button"
|
tag = "button"
|
||||||
|
|
||||||
# Automatically focuses the button when the page loads
|
# Automatically focuses the button when the page loads
|
||||||
auto_focus: Var[Union[str, int, bool]]
|
auto_focus: Var[bool]
|
||||||
|
|
||||||
# Disables the button
|
# Disables the button
|
||||||
disabled: Var[bool]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Associates the button with a form (by id)
|
# Associates the button with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# URL to send the form data to (for type="submit" buttons)
|
# URL to send the form data to (for type="submit" buttons)
|
||||||
form_action: Var[Union[str, int, bool]]
|
form_action: Var[str]
|
||||||
|
|
||||||
# How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
# How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
||||||
form_enc_type: Var[Union[str, int, bool]]
|
form_enc_type: Var[str]
|
||||||
|
|
||||||
# HTTP method to use for sending form data (for type="submit" buttons)
|
# HTTP method to use for sending form data (for type="submit" buttons)
|
||||||
form_method: Var[Union[str, int, bool]]
|
form_method: Var[str]
|
||||||
|
|
||||||
# Bypasses form validation when submitting (for type="submit" buttons)
|
# Bypasses form validation when submitting (for type="submit" buttons)
|
||||||
form_no_validate: Var[Union[str, int, bool]]
|
form_no_validate: Var[bool]
|
||||||
|
|
||||||
# Specifies where to display the response after submitting the form (for type="submit" buttons)
|
# Specifies where to display the response after submitting the form (for type="submit" buttons)
|
||||||
form_target: Var[Union[str, int, bool]]
|
form_target: Var[str]
|
||||||
|
|
||||||
# Name of the button, used when sending form data
|
# Name of the button, used when sending form data
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Type of the button (submit, reset, or button)
|
# Type of the button (submit, reset, or button)
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[ButtonType]
|
||||||
|
|
||||||
# Value of the button, used when sending form data
|
# Value of the button, used when sending form data
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class Datalist(BaseHTML):
|
class Datalist(BaseHTML):
|
||||||
@ -93,13 +95,13 @@ class Fieldset(Element):
|
|||||||
tag = "fieldset"
|
tag = "fieldset"
|
||||||
|
|
||||||
# Disables all the form control descendants of the fieldset
|
# Disables all the form control descendants of the fieldset
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Associates the fieldset with a form (by id)
|
# Associates the fieldset with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Name of the fieldset, used for scripting
|
# Name of the fieldset, used for scripting
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
|
|
||||||
def on_submit_event_spec() -> Tuple[Var[dict[str, Any]]]:
|
def on_submit_event_spec() -> Tuple[Var[dict[str, Any]]]:
|
||||||
@ -126,31 +128,31 @@ class Form(BaseHTML):
|
|||||||
tag = "form"
|
tag = "form"
|
||||||
|
|
||||||
# MIME types the server accepts for file upload
|
# MIME types the server accepts for file upload
|
||||||
accept: Var[Union[str, int, bool]]
|
accept: Var[str]
|
||||||
|
|
||||||
# Character encodings to be used for form submission
|
# Character encodings to be used for form submission
|
||||||
accept_charset: Var[Union[str, int, bool]]
|
accept_charset: Var[str]
|
||||||
|
|
||||||
# URL where the form's data should be submitted
|
# URL where the form's data should be submitted
|
||||||
action: Var[Union[str, int, bool]]
|
action: Var[str]
|
||||||
|
|
||||||
# Whether the form should have autocomplete enabled
|
# Whether the form should have autocomplete enabled
|
||||||
auto_complete: Var[Union[str, int, bool]]
|
auto_complete: Var[str]
|
||||||
|
|
||||||
# Encoding type for the form data when submitted
|
# Encoding type for the form data when submitted
|
||||||
enc_type: Var[Union[str, int, bool]]
|
enc_type: Var[str]
|
||||||
|
|
||||||
# HTTP method to use for form submission
|
# HTTP method to use for form submission
|
||||||
method: Var[Union[str, int, bool]]
|
method: Var[str]
|
||||||
|
|
||||||
# Name of the form
|
# Name of the form
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Indicates that the form should not be validated on submit
|
# Indicates that the form should not be validated on submit
|
||||||
no_validate: Var[Union[str, int, bool]]
|
no_validate: Var[bool]
|
||||||
|
|
||||||
# Where to display the response after submitting the form
|
# Where to display the response after submitting the form
|
||||||
target: Var[Union[str, int, bool]]
|
target: Var[str]
|
||||||
|
|
||||||
# If true, the form will be cleared after submit.
|
# If true, the form will be cleared after submit.
|
||||||
reset_on_submit: Var[bool] = Var.create(False)
|
reset_on_submit: Var[bool] = Var.create(False)
|
||||||
@ -266,106 +268,126 @@ class Form(BaseHTML):
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
HTMLInputTypeAttribute = Literal[
|
||||||
|
"button",
|
||||||
|
"checkbox",
|
||||||
|
"color",
|
||||||
|
"date",
|
||||||
|
"datetime-local",
|
||||||
|
"email",
|
||||||
|
"file",
|
||||||
|
"hidden",
|
||||||
|
"image",
|
||||||
|
"month",
|
||||||
|
"number",
|
||||||
|
"password",
|
||||||
|
"radio",
|
||||||
|
"range",
|
||||||
|
"reset",
|
||||||
|
"search",
|
||||||
|
"submit",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"time",
|
||||||
|
"url",
|
||||||
|
"week",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class Input(BaseHTML):
|
class Input(BaseHTML):
|
||||||
"""Display the input element."""
|
"""Display the input element."""
|
||||||
|
|
||||||
tag = "input"
|
tag = "input"
|
||||||
|
|
||||||
# Accepted types of files when the input is file type
|
# Accepted types of files when the input is file type
|
||||||
accept: Var[Union[str, int, bool]]
|
accept: Var[str]
|
||||||
|
|
||||||
# Alternate text for input type="image"
|
# Alternate text for input type="image"
|
||||||
alt: Var[Union[str, int, bool]]
|
alt: Var[str]
|
||||||
|
|
||||||
# Whether the input should have autocomplete enabled
|
# Whether the input should have autocomplete enabled
|
||||||
auto_complete: Var[Union[str, int, bool]]
|
auto_complete: Var[str]
|
||||||
|
|
||||||
# Automatically focuses the input when the page loads
|
# Automatically focuses the input when the page loads
|
||||||
auto_focus: Var[Union[str, int, bool]]
|
auto_focus: Var[bool]
|
||||||
|
|
||||||
# Captures media from the user (camera or microphone)
|
# Captures media from the user (camera or microphone)
|
||||||
capture: Var[Union[str, int, bool]]
|
capture: Var[Literal[True, False, "user", "environment"]]
|
||||||
|
|
||||||
# Indicates whether the input is checked (for checkboxes and radio buttons)
|
# Indicates whether the input is checked (for checkboxes and radio buttons)
|
||||||
checked: Var[Union[str, int, bool]]
|
checked: Var[bool]
|
||||||
|
|
||||||
# The initial value (for checkboxes and radio buttons)
|
# The initial value (for checkboxes and radio buttons)
|
||||||
default_checked: Var[bool]
|
default_checked: Var[bool]
|
||||||
|
|
||||||
# The initial value for a text field
|
# The initial value for a text field
|
||||||
default_value: Var[str]
|
default_value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Name part of the input to submit in 'dir' and 'name' pair when form is submitted
|
|
||||||
dirname: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Disables the input
|
# Disables the input
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Associates the input with a form (by id)
|
# Associates the input with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# URL to send the form data to (for type="submit" buttons)
|
# URL to send the form data to (for type="submit" buttons)
|
||||||
form_action: Var[Union[str, int, bool]]
|
form_action: Var[str]
|
||||||
|
|
||||||
# How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
# How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
||||||
form_enc_type: Var[Union[str, int, bool]]
|
form_enc_type: Var[str]
|
||||||
|
|
||||||
# HTTP method to use for sending form data (for type="submit" buttons)
|
# HTTP method to use for sending form data (for type="submit" buttons)
|
||||||
form_method: Var[Union[str, int, bool]]
|
form_method: Var[str]
|
||||||
|
|
||||||
# Bypasses form validation when submitting (for type="submit" buttons)
|
# Bypasses form validation when submitting (for type="submit" buttons)
|
||||||
form_no_validate: Var[Union[str, int, bool]]
|
form_no_validate: Var[bool]
|
||||||
|
|
||||||
# Specifies where to display the response after submitting the form (for type="submit" buttons)
|
# Specifies where to display the response after submitting the form (for type="submit" buttons)
|
||||||
form_target: Var[Union[str, int, bool]]
|
form_target: Var[str]
|
||||||
|
|
||||||
# References a datalist for suggested options
|
# References a datalist for suggested options
|
||||||
list: Var[Union[str, int, bool]]
|
list: Var[str]
|
||||||
|
|
||||||
# Specifies the maximum value for the input
|
# Specifies the maximum value for the input
|
||||||
max: Var[Union[str, int, bool]]
|
max: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Specifies the maximum number of characters allowed in the input
|
# Specifies the maximum number of characters allowed in the input
|
||||||
max_length: Var[Union[str, int, bool]]
|
max_length: Var[Union[int, float]]
|
||||||
|
|
||||||
# Specifies the minimum number of characters required in the input
|
# Specifies the minimum number of characters required in the input
|
||||||
min_length: Var[Union[str, int, bool]]
|
min_length: Var[Union[int, float]]
|
||||||
|
|
||||||
# Specifies the minimum value for the input
|
# Specifies the minimum value for the input
|
||||||
min: Var[Union[str, int, bool]]
|
min: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Indicates whether multiple values can be entered in an input of the type email or file
|
# Indicates whether multiple values can be entered in an input of the type email or file
|
||||||
multiple: Var[Union[str, int, bool]]
|
multiple: Var[bool]
|
||||||
|
|
||||||
# Name of the input, used when sending form data
|
# Name of the input, used when sending form data
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Regex pattern the input's value must match to be valid
|
# Regex pattern the input's value must match to be valid
|
||||||
pattern: Var[Union[str, int, bool]]
|
pattern: Var[str]
|
||||||
|
|
||||||
# Placeholder text in the input
|
# Placeholder text in the input
|
||||||
placeholder: Var[Union[str, int, bool]]
|
placeholder: Var[str]
|
||||||
|
|
||||||
# Indicates whether the input is read-only
|
# Indicates whether the input is read-only
|
||||||
read_only: Var[Union[str, int, bool]]
|
read_only: Var[bool]
|
||||||
|
|
||||||
# Indicates that the input is required
|
# Indicates that the input is required
|
||||||
required: Var[Union[str, int, bool]]
|
required: Var[bool]
|
||||||
|
|
||||||
# Specifies the visible width of a text control
|
# Specifies the visible width of a text control
|
||||||
size: Var[Union[str, int, bool]]
|
size: Var[Union[int, float]]
|
||||||
|
|
||||||
# URL for image inputs
|
# URL for image inputs
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# Specifies the legal number intervals for an input
|
# Specifies the legal number intervals for an input
|
||||||
step: Var[Union[str, int, bool]]
|
step: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Specifies the type of input
|
# Specifies the type of input
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[HTMLInputTypeAttribute]
|
||||||
|
|
||||||
# Name of the image map used with the input
|
|
||||||
use_map: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Value of the input
|
# Value of the input
|
||||||
value: Var[Union[str, int, float]]
|
value: Var[Union[str, int, float]]
|
||||||
@ -419,10 +441,10 @@ class Label(BaseHTML):
|
|||||||
tag = "label"
|
tag = "label"
|
||||||
|
|
||||||
# ID of a form control with which the label is associated
|
# ID of a form control with which the label is associated
|
||||||
html_for: Var[Union[str, int, bool]]
|
html_for: Var[str]
|
||||||
|
|
||||||
# Associates the label with a form (by id)
|
# Associates the label with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Legend(BaseHTML):
|
class Legend(BaseHTML):
|
||||||
@ -437,25 +459,25 @@ class Meter(BaseHTML):
|
|||||||
tag = "meter"
|
tag = "meter"
|
||||||
|
|
||||||
# Associates the meter with a form (by id)
|
# Associates the meter with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# High limit of range (above this is considered high value)
|
# High limit of range (above this is considered high value)
|
||||||
high: Var[Union[str, int, bool]]
|
high: Var[Union[int, float]]
|
||||||
|
|
||||||
# Low limit of range (below this is considered low value)
|
# Low limit of range (below this is considered low value)
|
||||||
low: Var[Union[str, int, bool]]
|
low: Var[Union[int, float]]
|
||||||
|
|
||||||
# Maximum value of the range
|
# Maximum value of the range
|
||||||
max: Var[Union[str, int, bool]]
|
max: Var[Union[int, float]]
|
||||||
|
|
||||||
# Minimum value of the range
|
# Minimum value of the range
|
||||||
min: Var[Union[str, int, bool]]
|
min: Var[Union[int, float]]
|
||||||
|
|
||||||
# Optimum value in the range
|
# Optimum value in the range
|
||||||
optimum: Var[Union[str, int, bool]]
|
optimum: Var[Union[int, float]]
|
||||||
|
|
||||||
# Current value of the meter
|
# Current value of the meter
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[Union[int, float]]
|
||||||
|
|
||||||
|
|
||||||
class Optgroup(BaseHTML):
|
class Optgroup(BaseHTML):
|
||||||
@ -464,10 +486,10 @@ class Optgroup(BaseHTML):
|
|||||||
tag = "optgroup"
|
tag = "optgroup"
|
||||||
|
|
||||||
# Disables the optgroup
|
# Disables the optgroup
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Label for the optgroup
|
# Label for the optgroup
|
||||||
label: Var[Union[str, int, bool]]
|
label: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Option(BaseHTML):
|
class Option(BaseHTML):
|
||||||
@ -476,16 +498,16 @@ class Option(BaseHTML):
|
|||||||
tag = "option"
|
tag = "option"
|
||||||
|
|
||||||
# Disables the option
|
# Disables the option
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Label for the option, if the text is not the label
|
# Label for the option, if the text is not the label
|
||||||
label: Var[Union[str, int, bool]]
|
label: Var[str]
|
||||||
|
|
||||||
# Indicates that the option is initially selected
|
# Indicates that the option is initially selected
|
||||||
selected: Var[Union[str, int, bool]]
|
selected: Var[bool]
|
||||||
|
|
||||||
# Value to be sent as form data
|
# Value to be sent as form data
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class Output(BaseHTML):
|
class Output(BaseHTML):
|
||||||
@ -494,13 +516,13 @@ class Output(BaseHTML):
|
|||||||
tag = "output"
|
tag = "output"
|
||||||
|
|
||||||
# Associates the output with one or more elements (by their IDs)
|
# Associates the output with one or more elements (by their IDs)
|
||||||
html_for: Var[Union[str, int, bool]]
|
html_for: Var[str]
|
||||||
|
|
||||||
# Associates the output with a form (by id)
|
# Associates the output with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Name of the output element for form submission
|
# Name of the output element for form submission
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Progress(BaseHTML):
|
class Progress(BaseHTML):
|
||||||
@ -509,13 +531,13 @@ class Progress(BaseHTML):
|
|||||||
tag = "progress"
|
tag = "progress"
|
||||||
|
|
||||||
# Associates the progress element with a form (by id)
|
# Associates the progress element with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Maximum value of the progress indicator
|
# Maximum value of the progress indicator
|
||||||
max: Var[Union[str, int, bool]]
|
max: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Current value of the progress indicator
|
# Current value of the progress indicator
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class Select(BaseHTML):
|
class Select(BaseHTML):
|
||||||
@ -524,28 +546,28 @@ class Select(BaseHTML):
|
|||||||
tag = "select"
|
tag = "select"
|
||||||
|
|
||||||
# Whether the form control should have autocomplete enabled
|
# Whether the form control should have autocomplete enabled
|
||||||
auto_complete: Var[Union[str, int, bool]]
|
auto_complete: Var[str]
|
||||||
|
|
||||||
# Automatically focuses the select when the page loads
|
# Automatically focuses the select when the page loads
|
||||||
auto_focus: Var[Union[str, int, bool]]
|
auto_focus: Var[bool]
|
||||||
|
|
||||||
# Disables the select control
|
# Disables the select control
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Associates the select with a form (by id)
|
# Associates the select with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Indicates that multiple options can be selected
|
# Indicates that multiple options can be selected
|
||||||
multiple: Var[Union[str, int, bool]]
|
multiple: Var[bool]
|
||||||
|
|
||||||
# Name of the select, used when submitting the form
|
# Name of the select, used when submitting the form
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Indicates that the select control must have a selected option
|
# Indicates that the select control must have a selected option
|
||||||
required: Var[Union[str, int, bool]]
|
required: Var[bool]
|
||||||
|
|
||||||
# Number of visible options in a drop-down list
|
# Number of visible options in a drop-down list
|
||||||
size: Var[Union[str, int, bool]]
|
size: Var[int]
|
||||||
|
|
||||||
# Fired when the select value changes
|
# Fired when the select value changes
|
||||||
on_change: EventHandler[input_event]
|
on_change: EventHandler[input_event]
|
||||||
@ -587,58 +609,58 @@ class Textarea(BaseHTML):
|
|||||||
tag = "textarea"
|
tag = "textarea"
|
||||||
|
|
||||||
# Whether the form control should have autocomplete enabled
|
# Whether the form control should have autocomplete enabled
|
||||||
auto_complete: Var[Union[str, int, bool]]
|
auto_complete: Var[str]
|
||||||
|
|
||||||
# Automatically focuses the textarea when the page loads
|
# Automatically focuses the textarea when the page loads
|
||||||
auto_focus: Var[Union[str, int, bool]]
|
auto_focus: Var[bool]
|
||||||
|
|
||||||
# Automatically fit the content height to the text (use min-height with this prop)
|
# Automatically fit the content height to the text (use min-height with this prop)
|
||||||
auto_height: Var[bool]
|
auto_height: Var[bool]
|
||||||
|
|
||||||
# Visible width of the text control, in average character widths
|
# Visible width of the text control, in average character widths
|
||||||
cols: Var[Union[str, int, bool]]
|
cols: Var[int]
|
||||||
|
|
||||||
# The default value of the textarea when initially rendered
|
# The default value of the textarea when initially rendered
|
||||||
default_value: Var[str]
|
default_value: Var[str]
|
||||||
|
|
||||||
# Name part of the textarea to submit in 'dir' and 'name' pair when form is submitted
|
# Name part of the textarea to submit in 'dir' and 'name' pair when form is submitted
|
||||||
dirname: Var[Union[str, int, bool]]
|
dirname: Var[str]
|
||||||
|
|
||||||
# Disables the textarea
|
# Disables the textarea
|
||||||
disabled: Var[Union[str, int, bool]]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Enter key submits form (shift-enter adds new line)
|
# Enter key submits form (shift-enter adds new line)
|
||||||
enter_key_submit: Var[bool]
|
enter_key_submit: Var[bool]
|
||||||
|
|
||||||
# Associates the textarea with a form (by id)
|
# Associates the textarea with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Maximum number of characters allowed in the textarea
|
# Maximum number of characters allowed in the textarea
|
||||||
max_length: Var[Union[str, int, bool]]
|
max_length: Var[int]
|
||||||
|
|
||||||
# Minimum number of characters required in the textarea
|
# Minimum number of characters required in the textarea
|
||||||
min_length: Var[Union[str, int, bool]]
|
min_length: Var[int]
|
||||||
|
|
||||||
# Name of the textarea, used when submitting the form
|
# Name of the textarea, used when submitting the form
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Placeholder text in the textarea
|
# Placeholder text in the textarea
|
||||||
placeholder: Var[Union[str, int, bool]]
|
placeholder: Var[str]
|
||||||
|
|
||||||
# Indicates whether the textarea is read-only
|
# Indicates whether the textarea is read-only
|
||||||
read_only: Var[Union[str, int, bool]]
|
read_only: Var[bool]
|
||||||
|
|
||||||
# Indicates that the textarea is required
|
# Indicates that the textarea is required
|
||||||
required: Var[Union[str, int, bool]]
|
required: Var[bool]
|
||||||
|
|
||||||
# Visible number of lines in the text control
|
# Visible number of lines in the text control
|
||||||
rows: Var[Union[str, int, bool]]
|
rows: Var[int]
|
||||||
|
|
||||||
# The controlled value of the textarea, read only unless used with on_change
|
# The controlled value of the textarea, read only unless used with on_change
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[str]
|
||||||
|
|
||||||
# How the text in the textarea is to be wrapped when submitting the form
|
# How the text in the textarea is to be wrapped when submitting the form
|
||||||
wrap: Var[Union[str, int, bool]]
|
wrap: Var[str]
|
||||||
|
|
||||||
# Fired when the input value changes
|
# Fired when the input value changes
|
||||||
on_change: EventHandler[input_event]
|
on_change: EventHandler[input_event]
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,11 +1,23 @@
|
|||||||
"""Inline classes."""
|
"""Inline classes."""
|
||||||
|
|
||||||
from typing import Union
|
from typing import Literal, Union
|
||||||
|
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
from .base import BaseHTML
|
from .base import BaseHTML
|
||||||
|
|
||||||
|
ReferrerPolicy = Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class A(BaseHTML): # Inherits common attributes from BaseMeta
|
class A(BaseHTML): # Inherits common attributes from BaseMeta
|
||||||
"""Display the 'a' element."""
|
"""Display the 'a' element."""
|
||||||
@ -13,31 +25,28 @@ class A(BaseHTML): # Inherits common attributes from BaseMeta
|
|||||||
tag = "a"
|
tag = "a"
|
||||||
|
|
||||||
# Specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.
|
# Specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.
|
||||||
download: Var[Union[str, int, bool]]
|
download: Var[Union[str, bool]]
|
||||||
|
|
||||||
# Specifies the URL of the page the link goes to
|
# Specifies the URL of the page the link goes to
|
||||||
href: Var[Union[str, int, bool]]
|
href: Var[str]
|
||||||
|
|
||||||
# Specifies the language of the linked document
|
# Specifies the language of the linked document
|
||||||
href_lang: Var[Union[str, int, bool]]
|
href_lang: Var[str]
|
||||||
|
|
||||||
# Specifies what media/device the linked document is optimized for
|
# Specifies what media/device the linked document is optimized for
|
||||||
media: Var[Union[str, int, bool]]
|
media: Var[str]
|
||||||
|
|
||||||
# Specifies which referrer is sent when fetching the resource
|
# Specifies which referrer is sent when fetching the resource
|
||||||
ping: Var[Union[str, int, bool]]
|
ping: Var[str]
|
||||||
|
|
||||||
# Specifies the relationship between the current document and the linked document
|
# Specifies the relationship between the current document and the linked document
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# Specifies the relationship between the linked document and the current document
|
# Specifies the relationship between the linked document and the current document
|
||||||
rel: Var[Union[str, int, bool]]
|
rel: Var[str]
|
||||||
|
|
||||||
# Specifies the shape of the area
|
|
||||||
shape: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Specifies where to open the linked document
|
# Specifies where to open the linked document
|
||||||
target: Var[Union[str, int, bool]]
|
target: Var[Union[str, Literal["_self", "_blank", "_parent", "_top"]]]
|
||||||
|
|
||||||
|
|
||||||
class Abbr(BaseHTML):
|
class Abbr(BaseHTML):
|
||||||
@ -88,7 +97,7 @@ class Data(BaseHTML):
|
|||||||
tag = "data"
|
tag = "data"
|
||||||
|
|
||||||
# Specifies the machine-readable translation of the data element.
|
# Specifies the machine-readable translation of the data element.
|
||||||
value: Var[Union[str, int, bool]]
|
value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class Dfn(BaseHTML):
|
class Dfn(BaseHTML):
|
||||||
@ -127,7 +136,7 @@ class Q(BaseHTML):
|
|||||||
tag = "q"
|
tag = "q"
|
||||||
|
|
||||||
# Specifies the source URL of the quote.
|
# Specifies the source URL of the quote.
|
||||||
cite: Var[Union[str, int, bool]]
|
cite: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Rp(BaseHTML):
|
class Rp(BaseHTML):
|
||||||
@ -196,7 +205,7 @@ class Time(BaseHTML):
|
|||||||
tag = "time"
|
tag = "time"
|
||||||
|
|
||||||
# Specifies the date and/or time of the element.
|
# Specifies the date and/or time of the element.
|
||||||
date_time: Var[Union[str, int, bool]]
|
date_time: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class U(BaseHTML):
|
class U(BaseHTML):
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,9 @@
|
|||||||
"""Media classes."""
|
"""Media classes."""
|
||||||
|
|
||||||
from typing import Any, Union
|
from typing import Any, Literal, Union
|
||||||
|
|
||||||
from reflex import Component, ComponentNamespace
|
from reflex import Component, ComponentNamespace
|
||||||
|
from reflex.components.el.elements.inline import ReferrerPolicy
|
||||||
from reflex.constants.colors import Color
|
from reflex.constants.colors import Color
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
@ -15,37 +16,37 @@ class Area(BaseHTML):
|
|||||||
tag = "area"
|
tag = "area"
|
||||||
|
|
||||||
# Alternate text for the area, used for accessibility
|
# Alternate text for the area, used for accessibility
|
||||||
alt: Var[Union[str, int, bool]]
|
alt: Var[str]
|
||||||
|
|
||||||
# Coordinates to define the shape of the area
|
# Coordinates to define the shape of the area
|
||||||
coords: Var[Union[str, int, bool]]
|
coords: Var[str]
|
||||||
|
|
||||||
# Specifies that the target will be downloaded when clicked
|
# Specifies that the target will be downloaded when clicked
|
||||||
download: Var[Union[str, int, bool]]
|
download: Var[Union[str, bool]]
|
||||||
|
|
||||||
# Hyperlink reference for the area
|
# Hyperlink reference for the area
|
||||||
href: Var[Union[str, int, bool]]
|
href: Var[str]
|
||||||
|
|
||||||
# Language of the linked resource
|
# Language of the linked resource
|
||||||
href_lang: Var[Union[str, int, bool]]
|
href_lang: Var[str]
|
||||||
|
|
||||||
# Specifies what media/device the linked resource is optimized for
|
# Specifies what media/device the linked resource is optimized for
|
||||||
media: Var[Union[str, int, bool]]
|
media: Var[str]
|
||||||
|
|
||||||
# A list of URLs to be notified if the user follows the hyperlink
|
|
||||||
ping: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Specifies which referrer information to send with the link
|
# Specifies which referrer information to send with the link
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# Specifies the relationship of the target object to the link object
|
# Specifies the relationship of the target object to the link object
|
||||||
rel: Var[Union[str, int, bool]]
|
rel: Var[str]
|
||||||
|
|
||||||
# Defines the shape of the area (rectangle, circle, polygon)
|
# Defines the shape of the area (rectangle, circle, polygon)
|
||||||
shape: Var[Union[str, int, bool]]
|
shape: Var[str]
|
||||||
|
|
||||||
# Specifies where to open the linked document
|
# Specifies where to open the linked document
|
||||||
target: Var[Union[str, int, bool]]
|
target: Var[str]
|
||||||
|
|
||||||
|
|
||||||
|
CrossOrigin = Literal["anonymous", "use-credentials", ""]
|
||||||
|
|
||||||
|
|
||||||
class Audio(BaseHTML):
|
class Audio(BaseHTML):
|
||||||
@ -54,28 +55,29 @@ class Audio(BaseHTML):
|
|||||||
tag = "audio"
|
tag = "audio"
|
||||||
|
|
||||||
# Specifies that the audio will start playing as soon as it is ready
|
# Specifies that the audio will start playing as soon as it is ready
|
||||||
auto_play: Var[Union[str, int, bool]]
|
auto_play: Var[bool]
|
||||||
|
|
||||||
# Represents the time range of the buffered media
|
|
||||||
buffered: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Displays the standard audio controls
|
# Displays the standard audio controls
|
||||||
controls: Var[Union[str, int, bool]]
|
controls: Var[bool]
|
||||||
|
|
||||||
# Configures the CORS requests for the element
|
# Configures the CORS requests for the element
|
||||||
cross_origin: Var[Union[str, int, bool]]
|
cross_origin: Var[CrossOrigin]
|
||||||
|
|
||||||
# Specifies that the audio will loop
|
# Specifies that the audio will loop
|
||||||
loop: Var[Union[str, int, bool]]
|
loop: Var[bool]
|
||||||
|
|
||||||
# Indicates whether the audio is muted by default
|
# Indicates whether the audio is muted by default
|
||||||
muted: Var[Union[str, int, bool]]
|
muted: Var[bool]
|
||||||
|
|
||||||
# Specifies how the audio file should be preloaded
|
# Specifies how the audio file should be preloaded
|
||||||
preload: Var[Union[str, int, bool]]
|
preload: Var[str]
|
||||||
|
|
||||||
# URL of the audio to play
|
# URL of the audio to play
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
|
|
||||||
|
ImageDecoding = Literal["async", "auto", "sync"]
|
||||||
|
ImageLoading = Literal["eager", "lazy"]
|
||||||
|
|
||||||
|
|
||||||
class Img(BaseHTML):
|
class Img(BaseHTML):
|
||||||
@ -83,41 +85,32 @@ class Img(BaseHTML):
|
|||||||
|
|
||||||
tag = "img"
|
tag = "img"
|
||||||
|
|
||||||
# Image alignment with respect to its surrounding elements
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Alternative text for the image
|
# Alternative text for the image
|
||||||
alt: Var[Union[str, int, bool]]
|
alt: Var[str]
|
||||||
|
|
||||||
# Configures the CORS requests for the image
|
# Configures the CORS requests for the image
|
||||||
cross_origin: Var[Union[str, int, bool]]
|
cross_origin: Var[CrossOrigin]
|
||||||
|
|
||||||
# How the image should be decoded
|
# How the image should be decoded
|
||||||
decoding: Var[Union[str, int, bool]]
|
decoding: Var[ImageDecoding]
|
||||||
|
|
||||||
# Specifies an intrinsic size for the image
|
|
||||||
intrinsicsize: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Whether the image is a server-side image map
|
|
||||||
ismap: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Specifies the loading behavior of the image
|
# Specifies the loading behavior of the image
|
||||||
loading: Var[Union[str, int, bool]]
|
loading: Var[ImageLoading]
|
||||||
|
|
||||||
# Referrer policy for the image
|
# Referrer policy for the image
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# Sizes of the image for different layouts
|
# Sizes of the image for different layouts
|
||||||
sizes: Var[Union[str, int, bool]]
|
sizes: Var[str]
|
||||||
|
|
||||||
# URL of the image to display
|
# URL of the image to display
|
||||||
src: Var[Any]
|
src: Var[Any]
|
||||||
|
|
||||||
# A set of source sizes and URLs for responsive images
|
# A set of source sizes and URLs for responsive images
|
||||||
src_set: Var[Union[str, int, bool]]
|
src_set: Var[str]
|
||||||
|
|
||||||
# The name of the map to use with the image
|
# The name of the map to use with the image
|
||||||
use_map: Var[Union[str, int, bool]]
|
use_map: Var[str]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create(cls, *children, **props) -> Component:
|
def create(cls, *children, **props) -> Component:
|
||||||
@ -143,7 +136,7 @@ class Map(BaseHTML):
|
|||||||
tag = "map"
|
tag = "map"
|
||||||
|
|
||||||
# Name of the map, referenced by the 'usemap' attribute in 'img' and 'object' elements
|
# Name of the map, referenced by the 'usemap' attribute in 'img' and 'object' elements
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Track(BaseHTML):
|
class Track(BaseHTML):
|
||||||
@ -152,19 +145,19 @@ class Track(BaseHTML):
|
|||||||
tag = "track"
|
tag = "track"
|
||||||
|
|
||||||
# Indicates that the track should be enabled unless the user's preferences indicate otherwise
|
# Indicates that the track should be enabled unless the user's preferences indicate otherwise
|
||||||
default: Var[Union[str, int, bool]]
|
default: Var[bool]
|
||||||
|
|
||||||
# Specifies the kind of text track
|
# Specifies the kind of text track
|
||||||
kind: Var[Union[str, int, bool]]
|
kind: Var[str]
|
||||||
|
|
||||||
# Title of the text track, used by the browser when listing available text tracks
|
# Title of the text track, used by the browser when listing available text tracks
|
||||||
label: Var[Union[str, int, bool]]
|
label: Var[str]
|
||||||
|
|
||||||
# URL of the track file
|
# URL of the track file
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# Language of the track text data
|
# Language of the track text data
|
||||||
src_lang: Var[Union[str, int, bool]]
|
src_lang: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Video(BaseHTML):
|
class Video(BaseHTML):
|
||||||
@ -173,34 +166,31 @@ class Video(BaseHTML):
|
|||||||
tag = "video"
|
tag = "video"
|
||||||
|
|
||||||
# Specifies that the video will start playing as soon as it is ready
|
# Specifies that the video will start playing as soon as it is ready
|
||||||
auto_play: Var[Union[str, int, bool]]
|
auto_play: Var[bool]
|
||||||
|
|
||||||
# Represents the time range of the buffered media
|
|
||||||
buffered: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Displays the standard video controls
|
# Displays the standard video controls
|
||||||
controls: Var[Union[str, int, bool]]
|
controls: Var[bool]
|
||||||
|
|
||||||
# Configures the CORS requests for the video
|
# Configures the CORS requests for the video
|
||||||
cross_origin: Var[Union[str, int, bool]]
|
cross_origin: Var[CrossOrigin]
|
||||||
|
|
||||||
# Specifies that the video will loop
|
# Specifies that the video will loop
|
||||||
loop: Var[Union[str, int, bool]]
|
loop: Var[bool]
|
||||||
|
|
||||||
# Indicates whether the video is muted by default
|
# Indicates whether the video is muted by default
|
||||||
muted: Var[Union[str, int, bool]]
|
muted: Var[bool]
|
||||||
|
|
||||||
# Indicates that the video should play 'inline', inside its element's playback area
|
# Indicates that the video should play 'inline', inside its element's playback area
|
||||||
plays_inline: Var[Union[str, int, bool]]
|
plays_inline: Var[bool]
|
||||||
|
|
||||||
# URL of an image to show while the video is downloading, or until the user hits the play button
|
# URL of an image to show while the video is downloading, or until the user hits the play button
|
||||||
poster: Var[Union[str, int, bool]]
|
poster: Var[str]
|
||||||
|
|
||||||
# Specifies how the video file should be preloaded
|
# Specifies how the video file should be preloaded
|
||||||
preload: Var[Union[str, int, bool]]
|
preload: Var[str]
|
||||||
|
|
||||||
# URL of the video to play
|
# URL of the video to play
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Embed(BaseHTML):
|
class Embed(BaseHTML):
|
||||||
@ -209,10 +199,10 @@ class Embed(BaseHTML):
|
|||||||
tag = "embed"
|
tag = "embed"
|
||||||
|
|
||||||
# URL of the embedded content
|
# URL of the embedded content
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# Media type of the embedded content
|
# Media type of the embedded content
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Iframe(BaseHTML):
|
class Iframe(BaseHTML):
|
||||||
@ -220,32 +210,26 @@ class Iframe(BaseHTML):
|
|||||||
|
|
||||||
tag = "iframe"
|
tag = "iframe"
|
||||||
|
|
||||||
# Alignment of the iframe within the page or surrounding elements
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Permissions policy for the iframe
|
# Permissions policy for the iframe
|
||||||
allow: Var[Union[str, int, bool]]
|
allow: Var[str]
|
||||||
|
|
||||||
# Content Security Policy to apply to the iframe's content
|
|
||||||
csp: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Specifies the loading behavior of the iframe
|
# Specifies the loading behavior of the iframe
|
||||||
loading: Var[Union[str, int, bool]]
|
loading: Var[Literal["eager", "lazy"]]
|
||||||
|
|
||||||
# Name of the iframe, used as a target for hyperlinks and forms
|
# Name of the iframe, used as a target for hyperlinks and forms
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Referrer policy for the iframe
|
# Referrer policy for the iframe
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# Security restrictions for the content in the iframe
|
# Security restrictions for the content in the iframe
|
||||||
sandbox: Var[Union[str, int, bool]]
|
sandbox: Var[str]
|
||||||
|
|
||||||
# URL of the document to display in the iframe
|
# URL of the document to display in the iframe
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# HTML content to embed directly within the iframe
|
# HTML content to embed directly within the iframe
|
||||||
src_doc: Var[Union[str, int, bool]]
|
src_doc: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Object(BaseHTML):
|
class Object(BaseHTML):
|
||||||
@ -254,19 +238,19 @@ class Object(BaseHTML):
|
|||||||
tag = "object"
|
tag = "object"
|
||||||
|
|
||||||
# URL of the data to be used by the object
|
# URL of the data to be used by the object
|
||||||
data: Var[Union[str, int, bool]]
|
data: Var[str]
|
||||||
|
|
||||||
# Associates the object with a form element
|
# Associates the object with a form element
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Name of the object, used for scripting or as a target for forms and links
|
# Name of the object, used for scripting or as a target for forms and links
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
# Media type of the data specified in the data attribute
|
# Media type of the data specified in the data attribute
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
# Name of an image map to use with the object
|
# Name of an image map to use with the object
|
||||||
use_map: Var[Union[str, int, bool]]
|
use_map: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Picture(BaseHTML):
|
class Picture(BaseHTML):
|
||||||
@ -287,19 +271,19 @@ class Source(BaseHTML):
|
|||||||
tag = "source"
|
tag = "source"
|
||||||
|
|
||||||
# Media query indicating what device the linked resource is optimized for
|
# Media query indicating what device the linked resource is optimized for
|
||||||
media: Var[Union[str, int, bool]]
|
media: Var[str]
|
||||||
|
|
||||||
# Sizes of the source for different layouts
|
# Sizes of the source for different layouts
|
||||||
sizes: Var[Union[str, int, bool]]
|
sizes: Var[str]
|
||||||
|
|
||||||
# URL of the media file or an image for the element to use
|
# URL of the media file or an image for the element to use
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# A set of source sizes and URLs for responsive images
|
# A set of source sizes and URLs for responsive images
|
||||||
src_set: Var[Union[str, int, bool]]
|
src_set: Var[str]
|
||||||
|
|
||||||
# Media type of the source
|
# Media type of the source
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Svg(BaseHTML):
|
class Svg(BaseHTML):
|
||||||
@ -431,16 +415,16 @@ class LinearGradient(BaseHTML):
|
|||||||
spread_method: Var[Union[str, bool]]
|
spread_method: Var[Union[str, bool]]
|
||||||
|
|
||||||
# X coordinate of the starting point of the gradient.
|
# X coordinate of the starting point of the gradient.
|
||||||
x1: Var[Union[str, int, bool]]
|
x1: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# X coordinate of the ending point of the gradient.
|
# X coordinate of the ending point of the gradient.
|
||||||
x2: Var[Union[str, int, bool]]
|
x2: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Y coordinate of the starting point of the gradient.
|
# Y coordinate of the starting point of the gradient.
|
||||||
y1: Var[Union[str, int, bool]]
|
y1: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Y coordinate of the ending point of the gradient.
|
# Y coordinate of the ending point of the gradient.
|
||||||
y2: Var[Union[str, int, bool]]
|
y2: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class RadialGradient(BaseHTML):
|
class RadialGradient(BaseHTML):
|
||||||
@ -449,19 +433,19 @@ class RadialGradient(BaseHTML):
|
|||||||
tag = "radialGradient"
|
tag = "radialGradient"
|
||||||
|
|
||||||
# The x coordinate of the end circle of the radial gradient.
|
# The x coordinate of the end circle of the radial gradient.
|
||||||
cx: Var[Union[str, int, bool]]
|
cx: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# The y coordinate of the end circle of the radial gradient.
|
# The y coordinate of the end circle of the radial gradient.
|
||||||
cy: Var[Union[str, int, bool]]
|
cy: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# The radius of the start circle of the radial gradient.
|
# The radius of the start circle of the radial gradient.
|
||||||
fr: Var[Union[str, int, bool]]
|
fr: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# The x coordinate of the start circle of the radial gradient.
|
# The x coordinate of the start circle of the radial gradient.
|
||||||
fx: Var[Union[str, int, bool]]
|
fx: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# The y coordinate of the start circle of the radial gradient.
|
# The y coordinate of the start circle of the radial gradient.
|
||||||
fy: Var[Union[str, int, bool]]
|
fy: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Units for the gradient.
|
# Units for the gradient.
|
||||||
gradient_units: Var[Union[str, bool]]
|
gradient_units: Var[Union[str, bool]]
|
||||||
@ -470,7 +454,7 @@ class RadialGradient(BaseHTML):
|
|||||||
gradient_transform: Var[Union[str, bool]]
|
gradient_transform: Var[Union[str, bool]]
|
||||||
|
|
||||||
# The radius of the end circle of the radial gradient.
|
# The radius of the end circle of the radial gradient.
|
||||||
r: Var[Union[str, int, bool]]
|
r: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# Method used to spread the gradient.
|
# Method used to spread the gradient.
|
||||||
spread_method: Var[Union[str, bool]]
|
spread_method: Var[Union[str, bool]]
|
||||||
@ -497,7 +481,7 @@ class Path(BaseHTML):
|
|||||||
tag = "path"
|
tag = "path"
|
||||||
|
|
||||||
# Defines the shape of the path.
|
# Defines the shape of the path.
|
||||||
d: Var[Union[str, int, bool]]
|
d: Var[Union[str, int, float]]
|
||||||
|
|
||||||
|
|
||||||
class SVG(ComponentNamespace):
|
class SVG(ComponentNamespace):
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,10 @@
|
|||||||
"""Metadata classes."""
|
"""Metadata classes."""
|
||||||
|
|
||||||
from typing import List, Union
|
from typing import List
|
||||||
|
|
||||||
from reflex.components.el.element import Element
|
from reflex.components.el.element import Element
|
||||||
|
from reflex.components.el.elements.inline import ReferrerPolicy
|
||||||
|
from reflex.components.el.elements.media import CrossOrigin
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
from .base import BaseHTML
|
from .base import BaseHTML
|
||||||
@ -14,8 +16,8 @@ class Base(BaseHTML):
|
|||||||
tag = "base"
|
tag = "base"
|
||||||
|
|
||||||
tag = "base"
|
tag = "base"
|
||||||
href: Var[Union[str, int, bool]]
|
href: Var[str]
|
||||||
target: Var[Union[str, int, bool]]
|
target: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Head(BaseHTML):
|
class Head(BaseHTML):
|
||||||
@ -30,31 +32,31 @@ class Link(BaseHTML):
|
|||||||
tag = "link"
|
tag = "link"
|
||||||
|
|
||||||
# Specifies the CORS settings for the linked resource
|
# Specifies the CORS settings for the linked resource
|
||||||
cross_origin: Var[Union[str, int, bool]]
|
cross_origin: Var[CrossOrigin]
|
||||||
|
|
||||||
# Specifies the URL of the linked document/resource
|
# Specifies the URL of the linked document/resource
|
||||||
href: Var[Union[str, int, bool]]
|
href: Var[str]
|
||||||
|
|
||||||
# Specifies the language of the text in the linked document
|
# Specifies the language of the text in the linked document
|
||||||
href_lang: Var[Union[str, int, bool]]
|
href_lang: Var[str]
|
||||||
|
|
||||||
# Allows a browser to check the fetched link for integrity
|
# Allows a browser to check the fetched link for integrity
|
||||||
integrity: Var[Union[str, int, bool]]
|
integrity: Var[str]
|
||||||
|
|
||||||
# Specifies on what device the linked document will be displayed
|
# Specifies on what device the linked document will be displayed
|
||||||
media: Var[Union[str, int, bool]]
|
media: Var[str]
|
||||||
|
|
||||||
# Specifies the referrer policy of the linked document
|
# Specifies the referrer policy of the linked document
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# Specifies the relationship between the current document and the linked one
|
# Specifies the relationship between the current document and the linked one
|
||||||
rel: Var[Union[str, int, bool]]
|
rel: Var[str]
|
||||||
|
|
||||||
# Specifies the sizes of icons for visual media
|
# Specifies the sizes of icons for visual media
|
||||||
sizes: Var[Union[str, int, bool]]
|
sizes: Var[str]
|
||||||
|
|
||||||
# Specifies the MIME type of the linked document
|
# Specifies the MIME type of the linked document
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Meta(BaseHTML): # Inherits common attributes from BaseHTML
|
class Meta(BaseHTML): # Inherits common attributes from BaseHTML
|
||||||
@ -63,16 +65,16 @@ class Meta(BaseHTML): # Inherits common attributes from BaseHTML
|
|||||||
tag = "meta" # The HTML tag for this element is <meta>
|
tag = "meta" # The HTML tag for this element is <meta>
|
||||||
|
|
||||||
# Specifies the character encoding for the HTML document
|
# Specifies the character encoding for the HTML document
|
||||||
char_set: Var[Union[str, int, bool]]
|
char_set: Var[str]
|
||||||
|
|
||||||
# Defines the content of the metadata
|
# Defines the content of the metadata
|
||||||
content: Var[Union[str, int, bool]]
|
content: Var[str]
|
||||||
|
|
||||||
# Provides an HTTP header for the information/value of the content attribute
|
# Provides an HTTP header for the information/value of the content attribute
|
||||||
http_equiv: Var[Union[str, int, bool]]
|
http_equiv: Var[str]
|
||||||
|
|
||||||
# Specifies a name for the metadata
|
# Specifies a name for the metadata
|
||||||
name: Var[Union[str, int, bool]]
|
name: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Title(Element):
|
class Title(Element):
|
||||||
@ -87,7 +89,7 @@ class StyleEl(Element):
|
|||||||
|
|
||||||
tag = "style"
|
tag = "style"
|
||||||
|
|
||||||
media: Var[Union[str, int, bool]]
|
media: Var[str]
|
||||||
|
|
||||||
special_props: List[Var] = [Var(_js_expr="suppressHydrationWarning")]
|
special_props: List[Var] = [Var(_js_expr="suppressHydrationWarning")]
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ------------------- DO NOT EDIT ----------------------
|
# ------------------- DO NOT EDIT ----------------------
|
||||||
# This file was generated by `reflex/utils/pyi_generator.py`!
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
from typing import Any, Dict, Optional, Union, overload
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
||||||
|
|
||||||
from reflex.components.el.element import Element
|
from reflex.components.el.element import Element
|
||||||
from reflex.event import EventType
|
from reflex.event import EventType
|
||||||
@ -18,32 +18,213 @@ class Base(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
href: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
href: Optional[Union[Var[str], str]] = None,
|
||||||
target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
target: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -106,30 +287,211 @@ class Head(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -193,42 +555,251 @@ class Link(BaseHTML):
|
|||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
cross_origin: Optional[
|
cross_origin: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["", "anonymous", "use-credentials"],
|
||||||
|
Var[Literal["", "anonymous", "use-credentials"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
href: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
href: Optional[Union[Var[str], str]] = None,
|
||||||
href_lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
href_lang: Optional[Union[Var[str], str]] = None,
|
||||||
integrity: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
integrity: Optional[Union[Var[str], str]] = None,
|
||||||
media: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
media: Optional[Union[Var[str], str]] = None,
|
||||||
referrer_policy: Optional[
|
referrer_policy: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
rel: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
rel: Optional[Union[Var[str], str]] = None,
|
||||||
sizes: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
sizes: Optional[Union[Var[str], str]] = None,
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
type: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -300,34 +871,215 @@ class Meta(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
char_set: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
char_set: Optional[Union[Var[str], str]] = None,
|
||||||
content: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
content: Optional[Union[Var[str], str]] = None,
|
||||||
http_equiv: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
http_equiv: Optional[Union[Var[str], str]] = None,
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -440,7 +1192,7 @@ class StyleEl(Element):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
media: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
media: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
"""Other classes."""
|
"""Other classes."""
|
||||||
|
|
||||||
from typing import Union
|
|
||||||
|
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
from .base import BaseHTML
|
from .base import BaseHTML
|
||||||
@ -13,7 +11,7 @@ class Details(BaseHTML):
|
|||||||
tag = "details"
|
tag = "details"
|
||||||
|
|
||||||
# Indicates whether the details will be visible (expanded) to the user
|
# Indicates whether the details will be visible (expanded) to the user
|
||||||
open: Var[Union[str, int, bool]]
|
open: Var[bool]
|
||||||
|
|
||||||
|
|
||||||
class Dialog(BaseHTML):
|
class Dialog(BaseHTML):
|
||||||
@ -22,7 +20,7 @@ class Dialog(BaseHTML):
|
|||||||
tag = "dialog"
|
tag = "dialog"
|
||||||
|
|
||||||
# Indicates whether the dialog is active and can be interacted with
|
# Indicates whether the dialog is active and can be interacted with
|
||||||
open: Var[Union[str, int, bool]]
|
open: Var[bool]
|
||||||
|
|
||||||
|
|
||||||
class Summary(BaseHTML):
|
class Summary(BaseHTML):
|
||||||
@ -67,7 +65,7 @@ class Html(BaseHTML):
|
|||||||
tag = "html"
|
tag = "html"
|
||||||
|
|
||||||
# Specifies the URL of the document's cache manifest (obsolete in HTML5)
|
# Specifies the URL of the document's cache manifest (obsolete in HTML5)
|
||||||
manifest: Var[Union[str, int, bool]]
|
manifest: Var[str]
|
||||||
|
|
||||||
|
|
||||||
details = Details.create
|
details = Details.create
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
"""Scripts classes."""
|
"""Scripts classes."""
|
||||||
|
|
||||||
from typing import Union
|
from reflex.components.el.elements.inline import ReferrerPolicy
|
||||||
|
from reflex.components.el.elements.media import CrossOrigin
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
from .base import BaseHTML
|
from .base import BaseHTML
|
||||||
@ -25,31 +25,28 @@ class Script(BaseHTML):
|
|||||||
tag = "script"
|
tag = "script"
|
||||||
|
|
||||||
# Indicates that the script should be executed asynchronously
|
# Indicates that the script should be executed asynchronously
|
||||||
async_: Var[Union[str, int, bool]]
|
async_: Var[bool]
|
||||||
|
|
||||||
# Character encoding of the external script
|
# Character encoding of the external script
|
||||||
char_set: Var[Union[str, int, bool]]
|
char_set: Var[str]
|
||||||
|
|
||||||
# Configures the CORS requests for the script
|
# Configures the CORS requests for the script
|
||||||
cross_origin: Var[Union[str, int, bool]]
|
cross_origin: Var[CrossOrigin]
|
||||||
|
|
||||||
# Indicates that the script should be executed after the page has finished parsing
|
# Indicates that the script should be executed after the page has finished parsing
|
||||||
defer: Var[Union[str, int, bool]]
|
defer: Var[bool]
|
||||||
|
|
||||||
# Security feature allowing browsers to verify what they fetch
|
# Security feature allowing browsers to verify what they fetch
|
||||||
integrity: Var[Union[str, int, bool]]
|
integrity: Var[str]
|
||||||
|
|
||||||
# Specifies the scripting language used in the type attribute
|
|
||||||
language: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Specifies which referrer information to send when fetching the script
|
# Specifies which referrer information to send when fetching the script
|
||||||
referrer_policy: Var[Union[str, int, bool]]
|
referrer_policy: Var[ReferrerPolicy]
|
||||||
|
|
||||||
# URL of an external script
|
# URL of an external script
|
||||||
src: Var[Union[str, int, bool]]
|
src: Var[str]
|
||||||
|
|
||||||
# Specifies the MIME type of the script
|
# Specifies the MIME type of the script
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
|
|
||||||
canvas = Canvas.create
|
canvas = Canvas.create
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ------------------- DO NOT EDIT ----------------------
|
# ------------------- DO NOT EDIT ----------------------
|
||||||
# This file was generated by `reflex/utils/pyi_generator.py`!
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
from typing import Any, Dict, Optional, Union, overload
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
||||||
|
|
||||||
from reflex.event import EventType
|
from reflex.event import EventType
|
||||||
from reflex.style import Style
|
from reflex.style import Style
|
||||||
@ -17,30 +17,211 @@ class Canvas(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -103,30 +284,211 @@ class Noscript(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -189,43 +551,251 @@ class Script(BaseHTML):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
async_: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
async_: Optional[Union[Var[bool], bool]] = None,
|
||||||
char_set: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
char_set: Optional[Union[Var[str], str]] = None,
|
||||||
cross_origin: Optional[
|
cross_origin: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["", "anonymous", "use-credentials"],
|
||||||
|
Var[Literal["", "anonymous", "use-credentials"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
defer: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
defer: Optional[Union[Var[bool], bool]] = None,
|
||||||
integrity: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
integrity: Optional[Union[Var[str], str]] = None,
|
||||||
language: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
referrer_policy: Optional[
|
referrer_policy: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
src: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
src: Optional[Union[Var[str], str]] = None,
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
type: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -258,7 +828,6 @@ class Script(BaseHTML):
|
|||||||
cross_origin: Configures the CORS requests for the script
|
cross_origin: Configures the CORS requests for the script
|
||||||
defer: Indicates that the script should be executed after the page has finished parsing
|
defer: Indicates that the script should be executed after the page has finished parsing
|
||||||
integrity: Security feature allowing browsers to verify what they fetch
|
integrity: Security feature allowing browsers to verify what they fetch
|
||||||
language: Specifies the scripting language used in the type attribute
|
|
||||||
referrer_policy: Specifies which referrer information to send when fetching the script
|
referrer_policy: Specifies which referrer information to send when fetching the script
|
||||||
src: URL of an external script
|
src: URL of an external script
|
||||||
type: Specifies the MIME type of the script
|
type: Specifies the MIME type of the script
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
"""Tables classes."""
|
"""Tables classes."""
|
||||||
|
|
||||||
from typing import Union
|
from typing import Literal
|
||||||
|
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
@ -12,20 +12,14 @@ class Caption(BaseHTML):
|
|||||||
|
|
||||||
tag = "caption"
|
tag = "caption"
|
||||||
|
|
||||||
# Alignment of the caption
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
class Col(BaseHTML):
|
class Col(BaseHTML):
|
||||||
"""Display the col element."""
|
"""Display the col element."""
|
||||||
|
|
||||||
tag = "col"
|
tag = "col"
|
||||||
|
|
||||||
# Alignment of the content within the column
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Number of columns the col element spans
|
# Number of columns the col element spans
|
||||||
span: Var[Union[str, int, bool]]
|
span: Var[int]
|
||||||
|
|
||||||
|
|
||||||
class Colgroup(BaseHTML):
|
class Colgroup(BaseHTML):
|
||||||
@ -33,11 +27,8 @@ class Colgroup(BaseHTML):
|
|||||||
|
|
||||||
tag = "colgroup"
|
tag = "colgroup"
|
||||||
|
|
||||||
# Alignment of the content within the column group
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
# Number of columns the colgroup element spans
|
# Number of columns the colgroup element spans
|
||||||
span: Var[Union[str, int, bool]]
|
span: Var[int]
|
||||||
|
|
||||||
|
|
||||||
class Table(BaseHTML):
|
class Table(BaseHTML):
|
||||||
@ -46,10 +37,10 @@ class Table(BaseHTML):
|
|||||||
tag = "table"
|
tag = "table"
|
||||||
|
|
||||||
# Alignment of the table
|
# Alignment of the table
|
||||||
align: Var[Union[str, int, bool]]
|
align: Var[Literal["left", "center", "right"]]
|
||||||
|
|
||||||
# Provides a summary of the table's purpose and structure
|
# Provides a summary of the table's purpose and structure
|
||||||
summary: Var[Union[str, int, bool]]
|
summary: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Tbody(BaseHTML):
|
class Tbody(BaseHTML):
|
||||||
@ -57,9 +48,6 @@ class Tbody(BaseHTML):
|
|||||||
|
|
||||||
tag = "tbody"
|
tag = "tbody"
|
||||||
|
|
||||||
# Alignment of the content within the table body
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
class Td(BaseHTML):
|
class Td(BaseHTML):
|
||||||
"""Display the td element."""
|
"""Display the td element."""
|
||||||
@ -67,16 +55,16 @@ class Td(BaseHTML):
|
|||||||
tag = "td"
|
tag = "td"
|
||||||
|
|
||||||
# Alignment of the content within the table cell
|
# Alignment of the content within the table cell
|
||||||
align: Var[Union[str, int, bool]]
|
align: Var[Literal["left", "center", "right", "justify", "char"]]
|
||||||
|
|
||||||
# Number of columns a cell should span
|
# Number of columns a cell should span
|
||||||
col_span: Var[Union[str, int, bool]]
|
col_span: Var[int]
|
||||||
|
|
||||||
# IDs of the headers associated with this cell
|
# IDs of the headers associated with this cell
|
||||||
headers: Var[Union[str, int, bool]]
|
headers: Var[str]
|
||||||
|
|
||||||
# Number of rows a cell should span
|
# Number of rows a cell should span
|
||||||
row_span: Var[Union[str, int, bool]]
|
row_span: Var[int]
|
||||||
|
|
||||||
|
|
||||||
class Tfoot(BaseHTML):
|
class Tfoot(BaseHTML):
|
||||||
@ -84,9 +72,6 @@ class Tfoot(BaseHTML):
|
|||||||
|
|
||||||
tag = "tfoot"
|
tag = "tfoot"
|
||||||
|
|
||||||
# Alignment of the content within the table footer
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
class Th(BaseHTML):
|
class Th(BaseHTML):
|
||||||
"""Display the th element."""
|
"""Display the th element."""
|
||||||
@ -94,19 +79,19 @@ class Th(BaseHTML):
|
|||||||
tag = "th"
|
tag = "th"
|
||||||
|
|
||||||
# Alignment of the content within the table header cell
|
# Alignment of the content within the table header cell
|
||||||
align: Var[Union[str, int, bool]]
|
align: Var[Literal["left", "center", "right", "justify", "char"]]
|
||||||
|
|
||||||
# Number of columns a header cell should span
|
# Number of columns a header cell should span
|
||||||
col_span: Var[Union[str, int, bool]]
|
col_span: Var[int]
|
||||||
|
|
||||||
# IDs of the headers associated with this header cell
|
# IDs of the headers associated with this header cell
|
||||||
headers: Var[Union[str, int, bool]]
|
headers: Var[str]
|
||||||
|
|
||||||
# Number of rows a header cell should span
|
# Number of rows a header cell should span
|
||||||
row_span: Var[Union[str, int, bool]]
|
row_span: Var[int]
|
||||||
|
|
||||||
# Scope of the header cell (row, col, rowgroup, colgroup)
|
# Scope of the header cell (row, col, rowgroup, colgroup)
|
||||||
scope: Var[Union[str, int, bool]]
|
scope: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Thead(BaseHTML):
|
class Thead(BaseHTML):
|
||||||
@ -114,18 +99,12 @@ class Thead(BaseHTML):
|
|||||||
|
|
||||||
tag = "thead"
|
tag = "thead"
|
||||||
|
|
||||||
# Alignment of the content within the table header
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
class Tr(BaseHTML):
|
class Tr(BaseHTML):
|
||||||
"""Display the tr element."""
|
"""Display the tr element."""
|
||||||
|
|
||||||
tag = "tr"
|
tag = "tr"
|
||||||
|
|
||||||
# Alignment of the content within the table row
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
caption = Caption.create
|
caption = Caption.create
|
||||||
col = Col.create
|
col = Col.create
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
"""Typography classes."""
|
"""Typography classes."""
|
||||||
|
|
||||||
from typing import Union
|
from typing import Literal
|
||||||
|
|
||||||
from reflex.vars.base import Var
|
from reflex.vars.base import Var
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ class Blockquote(BaseHTML):
|
|||||||
tag = "blockquote"
|
tag = "blockquote"
|
||||||
|
|
||||||
# Define the title of a work.
|
# Define the title of a work.
|
||||||
cite: Var[Union[str, int, bool]]
|
cite: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Dd(BaseHTML):
|
class Dd(BaseHTML):
|
||||||
@ -51,9 +51,6 @@ class Hr(BaseHTML):
|
|||||||
|
|
||||||
tag = "hr"
|
tag = "hr"
|
||||||
|
|
||||||
# Used to specify the alignment of text content of The Element. this attribute is used in all elements.
|
|
||||||
align: Var[Union[str, int, bool]]
|
|
||||||
|
|
||||||
|
|
||||||
class Li(BaseHTML):
|
class Li(BaseHTML):
|
||||||
"""Display the li element."""
|
"""Display the li element."""
|
||||||
@ -67,7 +64,7 @@ class Menu(BaseHTML):
|
|||||||
tag = "menu"
|
tag = "menu"
|
||||||
|
|
||||||
# Specifies that the menu element is a context menu.
|
# Specifies that the menu element is a context menu.
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Ol(BaseHTML):
|
class Ol(BaseHTML):
|
||||||
@ -76,13 +73,13 @@ class Ol(BaseHTML):
|
|||||||
tag = "ol"
|
tag = "ol"
|
||||||
|
|
||||||
# Reverses the order of the list.
|
# Reverses the order of the list.
|
||||||
reversed: Var[Union[str, int, bool]]
|
reversed: Var[bool]
|
||||||
|
|
||||||
# Specifies the start value of the first list item in an ordered list.
|
# Specifies the start value of the first list item in an ordered list.
|
||||||
start: Var[Union[str, int, bool]]
|
start: Var[int]
|
||||||
|
|
||||||
# Specifies the kind of marker to use in the list (letters or numbers).
|
# Specifies the kind of marker to use in the list (letters or numbers).
|
||||||
type: Var[Union[str, int, bool]]
|
type: Var[Literal["1", "a", "A", "i", "I"]]
|
||||||
|
|
||||||
|
|
||||||
class P(BaseHTML):
|
class P(BaseHTML):
|
||||||
@ -109,10 +106,10 @@ class Ins(BaseHTML):
|
|||||||
tag = "ins"
|
tag = "ins"
|
||||||
|
|
||||||
# Specifies the URL of the document that explains the reason why the text was inserted/changed.
|
# Specifies the URL of the document that explains the reason why the text was inserted/changed.
|
||||||
cite: Var[Union[str, int, bool]]
|
cite: Var[str]
|
||||||
|
|
||||||
# Specifies the date and time of when the text was inserted/changed.
|
# Specifies the date and time of when the text was inserted/changed.
|
||||||
date_time: Var[Union[str, int, bool]]
|
date_time: Var[str]
|
||||||
|
|
||||||
|
|
||||||
class Del(BaseHTML):
|
class Del(BaseHTML):
|
||||||
@ -121,10 +118,10 @@ class Del(BaseHTML):
|
|||||||
tag = "del"
|
tag = "del"
|
||||||
|
|
||||||
# Specifies the URL of the document that explains the reason why the text was deleted.
|
# Specifies the URL of the document that explains the reason why the text was deleted.
|
||||||
cite: Var[Union[str, int, bool]]
|
cite: Var[str]
|
||||||
|
|
||||||
# Specifies the date and time of when the text was deleted.
|
# Specifies the date and time of when the text was deleted.
|
||||||
date_time: Var[Union[str, int, bool]]
|
date_time: Var[str]
|
||||||
|
|
||||||
|
|
||||||
blockquote = Blockquote.create
|
blockquote = Blockquote.create
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -69,45 +69,222 @@ class FormRoot(FormComponent, HTMLForm):
|
|||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
as_child: Optional[Union[Var[bool], bool]] = None,
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
||||||
accept: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
accept: Optional[Union[Var[str], str]] = None,
|
||||||
accept_charset: Optional[
|
accept_charset: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
action: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
auto_complete: Optional[Union[Var[str], str]] = None,
|
||||||
action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
auto_complete: Optional[
|
method: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
enc_type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
target: Optional[Union[Var[str], str]] = None,
|
||||||
method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
no_validate: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
||||||
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -541,45 +718,222 @@ class Form(FormRoot):
|
|||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
as_child: Optional[Union[Var[bool], bool]] = None,
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
||||||
accept: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
accept: Optional[Union[Var[str], str]] = None,
|
||||||
accept_charset: Optional[
|
accept_charset: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
action: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
auto_complete: Optional[Union[Var[str], str]] = None,
|
||||||
action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
auto_complete: Optional[
|
method: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
enc_type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
target: Optional[Union[Var[str], str]] = None,
|
||||||
method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
no_validate: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
||||||
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -670,45 +1024,222 @@ class FormNamespace(ComponentNamespace):
|
|||||||
def __call__(
|
def __call__(
|
||||||
*children,
|
*children,
|
||||||
as_child: Optional[Union[Var[bool], bool]] = None,
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
||||||
accept: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
accept: Optional[Union[Var[str], str]] = None,
|
||||||
accept_charset: Optional[
|
accept_charset: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
action: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
auto_complete: Optional[Union[Var[str], str]] = None,
|
||||||
action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
auto_complete: Optional[
|
method: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
enc_type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
target: Optional[Union[Var[str], str]] = None,
|
||||||
method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
no_validate: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
reset_on_submit: Optional[Union[Var[bool], bool]] = None,
|
||||||
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
handle_submit_unique_name: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -172,45 +172,227 @@ class ColorModeIconButton(IconButton):
|
|||||||
Var[Literal["full", "large", "medium", "none", "small"]],
|
Var[Literal["full", "large", "medium", "none", "small"]],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
auto_focus: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
auto_focus: Optional[Union[Var[bool], bool]] = None,
|
||||||
disabled: Optional[Union[Var[bool], bool]] = None,
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
form_action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_action: Optional[Union[Var[str], str]] = None,
|
||||||
form_enc_type: Optional[
|
form_enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
form_method: Optional[Union[Var[str], str]] = None,
|
||||||
|
form_no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
form_target: Optional[Union[Var[str], str]] = None,
|
||||||
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
|
type: Optional[
|
||||||
|
Union[
|
||||||
|
Literal["button", "reset", "submit"],
|
||||||
|
Var[Literal["button", "reset", "submit"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
form_method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
form_no_validate: Optional[
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
||||||
] = None,
|
|
||||||
form_target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
value: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
loading: Optional[Union[Var[bool], bool]] = None,
|
loading: Optional[Union[Var[bool], bool]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
|
@ -130,30 +130,211 @@ class AlertDialogContent(elements.Div, RadixThemesComponent):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
force_mount: Optional[Union[Var[bool], bool]] = None,
|
force_mount: Optional[Union[Var[bool], bool]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -105,30 +105,211 @@ class Badge(elements.Span, RadixThemesComponent):
|
|||||||
Var[Literal["full", "large", "medium", "none", "small"]],
|
Var[Literal["full", "large", "medium", "none", "small"]],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -109,45 +109,227 @@ class Button(elements.Button, RadixLoadingProp, RadixThemesComponent):
|
|||||||
Var[Literal["full", "large", "medium", "none", "small"]],
|
Var[Literal["full", "large", "medium", "none", "small"]],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
auto_focus: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
auto_focus: Optional[Union[Var[bool], bool]] = None,
|
||||||
disabled: Optional[Union[Var[bool], bool]] = None,
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
form_action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_action: Optional[Union[Var[str], str]] = None,
|
||||||
form_enc_type: Optional[
|
form_enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
form_method: Optional[Union[Var[str], str]] = None,
|
||||||
|
form_no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
form_target: Optional[Union[Var[str], str]] = None,
|
||||||
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
|
type: Optional[
|
||||||
|
Union[
|
||||||
|
Literal["button", "reset", "submit"],
|
||||||
|
Var[Literal["button", "reset", "submit"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
form_method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
form_no_validate: Optional[
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
||||||
] = None,
|
|
||||||
form_target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
value: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
loading: Optional[Union[Var[bool], bool]] = None,
|
loading: Optional[Union[Var[bool], bool]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -38,30 +38,211 @@ class Card(elements.Div, RadixThemesComponent):
|
|||||||
Var[Literal["classic", "ghost", "surface"]],
|
Var[Literal["classic", "ghost", "surface"]],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -176,30 +176,211 @@ class DialogContent(elements.Div, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -163,30 +163,211 @@ class HoverCardContent(elements.Div, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -110,45 +110,227 @@ class IconButton(elements.Button, RadixLoadingProp, RadixThemesComponent):
|
|||||||
Var[Literal["full", "large", "medium", "none", "small"]],
|
Var[Literal["full", "large", "medium", "none", "small"]],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
auto_focus: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
auto_focus: Optional[Union[Var[bool], bool]] = None,
|
||||||
disabled: Optional[Union[Var[bool], bool]] = None,
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
form_action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_action: Optional[Union[Var[str], str]] = None,
|
||||||
form_enc_type: Optional[
|
form_enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
form_method: Optional[Union[Var[str], str]] = None,
|
||||||
|
form_no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
form_target: Optional[Union[Var[str], str]] = None,
|
||||||
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
|
type: Optional[
|
||||||
|
Union[
|
||||||
|
Literal["button", "reset", "submit"],
|
||||||
|
Var[Literal["button", "reset", "submit"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
form_method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
form_no_validate: Optional[
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
|
||||||
] = None,
|
|
||||||
form_target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
name: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
value: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
loading: Optional[Union[Var[bool], bool]] = None,
|
loading: Optional[Union[Var[bool], bool]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
|
@ -103,30 +103,211 @@ class Inset(elements.Div, RadixThemesComponent):
|
|||||||
str,
|
str,
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -156,30 +156,211 @@ class PopoverContent(elements.Div, RadixThemesComponent):
|
|||||||
Union[Literal["always", "partial"], Var[Literal["always", "partial"]]]
|
Union[Literal["always", "partial"], Var[Literal["always", "partial"]]]
|
||||||
] = None,
|
] = None,
|
||||||
hide_when_detached: Optional[Union[Var[bool], bool]] = None,
|
hide_when_detached: Optional[Union[Var[bool], bool]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
"""Interactive components provided by @radix-ui/themes."""
|
"""Interactive components provided by @radix-ui/themes."""
|
||||||
|
|
||||||
from typing import Literal, Union
|
from typing import Literal
|
||||||
|
|
||||||
from reflex.components.component import Component
|
from reflex.components.component import Component
|
||||||
from reflex.components.core.breakpoints import Responsive
|
from reflex.components.core.breakpoints import Responsive
|
||||||
@ -51,7 +51,7 @@ class TextArea(RadixThemesComponent, elements.Textarea):
|
|||||||
disabled: Var[bool]
|
disabled: Var[bool]
|
||||||
|
|
||||||
# Associates the textarea with a form (by id)
|
# Associates the textarea with a form (by id)
|
||||||
form: Var[Union[str, int, bool]]
|
form: Var[str]
|
||||||
|
|
||||||
# Maximum number of characters allowed in the textarea
|
# Maximum number of characters allowed in the textarea
|
||||||
max_length: Var[int]
|
max_length: Var[int]
|
||||||
|
@ -126,7 +126,7 @@ class TextArea(RadixThemesComponent, elements.Textarea):
|
|||||||
default_value: Optional[Union[Var[str], str]] = None,
|
default_value: Optional[Union[Var[str], str]] = None,
|
||||||
dirname: Optional[Union[Var[str], str]] = None,
|
dirname: Optional[Union[Var[str], str]] = None,
|
||||||
disabled: Optional[Union[Var[bool], bool]] = None,
|
disabled: Optional[Union[Var[bool], bool]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
max_length: Optional[Union[Var[int], int]] = None,
|
max_length: Optional[Union[Var[int], int]] = None,
|
||||||
min_length: Optional[Union[Var[int], int]] = None,
|
min_length: Optional[Union[Var[int], int]] = None,
|
||||||
name: Optional[Union[Var[str], str]] = None,
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
@ -137,32 +137,213 @@ class TextArea(RadixThemesComponent, elements.Textarea):
|
|||||||
value: Optional[Union[Var[str], str]] = None,
|
value: Optional[Union[Var[str], str]] = None,
|
||||||
wrap: Optional[Union[Var[str], str]] = None,
|
wrap: Optional[Union[Var[str], str]] = None,
|
||||||
auto_height: Optional[Union[Var[bool], bool]] = None,
|
auto_height: Optional[Union[Var[bool], bool]] = None,
|
||||||
cols: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
cols: Optional[Union[Var[int], int]] = None,
|
||||||
enter_key_submit: Optional[Union[Var[bool], bool]] = None,
|
enter_key_submit: Optional[Union[Var[bool], bool]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -70,7 +70,7 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|||||||
value: Var[Union[str, int, float]]
|
value: Var[Union[str, int, float]]
|
||||||
|
|
||||||
# References a datalist for suggested options
|
# References a datalist for suggested options
|
||||||
list: Var[Union[str, int, bool]]
|
list: Var[str]
|
||||||
|
|
||||||
# Fired when the value of the textarea changes.
|
# Fired when the value of the textarea changes.
|
||||||
on_change: EventHandler[input_event]
|
on_change: EventHandler[input_event]
|
||||||
|
@ -119,55 +119,235 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|||||||
required: Optional[Union[Var[bool], bool]] = None,
|
required: Optional[Union[Var[bool], bool]] = None,
|
||||||
type: Optional[Union[Var[str], str]] = None,
|
type: Optional[Union[Var[str], str]] = None,
|
||||||
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
list: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
list: Optional[Union[Var[str], str]] = None,
|
||||||
accept: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
accept: Optional[Union[Var[str], str]] = None,
|
||||||
alt: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
alt: Optional[Union[Var[str], str]] = None,
|
||||||
auto_focus: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
auto_focus: Optional[Union[Var[bool], bool]] = None,
|
||||||
capture: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
capture: Optional[
|
||||||
checked: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
|
Literal["environment", "user", False, True],
|
||||||
|
Var[Literal["environment", "user", False, True]],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
checked: Optional[Union[Var[bool], bool]] = None,
|
||||||
default_checked: Optional[Union[Var[bool], bool]] = None,
|
default_checked: Optional[Union[Var[bool], bool]] = None,
|
||||||
dirname: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_action: Optional[Union[Var[str], str]] = None,
|
||||||
form_action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
form_enc_type: Optional[
|
form_method: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
form_no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
] = None,
|
form_target: Optional[Union[Var[str], str]] = None,
|
||||||
form_method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
max: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
form_no_validate: Optional[
|
min: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
multiple: Optional[Union[Var[bool], bool]] = None,
|
||||||
] = None,
|
pattern: Optional[Union[Var[str], str]] = None,
|
||||||
form_target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
src: Optional[Union[Var[str], str]] = None,
|
||||||
max: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
step: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
min: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
multiple: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
pattern: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
src: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
step: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
use_map: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -229,7 +409,6 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|||||||
capture: Captures media from the user (camera or microphone)
|
capture: Captures media from the user (camera or microphone)
|
||||||
checked: Indicates whether the input is checked (for checkboxes and radio buttons)
|
checked: Indicates whether the input is checked (for checkboxes and radio buttons)
|
||||||
default_checked: The initial value (for checkboxes and radio buttons)
|
default_checked: The initial value (for checkboxes and radio buttons)
|
||||||
dirname: Name part of the input to submit in 'dir' and 'name' pair when form is submitted
|
|
||||||
form: Associates the input with a form (by id)
|
form: Associates the input with a form (by id)
|
||||||
form_action: URL to send the form data to (for type="submit" buttons)
|
form_action: URL to send the form data to (for type="submit" buttons)
|
||||||
form_enc_type: How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
form_enc_type: How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
||||||
@ -242,7 +421,6 @@ class TextFieldRoot(elements.Input, RadixThemesComponent):
|
|||||||
pattern: Regex pattern the input's value must match to be valid
|
pattern: Regex pattern the input's value must match to be valid
|
||||||
src: URL for image inputs
|
src: URL for image inputs
|
||||||
step: Specifies the legal number intervals for an input
|
step: Specifies the legal number intervals for an input
|
||||||
use_map: Name of the image map used with the input
|
|
||||||
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
||||||
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
||||||
content_editable: Indicates whether the element's content is editable.
|
content_editable: Indicates whether the element's content is editable.
|
||||||
@ -486,55 +664,235 @@ class TextField(ComponentNamespace):
|
|||||||
required: Optional[Union[Var[bool], bool]] = None,
|
required: Optional[Union[Var[bool], bool]] = None,
|
||||||
type: Optional[Union[Var[str], str]] = None,
|
type: Optional[Union[Var[str], str]] = None,
|
||||||
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
value: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
list: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
list: Optional[Union[Var[str], str]] = None,
|
||||||
accept: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
accept: Optional[Union[Var[str], str]] = None,
|
||||||
alt: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
alt: Optional[Union[Var[str], str]] = None,
|
||||||
auto_focus: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
auto_focus: Optional[Union[Var[bool], bool]] = None,
|
||||||
capture: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
capture: Optional[
|
||||||
checked: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
|
Literal["environment", "user", False, True],
|
||||||
|
Var[Literal["environment", "user", False, True]],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
checked: Optional[Union[Var[bool], bool]] = None,
|
||||||
default_checked: Optional[Union[Var[bool], bool]] = None,
|
default_checked: Optional[Union[Var[bool], bool]] = None,
|
||||||
dirname: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form: Optional[Union[Var[str], str]] = None,
|
||||||
form: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_action: Optional[Union[Var[str], str]] = None,
|
||||||
form_action: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
form_enc_type: Optional[Union[Var[str], str]] = None,
|
||||||
form_enc_type: Optional[
|
form_method: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
form_no_validate: Optional[Union[Var[bool], bool]] = None,
|
||||||
] = None,
|
form_target: Optional[Union[Var[str], str]] = None,
|
||||||
form_method: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
max: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
form_no_validate: Optional[
|
min: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
multiple: Optional[Union[Var[bool], bool]] = None,
|
||||||
] = None,
|
pattern: Optional[Union[Var[str], str]] = None,
|
||||||
form_target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
src: Optional[Union[Var[str], str]] = None,
|
||||||
max: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
step: Optional[Union[Var[Union[float, int, str]], float, int, str]] = None,
|
||||||
min: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
multiple: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
pattern: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
src: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
step: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
use_map: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -596,7 +954,6 @@ class TextField(ComponentNamespace):
|
|||||||
capture: Captures media from the user (camera or microphone)
|
capture: Captures media from the user (camera or microphone)
|
||||||
checked: Indicates whether the input is checked (for checkboxes and radio buttons)
|
checked: Indicates whether the input is checked (for checkboxes and radio buttons)
|
||||||
default_checked: The initial value (for checkboxes and radio buttons)
|
default_checked: The initial value (for checkboxes and radio buttons)
|
||||||
dirname: Name part of the input to submit in 'dir' and 'name' pair when form is submitted
|
|
||||||
form: Associates the input with a form (by id)
|
form: Associates the input with a form (by id)
|
||||||
form_action: URL to send the form data to (for type="submit" buttons)
|
form_action: URL to send the form data to (for type="submit" buttons)
|
||||||
form_enc_type: How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
form_enc_type: How the form data should be encoded when submitting to the server (for type="submit" buttons)
|
||||||
@ -609,7 +966,6 @@ class TextField(ComponentNamespace):
|
|||||||
pattern: Regex pattern the input's value must match to be valid
|
pattern: Regex pattern the input's value must match to be valid
|
||||||
src: URL for image inputs
|
src: URL for image inputs
|
||||||
step: Specifies the legal number intervals for an input
|
step: Specifies the legal number intervals for an input
|
||||||
use_map: Name of the image map used with the input
|
|
||||||
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
||||||
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
||||||
content_editable: Indicates whether the element's content is editable.
|
content_editable: Indicates whether the element's content is editable.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ------------------- DO NOT EDIT ----------------------
|
# ------------------- DO NOT EDIT ----------------------
|
||||||
# This file was generated by `reflex/utils/pyi_generator.py`!
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
from typing import Any, Dict, Optional, Union, overload
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
||||||
|
|
||||||
from reflex.components.el import elements
|
from reflex.components.el import elements
|
||||||
from reflex.event import EventType
|
from reflex.event import EventType
|
||||||
@ -18,30 +18,211 @@ class Box(elements.Div, RadixThemesComponent):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -95,30 +95,211 @@ class Center(Flex):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -35,30 +35,211 @@ class Container(elements.Div, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -98,30 +98,211 @@ class Flex(elements.Div, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -127,30 +127,211 @@ class Grid(elements.Div, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -172,30 +172,211 @@ class UnorderedList(BaseList, Ul):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -303,33 +484,218 @@ class OrderedList(BaseList, Ol):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
items: Optional[Union[Iterable, Var[Iterable]]] = None,
|
||||||
reversed: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
reversed: Optional[Union[Var[bool], bool]] = None,
|
||||||
start: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
start: Optional[Union[Var[int], int]] = None,
|
||||||
type: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
type: Optional[
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
|
Literal["1", "A", "I", "a", "i"], Var[Literal["1", "A", "I", "a", "i"]]
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -397,30 +763,211 @@ class ListItem(Li, MarkdownComponentMap):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -32,30 +32,211 @@ class Section(elements.Section, RadixThemesComponent):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -95,30 +95,211 @@ class Spacer(Flex):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -72,30 +72,211 @@ class Stack(Flex):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -207,30 +388,211 @@ class VStack(Stack):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -342,30 +704,211 @@ class HStack(Stack):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -108,31 +108,212 @@ class Blockquote(elements.Blockquote, RadixThemesComponent):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
||||||
cite: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
cite: Optional[Union[Var[str], str]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -115,30 +115,211 @@ class Code(elements.Code, RadixThemesComponent, MarkdownComponentMap):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -135,30 +135,211 @@ class Heading(elements.H1, RadixThemesComponent, MarkdownComponentMap):
|
|||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
@ -136,41 +136,252 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|||||||
] = None,
|
] = None,
|
||||||
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
||||||
is_external: Optional[Union[Var[bool], bool]] = None,
|
is_external: Optional[Union[Var[bool], bool]] = None,
|
||||||
download: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
download: Optional[Union[Var[Union[bool, str]], bool, str]] = None,
|
||||||
href: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
href: Optional[Union[Var[str], str]] = None,
|
||||||
href_lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
href_lang: Optional[Union[Var[str], str]] = None,
|
||||||
media: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
media: Optional[Union[Var[str], str]] = None,
|
||||||
ping: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
ping: Optional[Union[Var[str], str]] = None,
|
||||||
referrer_policy: Optional[
|
referrer_policy: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"",
|
||||||
|
"no-referrer",
|
||||||
|
"no-referrer-when-downgrade",
|
||||||
|
"origin",
|
||||||
|
"origin-when-cross-origin",
|
||||||
|
"same-origin",
|
||||||
|
"strict-origin",
|
||||||
|
"strict-origin-when-cross-origin",
|
||||||
|
"unsafe-url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
rel: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
rel: Optional[Union[Var[str], str]] = None,
|
||||||
shape: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
target: Optional[
|
||||||
target: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal["_blank", "_parent", "_self", "_top"],
|
||||||
|
Var[Union[Literal["_blank", "_parent", "_self", "_top"], str]],
|
||||||
|
str,
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -213,7 +424,6 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|||||||
ping: Specifies which referrer is sent when fetching the resource
|
ping: Specifies which referrer is sent when fetching the resource
|
||||||
referrer_policy: Specifies the relationship between the current document and the linked document
|
referrer_policy: Specifies the relationship between the current document and the linked document
|
||||||
rel: Specifies the relationship between the linked document and the current document
|
rel: Specifies the relationship between the linked document and the current document
|
||||||
shape: Specifies the shape of the area
|
|
||||||
target: Specifies where to open the linked document
|
target: Specifies where to open the linked document
|
||||||
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
||||||
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -21,30 +21,211 @@ class Sidebar(Box, MemoizationLeaf):
|
|||||||
def create( # type: ignore
|
def create( # type: ignore
|
||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -204,30 +385,211 @@ class Layout(Box):
|
|||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
sidebar: Optional[Component] = None,
|
sidebar: Optional[Component] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -272,30 +634,211 @@ class LayoutNamespace(ComponentNamespace):
|
|||||||
def __call__(
|
def __call__(
|
||||||
*children,
|
*children,
|
||||||
sidebar: Optional[Component] = None,
|
sidebar: Optional[Component] = None,
|
||||||
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
access_key: Optional[Union[Var[str], str]] = None,
|
||||||
auto_capitalize: Optional[
|
auto_capitalize: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
||||||
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
content_editable: Optional[
|
content_editable: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["inherit", "plaintext-only", False, True],
|
||||||
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
context_menu: Optional[
|
context_menu: Optional[Union[Var[str], str]] = None,
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
dir: Optional[Union[Var[str], str]] = None,
|
||||||
] = None,
|
draggable: Optional[Union[Var[bool], bool]] = None,
|
||||||
dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
||||||
enter_key_hint: Optional[
|
enter_key_hint: Optional[
|
||||||
Union[Var[Union[bool, int, str]], bool, int, str]
|
Union[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"],
|
||||||
|
Var[
|
||||||
|
Literal["done", "enter", "go", "next", "previous", "search", "send"]
|
||||||
|
],
|
||||||
|
]
|
||||||
] = None,
|
] = None,
|
||||||
hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
input_mode: Optional[
|
||||||
item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Union[
|
||||||
lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
Literal[
|
||||||
role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"decimal",
|
||||||
slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"email",
|
||||||
spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"none",
|
||||||
tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"numeric",
|
||||||
title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"decimal",
|
||||||
|
"email",
|
||||||
|
"none",
|
||||||
|
"numeric",
|
||||||
|
"search",
|
||||||
|
"tel",
|
||||||
|
"text",
|
||||||
|
"url",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
item_prop: Optional[Union[Var[str], str]] = None,
|
||||||
|
lang: Optional[Union[Var[str], str]] = None,
|
||||||
|
role: Optional[
|
||||||
|
Union[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
],
|
||||||
|
Var[
|
||||||
|
Literal[
|
||||||
|
"alert",
|
||||||
|
"alertdialog",
|
||||||
|
"application",
|
||||||
|
"article",
|
||||||
|
"banner",
|
||||||
|
"button",
|
||||||
|
"cell",
|
||||||
|
"checkbox",
|
||||||
|
"columnheader",
|
||||||
|
"combobox",
|
||||||
|
"complementary",
|
||||||
|
"contentinfo",
|
||||||
|
"definition",
|
||||||
|
"dialog",
|
||||||
|
"directory",
|
||||||
|
"document",
|
||||||
|
"feed",
|
||||||
|
"figure",
|
||||||
|
"form",
|
||||||
|
"grid",
|
||||||
|
"gridcell",
|
||||||
|
"group",
|
||||||
|
"heading",
|
||||||
|
"img",
|
||||||
|
"link",
|
||||||
|
"list",
|
||||||
|
"listbox",
|
||||||
|
"listitem",
|
||||||
|
"log",
|
||||||
|
"main",
|
||||||
|
"marquee",
|
||||||
|
"math",
|
||||||
|
"menu",
|
||||||
|
"menubar",
|
||||||
|
"menuitem",
|
||||||
|
"menuitemcheckbox",
|
||||||
|
"menuitemradio",
|
||||||
|
"navigation",
|
||||||
|
"none",
|
||||||
|
"note",
|
||||||
|
"option",
|
||||||
|
"presentation",
|
||||||
|
"progressbar",
|
||||||
|
"radio",
|
||||||
|
"radiogroup",
|
||||||
|
"region",
|
||||||
|
"row",
|
||||||
|
"rowgroup",
|
||||||
|
"rowheader",
|
||||||
|
"scrollbar",
|
||||||
|
"search",
|
||||||
|
"searchbox",
|
||||||
|
"separator",
|
||||||
|
"slider",
|
||||||
|
"spinbutton",
|
||||||
|
"status",
|
||||||
|
"switch",
|
||||||
|
"tab",
|
||||||
|
"table",
|
||||||
|
"tablist",
|
||||||
|
"tabpanel",
|
||||||
|
"term",
|
||||||
|
"textbox",
|
||||||
|
"timer",
|
||||||
|
"toolbar",
|
||||||
|
"tooltip",
|
||||||
|
"tree",
|
||||||
|
"treegrid",
|
||||||
|
"treeitem",
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
] = None,
|
||||||
|
slot: Optional[Union[Var[str], str]] = None,
|
||||||
|
spell_check: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
tab_index: Optional[Union[Var[int], int]] = None,
|
||||||
|
title: Optional[Union[Var[str], str]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
|
Loading…
Reference in New Issue
Block a user