@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 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, spacing, border } from '@khanacademy/wonder-blocks-tokens';
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: spacing.small_12,
40
- full: border.radius.full
39
+ small: border.radius.radius_120,
40
+ full: border.radius.radius_full
41
41
  }
42
42
  },
43
43
  size: {
package/dist/index.js CHANGED
@@ -60,8 +60,8 @@ const theme$1 = {
60
60
  },
61
61
  border: {
62
62
  radius: {
63
- small: tokens.spacing.small_12,
64
- full: tokens.border.radius.full
63
+ small: tokens.border.radius.radius_120,
64
+ full: tokens.border.radius.radius_full
65
65
  }
66
66
  },
67
67
  size: {
@@ -26,7 +26,7 @@ declare const theme: {
26
26
  };
27
27
  border: {
28
28
  radius: {
29
- small: 12;
29
+ small: string;
30
30
  full: string;
31
31
  };
32
32
  };
@@ -33,7 +33,7 @@ declare const theme: {
33
33
  };
34
34
  border: {
35
35
  radius: {
36
- small: 12;
36
+ small: string;
37
37
  full: string;
38
38
  };
39
39
  };
@@ -36,7 +36,7 @@ export declare const SwitchThemeContext: React.Context<{
36
36
  };
37
37
  border: {
38
38
  radius: {
39
- small: 12;
39
+ small: string;
40
40
  full: string;
41
41
  };
42
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-switch",
3
- "version": "3.1.6",
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": "6.0.0"
19
+ "@khanacademy/wonder-blocks-tokens": "8.0.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "aphrodite": "^1.2.5",