-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Refactor #2164
Merged
Merged
HTML Refactor #2164
Changes from 4 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b019619
Html refact
362ff22
Add comments
8048b56
Fix comments
6018965
Add noqa
15f1124
Update html and add path
eea3902
Lazy import modules in reflex (#2144)
picklelo 6f0b81d
Add ConnectionModel and ConnectionBanner to lazy components (#2167)
masenf 19830a5
form: only pass handleSubmit when on_submit is defined (#2162)
masenf bbb0982
Set is_hydrated var explicitly on rx.State (#2168)
ElijahAhianyo 05c2843
Fix CustomComponent rendering (#2169)
masenf 47fa946
bump up websockets (#2170)
martinxu9 b70a067
Bump to v0.3.3 (#2178)
picklelo 1cbda68
Add chat icon (#2181)
Alek99 8a6a19b
Hosting CLI: remove requirements generation when init, add back timeo…
martinxu9 d045b21
add in new no_of_lines prop for text (#2184)
tgberkeley 48c6ac2
Apply new pyi script (#2041)
Lendemor 93a966d
Fix missing lazy imports (#2187)
picklelo 8cca1b7
reflex_init_in_docker_test: export both frontend and backend (#2182)
masenf c74696c
Fix wrong modal sizes (#2183)
Alek99 4721c4f
[REF-723+] Upload with progress and cancellation (#1899)
masenf cdd351c
Bump to v0.3.4 (#2193)
picklelo 437e312
_valid_children and _invalid_children accessible from class (#2192)
Lendemor d77b700
Speed up reflex CLI imports (#2185)
picklelo 667d8ba
check_generated_pyi: fix diff checking (#2029)
masenf ff6b1e3
[fixup] _valid_children and _invalid_children pyi_generator and graph…
masenf a72d59d
pyproject.toml: upgrade httpx to 0.25.0 (#2013)
arnomoonens c7b3372
Fix import
7177b18
Merge branch 'main' into alek/htmlref
Alek99 5cce89a
Fix pre commit
e47491b
Added pyi and docs for them
166aafa
Grammar
ddf998f
Fix pyi
210474a
Fix pyi
7461722
Fix pyi
5124ccb
Remot precompile script
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py.""" | ||
from typing import Union | ||
|
||
from reflex.el.element import Element | ||
from reflex.vars import Var as Var_ | ||
|
||
|
||
class BaseHTML(Element): | ||
"""Base class for common attributes.""" | ||
|
||
# Provides a hint for generating a keyboard shortcut for the current element. | ||
access_key: Var_[Union[str, int, bool]] | ||
|
||
# Controls whether and how text input is automatically capitalized as it is entered/edited by the user. | ||
auto_capitalize: Var_[Union[str, int, bool]] | ||
|
||
# Indicates whether the element's content is editable. | ||
content_editable: Var_[Union[str, int, bool]] | ||
|
||
# Defines the ID of a <menu> element which will serve as the element's context menu. | ||
context_menu: Var_[Union[str, int, bool]] | ||
|
||
# Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) | ||
dir: Var_[Union[str, int, bool]] | ||
|
||
# Defines whether the element can be dragged. | ||
draggable: Var_[Union[str, int, bool]] | ||
|
||
# Hints what media types the media element is able to play. | ||
enter_key_hint: Var_[Union[str, int, bool]] | ||
|
||
# Defines whether the element is hidden. | ||
hidden: Var_[Union[str, int, bool]] | ||
|
||
# Defines the type of the element. | ||
input_mode: Var_[Union[str, int, bool]] | ||
|
||
# Defines the name of the element for metadata purposes. | ||
item_prop: Var_[Union[str, int, bool]] | ||
|
||
# Defines the language used in the element. | ||
lang: Var_[Union[str, int, bool]] | ||
|
||
# Defines the role of the element. | ||
role: Var_[Union[str, int, bool]] | ||
|
||
# Assigns a slot in a shadow DOM shadow tree to an element. | ||
slot: Var_[Union[str, int, bool]] | ||
|
||
# Defines whether the element may be checked for spelling errors. | ||
spell_check: Var_[Union[str, int, bool]] | ||
|
||
# Defines the position of the current element in the tabbing order. | ||
tab_index: Var_[Union[str, int, bool]] | ||
|
||
# Defines a tooltip for the element. | ||
title: Var_[Union[str, int, bool]] | ||
|
||
# Specifies whether the content of an element should be translated or not. | ||
translate: Var_[Union[str, int, bool]] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd like to read this type as
access_key: Var_[Attribute]
or maybeVar_[HTMLAttribute]
.something that reduces the complexity of what my brain has to grok to understand the line.