Skip to content

Commit

Permalink
Re-generate pyi files
Browse files Browse the repository at this point in the history
  • Loading branch information
tankztz committed Jan 30, 2024
1 parent b06c4ab commit ae5bf3a
Show file tree
Hide file tree
Showing 157 changed files with 1,088 additions and 1 deletion.
1 change: 1 addition & 0 deletions reflex/components/base/app_wrap.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class AppWrap(Fragment):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/base/body.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Body(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -77,6 +78,7 @@ class Body(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
10 changes: 10 additions & 0 deletions reflex/components/base/document.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class NextDocumentLib(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -77,6 +78,7 @@ class NextDocumentLib(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -99,6 +101,7 @@ class Html(NextDocumentLib):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -156,6 +159,7 @@ class Html(NextDocumentLib):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -178,6 +182,7 @@ class DocumentHead(NextDocumentLib):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -235,6 +240,7 @@ class DocumentHead(NextDocumentLib):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -257,6 +263,7 @@ class Main(NextDocumentLib):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -314,6 +321,7 @@ class Main(NextDocumentLib):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -336,6 +344,7 @@ class NextScript(NextDocumentLib):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -393,6 +402,7 @@ class NextScript(NextDocumentLib):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/base/fragment.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Fragment(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -77,6 +78,7 @@ class Fragment(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
4 changes: 4 additions & 0 deletions reflex/components/base/head.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class NextHeadLib(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -77,6 +78,7 @@ class NextHeadLib(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -99,6 +101,7 @@ class Head(NextHeadLib, MemoizationLeaf):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -156,6 +159,7 @@ class Head(NextHeadLib, MemoizationLeaf):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
4 changes: 4 additions & 0 deletions reflex/components/base/link.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class RawLink(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -82,6 +83,7 @@ class RawLink(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down Expand Up @@ -111,6 +113,7 @@ class ScriptTag(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -175,6 +178,7 @@ class ScriptTag(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
8 changes: 8 additions & 0 deletions reflex/components/base/meta.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Title(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -80,6 +81,7 @@ class Title(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down Expand Up @@ -107,6 +109,7 @@ class Meta(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -169,6 +172,7 @@ class Meta(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down Expand Up @@ -196,6 +200,7 @@ class Description(Meta):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -258,6 +263,7 @@ class Description(Meta):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down Expand Up @@ -285,6 +291,7 @@ class Image(Meta):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -347,6 +354,7 @@ class Image(Meta):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/base/script.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Script(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -102,6 +103,7 @@ class Script(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
7 changes: 7 additions & 0 deletions reflex/components/chakra/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ChakraComponent(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -82,6 +83,7 @@ class ChakraComponent(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -105,6 +107,7 @@ class Global(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -162,6 +165,7 @@ class Global(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand All @@ -185,6 +189,7 @@ class ChakraProvider(ChakraComponent):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -253,6 +258,7 @@ class ChakraColorModeProvider(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -310,6 +316,7 @@ class ChakraColorModeProvider(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/chakra/datadisplay/badge.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Badge(ChakraComponent):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -87,6 +88,7 @@ class Badge(ChakraComponent):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
4 changes: 4 additions & 0 deletions reflex/components/chakra/datadisplay/code.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ class CodeBlock(Component):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -1103,6 +1104,7 @@ class CodeBlock(Component):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props to pass to the component.
Expand All @@ -1122,6 +1124,7 @@ class Code(ChakraComponent):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -1179,6 +1182,7 @@ class Code(ChakraComponent):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/chakra/datadisplay/divider.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Divider(ChakraComponent):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -92,6 +93,7 @@ class Divider(ChakraComponent):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
2 changes: 2 additions & 0 deletions reflex/components/chakra/datadisplay/keyboard_key.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class KeyboardKey(ChakraComponent):
id: Optional[Any] = None,
class_name: Optional[Any] = None,
autofocus: Optional[bool] = None,
_valid_parents: Optional[List[str]] = None,
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
on_blur: Optional[
Union[EventHandler, EventSpec, list, function, BaseVar]
Expand Down Expand Up @@ -77,6 +78,7 @@ class KeyboardKey(ChakraComponent):
id: The id for the component.
class_name: The class name for the component.
autofocus: Whether the component should take the focus once the page is loaded
_valid_parents: only components that are allowed as parent
custom_attrs: custom attribute
**props: The props of the component.
Expand Down
Loading

0 comments on commit ae5bf3a

Please sign in to comment.