gluestack / gluestack-ui

React & React Native Components & Patterns (copy-paste components & patterns crafted with Tailwind CSS (NativeWind))
https://gluestack.io/
MIT License
2.74k stars 120 forks source link

Babel plugin: cssRulesSet typo #2014

Open vyobukhov opened 7 months ago

vyobukhov commented 7 months ago

Description

Rename cssRulesSet to cssRuleset

CodeSandbox/Snack link

No response

Steps to reproduce

if (targetPlatform === 'native') {
                delete styledResolved.original;
                delete styledResolved.value;
                delete styledResolved.meta.cssRulesSet; // <-- should be cssRuleset
                delete styledResolved.meta.weight;
                delete styledResolved.meta.weight;
                delete styledResolved.type;
                delete styledResolved.componentHash;
                delete styledResolved.extendedConfig;
                delete styledResolved.value;
              }

gluestack-ui Version

1.1.18 (1.0.5 for babel plugin)

Platform

Other Platform

No response

Additional Information

No response

surajahmed commented 7 months ago

@vyobukhov Thanks for reporting this. We're working on it. We'll fix this along with other babel plugin issues.