@khanacademy/wonder-blocks-switch 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 +15 -0
- package/dist/es/index.js +3 -3
- package/dist/index.js +2 -2
- package/dist/themes/default.d.ts +1 -1
- package/dist/themes/khanmigo.d.ts +1 -1
- package/dist/themes/themed-switch.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-switch
|
|
2
2
|
|
|
3
|
+
## 3.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e63adea]
|
|
8
|
+
- @khanacademy/wonder-blocks-tokens@8.0.0
|
|
9
|
+
|
|
10
|
+
## 3.1.7
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- e8ccf60: Update `borderRadius` styles to use new `border.radius` tokens
|
|
15
|
+
- Updated dependencies [e8ccf60]
|
|
16
|
+
- @khanacademy/wonder-blocks-tokens@7.0.0
|
|
17
|
+
|
|
3
18
|
## 3.1.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { StyleSheet } from 'aphrodite';
|
|
|
5
5
|
import { addStyle, View } from '@khanacademy/wonder-blocks-core';
|
|
6
6
|
import { mergeTheme, createThemeContext, ThemeSwitcherContext, useScopedTheme, useStyles } from '@khanacademy/wonder-blocks-theming';
|
|
7
7
|
import * as tokens from '@khanacademy/wonder-blocks-tokens';
|
|
8
|
-
import { semanticColor, color,
|
|
8
|
+
import { semanticColor, color, border, spacing } from '@khanacademy/wonder-blocks-tokens';
|
|
9
9
|
|
|
10
10
|
const action = semanticColor.action.secondary.progressive;
|
|
11
11
|
const theme$1 = {
|
|
@@ -36,8 +36,8 @@ const theme$1 = {
|
|
|
36
36
|
},
|
|
37
37
|
border: {
|
|
38
38
|
radius: {
|
|
39
|
-
small:
|
|
40
|
-
full: border.radius.
|
|
39
|
+
small: border.radius.radius_120,
|
|
40
|
+
full: border.radius.radius_full
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
size: {
|
package/dist/index.js
CHANGED
package/dist/themes/default.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-switch",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Switch components for Wonder Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@khanacademy/wonder-blocks-core": "12.2.1",
|
|
17
17
|
"@khanacademy/wonder-blocks-icon": "5.1.3",
|
|
18
18
|
"@khanacademy/wonder-blocks-theming": "3.2.1",
|
|
19
|
-
"@khanacademy/wonder-blocks-tokens": "
|
|
19
|
+
"@khanacademy/wonder-blocks-tokens": "8.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"aphrodite": "^1.2.5",
|