reflex 0.4.8.post1__py3-none-any.whl → 0.4.9a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of reflex might be problematic. Click here for more details.

Files changed (29) hide show
  1. reflex/components/component.py +10 -3
  2. reflex/components/core/debounce.py +4 -1
  3. reflex/constants/installer.py +0 -1
  4. reflex/experimental/__init__.py +2 -0
  5. reflex/experimental/hooks.py +19 -1
  6. reflex/experimental/layout.py +223 -0
  7. reflex/testing.py +23 -6
  8. reflex/utils/prerequisites.py +6 -4
  9. reflex/utils/processes.py +22 -1
  10. reflex/utils/serializers.py +14 -0
  11. reflex/vars.py +1 -1
  12. {reflex-0.4.8.post1.dist-info → reflex-0.4.9a1.dist-info}/METADATA +1 -1
  13. {reflex-0.4.8.post1.dist-info → reflex-0.4.9a1.dist-info}/RECORD +16 -28
  14. reflex/components/radix/themes/components/alertdialog.pyi +0 -1128
  15. reflex/components/radix/themes/components/aspectratio.pyi +0 -162
  16. reflex/components/radix/themes/components/contextmenu.pyi +0 -1249
  17. reflex/components/radix/themes/components/dropdownmenu.pyi +0 -1350
  18. reflex/components/radix/themes/components/hovercard.pyi +0 -700
  19. reflex/components/radix/themes/components/iconbutton.pyi +0 -284
  20. reflex/components/radix/themes/components/radiogroup.pyi +0 -701
  21. reflex/components/radix/themes/components/scrollarea.pyi +0 -176
  22. reflex/components/radix/themes/components/textfield.pyi +0 -1092
  23. reflex/components/radix/themes/typography/em.pyi +0 -213
  24. reflex/components/radix/themes/typography/kbd.pyi +0 -222
  25. reflex/components/radix/themes/typography/quote.pyi +0 -215
  26. reflex/components/radix/themes/typography/strong.pyi +0 -213
  27. {reflex-0.4.8.post1.dist-info → reflex-0.4.9a1.dist-info}/LICENSE +0 -0
  28. {reflex-0.4.8.post1.dist-info → reflex-0.4.9a1.dist-info}/WHEEL +0 -0
  29. {reflex-0.4.8.post1.dist-info → reflex-0.4.9a1.dist-info}/entry_points.txt +0 -0
