reflex/reflex/components/el/elements/inline.py
Khaleel Al-Adhami 085b761f6b
replace old var system with immutable one (#3916)
* delete most references to varr

* [REF-3562][REF-3563] Replace chakra usage (#3872)

* only one mention of var

* delete vars.py why not

* remove reflex.vars

* rename immutable var to var

* rename ivars to vars

* add vars back smh

* ruff

* no more create_safe

* reorder deprecated

* remove raises

* remove all Var.create

* move to new api

* fix unit tests

* fix pyi hopefully

* sort literals

* fix event handler issues

* update poetry

* fix silly issues i'm very silly

* add var_operation_return

* rename immutable to not immutable

* add str type

* it's ruff out there

---------

Co-authored-by: Elijah Ahianyo <elijahahianyo@gmail.com>
2024-09-13 16:01:52 -07:00

242 lines
4.0 KiB
Python

"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
from typing import Union
from reflex.vars.base import Var
from .base import BaseHTML
class A(BaseHTML): # Inherits common attributes from BaseMeta
"""Display the 'a' element."""
tag = "a"
# 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]]
# Specifies the URL of the page the link goes to
href: Var[Union[str, int, bool]]
# Specifies the language of the linked document
href_lang: Var[Union[str, int, bool]]
# Specifies what media/device the linked document is optimized for
media: Var[Union[str, int, bool]]
# Specifies which referrer is sent when fetching the resource
ping: Var[Union[str, int, bool]]
# Specifies the relationship between the current document and the linked document
referrer_policy: Var[Union[str, int, bool]]
# Specifies the relationship between the linked document and the current document
rel: Var[Union[str, int, bool]]
# Specifies the shape of the area
shape: Var[Union[str, int, bool]]
# Specifies where to open the linked document
target: Var[Union[str, int, bool]]
class Abbr(BaseHTML):
"""Display the abbr element."""
tag = "abbr"
class B(BaseHTML):
"""Display the b element."""
tag = "b"
class Bdi(BaseHTML):
"""Display the bdi element."""
tag = "bdi"
class Bdo(BaseHTML):
"""Display the bdo element."""
tag = "bdo"
class Br(BaseHTML):
"""Display the br element."""
tag = "br"
class Cite(BaseHTML):
"""Display the cite element."""
tag = "cite"
class Code(BaseHTML):
"""Display the code element."""
tag = "code"
class Data(BaseHTML):
"""Display the data element."""
tag = "data"
# Specifies the machine-readable translation of the data element.
value: Var[Union[str, int, bool]]
class Dfn(BaseHTML):
"""Display the dfn element."""
tag = "dfn"
class Em(BaseHTML):
"""Display the em element."""
tag = "em"
class I(BaseHTML): # noqa: E742
"""Display the i element."""
tag = "i"
class Kbd(BaseHTML):
"""Display the kbd element."""
tag = "kbd"
class Mark(BaseHTML):
"""Display the mark element."""
tag = "mark"
class Q(BaseHTML):
"""Display the q element."""
tag = "q"
# Specifies the source URL of the quote.
cite: Var[Union[str, int, bool]]
class Rp(BaseHTML):
"""Display the rp element."""
tag = "rp"
class Rt(BaseHTML):
"""Display the rt element."""
tag = "rt"
class Ruby(BaseHTML):
"""Display the ruby element."""
tag = "ruby"
class S(BaseHTML):
"""Display the s element."""
tag = "s"
class Samp(BaseHTML):
"""Display the samp element."""
tag = "samp"
class Small(BaseHTML):
"""Display the small element."""
tag = "small"
class Span(BaseHTML):
"""Display the span element."""
tag = "span"
class Strong(BaseHTML):
"""Display the strong element."""
tag = "strong"
class Sub(BaseHTML):
"""Display the sub element."""
tag = "sub"
class Sup(BaseHTML):
"""Display the sup element."""
tag = "sup"
class Time(BaseHTML):
"""Display the time element."""
tag = "time"
# Specifies the date and/or time of the element.
date_time: Var[Union[str, int, bool]]
class U(BaseHTML):
"""Display the u element."""
tag = "u"
class Wbr(BaseHTML):
"""Display the wbr element."""
tag = "wbr"
a = A.create
abbr = Abbr.create
b = B.create
bdi = Bdi.create
bdo = Bdo.create
br = Br.create
cite = Cite.create
code = Code.create
data = Data.create
dfn = Dfn.create
em = Em.create
i = I.create
kbd = Kbd.create
mark = Mark.create
q = Q.create
rp = Rp.create
rt = Rt.create
ruby = Ruby.create
s = S.create
samp = Samp.create
small = Small.create
span = Span.create
strong = Strong.create
sub = Sub.create
sup = Sup.create
time = Time.create
u = U.create
wbr = Wbr.create