
* Improve import times * add lazy loading to rx.el * add lazy loading to reflex core components * minor refactor * Get imports working with reflex web * get imports to work with all reflex examples * refactor to define imports only in the root. * lint * deadcode remove * update poetry deps * unit tests fix * app_harness fix * app_harness fix * pyi file generate * pyi file generate * sort pyi order * fix pyi * fix docker ci * rework pyi-generator * generate pyi for __init__ files * test pyright * test pyright ci * partial pyright fix * more pyright fix * pyright fix * fix pyi_generator * add rx.serializer and others * add future annotation import which fixes container CI, then also load recharts lazily * add new pyi files * pyright fix * minor fixes for reflex-web and flexdown * forward references for py38 * ruff fix * pyi fix * unit tests fix * reduce coverage to 68% * reduce coverage to 67% * reduce coverage to 66%as a workaround to coverage's rounding issue * reduce coverage to 66%as a workaround to coverage's rounding issue * exclude lazy_loader dependency review checks. * its lazy-loader * Add docstrings and regenerate pyi files * add link * address Pr comments * CI fix * partially address PR comments. * edit docstrings and fix integration tests * fix typo in docstring * pyi fix
63 lines
1.4 KiB
Python
63 lines
1.4 KiB
Python
"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
|
|
from typing import Union
|
|
|
|
from reflex.components.el.element import Element
|
|
from reflex.vars import Var as Var
|
|
|
|
from .base import BaseHTML
|
|
|
|
|
|
class Base(BaseHTML): # noqa: E742
|
|
"""Display the base element."""
|
|
|
|
tag = "base"
|
|
|
|
tag = "base"
|
|
href: Var[Union[str, int, bool]]
|
|
target: Var[Union[str, int, bool]]
|
|
|
|
|
|
class Head(BaseHTML): # noqa: E742
|
|
"""Display the head element."""
|
|
|
|
tag = "head"
|
|
|
|
|
|
class Link(BaseHTML): # noqa: E742
|
|
"""Display the link element."""
|
|
|
|
tag = "link"
|
|
|
|
cross_origin: Var[Union[str, int, bool]]
|
|
href: Var[Union[str, int, bool]]
|
|
href_lang: Var[Union[str, int, bool]]
|
|
integrity: Var[Union[str, int, bool]]
|
|
media: Var[Union[str, int, bool]]
|
|
referrer_policy: Var[Union[str, int, bool]]
|
|
rel: Var[Union[str, int, bool]]
|
|
sizes: Var[Union[str, int, bool]]
|
|
type: Var[Union[str, int, bool]]
|
|
|
|
|
|
class Meta(BaseHTML): # Inherits common attributes from BaseHTML
|
|
"""Display the meta element."""
|
|
|
|
tag = "meta"
|
|
char_set: Var[Union[str, int, bool]]
|
|
content: Var[Union[str, int, bool]]
|
|
http_equiv: Var[Union[str, int, bool]]
|
|
name: Var[Union[str, int, bool]]
|
|
|
|
|
|
class Title(Element): # noqa: E742
|
|
"""Display the title element."""
|
|
|
|
tag = "title"
|
|
|
|
|
|
base = Base.create
|
|
head = Head.create
|
|
link = Link.create
|
|
meta = Meta.create
|
|
title = Title.create
|