@khanacademy/wonder-blocks-tokens 7.0.0 → 8.0.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @khanacademy/wonder-blocks-tokens
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - e63adea: Updated `border.width` tokens to use new structure:
8
+
9
+ | Current Token Name | New Token Name | Pixels (px) |
10
+ | ------------------ | -------------- | ----------- |
11
+ | `hairline` | `thin` | 1px |
12
+ | `thin` | `medium` | 2px |
13
+
3
14
  ## 7.0.0
4
15
 
5
16
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -42,10 +42,10 @@ const border$1 = {
42
42
  radius_full: "50%"
43
43
  },
44
44
  width: {
45
- none: 0,
46
- hairline: 1,
47
- thin: 2,
48
- thick: 4
45
+ none: remToPx(sizing.size_0),
46
+ thin: remToPx(sizing.size_010),
47
+ medium: remToPx(sizing.size_020),
48
+ thick: remToPx(sizing.size_040)
49
49
  }
50
50
  };
51
51
 
package/dist/index.js CHANGED
@@ -46,10 +46,10 @@ const border$1 = {
46
46
  radius_full: "50%"
47
47
  },
48
48
  width: {
49
- none: 0,
50
- hairline: 1,
51
- thin: 2,
52
- thick: 4
49
+ none: remToPx(sizing.size_0),
50
+ thin: remToPx(sizing.size_010),
51
+ medium: remToPx(sizing.size_020),
52
+ thick: remToPx(sizing.size_040)
53
53
  }
54
54
  };
55
55
 
@@ -14,9 +14,9 @@ export declare const border: {
14
14
  radius_full: string;
15
15
  };
16
16
  width: {
17
- none: number;
18
- hairline: number;
19
- thin: number;
20
- thick: number;
17
+ none: string;
18
+ thin: string;
19
+ medium: string;
20
+ thick: string;
21
21
  };
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-tokens",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Core primitive design tokens for Web Wonder Blocks",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/es/index.js",