Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #260 from gluestack/release/@gluestack-style/react…
Browse files Browse the repository at this point in the history
…@0.1.18

Release/@gluestack style/[email protected]
  • Loading branch information
ankit-tailor authored Jun 8, 2023
2 parents 382847f + 9f4b7ba commit 87e8577
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
12 changes: 12 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @gluestack-style/react

## 0.1.18

### Patch Changes

- Size token resolution

## 0.1.17

### Patch Changes

- Default value updated for all CSS properties

## 0.1.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gluestack-style/react",
"description": "A universal & performant styling library for React Native, Next.js & React",
"version": "0.1.17-alpha.1",
"version": "0.1.18",
"keywords": [
"react",
"native",
Expand Down
4 changes: 1 addition & 3 deletions packages/react/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ export function resolveStringToken(
let modifiedTokenScale = token_scale;
if (
token_scale === 'sizes' &&
config?.tokens[token_scale] &&
!config?.tokens[token_scale].hasOwnProperty(splitCurrentToken[0])
!config?.tokens[token_scale]?.hasOwnProperty(splitCurrentToken[0])
) {
modifiedTokenScale = 'space';
}
Expand Down Expand Up @@ -209,7 +208,6 @@ export function resolveTokensFromConfig(config: any, props: any) {
value
);
});
// console.log('&&&&&', newProps);

return newProps;
}
Expand Down

0 comments on commit 87e8577

Please sign in to comment.