reflex/reflex/components/el/elements/sectioning.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

111 lines
1.7 KiB
Python

"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
from .base import BaseHTML
class Body(BaseHTML): # noqa: E742
"""Display the body element."""
tag = "body"
class Address(BaseHTML): # noqa: E742
"""Display the address element."""
tag = "address"
class Article(BaseHTML): # noqa: E742
"""Display the article element."""
tag = "article"
class Aside(BaseHTML): # noqa: E742
"""Display the aside element."""
tag = "aside"
class Footer(BaseHTML): # noqa: E742
"""Display the footer element."""
tag = "footer"
class Header(BaseHTML): # noqa: E742
"""Display the header element."""
tag = "header"
class H1(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h1"
class H2(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h2"
class H3(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h3"
class H4(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h4"
class H5(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h5"
class H6(BaseHTML): # noqa: E742
"""Display the h1 element."""
tag = "h6"
class Main(BaseHTML): # noqa: E742
"""Display the main element."""
tag = "main"
class Nav(BaseHTML): # noqa: E742
"""Display the nav element."""
tag = "nav"
class Section(BaseHTML): # noqa: E742
"""Display the section element."""
tag = "section"
address = Address.create
article = Article.create
aside = Aside.create
body = Body.create
header = Header.create
footer = Footer.create
h1 = H1.create
h2 = H2.create
h3 = H3.create
h4 = H4.create
h5 = H5.create
h6 = H6.create
main = Main.create
nav = Nav.create
section = Section.create