reflex 0.7.13a1__py3-none-any.whl → 0.7.13a2__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 +15 -3
- reflex/components/radix/primitives/accordion.py +1 -1
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/form.py +1 -1
- reflex/plugins/tailwind_v4.py +1 -0
- {reflex-0.7.13a1.dist-info → reflex-0.7.13a2.dist-info}/METADATA +1 -1
- {reflex-0.7.13a1.dist-info → reflex-0.7.13a2.dist-info}/RECORD +10 -10
- {reflex-0.7.13a1.dist-info → reflex-0.7.13a2.dist-info}/WHEEL +0 -0
- {reflex-0.7.13a1.dist-info → reflex-0.7.13a2.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.13a1.dist-info → reflex-0.7.13a2.dist-info}/licenses/LICENSE +0 -0
reflex/app.py
CHANGED
|
@@ -1235,14 +1235,16 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1235
1235
|
|
|
1236
1236
|
# try to be somewhat accurate - but still not 100%
|
|
1237
1237
|
adhoc_steps_without_executor = 7
|
|
1238
|
-
fixed_pages_within_executor =
|
|
1238
|
+
fixed_pages_within_executor = 4
|
|
1239
|
+
plugin_count = len(config.plugins)
|
|
1239
1240
|
progress.start()
|
|
1240
1241
|
task = progress.add_task(
|
|
1241
1242
|
f"[{get_compilation_time()}] Compiling:",
|
|
1242
1243
|
total=len(self._pages)
|
|
1243
1244
|
+ (len(self._unevaluated_pages) * 2)
|
|
1244
1245
|
+ fixed_pages_within_executor
|
|
1245
|
-
+ adhoc_steps_without_executor
|
|
1246
|
+
+ adhoc_steps_without_executor
|
|
1247
|
+
+ plugin_count,
|
|
1246
1248
|
)
|
|
1247
1249
|
|
|
1248
1250
|
with console.timing("Evaluate Pages (Frontend)"):
|
|
@@ -1412,9 +1414,17 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1412
1414
|
# Compile the theme.
|
|
1413
1415
|
_submit_work(compile_theme, self.style)
|
|
1414
1416
|
|
|
1417
|
+
def _submit_work_without_advancing(
|
|
1418
|
+
fn: Callable[P, list[tuple[str, str]] | tuple[str, str] | None],
|
|
1419
|
+
*args: P.args,
|
|
1420
|
+
**kwargs: P.kwargs,
|
|
1421
|
+
):
|
|
1422
|
+
f = executor.submit(fn, *args, **kwargs)
|
|
1423
|
+
result_futures.append(f)
|
|
1424
|
+
|
|
1415
1425
|
for plugin in config.plugins:
|
|
1416
1426
|
plugin.pre_compile(
|
|
1417
|
-
add_save_task=
|
|
1427
|
+
add_save_task=_submit_work_without_advancing,
|
|
1418
1428
|
add_modify_task=(
|
|
1419
1429
|
lambda *args, plugin=plugin: modify_files_tasks.append(
|
|
1420
1430
|
(
|
|
@@ -1433,6 +1443,8 @@ class App(MiddlewareMixin, LifespanMixin):
|
|
|
1433
1443
|
else:
|
|
1434
1444
|
compile_results.append(result)
|
|
1435
1445
|
|
|
1446
|
+
progress.advance(task, advance=len(config.plugins))
|
|
1447
|
+
|
|
1436
1448
|
app_root = self._app_root(app_wrappers=app_wrappers)
|
|
1437
1449
|
|
|
1438
1450
|
# Get imports from AppWrap components.
|
|
@@ -54,7 +54,7 @@ def _inherited_variant_selector(
|
|
|
54
54
|
class AccordionComponent(RadixPrimitiveComponent):
|
|
55
55
|
"""Base class for all @radix-ui/accordion components."""
|
|
56
56
|
|
|
57
|
-
library = "@radix-ui/react-accordion@1.2.
|
|
57
|
+
library = "@radix-ui/react-accordion@1.2.11"
|
|
58
58
|
|
|
59
59
|
# The color scheme of the component.
|
|
60
60
|
color_scheme: Var[LiteralAccentColor]
|
|
@@ -21,7 +21,7 @@ class DrawerComponent(RadixPrimitiveComponent):
|
|
|
21
21
|
|
|
22
22
|
library = "vaul@1.1.2"
|
|
23
23
|
|
|
24
|
-
lib_dependencies: list[str] = ["@radix-ui/react-dialog@1.1.
|
|
24
|
+
lib_dependencies: list[str] = ["@radix-ui/react-dialog@1.1.14"]
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
LiteralDirectionType = Literal["top", "bottom", "left", "right"]
|
|
@@ -17,7 +17,7 @@ from .base import RadixPrimitiveComponentWithClassName
|
|
|
17
17
|
class FormComponent(RadixPrimitiveComponentWithClassName):
|
|
18
18
|
"""Base class for all @radix-ui/react-form components."""
|
|
19
19
|
|
|
20
|
-
library = "@radix-ui/react-form@0.1.
|
|
20
|
+
library = "@radix-ui/react-form@0.1.7"
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class FormRoot(FormComponent, HTMLForm):
|
reflex/plugins/tailwind_v4.py
CHANGED
|
@@ -23,6 +23,7 @@ class Constants(SimpleNamespace):
|
|
|
23
23
|
|
|
24
24
|
# Content of the style content.
|
|
25
25
|
ROOT_STYLE_CONTENT = """@layer theme, base, components, utilities;
|
|
26
|
+
@config "../tailwind.config.js";
|
|
26
27
|
@import "tailwindcss/theme.css" layer(theme);
|
|
27
28
|
@import "tailwindcss/preflight.css" layer(base);
|
|
28
29
|
@import "{radix_url}" layer(components);
|
|
@@ -2,7 +2,7 @@ reflex/__init__.py,sha256=wMrUAcxHI0Th4EwHIVm9G5zT-zNgO1JX6yWejx0IvvQ,10380
|
|
|
2
2
|
reflex/__init__.pyi,sha256=SDnppfexuPej7E5zD2fHKq1gppvvZHBUqqS0tX2Wj-g,11391
|
|
3
3
|
reflex/__main__.py,sha256=6cVrGEyT3j3tEvlEVUatpaYfbB5EF3UVY-6vc_Z7-hw,108
|
|
4
4
|
reflex/admin.py,sha256=Nbc38y-M8iaRBvh1W6DQu_D3kEhO8JFvxrog4q2cB_E,434
|
|
5
|
-
reflex/app.py,sha256=
|
|
5
|
+
reflex/app.py,sha256=ZEliICmLeN38l-xbwOe7L0EM9LpQwKZ4feC28aChQdc,76885
|
|
6
6
|
reflex/assets.py,sha256=PLTKAMYPKMZq8eWXKX8uco6NZ9IiPGWal0bOPLUmU7k,3364
|
|
7
7
|
reflex/base.py,sha256=U7i_ijkbSLUDm1TlTYYZEm5P6ZiVO1aIT1MJKXO6V1o,3881
|
|
8
8
|
reflex/config.py,sha256=JCO8MAHbv7YkTFVPMTLb6qwAkQUssJfUMIm-ih3z3ds,37760
|
|
@@ -180,13 +180,13 @@ reflex/components/radix/__init__.py,sha256=fRsLvIO3MrTtPOXtmnxYDB9phvzlcbyB_utgp
|
|
|
180
180
|
reflex/components/radix/__init__.pyi,sha256=YpWw_k35yv_Yq_0RZNCb52fJZ3dANWAnQllhVoVCWEE,3988
|
|
181
181
|
reflex/components/radix/primitives/__init__.py,sha256=R2sdZJqQCYaLScGkXnXDKAjVgV5MidceemooEUtvBt4,443
|
|
182
182
|
reflex/components/radix/primitives/__init__.pyi,sha256=C3ryDDEVq8kZp2PBm-_onHKXumFnKD__B2puDbO4WjE,401
|
|
183
|
-
reflex/components/radix/primitives/accordion.py,sha256=
|
|
183
|
+
reflex/components/radix/primitives/accordion.py,sha256=_2leThWrA7PJ3zmf5QkMQy_wrCyCHOooajsgbqA3qow,16110
|
|
184
184
|
reflex/components/radix/primitives/accordion.pyi,sha256=O7BhVr82UiX7siQUVhn8cNw8SKuTMvUSvz4d3ekrmkA,28234
|
|
185
185
|
reflex/components/radix/primitives/base.py,sha256=uTfwrnn5ZNhRcpii1-w8YwYhtrRbz9ZXo_61fyWYjA4,816
|
|
186
186
|
reflex/components/radix/primitives/base.pyi,sha256=ZfszIoUQRMjfkl3vyHskA8aXnWeM57b-ftv50PC_AII,4687
|
|
187
|
-
reflex/components/radix/primitives/drawer.py,sha256=
|
|
187
|
+
reflex/components/radix/primitives/drawer.py,sha256=Nxd745cuNFsiZIZh33gJjm5RfGwrbv-yeSEkHa6OI-8,9262
|
|
188
188
|
reflex/components/radix/primitives/drawer.pyi,sha256=h2wmRtnOFG3OGgEi_u-hM3yFxcSNDtelKzPkLxSKeyk,30027
|
|
189
|
-
reflex/components/radix/primitives/form.py,sha256=
|
|
189
|
+
reflex/components/radix/primitives/form.py,sha256=X4ym8R8amJOdflDel0A-Lt1B-InR91z3Vz9KuS3dxRg,4831
|
|
190
190
|
reflex/components/radix/primitives/form.pyi,sha256=MGdr8Y4dxA9Ku0lBlFNWqsWH_6FfRRdSjr3nKy2sOFI,47384
|
|
191
191
|
reflex/components/radix/primitives/progress.py,sha256=DnuZuOptFt4w_vcUx7ZnsgvuJG5bzrBSdeFC42yH530,3988
|
|
192
192
|
reflex/components/radix/primitives/progress.pyi,sha256=edhc7e8ZDxqCHw0PWhrYKX5RcnS1xuepSKxslQcDPSk,16581
|
|
@@ -367,7 +367,7 @@ reflex/middleware/middleware.py,sha256=p5VVoIgQ_NwOg_GOY6g0S4fmrV76_VE1zt-HiwbMw
|
|
|
367
367
|
reflex/plugins/__init__.py,sha256=JXrIp8EoZ3e4pTjDrg6yj2C6Kd6dj9TJsmsxdHRUtsI,274
|
|
368
368
|
reflex/plugins/base.py,sha256=pHrNVxi5KE9cAxJnx3ORYR8URXJK7ZMkOfuQDguBGb4,2720
|
|
369
369
|
reflex/plugins/tailwind_v3.py,sha256=pPFtBLPB6Bxg5bt0b-gJFcLckjhQFUxfhIG9OCqmFRA,7432
|
|
370
|
-
reflex/plugins/tailwind_v4.py,sha256=
|
|
370
|
+
reflex/plugins/tailwind_v4.py,sha256=kbrWsy-bk7C4b3FvEZfYVuKj_YBx1ipMskbA6w9HDX0,7838
|
|
371
371
|
reflex/utils/__init__.py,sha256=y-AHKiRQAhk2oAkvn7W8cRVTZVK625ff8tTwvZtO7S4,24
|
|
372
372
|
reflex/utils/build.py,sha256=8n42GCwOrnCxlBk40lXqh1DEbZ8D24KRwwygYmNG7_Y,9142
|
|
373
373
|
reflex/utils/codespaces.py,sha256=kEQ-j-jclTukFpXDlYgNp95kYMGDrQmP3VNEoYGZ1u4,3052
|
|
@@ -400,8 +400,8 @@ reflex/vars/number.py,sha256=DlN9qx-kuGVq6Iiy3wxaKUxQ-HJ-CgdWpgoCpsKPefc,28174
|
|
|
400
400
|
reflex/vars/object.py,sha256=eQuToqKV2XkcTZVxgpkFrPmLcHP8r1eqaMgYrWWCLdo,17324
|
|
401
401
|
reflex/vars/sequence.py,sha256=cuvW7aKrM43WV4S8rJvZUL-PlMvlC4G0ZLK4j7xhkTI,55225
|
|
402
402
|
scripts/hatch_build.py,sha256=-4pxcLSFmirmujGpQX9UUxjhIC03tQ_fIQwVbHu9kc0,1861
|
|
403
|
-
reflex-0.7.
|
|
404
|
-
reflex-0.7.
|
|
405
|
-
reflex-0.7.
|
|
406
|
-
reflex-0.7.
|
|
407
|
-
reflex-0.7.
|
|
403
|
+
reflex-0.7.13a2.dist-info/METADATA,sha256=lcV5rvgrbczpXL-2Q5GsPSIoz3_Ka5KAtZd-lju1cV8,11837
|
|
404
|
+
reflex-0.7.13a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
405
|
+
reflex-0.7.13a2.dist-info/entry_points.txt,sha256=Rxt4dXc7MLBNt5CSHTehVPuSe9Xqow4HLX55nD9tQQ0,45
|
|
406
|
+
reflex-0.7.13a2.dist-info/licenses/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
|
|
407
|
+
reflex-0.7.13a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|