|
@@ -3,7 +3,7 @@
|
|
|
# ------------------- DO NOT EDIT ----------------------
|
|
|
# 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.event import EventType
|
|
@@ -17,30 +17,211 @@ class AutoScroll(Div):
|
|
|
def create( # type: ignore
|
|
|
cls,
|
|
|
*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[
|
|
|
- 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,
|
|
|
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,
|
|
|
- context_menu: Optional[
|
|
|
- Union[Var[Union[bool, int, str]], bool, int, str]
|
|
|
- ] = 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,
|
|
|
+ context_menu: Optional[Union[Var[str], str]] = None,
|
|
|
+ dir: Optional[Union[Var[str], str]] = None,
|
|
|
+ draggable: Optional[Union[Var[bool], bool]] = None,
|
|
|
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,
|
|
|
+ hidden: Optional[Union[Var[bool], bool]] = None,
|
|
|
+ input_mode: Optional[
|
|
|
+ Union[
|
|
|
+ Literal[
|
|
|
+ "decimal",
|
|
|
+ "email",
|
|
|
+ "none",
|
|
|
+ "numeric",
|
|
|
+ "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,
|
|
|
- hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
|
|
|
- title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = 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,
|
|
|
key: Optional[Any] = None,
|
|
|
id: Optional[Any] = None,
|