diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 682382ba..722b7c9c 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-style/react +## 1.0.15 + +### Patch Changes + +- Fixed descendants compound variant resolution [PR](https://github.com/gluestack/gluestack-style/pull/526) + ## 1.0.14 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 5a08558d..c7d56163 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@gluestack-style/react", "description": "A universal & performant styling library for React Native, Next.js & React", - "version": "1.0.14", + "version": "1.0.15", "keywords": [ "React Native", "Next.js", diff --git a/packages/react/src/styled.tsx b/packages/react/src/styled.tsx index 92e2573d..75dfc3ed 100644 --- a/packages/react/src/styled.tsx +++ b/packages/react/src/styled.tsx @@ -455,7 +455,7 @@ function setStateAndColorModeCssIdsAndProps( passingProps: mergedPassingProps, } = getMergedStateAndColorModeCSSIdsAndProps( //@ts-ignore - componentDescendantStyleIds, + componentDescendantStyleIds[key], componentDescendantFlattenStyleObject[key]?.[ 'componentBaseStyleFlatternStyleIdObject' ], @@ -492,7 +492,7 @@ function setStateAndColorModeCssIdsAndProps( passingProps: mergedPassingProps, } = getMergedStateAndColorModeCSSIdsAndProps( //@ts-ignore - sxDescendantStyleIds.current, + sxDescendantStyleIds.current[key], sxDescendantFlattenStyleObject[key]?.[ 'componentBaseStyleFlatternStyleIdObject' ],