reflex 0.8.15a2__py3-none-any.whl → 0.8.16a1__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.
- reflex/app.py +40 -46
- reflex/app_mixins/lifespan.py +12 -5
- reflex/base.py +1 -0
- reflex/compiler/compiler.py +4 -6
- reflex/compiler/templates.py +25 -31
- reflex/compiler/utils.py +6 -5
- reflex/components/base/body.pyi +1 -195
- reflex/components/base/link.pyi +1 -407
- reflex/components/base/meta.pyi +1 -405
- reflex/components/base/script.pyi +1 -237
- reflex/components/component.py +41 -46
- reflex/components/core/auto_scroll.pyi +1 -195
- reflex/components/core/banner.pyi +1 -391
- reflex/components/core/breakpoints.py +14 -18
- reflex/components/core/html.pyi +1 -197
- reflex/components/core/match.py +2 -2
- reflex/components/core/sticky.py +11 -15
- reflex/components/core/sticky.pyi +0 -788
- reflex/components/core/upload.py +1 -3
- reflex/components/datadisplay/code.pyi +1 -0
- reflex/components/datadisplay/dataeditor.py +4 -6
- reflex/components/datadisplay/shiki_code_block.py +106 -110
- reflex/components/dynamic.py +4 -6
- reflex/components/el/elements/__init__.py +5 -7
- reflex/components/el/elements/__init__.pyi +5 -7
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +1 -195
- reflex/components/el/elements/forms.py +7 -9
- reflex/components/el/elements/forms.pyi +12 -3112
- reflex/components/el/elements/inline.pyi +0 -5481
- reflex/components/el/elements/media.pyi +0 -10280
- reflex/components/el/elements/metadata.pyi +1 -835
- reflex/components/el/elements/other.pyi +1 -1365
- reflex/components/el/elements/scripts.pyi +1 -625
- reflex/components/el/elements/sectioning.pyi +1 -2911
- reflex/components/el/elements/tables.pyi +1 -1973
- reflex/components/el/elements/typography.pyi +1 -3125
- reflex/components/lucide/icon.py +4 -4
- reflex/components/lucide/icon.pyi +0 -4
- reflex/components/markdown/markdown.py +15 -19
- reflex/components/markdown/markdown.pyi +1 -0
- reflex/components/moment/moment.pyi +0 -49
- reflex/components/props.py +3 -3
- reflex/components/radix/primitives/accordion.py +4 -6
- reflex/components/radix/primitives/accordion.pyi +0 -14
- reflex/components/radix/primitives/base.pyi +0 -5
- reflex/components/radix/primitives/dialog.py +2 -0
- reflex/components/radix/primitives/dialog.pyi +1 -233
- reflex/components/radix/primitives/drawer.pyi +0 -18
- reflex/components/radix/primitives/form.pyi +30 -632
- reflex/components/radix/primitives/progress.pyi +0 -10
- reflex/components/radix/primitives/slider.pyi +0 -10
- reflex/components/radix/themes/color_mode.pyi +1 -284
- reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
- reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
- reflex/components/radix/themes/components/avatar.pyi +0 -80
- reflex/components/radix/themes/components/badge.pyi +1 -270
- reflex/components/radix/themes/components/button.pyi +1 -274
- reflex/components/radix/themes/components/callout.pyi +0 -1197
- reflex/components/radix/themes/components/card.pyi +1 -209
- reflex/components/radix/themes/components/checkbox.pyi +0 -261
- reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
- reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
- reflex/components/radix/themes/components/context_menu.pyi +13 -321
- reflex/components/radix/themes/components/data_list.pyi +1 -107
- reflex/components/radix/themes/components/dialog.pyi +1 -210
- reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
- reflex/components/radix/themes/components/hover_card.pyi +1 -246
- reflex/components/radix/themes/components/icon_button.pyi +1 -195
- reflex/components/radix/themes/components/inset.pyi +0 -252
- reflex/components/radix/themes/components/popover.pyi +1 -234
- reflex/components/radix/themes/components/progress.pyi +1 -84
- reflex/components/radix/themes/components/radio.pyi +1 -72
- reflex/components/radix/themes/components/radio_cards.pyi +1 -123
- reflex/components/radix/themes/components/scroll_area.pyi +1 -11
- reflex/components/radix/themes/components/select.pyi +1 -376
- reflex/components/radix/themes/components/separator.pyi +0 -77
- reflex/components/radix/themes/components/skeleton.pyi +0 -30
- reflex/components/radix/themes/components/slider.py +3 -5
- reflex/components/radix/themes/components/spinner.pyi +0 -5
- reflex/components/radix/themes/components/switch.pyi +0 -89
- reflex/components/radix/themes/components/table.pyi +0 -1453
- reflex/components/radix/themes/components/text_area.pyi +7 -282
- reflex/components/radix/themes/components/text_field.pyi +6 -392
- reflex/components/radix/themes/components/tooltip.pyi +0 -42
- reflex/components/radix/themes/layout/box.pyi +1 -195
- reflex/components/radix/themes/layout/center.pyi +0 -194
- reflex/components/radix/themes/layout/container.pyi +0 -178
- reflex/components/radix/themes/layout/flex.pyi +0 -194
- reflex/components/radix/themes/layout/grid.pyi +0 -194
- reflex/components/radix/themes/layout/list.pyi +0 -978
- reflex/components/radix/themes/layout/section.pyi +0 -194
- reflex/components/radix/themes/layout/spacer.pyi +0 -194
- reflex/components/radix/themes/layout/stack.pyi +0 -582
- reflex/components/radix/themes/typography/blockquote.pyi +0 -196
- reflex/components/radix/themes/typography/code.pyi +0 -194
- reflex/components/radix/themes/typography/heading.pyi +0 -194
- reflex/components/radix/themes/typography/link.pyi +0 -237
- reflex/components/radix/themes/typography/text.pyi +0 -1360
- reflex/components/react_router/dom.pyi +0 -237
- reflex/components/recharts/cartesian.py +12 -18
- reflex/components/recharts/general.py +12 -18
- reflex/constants/installer.py +5 -5
- reflex/custom_components/custom_components.py +6 -5
- reflex/environment.py +30 -7
- reflex/event.py +14 -12
- reflex/experimental/client_state.py +11 -12
- reflex/istate/data.py +8 -10
- reflex/istate/manager/__init__.py +3 -0
- reflex/istate/manager/disk.py +151 -5
- reflex/model.py +1 -1
- reflex/plugins/_screenshot.py +2 -2
- reflex/plugins/shared_tailwind.py +9 -14
- reflex/reflex.py +7 -9
- reflex/state.py +30 -37
- reflex/style.py +6 -6
- reflex/testing.py +54 -30
- reflex/utils/codespaces.py +1 -1
- reflex/utils/compat.py +1 -0
- reflex/utils/decorator.py +3 -3
- reflex/utils/format.py +18 -22
- reflex/utils/prerequisites.py +1 -1
- reflex/utils/pyi_generator.py +51 -57
- reflex/utils/serializers.py +1 -1
- reflex/utils/telemetry.py +1 -1
- reflex/utils/templates.py +4 -4
- reflex/utils/types.py +3 -3
- reflex/vars/base.py +26 -29
- reflex/vars/color.py +6 -8
- reflex/vars/dep_tracking.py +5 -3
- reflex/vars/function.py +3 -3
- reflex/vars/object.py +9 -13
- reflex/vars/sequence.py +18 -24
- {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
- {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/RECORD +138 -138
- {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
- {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
- {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/licenses/LICENSE +0 -0
|
@@ -111,219 +111,6 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|
|
111
111
|
| None = None,
|
|
112
112
|
high_contrast: Var[bool] | bool | None = None,
|
|
113
113
|
is_external: Var[bool] | bool | None = None,
|
|
114
|
-
download: Var[bool | str] | bool | str | None = None,
|
|
115
|
-
href: Var[str] | str | None = None,
|
|
116
|
-
href_lang: Var[str] | str | None = None,
|
|
117
|
-
media: Var[str] | str | None = None,
|
|
118
|
-
ping: Var[str] | str | None = None,
|
|
119
|
-
referrer_policy: Literal[
|
|
120
|
-
"",
|
|
121
|
-
"no-referrer",
|
|
122
|
-
"no-referrer-when-downgrade",
|
|
123
|
-
"origin",
|
|
124
|
-
"origin-when-cross-origin",
|
|
125
|
-
"same-origin",
|
|
126
|
-
"strict-origin",
|
|
127
|
-
"strict-origin-when-cross-origin",
|
|
128
|
-
"unsafe-url",
|
|
129
|
-
]
|
|
130
|
-
| Var[
|
|
131
|
-
Literal[
|
|
132
|
-
"",
|
|
133
|
-
"no-referrer",
|
|
134
|
-
"no-referrer-when-downgrade",
|
|
135
|
-
"origin",
|
|
136
|
-
"origin-when-cross-origin",
|
|
137
|
-
"same-origin",
|
|
138
|
-
"strict-origin",
|
|
139
|
-
"strict-origin-when-cross-origin",
|
|
140
|
-
"unsafe-url",
|
|
141
|
-
]
|
|
142
|
-
]
|
|
143
|
-
| None = None,
|
|
144
|
-
rel: Var[str] | str | None = None,
|
|
145
|
-
target: Literal["_blank", "_parent", "_self", "_top"]
|
|
146
|
-
| Var[Literal["_blank", "_parent", "_self", "_top"] | str]
|
|
147
|
-
| str
|
|
148
|
-
| None = None,
|
|
149
|
-
access_key: Var[str] | str | None = None,
|
|
150
|
-
auto_capitalize: Literal[
|
|
151
|
-
"characters", "none", "off", "on", "sentences", "words"
|
|
152
|
-
]
|
|
153
|
-
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
154
|
-
| None = None,
|
|
155
|
-
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
156
|
-
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
157
|
-
| None = None,
|
|
158
|
-
context_menu: Var[str] | str | None = None,
|
|
159
|
-
dir: Var[str] | str | None = None,
|
|
160
|
-
draggable: Var[bool] | bool | None = None,
|
|
161
|
-
enter_key_hint: Literal[
|
|
162
|
-
"done", "enter", "go", "next", "previous", "search", "send"
|
|
163
|
-
]
|
|
164
|
-
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
165
|
-
| None = None,
|
|
166
|
-
hidden: Var[bool] | bool | None = None,
|
|
167
|
-
input_mode: Literal[
|
|
168
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
169
|
-
]
|
|
170
|
-
| Var[
|
|
171
|
-
Literal[
|
|
172
|
-
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
173
|
-
]
|
|
174
|
-
]
|
|
175
|
-
| None = None,
|
|
176
|
-
item_prop: Var[str] | str | None = None,
|
|
177
|
-
lang: Var[str] | str | None = None,
|
|
178
|
-
role: Literal[
|
|
179
|
-
"alert",
|
|
180
|
-
"alertdialog",
|
|
181
|
-
"application",
|
|
182
|
-
"article",
|
|
183
|
-
"banner",
|
|
184
|
-
"button",
|
|
185
|
-
"cell",
|
|
186
|
-
"checkbox",
|
|
187
|
-
"columnheader",
|
|
188
|
-
"combobox",
|
|
189
|
-
"complementary",
|
|
190
|
-
"contentinfo",
|
|
191
|
-
"definition",
|
|
192
|
-
"dialog",
|
|
193
|
-
"directory",
|
|
194
|
-
"document",
|
|
195
|
-
"feed",
|
|
196
|
-
"figure",
|
|
197
|
-
"form",
|
|
198
|
-
"grid",
|
|
199
|
-
"gridcell",
|
|
200
|
-
"group",
|
|
201
|
-
"heading",
|
|
202
|
-
"img",
|
|
203
|
-
"link",
|
|
204
|
-
"list",
|
|
205
|
-
"listbox",
|
|
206
|
-
"listitem",
|
|
207
|
-
"log",
|
|
208
|
-
"main",
|
|
209
|
-
"marquee",
|
|
210
|
-
"math",
|
|
211
|
-
"menu",
|
|
212
|
-
"menubar",
|
|
213
|
-
"menuitem",
|
|
214
|
-
"menuitemcheckbox",
|
|
215
|
-
"menuitemradio",
|
|
216
|
-
"navigation",
|
|
217
|
-
"none",
|
|
218
|
-
"note",
|
|
219
|
-
"option",
|
|
220
|
-
"presentation",
|
|
221
|
-
"progressbar",
|
|
222
|
-
"radio",
|
|
223
|
-
"radiogroup",
|
|
224
|
-
"region",
|
|
225
|
-
"row",
|
|
226
|
-
"rowgroup",
|
|
227
|
-
"rowheader",
|
|
228
|
-
"scrollbar",
|
|
229
|
-
"search",
|
|
230
|
-
"searchbox",
|
|
231
|
-
"separator",
|
|
232
|
-
"slider",
|
|
233
|
-
"spinbutton",
|
|
234
|
-
"status",
|
|
235
|
-
"switch",
|
|
236
|
-
"tab",
|
|
237
|
-
"table",
|
|
238
|
-
"tablist",
|
|
239
|
-
"tabpanel",
|
|
240
|
-
"term",
|
|
241
|
-
"textbox",
|
|
242
|
-
"timer",
|
|
243
|
-
"toolbar",
|
|
244
|
-
"tooltip",
|
|
245
|
-
"tree",
|
|
246
|
-
"treegrid",
|
|
247
|
-
"treeitem",
|
|
248
|
-
]
|
|
249
|
-
| Var[
|
|
250
|
-
Literal[
|
|
251
|
-
"alert",
|
|
252
|
-
"alertdialog",
|
|
253
|
-
"application",
|
|
254
|
-
"article",
|
|
255
|
-
"banner",
|
|
256
|
-
"button",
|
|
257
|
-
"cell",
|
|
258
|
-
"checkbox",
|
|
259
|
-
"columnheader",
|
|
260
|
-
"combobox",
|
|
261
|
-
"complementary",
|
|
262
|
-
"contentinfo",
|
|
263
|
-
"definition",
|
|
264
|
-
"dialog",
|
|
265
|
-
"directory",
|
|
266
|
-
"document",
|
|
267
|
-
"feed",
|
|
268
|
-
"figure",
|
|
269
|
-
"form",
|
|
270
|
-
"grid",
|
|
271
|
-
"gridcell",
|
|
272
|
-
"group",
|
|
273
|
-
"heading",
|
|
274
|
-
"img",
|
|
275
|
-
"link",
|
|
276
|
-
"list",
|
|
277
|
-
"listbox",
|
|
278
|
-
"listitem",
|
|
279
|
-
"log",
|
|
280
|
-
"main",
|
|
281
|
-
"marquee",
|
|
282
|
-
"math",
|
|
283
|
-
"menu",
|
|
284
|
-
"menubar",
|
|
285
|
-
"menuitem",
|
|
286
|
-
"menuitemcheckbox",
|
|
287
|
-
"menuitemradio",
|
|
288
|
-
"navigation",
|
|
289
|
-
"none",
|
|
290
|
-
"note",
|
|
291
|
-
"option",
|
|
292
|
-
"presentation",
|
|
293
|
-
"progressbar",
|
|
294
|
-
"radio",
|
|
295
|
-
"radiogroup",
|
|
296
|
-
"region",
|
|
297
|
-
"row",
|
|
298
|
-
"rowgroup",
|
|
299
|
-
"rowheader",
|
|
300
|
-
"scrollbar",
|
|
301
|
-
"search",
|
|
302
|
-
"searchbox",
|
|
303
|
-
"separator",
|
|
304
|
-
"slider",
|
|
305
|
-
"spinbutton",
|
|
306
|
-
"status",
|
|
307
|
-
"switch",
|
|
308
|
-
"tab",
|
|
309
|
-
"table",
|
|
310
|
-
"tablist",
|
|
311
|
-
"tabpanel",
|
|
312
|
-
"term",
|
|
313
|
-
"textbox",
|
|
314
|
-
"timer",
|
|
315
|
-
"toolbar",
|
|
316
|
-
"tooltip",
|
|
317
|
-
"tree",
|
|
318
|
-
"treegrid",
|
|
319
|
-
"treeitem",
|
|
320
|
-
]
|
|
321
|
-
]
|
|
322
|
-
| None = None,
|
|
323
|
-
slot: Var[str] | str | None = None,
|
|
324
|
-
spell_check: Var[bool] | bool | None = None,
|
|
325
|
-
tab_index: Var[int] | int | None = None,
|
|
326
|
-
title: Var[str] | str | None = None,
|
|
327
114
|
style: Sequence[Mapping[str, Any]]
|
|
328
115
|
| Mapping[str, Any]
|
|
329
116
|
| Var[Mapping[str, Any]]
|
|
@@ -364,30 +151,6 @@ class Link(RadixThemesComponent, A, MemoizationLeaf, MarkdownComponentMap):
|
|
|
364
151
|
color_scheme: Overrides the accent color inherited from the Theme.
|
|
365
152
|
high_contrast: Whether to render the text with higher contrast color
|
|
366
153
|
is_external: If True, the link will open in a new tab
|
|
367
|
-
download: Specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.
|
|
368
|
-
href: Specifies the URL of the page the link goes to
|
|
369
|
-
href_lang: Specifies the language of the linked document
|
|
370
|
-
media: Specifies what media/device the linked document is optimized for
|
|
371
|
-
ping: Specifies which referrer is sent when fetching the resource
|
|
372
|
-
referrer_policy: Specifies the relationship between the current document and the linked document
|
|
373
|
-
rel: Specifies the relationship between the linked document and the current document
|
|
374
|
-
target: Specifies where to open the linked document
|
|
375
|
-
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
376
|
-
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
377
|
-
content_editable: Indicates whether the element's content is editable.
|
|
378
|
-
context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
379
|
-
dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
380
|
-
draggable: Defines whether the element can be dragged.
|
|
381
|
-
enter_key_hint: Hints what media types the media element is able to play.
|
|
382
|
-
hidden: Defines whether the element is hidden.
|
|
383
|
-
input_mode: Defines the type of the element.
|
|
384
|
-
item_prop: Defines the name of the element for metadata purposes.
|
|
385
|
-
lang: Defines the language used in the element.
|
|
386
|
-
role: Defines the role of the element.
|
|
387
|
-
slot: Assigns a slot in a shadow DOM shadow tree to an element.
|
|
388
|
-
spell_check: Defines whether the element may be checked for spelling errors.
|
|
389
|
-
tab_index: Defines the position of the current element in the tabbing order.
|
|
390
|
-
title: Defines a tooltip for the element.
|
|
391
154
|
style: The style of the component.
|
|
392
155
|
key: A unique key for the component.
|
|
393
156
|
id: The id for the component.
|