atlas-design-system 1.9.1 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,9 +26,9 @@ const getButtonTextStyle = (styles, appearance, disabled) => {
26
26
  };
27
27
  const useButtonStyles = (appearance = "primary", disabled = false, themeOverride) => {
28
28
  const styles = (0, hooks_1.useThemedStyle)((0, react_1.useCallback)((t) => {
29
- const theme = t;
29
+ let theme = t;
30
30
  if (themeOverride) {
31
- t = themeOverride;
31
+ theme = themeOverride;
32
32
  }
33
33
  return react_native_1.StyleSheet.create({
34
34
  default: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atlas-design-system",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "A react native design system for the Atlas workout app",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",