@khanacademy/wonder-blocks-button 11.5.3 → 11.6.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.
- package/.turbo/turbo-build$colon$css.log +1 -1
- package/CHANGELOG.md +29 -0
- package/dist/css/vars.css +44 -0
- package/dist/theme/syl-dark.d.ts +100 -0
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @khanacademy/wonder-blocks-button@11.
|
|
2
|
+
> @khanacademy/wonder-blocks-button@11.6.0 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-button
|
|
3
3
|
> pnpm exec wonder-blocks-tokens .
|
|
4
4
|
|
|
5
5
|
CSS variables generated successfully in: /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-button/dist/css
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-button
|
|
2
2
|
|
|
3
|
+
## 11.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 27a211d: Add support for SYL Dark theme
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [44bde5e]
|
|
12
|
+
- Updated dependencies [27a211d]
|
|
13
|
+
- @khanacademy/wonder-blocks-tokens@16.5.0
|
|
14
|
+
- @khanacademy/wonder-blocks-clickable@8.1.10
|
|
15
|
+
- @khanacademy/wonder-blocks-icon@5.3.14
|
|
16
|
+
- @khanacademy/wonder-blocks-progress-spinner@3.1.51
|
|
17
|
+
- @khanacademy/wonder-blocks-styles@0.2.45
|
|
18
|
+
- @khanacademy/wonder-blocks-typography@4.3.4
|
|
19
|
+
|
|
20
|
+
## 11.5.4
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [245229a]
|
|
25
|
+
- @khanacademy/wonder-blocks-tokens@16.4.1
|
|
26
|
+
- @khanacademy/wonder-blocks-clickable@8.1.9
|
|
27
|
+
- @khanacademy/wonder-blocks-icon@5.3.13
|
|
28
|
+
- @khanacademy/wonder-blocks-progress-spinner@3.1.50
|
|
29
|
+
- @khanacademy/wonder-blocks-styles@0.2.44
|
|
30
|
+
- @khanacademy/wonder-blocks-typography@4.3.3
|
|
31
|
+
|
|
3
32
|
## 11.5.3
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/dist/css/vars.css
CHANGED
|
@@ -42,6 +42,50 @@
|
|
|
42
42
|
--wb-c-button-icon-sizing-medium: var(--wb-sizing-size_240);
|
|
43
43
|
--wb-c-button-icon-sizing-large: var(--wb-sizing-size_240);}
|
|
44
44
|
|
|
45
|
+
[data-wb-theme='syl-dark'] {--wb-c-button-root-border-width-primary-default: var(--wb-border-width-none);
|
|
46
|
+
--wb-c-button-root-border-width-primary-hover: var(--wb-border-width-none);
|
|
47
|
+
--wb-c-button-root-border-width-primary-press: var(--wb-border-width-none);
|
|
48
|
+
--wb-c-button-root-border-width-secondary-default: var(--wb-border-width-thin);
|
|
49
|
+
--wb-c-button-root-border-width-secondary-hover: var(--wb-border-width-thin);
|
|
50
|
+
--wb-c-button-root-border-width-secondary-press: var(--wb-border-width-thin);
|
|
51
|
+
--wb-c-button-root-border-width-tertiary-default: var(--wb-border-width-none);
|
|
52
|
+
--wb-c-button-root-border-width-tertiary-hover: var(--wb-border-width-medium);
|
|
53
|
+
--wb-c-button-root-border-width-tertiary-press: var(--wb-border-width-medium);
|
|
54
|
+
--wb-c-button-root-border-offset-primary: var(--wb-border-width-medium);
|
|
55
|
+
--wb-c-button-root-border-offset-secondary: 0;
|
|
56
|
+
--wb-c-button-root-border-offset-tertiary: 0;
|
|
57
|
+
--wb-c-button-root-border-radius-default: var(--wb-border-radius-radius_080);
|
|
58
|
+
--wb-c-button-root-border-radius-hover: var(--wb-border-radius-radius_080);
|
|
59
|
+
--wb-c-button-root-border-radius-press: var(--wb-border-radius-radius_120);
|
|
60
|
+
--wb-c-button-root-sizing-height-small: var(--wb-sizing-size_260);
|
|
61
|
+
--wb-c-button-root-sizing-height-medium: var(--wb-sizing-size_400);
|
|
62
|
+
--wb-c-button-root-sizing-height-large: var(--wb-sizing-size_440);
|
|
63
|
+
--wb-c-button-root-sizing-underline-hover: var(--wb-sizing-size_0);
|
|
64
|
+
--wb-c-button-root-sizing-underline-press: var(--wb-sizing-size_0);
|
|
65
|
+
--wb-c-button-root-layout-padding-inline-primary-small: var(--wb-sizing-size_080);
|
|
66
|
+
--wb-c-button-root-layout-padding-inline-primary-medium: var(--wb-sizing-size_160);
|
|
67
|
+
--wb-c-button-root-layout-padding-inline-primary-large: var(--wb-sizing-size_180);
|
|
68
|
+
--wb-c-button-root-layout-padding-inline-secondary-small: var(--wb-sizing-size_080);
|
|
69
|
+
--wb-c-button-root-layout-padding-inline-secondary-medium: var(--wb-sizing-size_160);
|
|
70
|
+
--wb-c-button-root-layout-padding-inline-secondary-large: var(--wb-sizing-size_180);
|
|
71
|
+
--wb-c-button-root-layout-padding-inline-tertiary-small: var(--wb-sizing-size_080);
|
|
72
|
+
--wb-c-button-root-layout-padding-inline-tertiary-medium: var(--wb-sizing-size_160);
|
|
73
|
+
--wb-c-button-root-layout-padding-inline-tertiary-large: var(--wb-sizing-size_180);
|
|
74
|
+
--wb-c-button-root-font-size-large: 1.8rem;
|
|
75
|
+
--wb-c-button-root-font-lineHeight-small: var(--wb-font-lineHeight-xMedium);
|
|
76
|
+
--wb-c-button-root-font-lineHeight-default: var(--wb-font-lineHeight-large);
|
|
77
|
+
--wb-c-button-root-font-lineHeight-large: 2.6rem;
|
|
78
|
+
--wb-c-button-root-font-weight-default: var(--wb-font-weight-bold);
|
|
79
|
+
--wb-c-button-root-font-decoration-hover: none;
|
|
80
|
+
--wb-c-button-root-font-decoration-press: none;
|
|
81
|
+
--wb-c-button-root-font-offset-default: var(--wb-sizing-size_0);
|
|
82
|
+
--wb-c-button-icon-margin-inline-inner: var(--wb-sizing-size_060);
|
|
83
|
+
--wb-c-button-icon-margin-inline-outer: calc(-1 * var(--wb-border-width-medium));
|
|
84
|
+
--wb-c-button-icon-padding: var(--wb-sizing-size_020);
|
|
85
|
+
--wb-c-button-icon-sizing-small: var(--wb-sizing-size_120);
|
|
86
|
+
--wb-c-button-icon-sizing-medium: var(--wb-sizing-size_180);
|
|
87
|
+
--wb-c-button-icon-sizing-large: var(--wb-sizing-size_200);}
|
|
88
|
+
|
|
45
89
|
[data-wb-theme='thunderblocks'] {--wb-c-button-root-border-width-primary-default: var(--wb-border-width-none);
|
|
46
90
|
--wb-c-button-root-border-width-primary-hover: var(--wb-border-width-none);
|
|
47
91
|
--wb-c-button-root-border-width-primary-press: var(--wb-border-width-none);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
root: {
|
|
3
|
+
border: {
|
|
4
|
+
width: {
|
|
5
|
+
primary: {
|
|
6
|
+
default: string;
|
|
7
|
+
hover: string;
|
|
8
|
+
press: string;
|
|
9
|
+
};
|
|
10
|
+
secondary: {
|
|
11
|
+
default: string;
|
|
12
|
+
hover: string;
|
|
13
|
+
press: string;
|
|
14
|
+
};
|
|
15
|
+
tertiary: {
|
|
16
|
+
default: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
press: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
offset: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: number;
|
|
24
|
+
tertiary: number;
|
|
25
|
+
};
|
|
26
|
+
radius: {
|
|
27
|
+
default: string;
|
|
28
|
+
hover: string;
|
|
29
|
+
press: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
sizing: {
|
|
33
|
+
height: {
|
|
34
|
+
small: string;
|
|
35
|
+
medium: string;
|
|
36
|
+
large: string;
|
|
37
|
+
};
|
|
38
|
+
underline: {
|
|
39
|
+
hover: string;
|
|
40
|
+
press: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
layout: {
|
|
44
|
+
padding: {
|
|
45
|
+
inline: {
|
|
46
|
+
primary: {
|
|
47
|
+
small: string;
|
|
48
|
+
medium: string;
|
|
49
|
+
large: string;
|
|
50
|
+
};
|
|
51
|
+
secondary: {
|
|
52
|
+
small: string;
|
|
53
|
+
medium: string;
|
|
54
|
+
large: string;
|
|
55
|
+
};
|
|
56
|
+
tertiary: {
|
|
57
|
+
small: string;
|
|
58
|
+
medium: string;
|
|
59
|
+
large: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
font: {
|
|
65
|
+
size: {
|
|
66
|
+
large: string;
|
|
67
|
+
};
|
|
68
|
+
lineHeight: {
|
|
69
|
+
small: string;
|
|
70
|
+
default: string;
|
|
71
|
+
large: string;
|
|
72
|
+
};
|
|
73
|
+
weight: {
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
decoration: {
|
|
77
|
+
hover: string;
|
|
78
|
+
press: string;
|
|
79
|
+
};
|
|
80
|
+
offset: {
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
icon: {
|
|
86
|
+
margin: {
|
|
87
|
+
inline: {
|
|
88
|
+
inner: string;
|
|
89
|
+
outer: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
padding: string;
|
|
93
|
+
sizing: {
|
|
94
|
+
small: string;
|
|
95
|
+
medium: string;
|
|
96
|
+
large: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "11.
|
|
6
|
+
"version": "11.6.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"./styles.css": "./dist/css/vars.css"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@khanacademy/wonder-blocks-clickable": "8.1.
|
|
31
|
+
"@khanacademy/wonder-blocks-clickable": "8.1.10",
|
|
32
32
|
"@khanacademy/wonder-blocks-core": "12.4.3",
|
|
33
|
-
"@khanacademy/wonder-blocks-icon": "5.3.
|
|
34
|
-
"@khanacademy/wonder-blocks-progress-spinner": "3.1.
|
|
35
|
-
"@khanacademy/wonder-blocks-styles": "0.2.
|
|
36
|
-
"@khanacademy/wonder-blocks-tokens": "16.
|
|
37
|
-
"@khanacademy/wonder-blocks-typography": "4.3.
|
|
33
|
+
"@khanacademy/wonder-blocks-icon": "5.3.14",
|
|
34
|
+
"@khanacademy/wonder-blocks-progress-spinner": "3.1.51",
|
|
35
|
+
"@khanacademy/wonder-blocks-styles": "0.2.45",
|
|
36
|
+
"@khanacademy/wonder-blocks-tokens": "16.5.0",
|
|
37
|
+
"@khanacademy/wonder-blocks-typography": "4.3.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"aphrodite": "^1.2.5",
|