@khanacademy/wonder-blocks-cell 6.1.14 → 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.
- package/.turbo/turbo-build$colon$css.log +1 -1
- package/CHANGELOG.md +25 -0
- package/dist/css/vars.css +26 -0
- package/dist/theme/syl-dark.d.ts +82 -0
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @khanacademy/wonder-blocks-cell@6.
|
|
2
|
+
> @khanacademy/wonder-blocks-cell@6.2.0 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-cell
|
|
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-cell/dist/css
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-cell
|
|
2
2
|
|
|
3
|
+
## 6.2.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-styles@0.2.45
|
|
16
|
+
- @khanacademy/wonder-blocks-typography@4.3.4
|
|
17
|
+
|
|
18
|
+
## 6.1.15
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [245229a]
|
|
23
|
+
- @khanacademy/wonder-blocks-tokens@16.4.1
|
|
24
|
+
- @khanacademy/wonder-blocks-clickable@8.1.9
|
|
25
|
+
- @khanacademy/wonder-blocks-styles@0.2.44
|
|
26
|
+
- @khanacademy/wonder-blocks-typography@4.3.3
|
|
27
|
+
|
|
3
28
|
## 6.1.14
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/css/vars.css
CHANGED
|
@@ -24,6 +24,32 @@
|
|
|
24
24
|
--wb-c-cell-subtitle-font-size: var(--wb-font-body-size-small);
|
|
25
25
|
--wb-c-cell-subtitle-font-lineHeight: var(--wb-font-body-lineHeight-small);}
|
|
26
26
|
|
|
27
|
+
[data-wb-theme='syl-dark'] {--wb-c-cell-root-border-width-default: var(--wb-border-width-medium);
|
|
28
|
+
--wb-c-cell-root-border-width-selected: var(--wb-border-width-thick);
|
|
29
|
+
--wb-c-cell-root-border-radius-default: var(--wb-border-radius-radius_080);
|
|
30
|
+
--wb-c-cell-root-border-radius-focus: var(--wb-border-radius-radius_080);
|
|
31
|
+
--wb-c-cell-root-border-radius-press: var(--wb-border-radius-radius_120);
|
|
32
|
+
--wb-c-cell-root-border-radius-focusPress: var(--wb-border-radius-radius_120);
|
|
33
|
+
--wb-c-cell-root-color-press-border: var(--wb-semanticColor-core-transparent);
|
|
34
|
+
--wb-c-cell-root-color-selected-foreground: var(--wb-semanticColor-core-foreground-neutral-strong);
|
|
35
|
+
--wb-c-cell-root-color-selected-border: var(--wb-semanticColor-core-transparent);
|
|
36
|
+
--wb-c-cell-root-color-disabled-foreground: var(--wb-semanticColor-core-foreground-disabled-subtle);
|
|
37
|
+
--wb-c-cell-root-layout-gap-default: var(--wb-sizing-size_120);
|
|
38
|
+
--wb-c-cell-root-layout-gap-detail: var(--wb-sizing-size_040);
|
|
39
|
+
--wb-c-cell-root-layout-padding-block-default: var(--wb-sizing-size_120);
|
|
40
|
+
--wb-c-cell-root-layout-padding-block-detail: var(--wb-sizing-size_120);
|
|
41
|
+
--wb-c-cell-root-layout-padding-inline-default: var(--wb-sizing-size_120);
|
|
42
|
+
--wb-c-cell-root-layout-padding-inline-detail: var(--wb-sizing-size_120);
|
|
43
|
+
--wb-c-cell-root-sizing-minHeight: var(--wb-sizing-size_440);
|
|
44
|
+
--wb-c-cell-accessoryLeft-color-default-foreground: var(--wb-semanticColor-core-foreground-neutral-subtle);
|
|
45
|
+
--wb-c-cell-accessoryRight-color-default-foreground: var(--wb-semanticColor-core-foreground-neutral-subtle);
|
|
46
|
+
--wb-c-cell-accessoryRight-color-disabled-foreground: var(--wb-semanticColor-core-foreground-neutral-strong);
|
|
47
|
+
--wb-c-cell-rule-sizing-height: var(--wb-sizing-size_0);
|
|
48
|
+
--wb-c-cell-rule-shadow: none;
|
|
49
|
+
--wb-c-cell-title-font-lineHeight: var(--wb-font-heading-lineHeight-small);
|
|
50
|
+
--wb-c-cell-subtitle-font-size: var(--wb-font-body-size-xsmall);
|
|
51
|
+
--wb-c-cell-subtitle-font-lineHeight: var(--wb-font-body-lineHeight-xsmall);}
|
|
52
|
+
|
|
27
53
|
[data-wb-theme='thunderblocks'] {--wb-c-cell-root-border-width-default: var(--wb-border-width-medium);
|
|
28
54
|
--wb-c-cell-root-border-width-selected: var(--wb-border-width-thick);
|
|
29
55
|
--wb-c-cell-root-border-radius-default: var(--wb-border-radius-radius_080);
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
root: {
|
|
3
|
+
border: {
|
|
4
|
+
width: {
|
|
5
|
+
default: string;
|
|
6
|
+
selected: string;
|
|
7
|
+
};
|
|
8
|
+
radius: {
|
|
9
|
+
default: string;
|
|
10
|
+
focus: string;
|
|
11
|
+
press: string;
|
|
12
|
+
focusPress: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
press: {
|
|
17
|
+
border: string;
|
|
18
|
+
};
|
|
19
|
+
selected: {
|
|
20
|
+
foreground: string;
|
|
21
|
+
border: string;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
foreground: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
layout: {
|
|
28
|
+
gap: {
|
|
29
|
+
default: string;
|
|
30
|
+
detail: string;
|
|
31
|
+
};
|
|
32
|
+
padding: {
|
|
33
|
+
block: {
|
|
34
|
+
default: string;
|
|
35
|
+
detail: string;
|
|
36
|
+
};
|
|
37
|
+
inline: {
|
|
38
|
+
default: string;
|
|
39
|
+
detail: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
sizing: {
|
|
44
|
+
minHeight: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
accessoryLeft: {
|
|
48
|
+
color: {
|
|
49
|
+
default: {
|
|
50
|
+
foreground: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
accessoryRight: {
|
|
55
|
+
color: {
|
|
56
|
+
default: {
|
|
57
|
+
foreground: string;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
foreground: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
rule: {
|
|
65
|
+
sizing: {
|
|
66
|
+
height: string;
|
|
67
|
+
};
|
|
68
|
+
shadow: string;
|
|
69
|
+
};
|
|
70
|
+
title: {
|
|
71
|
+
font: {
|
|
72
|
+
lineHeight: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
subtitle: {
|
|
76
|
+
font: {
|
|
77
|
+
size: string;
|
|
78
|
+
lineHeight: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
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": "6.
|
|
6
|
+
"version": "6.2.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -28,11 +28,11 @@
|
|
|
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-styles": "0.2.
|
|
34
|
-
"@khanacademy/wonder-blocks-tokens": "16.
|
|
35
|
-
"@khanacademy/wonder-blocks-typography": "4.3.
|
|
33
|
+
"@khanacademy/wonder-blocks-styles": "0.2.45",
|
|
34
|
+
"@khanacademy/wonder-blocks-tokens": "16.5.0",
|
|
35
|
+
"@khanacademy/wonder-blocks-typography": "4.3.4"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"aphrodite": "^1.2.5",
|