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,213 +0,0 @@
1
- """Stub file for reflex/components/radix/themes/typography/em.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 reflex import el
11
- from ..base import RadixThemesComponent
12
-
13
- class Em(el.Em, RadixThemesComponent):
14
- @overload
15
- @classmethod
16
- def create( # type: ignore
17
- cls,
18
- *children,
19
- color: Optional[Union[Var[str], str]] = None,
20
- color_scheme: Optional[
21
- Union[
22
- Var[
23
- Literal[
24
- "tomato",
25
- "red",
26
- "ruby",
27
- "crimson",
28
- "pink",
29
- "plum",
30
- "purple",
31
- "violet",
32
- "iris",
33
- "indigo",
34
- "blue",
35
- "cyan",
36
- "teal",
37
- "jade",
38
- "green",
39
- "grass",
40
- "brown",
41
- "orange",
42
- "sky",
43
- "mint",
44
- "lime",
45
- "yellow",
46
- "amber",
47
- "gold",
48
- "bronze",
49
- "gray",
50
- ]
51
- ],
52
- Literal[
53
- "tomato",
54
- "red",
55
- "ruby",
56
- "crimson",
57
- "pink",
58
- "plum",
59
- "purple",
60
- "violet",
61
- "iris",
62
- "indigo",
63
- "blue",
64
- "cyan",
65
- "teal",
66
- "jade",
67
- "green",
68
- "grass",
69
- "brown",
70
- "orange",
71
- "sky",
72
- "mint",
73
- "lime",
74
- "yellow",
75
- "amber",
76
- "gold",
77
- "bronze",
78
- "gray",
79
- ],
80
- ]
81
- ] = None,
82
- access_key: Optional[
83
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
84
- ] = None,
85
- auto_capitalize: Optional[
86
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
87
- ] = None,
88
- content_editable: Optional[
89
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
90
- ] = None,
91
- context_menu: Optional[
92
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
93
- ] = None,
94
- dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
95
- draggable: Optional[
96
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
97
- ] = None,
98
- enter_key_hint: Optional[
99
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
100
- ] = None,
101
- hidden: Optional[
102
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
103
- ] = None,
104
- input_mode: Optional[
105
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
106
- ] = None,
107
- item_prop: Optional[
108
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
109
- ] = None,
110
- lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
111
- role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
112
- slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
113
- spell_check: Optional[
114
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
115
- ] = None,
116
- tab_index: Optional[
117
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
118
- ] = None,
119
- title: Optional[
120
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
121
- ] = None,
122
- style: Optional[Style] = None,
123
- key: Optional[Any] = None,
124
- id: Optional[Any] = None,
125
- class_name: Optional[Any] = None,
126
- autofocus: Optional[bool] = None,
127
- _rename_props: Optional[Dict[str, str]] = None,
128
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
129
- on_blur: Optional[
130
- Union[EventHandler, EventSpec, list, function, BaseVar]
131
- ] = None,
132
- on_click: Optional[
133
- Union[EventHandler, EventSpec, list, function, BaseVar]
134
- ] = None,
135
- on_context_menu: Optional[
136
- Union[EventHandler, EventSpec, list, function, BaseVar]
137
- ] = None,
138
- on_double_click: Optional[
139
- Union[EventHandler, EventSpec, list, function, BaseVar]
140
- ] = None,
141
- on_focus: Optional[
142
- Union[EventHandler, EventSpec, list, function, BaseVar]
143
- ] = None,
144
- on_mount: Optional[
145
- Union[EventHandler, EventSpec, list, function, BaseVar]
146
- ] = None,
147
- on_mouse_down: Optional[
148
- Union[EventHandler, EventSpec, list, function, BaseVar]
149
- ] = None,
150
- on_mouse_enter: Optional[
151
- Union[EventHandler, EventSpec, list, function, BaseVar]
152
- ] = None,
153
- on_mouse_leave: Optional[
154
- Union[EventHandler, EventSpec, list, function, BaseVar]
155
- ] = None,
156
- on_mouse_move: Optional[
157
- Union[EventHandler, EventSpec, list, function, BaseVar]
158
- ] = None,
159
- on_mouse_out: Optional[
160
- Union[EventHandler, EventSpec, list, function, BaseVar]
161
- ] = None,
162
- on_mouse_over: Optional[
163
- Union[EventHandler, EventSpec, list, function, BaseVar]
164
- ] = None,
165
- on_mouse_up: Optional[
166
- Union[EventHandler, EventSpec, list, function, BaseVar]
167
- ] = None,
168
- on_scroll: Optional[
169
- Union[EventHandler, EventSpec, list, function, BaseVar]
170
- ] = None,
171
- on_unmount: Optional[
172
- Union[EventHandler, EventSpec, list, function, BaseVar]
173
- ] = None,
174
- **props
175
- ) -> "Em":
176
- """Create a new component instance.
177
-
178
- Will prepend "RadixThemes" to the component tag to avoid conflicts with
179
- other UI libraries for common names, like Text and Button.
180
-
181
- Args:
182
- *children: Child components.
183
- color: map to CSS default color property.
184
- color_scheme: map to radix color property.
185
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
186
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
187
- content_editable: Indicates whether the element's content is editable.
188
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
189
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
190
- draggable: Defines whether the element can be dragged.
191
- enter_key_hint: Hints what media types the media element is able to play.
192
- hidden: Defines whether the element is hidden.
193
- input_mode: Defines the type of the element.
194
- item_prop: Defines the name of the element for metadata purposes.
195
- lang: Defines the language used in the element.
196
- role: Defines the role of the element.
197
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
198
- spell_check: Defines whether the element may be checked for spelling errors.
199
- tab_index: Defines the position of the current element in the tabbing order.
200
- title: Defines a tooltip for the element.
201
- style: The style of the component.
202
- key: A unique key for the component.
203
- id: The id for the component.
204
- class_name: The class name for the component.
205
- autofocus: Whether the component should take the focus once the page is loaded
206
- _rename_props: props to change the name of
207
- custom_attrs: custom attribute
208
- **props: Component properties.
209
-
210
- Returns:
211
- A new component instance.
212
- """
213
- ...
@@ -1,222 +0,0 @@
1
- """Stub file for reflex/components/radix/themes/typography/kbd.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 reflex import el
11
- from reflex.vars import Var
12
- from ..base import RadixThemesComponent
13
- from .base import LiteralTextSize
14
-
15
- class Kbd(el.Kbd, RadixThemesComponent):
16
- @overload
17
- @classmethod
18
- def create( # type: ignore
19
- cls,
20
- *children,
21
- color: Optional[Union[Var[str], str]] = None,
22
- color_scheme: Optional[
23
- Union[
24
- Var[
25
- Literal[
26
- "tomato",
27
- "red",
28
- "ruby",
29
- "crimson",
30
- "pink",
31
- "plum",
32
- "purple",
33
- "violet",
34
- "iris",
35
- "indigo",
36
- "blue",
37
- "cyan",
38
- "teal",
39
- "jade",
40
- "green",
41
- "grass",
42
- "brown",
43
- "orange",
44
- "sky",
45
- "mint",
46
- "lime",
47
- "yellow",
48
- "amber",
49
- "gold",
50
- "bronze",
51
- "gray",
52
- ]
53
- ],
54
- Literal[
55
- "tomato",
56
- "red",
57
- "ruby",
58
- "crimson",
59
- "pink",
60
- "plum",
61
- "purple",
62
- "violet",
63
- "iris",
64
- "indigo",
65
- "blue",
66
- "cyan",
67
- "teal",
68
- "jade",
69
- "green",
70
- "grass",
71
- "brown",
72
- "orange",
73
- "sky",
74
- "mint",
75
- "lime",
76
- "yellow",
77
- "amber",
78
- "gold",
79
- "bronze",
80
- "gray",
81
- ],
82
- ]
83
- ] = None,
84
- size: Optional[
85
- Union[
86
- Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
87
- Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
88
- ]
89
- ] = None,
90
- access_key: Optional[
91
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
92
- ] = None,
93
- auto_capitalize: Optional[
94
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
95
- ] = None,
96
- content_editable: Optional[
97
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
98
- ] = None,
99
- context_menu: Optional[
100
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
101
- ] = None,
102
- dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
103
- draggable: Optional[
104
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
105
- ] = None,
106
- enter_key_hint: Optional[
107
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
108
- ] = None,
109
- hidden: Optional[
110
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
111
- ] = None,
112
- input_mode: Optional[
113
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
114
- ] = None,
115
- item_prop: Optional[
116
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
117
- ] = None,
118
- lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
119
- role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
120
- slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
121
- spell_check: Optional[
122
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
123
- ] = None,
124
- tab_index: Optional[
125
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
126
- ] = None,
127
- title: Optional[
128
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
129
- ] = None,
130
- style: Optional[Style] = None,
131
- key: Optional[Any] = None,
132
- id: Optional[Any] = None,
133
- class_name: Optional[Any] = None,
134
- autofocus: Optional[bool] = None,
135
- _rename_props: Optional[Dict[str, str]] = None,
136
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
137
- on_blur: Optional[
138
- Union[EventHandler, EventSpec, list, function, BaseVar]
139
- ] = None,
140
- on_click: Optional[
141
- Union[EventHandler, EventSpec, list, function, BaseVar]
142
- ] = None,
143
- on_context_menu: Optional[
144
- Union[EventHandler, EventSpec, list, function, BaseVar]
145
- ] = None,
146
- on_double_click: Optional[
147
- Union[EventHandler, EventSpec, list, function, BaseVar]
148
- ] = None,
149
- on_focus: Optional[
150
- Union[EventHandler, EventSpec, list, function, BaseVar]
151
- ] = None,
152
- on_mount: Optional[
153
- Union[EventHandler, EventSpec, list, function, BaseVar]
154
- ] = None,
155
- on_mouse_down: Optional[
156
- Union[EventHandler, EventSpec, list, function, BaseVar]
157
- ] = None,
158
- on_mouse_enter: Optional[
159
- Union[EventHandler, EventSpec, list, function, BaseVar]
160
- ] = None,
161
- on_mouse_leave: Optional[
162
- Union[EventHandler, EventSpec, list, function, BaseVar]
163
- ] = None,
164
- on_mouse_move: Optional[
165
- Union[EventHandler, EventSpec, list, function, BaseVar]
166
- ] = None,
167
- on_mouse_out: Optional[
168
- Union[EventHandler, EventSpec, list, function, BaseVar]
169
- ] = None,
170
- on_mouse_over: Optional[
171
- Union[EventHandler, EventSpec, list, function, BaseVar]
172
- ] = None,
173
- on_mouse_up: Optional[
174
- Union[EventHandler, EventSpec, list, function, BaseVar]
175
- ] = None,
176
- on_scroll: Optional[
177
- Union[EventHandler, EventSpec, list, function, BaseVar]
178
- ] = None,
179
- on_unmount: Optional[
180
- Union[EventHandler, EventSpec, list, function, BaseVar]
181
- ] = None,
182
- **props
183
- ) -> "Kbd":
184
- """Create a new component instance.
185
-
186
- Will prepend "RadixThemes" to the component tag to avoid conflicts with
187
- other UI libraries for common names, like Text and Button.
188
-
189
- Args:
190
- *children: Child components.
191
- color: map to CSS default color property.
192
- color_scheme: map to radix color property.
193
- size: Text size: "1" - "9"
194
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
195
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
196
- content_editable: Indicates whether the element's content is editable.
197
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
198
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
199
- draggable: Defines whether the element can be dragged.
200
- enter_key_hint: Hints what media types the media element is able to play.
201
- hidden: Defines whether the element is hidden.
202
- input_mode: Defines the type of the element.
203
- item_prop: Defines the name of the element for metadata purposes.
204
- lang: Defines the language used in the element.
205
- role: Defines the role of the element.
206
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
207
- spell_check: Defines whether the element may be checked for spelling errors.
208
- tab_index: Defines the position of the current element in the tabbing order.
209
- title: Defines a tooltip for the element.
210
- style: The style of the component.
211
- key: A unique key for the component.
212
- id: The id for the component.
213
- class_name: The class name for the component.
214
- autofocus: Whether the component should take the focus once the page is loaded
215
- _rename_props: props to change the name of
216
- custom_attrs: custom attribute
217
- **props: Component properties.
218
-
219
- Returns:
220
- A new component instance.
221
- """
222
- ...
@@ -1,215 +0,0 @@
1
- """Stub file for reflex/components/radix/themes/typography/quote.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 reflex import el
11
- from ..base import RadixThemesComponent
12
-
13
- class Quote(el.Q, RadixThemesComponent):
14
- @overload
15
- @classmethod
16
- def create( # type: ignore
17
- cls,
18
- *children,
19
- color: Optional[Union[Var[str], str]] = None,
20
- color_scheme: Optional[
21
- Union[
22
- Var[
23
- Literal[
24
- "tomato",
25
- "red",
26
- "ruby",
27
- "crimson",
28
- "pink",
29
- "plum",
30
- "purple",
31
- "violet",
32
- "iris",
33
- "indigo",
34
- "blue",
35
- "cyan",
36
- "teal",
37
- "jade",
38
- "green",
39
- "grass",
40
- "brown",
41
- "orange",
42
- "sky",
43
- "mint",
44
- "lime",
45
- "yellow",
46
- "amber",
47
- "gold",
48
- "bronze",
49
- "gray",
50
- ]
51
- ],
52
- Literal[
53
- "tomato",
54
- "red",
55
- "ruby",
56
- "crimson",
57
- "pink",
58
- "plum",
59
- "purple",
60
- "violet",
61
- "iris",
62
- "indigo",
63
- "blue",
64
- "cyan",
65
- "teal",
66
- "jade",
67
- "green",
68
- "grass",
69
- "brown",
70
- "orange",
71
- "sky",
72
- "mint",
73
- "lime",
74
- "yellow",
75
- "amber",
76
- "gold",
77
- "bronze",
78
- "gray",
79
- ],
80
- ]
81
- ] = None,
82
- cite: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
83
- access_key: Optional[
84
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
85
- ] = None,
86
- auto_capitalize: Optional[
87
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
88
- ] = None,
89
- content_editable: Optional[
90
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
91
- ] = None,
92
- context_menu: Optional[
93
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
94
- ] = None,
95
- dir: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
96
- draggable: Optional[
97
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
98
- ] = None,
99
- enter_key_hint: Optional[
100
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
101
- ] = None,
102
- hidden: Optional[
103
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
104
- ] = None,
105
- input_mode: Optional[
106
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
107
- ] = None,
108
- item_prop: Optional[
109
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
110
- ] = None,
111
- lang: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
112
- role: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
113
- slot: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
114
- spell_check: Optional[
115
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
116
- ] = None,
117
- tab_index: Optional[
118
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
119
- ] = None,
120
- title: Optional[
121
- Union[Var[Union[str, int, bool]], Union[str, int, bool]]
122
- ] = None,
123
- style: Optional[Style] = None,
124
- key: Optional[Any] = None,
125
- id: Optional[Any] = None,
126
- class_name: Optional[Any] = None,
127
- autofocus: Optional[bool] = None,
128
- _rename_props: Optional[Dict[str, str]] = None,
129
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
130
- on_blur: Optional[
131
- Union[EventHandler, EventSpec, list, function, BaseVar]
132
- ] = None,
133
- on_click: Optional[
134
- Union[EventHandler, EventSpec, list, function, BaseVar]
135
- ] = None,
136
- on_context_menu: Optional[
137
- Union[EventHandler, EventSpec, list, function, BaseVar]
138
- ] = None,
139
- on_double_click: Optional[
140
- Union[EventHandler, EventSpec, list, function, BaseVar]
141
- ] = None,
142
- on_focus: Optional[
143
- Union[EventHandler, EventSpec, list, function, BaseVar]
144
- ] = None,
145
- on_mount: Optional[
146
- Union[EventHandler, EventSpec, list, function, BaseVar]
147
- ] = None,
148
- on_mouse_down: Optional[
149
- Union[EventHandler, EventSpec, list, function, BaseVar]
150
- ] = None,
151
- on_mouse_enter: Optional[
152
- Union[EventHandler, EventSpec, list, function, BaseVar]
153
- ] = None,
154
- on_mouse_leave: Optional[
155
- Union[EventHandler, EventSpec, list, function, BaseVar]
156
- ] = None,
157
- on_mouse_move: Optional[
158
- Union[EventHandler, EventSpec, list, function, BaseVar]
159
- ] = None,
160
- on_mouse_out: Optional[
161
- Union[EventHandler, EventSpec, list, function, BaseVar]
162
- ] = None,
163
- on_mouse_over: Optional[
164
- Union[EventHandler, EventSpec, list, function, BaseVar]
165
- ] = None,
166
- on_mouse_up: Optional[
167
- Union[EventHandler, EventSpec, list, function, BaseVar]
168
- ] = None,
169
- on_scroll: Optional[
170
- Union[EventHandler, EventSpec, list, function, BaseVar]
171
- ] = None,
172
- on_unmount: Optional[
173
- Union[EventHandler, EventSpec, list, function, BaseVar]
174
- ] = None,
175
- **props
176
- ) -> "Quote":
177
- """Create a new component instance.
178
-
179
- Will prepend "RadixThemes" to the component tag to avoid conflicts with
180
- other UI libraries for common names, like Text and Button.
181
-
182
- Args:
183
- *children: Child components.
184
- color: map to CSS default color property.
185
- color_scheme: map to radix color property.
186
- cite: Specifies the source URL of the quote.
187
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
188
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
189
- content_editable: Indicates whether the element's content is editable.
190
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
191
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
192
- draggable: Defines whether the element can be dragged.
193
- enter_key_hint: Hints what media types the media element is able to play.
194
- hidden: Defines whether the element is hidden.
195
- input_mode: Defines the type of the element.
196
- item_prop: Defines the name of the element for metadata purposes.
197
- lang: Defines the language used in the element.
198
- role: Defines the role of the element.
199
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
200
- spell_check: Defines whether the element may be checked for spelling errors.
201
- tab_index: Defines the position of the current element in the tabbing order.
202
- title: Defines a tooltip for the element.
203
- style: The style of the component.
204
- key: A unique key for the component.
205
- id: The id for the component.
206
- class_name: The class name for the component.
207
- autofocus: Whether the component should take the focus once the page is loaded
208
- _rename_props: props to change the name of
209
- custom_attrs: custom attribute
210
- **props: Component properties.
211
-
212
- Returns:
213
- A new component instance.
214
- """
215
- ...