@@ -1,176 +0,0 @@
1
- """Stub file for reflex/components/radix/themes/components/scrollarea.py"""
2
- # ------------------- DO NOT EDIT ----------------------
3
- # This file was generated by `scripts/pyi_generator.py`!
4
- # ------------------------------------------------------
5
-
6
- from typing import Any, Dict, Literal, Optional, Union, overload
7
- from reflex.vars import Var, BaseVar, ComputedVar
8
- from reflex.event import EventChain, EventHandler, EventSpec
9
- from reflex.style import Style
10
- from typing import Literal
11
- from reflex.vars import Var
12
- from ..base import RadixThemesComponent
13
-
14
- class ScrollArea(RadixThemesComponent):
15
- @overload
16
- @classmethod
17
- def create( # type: ignore
18
- cls,
19
- *children,
20
- color: Optional[Union[Var[str], str]] = None,
21
- color_scheme: Optional[
22
- Union[
23
- Var[
24
- Literal[
25
- "tomato",
26
- "red",
27
- "ruby",
28
- "crimson",
29
- "pink",
30
- "plum",
31
- "purple",
32
- "violet",
33
- "iris",
34
- "indigo",
35
- "blue",
36
- "cyan",
37
- "teal",
38
- "jade",
39
- "green",
40
- "grass",
41
- "brown",
42
- "orange",
43
- "sky",
44
- "mint",
45
- "lime",
46
- "yellow",
47
- "amber",
48
- "gold",
49
- "bronze",
50
- "gray",
51
- ]
52
- ],
53
- Literal[
54
- "tomato",
55
- "red",
56
- "ruby",
57
- "crimson",
58
- "pink",
59
- "plum",
60
- "purple",
61
- "violet",
62
- "iris",
63
- "indigo",
64
- "blue",
65
- "cyan",
66
- "teal",
67
- "jade",
68
- "green",
69
- "grass",
70
- "brown",
71
- "orange",
72
- "sky",
73
- "mint",
74
- "lime",
75
- "yellow",
76
- "amber",
77
- "gold",
78
- "bronze",
79
- "gray",
80
- ],
81
- ]
82
- ] = None,
83
- scrollbars: Optional[
84
- Union[
85
- Var[Literal["vertical", "horizontal", "both"]],
86
- Literal["vertical", "horizontal", "both"],
87
- ]
88
- ] = None,
89
- type_: Optional[
90
- Union[
91
- Var[Literal["auto", "always", "scroll", "hover"]],
92
- Literal["auto", "always", "scroll", "hover"],
93
- ]
94
- ] = None,
95
- scroll_hide_delay: Optional[Union[Var[int], int]] = None,
96
- style: Optional[Style] = None,
97
- key: Optional[Any] = None,
98
- id: Optional[Any] = None,
99
- class_name: Optional[Any] = None,
100
- autofocus: Optional[bool] = None,
101
- _rename_props: Optional[Dict[str, str]] = None,
102
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
103
- on_blur: Optional[
104
- Union[EventHandler, EventSpec, list, function, BaseVar]
105
- ] = None,
106
- on_click: Optional[
107
- Union[EventHandler, EventSpec, list, function, BaseVar]
108
- ] = None,
109
- on_context_menu: Optional[
110
- Union[EventHandler, EventSpec, list, function, BaseVar]
111
- ] = None,
112
- on_double_click: Optional[
113
- Union[EventHandler, EventSpec, list, function, BaseVar]
114
- ] = None,
115
- on_focus: Optional[
116
- Union[EventHandler, EventSpec, list, function, BaseVar]
117
- ] = None,
118
- on_mount: Optional[
119
- Union[EventHandler, EventSpec, list, function, BaseVar]
120
- ] = None,
121
- on_mouse_down: Optional[
122
- Union[EventHandler, EventSpec, list, function, BaseVar]
123
- ] = None,
124
- on_mouse_enter: Optional[
125
- Union[EventHandler, EventSpec, list, function, BaseVar]
126
- ] = None,
127
- on_mouse_leave: Optional[
128
- Union[EventHandler, EventSpec, list, function, BaseVar]
129
- ] = None,
130
- on_mouse_move: Optional[
131
- Union[EventHandler, EventSpec, list, function, BaseVar]
132
- ] = None,
133
- on_mouse_out: Optional[
134
- Union[EventHandler, EventSpec, list, function, BaseVar]
135
- ] = None,
136
- on_mouse_over: Optional[
137
- Union[EventHandler, EventSpec, list, function, BaseVar]
138
- ] = None,
139
- on_mouse_up: Optional[
140
- Union[EventHandler, EventSpec, list, function, BaseVar]
141
- ] = None,
142
- on_scroll: Optional[
143
- Union[EventHandler, EventSpec, list, function, BaseVar]
144
- ] = None,
145
- on_unmount: Optional[
146
- Union[EventHandler, EventSpec, list, function, BaseVar]
147
- ] = None,
148
- **props
149
- ) -> "ScrollArea":
150
- """Create a new component instance.
151
-
152
- Will prepend "RadixThemes" to the component tag to avoid conflicts with
153
- other UI libraries for common names, like Text and Button.
154
-
155
- Args:
156
- *children: Child components.
157
- color: map to CSS default color property.
158
- color_scheme: map to radix color property.
159
- scrollbars: The alignment of the scroll area
160
- type_: Describes the nature of scrollbar visibility, similar to how the scrollbar preferences in MacOS control visibility of native scrollbars. "auto" | "always" | "scroll" | "hover"
161
- scroll_hide_delay: If type is set to either "scroll" or "hover", this prop determines the length of time, in milliseconds, before the scrollbars are hidden after the user stops interacting with scrollbars.
162
- style: The style of the component.
163
- key: A unique key for the component.
164
- id: The id for the component.
165
- class_name: The class name for the component.
166
- autofocus: Whether the component should take the focus once the page is loaded
167
- _rename_props: props to change the name of
168
- custom_attrs: custom attribute
169
- **props: Component properties.
170
-
171
- Returns:
172
- A new component instance.
173
- """
174
- ...
175
-
176
- scroll_area = ScrollArea.create