cdslibrary 1.0.16 → 1.0.18

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.
@@ -6,7 +6,7 @@ import { useTheme } from "../context/CDSThemeContext";
6
6
  import {getSemanticTextStyles} from "../tokens/CDSsemanticTextStyles";
7
7
 
8
8
  const { width } = Dimensions.get("window");
9
- const isMobile = width <= 769
9
+ const isMobile = width <= 768
10
10
 
11
11
  export const CDSButton = ({
12
12
  label,
@@ -31,7 +31,7 @@ export const CDSButton = ({
31
31
  ? theme.text.neutral.primary
32
32
  : type === "disabled"
33
33
  ? theme.text.neutral.disabled
34
- : theme.text.neutral.contrast;
34
+ : 'green';
35
35
 
36
36
  return (
37
37
  <TouchableOpacity
@@ -83,13 +83,13 @@ export const CDSButton = ({
83
83
 
84
84
  const styles = StyleSheet.create({
85
85
  container: {
86
- // minWidth: 343,
86
+ width: 'auto',
87
87
  flexDirection: "row",
88
88
  alignItems: "center",
89
89
  justifyContent: "center",
90
90
  paddingVertical: 12,
91
91
  paddingHorizontal: 24,
92
- borderRadius: 100,
92
+ borderRadius: 10,
93
93
  gap: 8,
94
94
  },
95
95
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cdslibrary",
3
3
  "license": "0BSD",
4
- "version": "1.0.16",
4
+ "version": "1.0.18",
5
5
  "main": "index.js",
6
6
  "author": "Nat Viramontes",
7
7
  "description": "A library of components for the CDS project",