@khanacademy/wonder-blocks-button 6.0.1 → 6.2.0

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.
@@ -31,6 +31,9 @@ declare const theme: {
31
31
  tertiary: {
32
32
  hover: string;
33
33
  };
34
+ icon: {
35
+ secondaryHover: string;
36
+ };
34
37
  };
35
38
  text: {
36
39
  disabled: string;
@@ -41,6 +44,9 @@ declare const theme: {
41
44
  secondary: {
42
45
  inverse: string;
43
46
  };
47
+ icon: {
48
+ secondaryHover: string;
49
+ };
44
50
  };
45
51
  border: {
46
52
  disabled: string;
@@ -68,6 +74,7 @@ declare const theme: {
68
74
  tertiary: number;
69
75
  small: number;
70
76
  large: number;
77
+ icon: string;
71
78
  };
72
79
  };
73
80
  size: {
@@ -78,8 +85,14 @@ declare const theme: {
78
85
  large: number;
79
86
  };
80
87
  };
88
+ margin: {
89
+ icon: {
90
+ offset: number;
91
+ };
92
+ };
81
93
  padding: {
82
- small: 8;
94
+ xsmall: 2;
95
+ small: 6;
83
96
  medium: 12;
84
97
  large: 16;
85
98
  xLarge: 32;
@@ -38,6 +38,9 @@ export declare const ButtonThemeContext: React.Context<{
38
38
  tertiary: {
39
39
  hover: string;
40
40
  };
41
+ icon: {
42
+ secondaryHover: string;
43
+ };
41
44
  };
42
45
  text: {
43
46
  disabled: string;
@@ -48,6 +51,9 @@ export declare const ButtonThemeContext: React.Context<{
48
51
  secondary: {
49
52
  inverse: string;
50
53
  };
54
+ icon: {
55
+ secondaryHover: string;
56
+ };
51
57
  };
52
58
  border: {
53
59
  disabled: string;
@@ -75,6 +81,7 @@ export declare const ButtonThemeContext: React.Context<{
75
81
  tertiary: number;
76
82
  small: number;
77
83
  large: number;
84
+ icon: string;
78
85
  };
79
86
  };
80
87
  size: {
@@ -85,8 +92,14 @@ export declare const ButtonThemeContext: React.Context<{
85
92
  large: number;
86
93
  };
87
94
  };
95
+ margin: {
96
+ icon: {
97
+ offset: number;
98
+ };
99
+ };
88
100
  padding: {
89
- small: 8;
101
+ xsmall: 2;
102
+ small: 6;
90
103
  medium: 12;
91
104
  large: 16;
92
105
  xLarge: 32;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-button",
3
- "version": "6.0.1",
3
+ "version": "6.2.0",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,7 +16,7 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-clickable": "^4.0.9",
19
+ "@khanacademy/wonder-blocks-clickable": "^4.0.10",
20
20
  "@khanacademy/wonder-blocks-color": "^3.0.0",
21
21
  "@khanacademy/wonder-blocks-core": "^6.3.0",
22
22
  "@khanacademy/wonder-blocks-icon": "^2.2.1",