@khanacademy/wonder-blocks-pill 3.1.6 → 3.1.8

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,27 @@
1
1
  # @khanacademy/wonder-blocks-pill
2
2
 
3
+ ## 3.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - e8ccf60: Update `borderRadius` styles to use new `border.radius` tokens
8
+ - e8ccf60: Update `Pill.small` and `Pill.medium` to use `radius_40` (4px, 0.4rem) instead of `6px`.
9
+ - Updated dependencies [e8ccf60]
10
+ - Updated dependencies [e8ccf60]
11
+ - Updated dependencies [e8ccf60]
12
+ - @khanacademy/wonder-blocks-link@9.0.1
13
+ - @khanacademy/wonder-blocks-tokens@7.0.0
14
+ - @khanacademy/wonder-blocks-clickable@7.0.1
15
+
16
+ ## 3.1.7
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [38c926c]
21
+ - @khanacademy/wonder-blocks-clickable@7.0.0
22
+ - @khanacademy/wonder-blocks-link@9.0.0
23
+ - @khanacademy/wonder-blocks-core@12.2.1
24
+
3
25
  ## 3.1.6
4
26
 
5
27
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -85,13 +85,13 @@ const pillStyles = StyleSheet.create({
85
85
  wrapperSmall: {
86
86
  paddingLeft: tokens.spacing.xSmall_8,
87
87
  paddingRight: tokens.spacing.xSmall_8,
88
- borderRadius: tokens.spacing.xxSmall_6,
88
+ borderRadius: tokens.border.radius.radius_040,
89
89
  height: 20
90
90
  },
91
91
  wrapperMedium: {
92
92
  paddingLeft: tokens.spacing.xSmall_8,
93
93
  paddingRight: tokens.spacing.xSmall_8,
94
- borderRadius: tokens.spacing.xxSmall_6,
94
+ borderRadius: tokens.border.radius.radius_040,
95
95
  height: tokens.spacing.large_24
96
96
  },
97
97
  wrapperLarge: {
@@ -99,7 +99,7 @@ const pillStyles = StyleSheet.create({
99
99
  paddingRight: tokens.spacing.small_12,
100
100
  paddingTop: tokens.spacing.xxSmall_6,
101
101
  paddingBottom: tokens.spacing.xxSmall_6,
102
- borderRadius: tokens.spacing.large_24,
102
+ borderRadius: tokens.sizing.size_240,
103
103
  height: tokens.spacing.xLarge_32
104
104
  }
105
105
  });
package/dist/index.js CHANGED
@@ -112,13 +112,13 @@ const pillStyles = aphrodite.StyleSheet.create({
112
112
  wrapperSmall: {
113
113
  paddingLeft: tokens__namespace.spacing.xSmall_8,
114
114
  paddingRight: tokens__namespace.spacing.xSmall_8,
115
- borderRadius: tokens__namespace.spacing.xxSmall_6,
115
+ borderRadius: tokens__namespace.border.radius.radius_040,
116
116
  height: 20
117
117
  },
118
118
  wrapperMedium: {
119
119
  paddingLeft: tokens__namespace.spacing.xSmall_8,
120
120
  paddingRight: tokens__namespace.spacing.xSmall_8,
121
- borderRadius: tokens__namespace.spacing.xxSmall_6,
121
+ borderRadius: tokens__namespace.border.radius.radius_040,
122
122
  height: tokens__namespace.spacing.large_24
123
123
  },
124
124
  wrapperLarge: {
@@ -126,7 +126,7 @@ const pillStyles = aphrodite.StyleSheet.create({
126
126
  paddingRight: tokens__namespace.spacing.small_12,
127
127
  paddingTop: tokens__namespace.spacing.xxSmall_6,
128
128
  paddingBottom: tokens__namespace.spacing.xxSmall_6,
129
- borderRadius: tokens__namespace.spacing.large_24,
129
+ borderRadius: tokens__namespace.sizing.size_240,
130
130
  height: tokens__namespace.spacing.xLarge_32
131
131
  }
132
132
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-pill",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "design": "v1",
5
5
  "description": "Pill components for Wonder Blocks.",
6
6
  "main": "dist/index.js",
@@ -14,10 +14,10 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.24.5",
17
- "@khanacademy/wonder-blocks-clickable": "6.1.6",
17
+ "@khanacademy/wonder-blocks-clickable": "7.0.1",
18
18
  "@khanacademy/wonder-blocks-core": "12.2.1",
19
- "@khanacademy/wonder-blocks-link": "8.0.4",
20
- "@khanacademy/wonder-blocks-tokens": "6.0.0",
19
+ "@khanacademy/wonder-blocks-link": "9.0.1",
20
+ "@khanacademy/wonder-blocks-tokens": "7.0.0",
21
21
  "@khanacademy/wonder-blocks-typography": "3.1.3"
22
22
  },
23
23
  "peerDependencies": {