@khanacademy/wonder-blocks-birthday-picker 3.0.11 → 3.0.13
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 +17 -0
- package/dist/es/index.js +3 -3
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-birthday-picker
|
|
2
2
|
|
|
3
|
+
## 3.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7057fa7c: Replace `color` with `semanticColor` tokens
|
|
8
|
+
- @khanacademy/wonder-blocks-dropdown@8.0.2
|
|
9
|
+
|
|
10
|
+
## 3.0.12
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [8cfaeab0]
|
|
15
|
+
- Updated dependencies [c162abb4]
|
|
16
|
+
- @khanacademy/wonder-blocks-tokens@4.1.0
|
|
17
|
+
- @khanacademy/wonder-blocks-dropdown@8.0.1
|
|
18
|
+
- @khanacademy/wonder-blocks-layout@3.0.7
|
|
19
|
+
|
|
3
20
|
## 3.0.11
|
|
4
21
|
|
|
5
22
|
### 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,
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.18.6",
|
|
18
18
|
"@khanacademy/wonder-blocks-core": "^11.1.0",
|
|
19
|
-
"@khanacademy/wonder-blocks-dropdown": "^8.0.
|
|
19
|
+
"@khanacademy/wonder-blocks-dropdown": "^8.0.2",
|
|
20
20
|
"@khanacademy/wonder-blocks-icon": "^5.0.5",
|
|
21
|
-
"@khanacademy/wonder-blocks-layout": "^3.0.
|
|
22
|
-
"@khanacademy/wonder-blocks-tokens": "^4.
|
|
21
|
+
"@khanacademy/wonder-blocks-layout": "^3.0.7",
|
|
22
|
+
"@khanacademy/wonder-blocks-tokens": "^4.1.0",
|
|
23
23
|
"@khanacademy/wonder-blocks-typography": "^3.0.5"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|