From 7338e8f66c3f3e8a3de40931225db3dc8131be7d Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Tue, 12 Nov 2024 12:09:48 -0800 Subject: [PATCH] Temporarily downpin @radix-ui/themes <3.1.5 A visual/style regression was introduced in @radix-ui/themes 3.1.5 as described in radix-ui/themes#627 which reflex needs to avoid. --- reflex/components/radix/themes/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reflex/components/radix/themes/base.py b/reflex/components/radix/themes/base.py index 7a0fc809f..65a9ae835 100644 --- a/reflex/components/radix/themes/base.py +++ b/reflex/components/radix/themes/base.py @@ -112,6 +112,9 @@ class RadixThemesComponent(Component): library = "@radix-ui/themes@^3.0.0" + # Temporary pin < 3.1.5 until radix-ui/themes#627 is resolved. + library = library + " && <3.1.5" + # "Fake" prop color_scheme is used to avoid shadowing CSS prop "color". _rename_props: Dict[str, str] = {"colorScheme": "color"}