1234 lines
41 KiB
Python
1234 lines
41 KiB
Python
"""Stub file for reflex/components/core/sticky.py"""
|
|
|
|
# ------------------- DO NOT EDIT ----------------------
|
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
# ------------------------------------------------------
|
|
from typing import Any, Dict, Literal, Optional, Union, overload
|
|
|
|
from reflex.components.component import ComponentNamespace
|
|
from reflex.components.core.breakpoints import Breakpoints
|
|
from reflex.components.el.elements.inline import A
|
|
from reflex.components.el.elements.media import Svg
|
|
from reflex.components.radix.themes.typography.text import Text
|
|
from reflex.event import EventType
|
|
from reflex.style import Style
|
|
from reflex.vars.base import Var
|
|
|
|
class StickyLogo(Svg):
|
|
@overload
|
|
@classmethod
|
|
def create( # type: ignore
|
|
cls,
|
|
*children,
|
|
width: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
height: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
xmlns: Optional[Union[Var[str], str]] = None,
|
|
access_key: Optional[Union[Var[str], str]] = None,
|
|
auto_capitalize: Optional[
|
|
Union[
|
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
]
|
|
] = None,
|
|
content_editable: Optional[
|
|
Union[
|
|
Literal["inherit", "plaintext-only", False, True],
|
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
]
|
|
] = 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[
|
|
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,
|
|
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,
|
|
class_name: Optional[Any] = None,
|
|
autofocus: Optional[bool] = None,
|
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
on_blur: Optional[EventType[()]] = None,
|
|
on_click: Optional[EventType[()]] = None,
|
|
on_context_menu: Optional[EventType[()]] = None,
|
|
on_double_click: Optional[EventType[()]] = None,
|
|
on_focus: Optional[EventType[()]] = None,
|
|
on_mount: Optional[EventType[()]] = None,
|
|
on_mouse_down: Optional[EventType[()]] = None,
|
|
on_mouse_enter: Optional[EventType[()]] = None,
|
|
on_mouse_leave: Optional[EventType[()]] = None,
|
|
on_mouse_move: Optional[EventType[()]] = None,
|
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
on_scroll: Optional[EventType[()]] = None,
|
|
on_unmount: Optional[EventType[()]] = None,
|
|
**props,
|
|
) -> "StickyLogo":
|
|
"""Create the simple Reflex logo SVG.
|
|
|
|
Returns:
|
|
The simple Reflex logo SVG.
|
|
"""
|
|
...
|
|
|
|
def add_style(self): ...
|
|
|
|
class StickyLabel(Text):
|
|
@overload
|
|
@classmethod
|
|
def create( # type: ignore
|
|
cls,
|
|
*children,
|
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
as_: Optional[
|
|
Union[
|
|
Literal[
|
|
"abbr",
|
|
"b",
|
|
"cite",
|
|
"del",
|
|
"div",
|
|
"em",
|
|
"i",
|
|
"ins",
|
|
"kbd",
|
|
"label",
|
|
"mark",
|
|
"p",
|
|
"s",
|
|
"samp",
|
|
"span",
|
|
"sub",
|
|
"sup",
|
|
"u",
|
|
],
|
|
Var[
|
|
Literal[
|
|
"abbr",
|
|
"b",
|
|
"cite",
|
|
"del",
|
|
"div",
|
|
"em",
|
|
"i",
|
|
"ins",
|
|
"kbd",
|
|
"label",
|
|
"mark",
|
|
"p",
|
|
"s",
|
|
"samp",
|
|
"span",
|
|
"sub",
|
|
"sup",
|
|
"u",
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
size: Optional[
|
|
Union[
|
|
Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
Var[
|
|
Union[
|
|
Breakpoints[
|
|
str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
],
|
|
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
weight: Optional[
|
|
Union[
|
|
Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
|
|
Literal["bold", "light", "medium", "regular"],
|
|
Var[
|
|
Union[
|
|
Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
|
|
Literal["bold", "light", "medium", "regular"],
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
align: Optional[
|
|
Union[
|
|
Breakpoints[str, Literal["center", "left", "right"]],
|
|
Literal["center", "left", "right"],
|
|
Var[
|
|
Union[
|
|
Breakpoints[str, Literal["center", "left", "right"]],
|
|
Literal["center", "left", "right"],
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
trim: Optional[
|
|
Union[
|
|
Breakpoints[str, Literal["both", "end", "normal", "start"]],
|
|
Literal["both", "end", "normal", "start"],
|
|
Var[
|
|
Union[
|
|
Breakpoints[str, Literal["both", "end", "normal", "start"]],
|
|
Literal["both", "end", "normal", "start"],
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
color_scheme: Optional[
|
|
Union[
|
|
Literal[
|
|
"amber",
|
|
"blue",
|
|
"bronze",
|
|
"brown",
|
|
"crimson",
|
|
"cyan",
|
|
"gold",
|
|
"grass",
|
|
"gray",
|
|
"green",
|
|
"indigo",
|
|
"iris",
|
|
"jade",
|
|
"lime",
|
|
"mint",
|
|
"orange",
|
|
"pink",
|
|
"plum",
|
|
"purple",
|
|
"red",
|
|
"ruby",
|
|
"sky",
|
|
"teal",
|
|
"tomato",
|
|
"violet",
|
|
"yellow",
|
|
],
|
|
Var[
|
|
Literal[
|
|
"amber",
|
|
"blue",
|
|
"bronze",
|
|
"brown",
|
|
"crimson",
|
|
"cyan",
|
|
"gold",
|
|
"grass",
|
|
"gray",
|
|
"green",
|
|
"indigo",
|
|
"iris",
|
|
"jade",
|
|
"lime",
|
|
"mint",
|
|
"orange",
|
|
"pink",
|
|
"plum",
|
|
"purple",
|
|
"red",
|
|
"ruby",
|
|
"sky",
|
|
"teal",
|
|
"tomato",
|
|
"violet",
|
|
"yellow",
|
|
]
|
|
],
|
|
]
|
|
] = None,
|
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
access_key: Optional[Union[Var[str], str]] = None,
|
|
auto_capitalize: Optional[
|
|
Union[
|
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
]
|
|
] = None,
|
|
content_editable: Optional[
|
|
Union[
|
|
Literal["inherit", "plaintext-only", False, True],
|
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
]
|
|
] = 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[
|
|
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,
|
|
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,
|
|
class_name: Optional[Any] = None,
|
|
autofocus: Optional[bool] = None,
|
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
on_blur: Optional[EventType[()]] = None,
|
|
on_click: Optional[EventType[()]] = None,
|
|
on_context_menu: Optional[EventType[()]] = None,
|
|
on_double_click: Optional[EventType[()]] = None,
|
|
on_focus: Optional[EventType[()]] = None,
|
|
on_mount: Optional[EventType[()]] = None,
|
|
on_mouse_down: Optional[EventType[()]] = None,
|
|
on_mouse_enter: Optional[EventType[()]] = None,
|
|
on_mouse_leave: Optional[EventType[()]] = None,
|
|
on_mouse_move: Optional[EventType[()]] = None,
|
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
on_scroll: Optional[EventType[()]] = None,
|
|
on_unmount: Optional[EventType[()]] = None,
|
|
**props,
|
|
) -> "StickyLabel":
|
|
"""Create the sticky label.
|
|
|
|
Returns:
|
|
The sticky label.
|
|
"""
|
|
...
|
|
|
|
def add_style(self): ...
|
|
|
|
class StickyBadge(A):
|
|
@overload
|
|
@classmethod
|
|
def create( # type: ignore
|
|
cls,
|
|
*children,
|
|
download: Optional[Union[Var[Union[bool, str]], bool, str]] = None,
|
|
href: Optional[Union[Var[str], str]] = None,
|
|
href_lang: Optional[Union[Var[str], str]] = None,
|
|
media: Optional[Union[Var[str], str]] = None,
|
|
ping: Optional[Union[Var[str], str]] = None,
|
|
referrer_policy: Optional[
|
|
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,
|
|
rel: Optional[Union[Var[str], str]] = None,
|
|
target: Optional[
|
|
Union[
|
|
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[
|
|
Union[
|
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
]
|
|
] = None,
|
|
content_editable: Optional[
|
|
Union[
|
|
Literal["inherit", "plaintext-only", False, True],
|
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
]
|
|
] = 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[
|
|
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,
|
|
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,
|
|
class_name: Optional[Any] = None,
|
|
autofocus: Optional[bool] = None,
|
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
on_blur: Optional[EventType[()]] = None,
|
|
on_click: Optional[EventType[()]] = None,
|
|
on_context_menu: Optional[EventType[()]] = None,
|
|
on_double_click: Optional[EventType[()]] = None,
|
|
on_focus: Optional[EventType[()]] = None,
|
|
on_mount: Optional[EventType[()]] = None,
|
|
on_mouse_down: Optional[EventType[()]] = None,
|
|
on_mouse_enter: Optional[EventType[()]] = None,
|
|
on_mouse_leave: Optional[EventType[()]] = None,
|
|
on_mouse_move: Optional[EventType[()]] = None,
|
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
on_scroll: Optional[EventType[()]] = None,
|
|
on_unmount: Optional[EventType[()]] = None,
|
|
**props,
|
|
) -> "StickyBadge":
|
|
"""Create the sticky badge.
|
|
|
|
Returns:
|
|
The sticky badge.
|
|
"""
|
|
...
|
|
|
|
def add_style(self): ...
|
|
|
|
class StickyNamespace(ComponentNamespace):
|
|
label = staticmethod(StickyLabel.create)
|
|
logo = staticmethod(StickyLogo.create)
|
|
|
|
@staticmethod
|
|
def __call__(
|
|
*children,
|
|
download: Optional[Union[Var[Union[bool, str]], bool, str]] = None,
|
|
href: Optional[Union[Var[str], str]] = None,
|
|
href_lang: Optional[Union[Var[str], str]] = None,
|
|
media: Optional[Union[Var[str], str]] = None,
|
|
ping: Optional[Union[Var[str], str]] = None,
|
|
referrer_policy: Optional[
|
|
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,
|
|
rel: Optional[Union[Var[str], str]] = None,
|
|
target: Optional[
|
|
Union[
|
|
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[
|
|
Union[
|
|
Literal["characters", "none", "off", "on", "sentences", "words"],
|
|
Var[Literal["characters", "none", "off", "on", "sentences", "words"]],
|
|
]
|
|
] = None,
|
|
content_editable: Optional[
|
|
Union[
|
|
Literal["inherit", "plaintext-only", False, True],
|
|
Var[Literal["inherit", "plaintext-only", False, True]],
|
|
]
|
|
] = 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[
|
|
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,
|
|
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,
|
|
class_name: Optional[Any] = None,
|
|
autofocus: Optional[bool] = None,
|
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
on_blur: Optional[EventType[()]] = None,
|
|
on_click: Optional[EventType[()]] = None,
|
|
on_context_menu: Optional[EventType[()]] = None,
|
|
on_double_click: Optional[EventType[()]] = None,
|
|
on_focus: Optional[EventType[()]] = None,
|
|
on_mount: Optional[EventType[()]] = None,
|
|
on_mouse_down: Optional[EventType[()]] = None,
|
|
on_mouse_enter: Optional[EventType[()]] = None,
|
|
on_mouse_leave: Optional[EventType[()]] = None,
|
|
on_mouse_move: Optional[EventType[()]] = None,
|
|
on_mouse_out: Optional[EventType[()]] = None,
|
|
on_mouse_over: Optional[EventType[()]] = None,
|
|
on_mouse_up: Optional[EventType[()]] = None,
|
|
on_scroll: Optional[EventType[()]] = None,
|
|
on_unmount: Optional[EventType[()]] = None,
|
|
**props,
|
|
) -> "StickyBadge":
|
|
"""Create the sticky badge.
|
|
|
|
Returns:
|
|
The sticky badge.
|
|
"""
|
|
...
|
|
|
|
sticky = StickyNamespace()
|