Skip to content

Commit

Permalink
chore(native-ui): revert gluestack updates
Browse files Browse the repository at this point in the history
[skip-native]
  • Loading branch information
jordmccord committed Dec 12, 2024
1 parent c69963e commit 406f9db
Show file tree
Hide file tree
Showing 5 changed files with 10,686 additions and 14,398 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-rules-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@utilitywarehouse/native-ui': patch
---

Revert gluestack-ui changes
18 changes: 9 additions & 9 deletions packages/native-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@utilitywarehouse/native-ui",
"version": "0.10.0",
"version": "0.10.1-alpha.0",
"description": "Utility Warehouse React Native UI library",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand All @@ -25,14 +25,14 @@
"@gluestack-style/animation-resolver": "^1.0.4",
"@gluestack-style/legend-motion-animation-driver": "^1.0.3",
"@gluestack-style/react": "1.0.57",
"@gluestack-ui/alert": "^0.1.16",
"@gluestack-ui/button": "^1.0.8",
"@gluestack-ui/checkbox": "^0.1.33",
"@gluestack-ui/icon": "^0.1.25",
"@gluestack-ui/input": "^0.1.32",
"@gluestack-ui/radio": "^0.1.34",
"@gluestack-ui/spinner": "^0.1.15",
"@gluestack-ui/switch": "^0.1.23",
"@gluestack-ui/alert": "^0.1.15",
"@gluestack-ui/button": "^1.0.7",
"@gluestack-ui/checkbox": "^0.1.32",
"@gluestack-ui/icon": "^0.1.22",
"@gluestack-ui/input": "^0.1.31",
"@gluestack-ui/radio": "^0.1.33",
"@gluestack-ui/spinner": "^0.1.14",
"@gluestack-ui/switch": "^0.1.22",
"@gluestack-ui/themed": "1.1.53",
"@utilitywarehouse/colour-system": "workspace:^",
"@utilitywarehouse/design-tokens": "workspace:^",
Expand Down
3 changes: 2 additions & 1 deletion packages/native-ui/src/components/Button/ButtonSpinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const ButtonSpinner = forwardRef<View, Omit<SpinnerProps, 'size'>>(
}
return colorProp;
}, [color, colorMode, variant, disabled, inverted, colorScheme]);
// @ts-expect-error - TS doesn't like the ref type here
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return <Spinner ref={ref} {...props} size="xs" color={colorProp} />;
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const IconButtonSpinner = forwardRef<View, SpinnerProps>(({ color = '', ...props
}
return colorProp;
}, [color, colorMode, variant, disabled, inverted, colorScheme]);

// @ts-expect-error - TS doesn't like the ref type here
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return <Spinner ref={ref} {...props} size="xs" color={colorProp} />;
});

Expand Down
Loading

0 comments on commit 406f9db

Please sign in to comment.