@khanacademy/wonder-blocks-birthday-picker 3.0.12 → 3.0.14

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,24 @@
1
1
  # @khanacademy/wonder-blocks-birthday-picker
2
2
 
3
+ ## 3.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0199324d]
8
+ - Updated dependencies [1a18e98a]
9
+ - @khanacademy/wonder-blocks-dropdown@9.0.0
10
+ - @khanacademy/wonder-blocks-core@12.0.0
11
+ - @khanacademy/wonder-blocks-icon@5.0.6
12
+ - @khanacademy/wonder-blocks-layout@3.0.8
13
+ - @khanacademy/wonder-blocks-typography@3.0.6
14
+
15
+ ## 3.0.13
16
+
17
+ ### Patch Changes
18
+
19
+ - 7057fa7c: Replace `color` with `semanticColor` tokens
20
+ - @khanacademy/wonder-blocks-dropdown@8.0.2
21
+
3
22
  ## 3.0.12
4
23
 
5
24
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { StyleSheet } from 'aphrodite';
5
5
  import { View } from '@khanacademy/wonder-blocks-core';
6
6
  import { Strut } from '@khanacademy/wonder-blocks-layout';
7
- import { spacing, color } from '@khanacademy/wonder-blocks-tokens';
7
+ import { spacing, semanticColor } from '@khanacademy/wonder-blocks-tokens';
8
8
  import { Body } from '@khanacademy/wonder-blocks-typography';
9
9
  import { PhosphorIcon } from '@khanacademy/wonder-blocks-icon';
10
10
  import { SingleSelect, OptionItem } from '@khanacademy/wonder-blocks-dropdown';
@@ -132,13 +132,13 @@ class BirthdayPicker extends React.Component {
132
132
  }, React.createElement(PhosphorIcon, {
133
133
  size: "small",
134
134
  icon: infoIcon,
135
- color: color.red,
135
+ color: semanticColor.icon.destructive,
136
136
  "aria-hidden": "true"
137
137
  }), React.createElement(Strut, {
138
138
  size: spacing.xxxSmall_4
139
139
  }), React.createElement(Body, {
140
140
  style: {
141
- color: color.red
141
+ color: semanticColor.status.critical.foreground
142
142
  }
143
143
  }, error)));
144
144
  }
package/dist/index.js CHANGED
@@ -159,13 +159,13 @@ class BirthdayPicker extends React__namespace.Component {
159
159
  }, React__namespace.createElement(wonderBlocksIcon.PhosphorIcon, {
160
160
  size: "small",
161
161
  icon: infoIcon__default["default"],
162
- color: wonderBlocksTokens.color.red,
162
+ color: wonderBlocksTokens.semanticColor.icon.destructive,
163
163
  "aria-hidden": "true"
164
164
  }), React__namespace.createElement(wonderBlocksLayout.Strut, {
165
165
  size: wonderBlocksTokens.spacing.xxxSmall_4
166
166
  }), React__namespace.createElement(wonderBlocksTypography.Body, {
167
167
  style: {
168
- color: wonderBlocksTokens.color.red
168
+ color: wonderBlocksTokens.semanticColor.status.critical.foreground
169
169
  }
170
170
  }, error)));
171
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-birthday-picker",
3
- "version": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,12 +15,12 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.18.6",
18
- "@khanacademy/wonder-blocks-core": "^11.1.0",
19
- "@khanacademy/wonder-blocks-dropdown": "^8.0.1",
20
- "@khanacademy/wonder-blocks-icon": "^5.0.5",
21
- "@khanacademy/wonder-blocks-layout": "^3.0.7",
18
+ "@khanacademy/wonder-blocks-core": "^12.0.0",
19
+ "@khanacademy/wonder-blocks-dropdown": "^9.0.0",
20
+ "@khanacademy/wonder-blocks-icon": "^5.0.6",
21
+ "@khanacademy/wonder-blocks-layout": "^3.0.8",
22
22
  "@khanacademy/wonder-blocks-tokens": "^4.1.0",
23
- "@khanacademy/wonder-blocks-typography": "^3.0.5"
23
+ "@khanacademy/wonder-blocks-typography": "^3.0.6"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@phosphor-icons/core": "^2.0.2",