@khanacademy/wonder-blocks-clickable 7.0.1 → 7.0.3
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 +18 -0
- package/dist/es/index.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-clickable
|
|
2
2
|
|
|
3
|
+
## 7.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [2656fd4]
|
|
8
|
+
- Updated dependencies [6018552]
|
|
9
|
+
- Updated dependencies [7bbf311]
|
|
10
|
+
- Updated dependencies [7f79943]
|
|
11
|
+
- @khanacademy/wonder-blocks-tokens@9.0.0
|
|
12
|
+
|
|
13
|
+
## 7.0.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- e63adea: Update `border.width` tokens to use new naming conventions.
|
|
18
|
+
- Updated dependencies [e63adea]
|
|
19
|
+
- @khanacademy/wonder-blocks-tokens@8.0.0
|
|
20
|
+
|
|
3
21
|
## 7.0.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
|
@@ -476,11 +476,11 @@ const styles = StyleSheet.create({
|
|
|
476
476
|
},
|
|
477
477
|
focused: {
|
|
478
478
|
":focus": {
|
|
479
|
-
outline: `solid ${border.width.
|
|
479
|
+
outline: `solid ${border.width.medium} ${semanticColor.focus.outer}`
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
482
|
focusedLight: {
|
|
483
|
-
outline: `solid ${border.width.
|
|
483
|
+
outline: `solid ${border.width.medium} ${semanticColor.border.inverse}`
|
|
484
484
|
},
|
|
485
485
|
disabled: {
|
|
486
486
|
color: semanticColor.action.secondary.disabled.foreground,
|
|
@@ -489,7 +489,7 @@ const styles = StyleSheet.create({
|
|
|
489
489
|
outline: "none"
|
|
490
490
|
},
|
|
491
491
|
":focus-visible": {
|
|
492
|
-
outline: `solid ${border.width.
|
|
492
|
+
outline: `solid ${border.width.medium} ${semanticColor.focus.outer}`
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
});
|
package/dist/index.js
CHANGED
|
@@ -504,11 +504,11 @@ const styles = aphrodite.StyleSheet.create({
|
|
|
504
504
|
},
|
|
505
505
|
focused: {
|
|
506
506
|
":focus": {
|
|
507
|
-
outline: `solid ${wonderBlocksTokens.border.width.
|
|
507
|
+
outline: `solid ${wonderBlocksTokens.border.width.medium} ${wonderBlocksTokens.semanticColor.focus.outer}`
|
|
508
508
|
}
|
|
509
509
|
},
|
|
510
510
|
focusedLight: {
|
|
511
|
-
outline: `solid ${wonderBlocksTokens.border.width.
|
|
511
|
+
outline: `solid ${wonderBlocksTokens.border.width.medium} ${wonderBlocksTokens.semanticColor.border.inverse}`
|
|
512
512
|
},
|
|
513
513
|
disabled: {
|
|
514
514
|
color: wonderBlocksTokens.semanticColor.action.secondary.disabled.foreground,
|
|
@@ -517,7 +517,7 @@ const styles = aphrodite.StyleSheet.create({
|
|
|
517
517
|
outline: "none"
|
|
518
518
|
},
|
|
519
519
|
":focus-visible": {
|
|
520
|
-
outline: `solid ${wonderBlocksTokens.border.width.
|
|
520
|
+
outline: `solid ${wonderBlocksTokens.border.width.medium} ${wonderBlocksTokens.semanticColor.focus.outer}`
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-clickable",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Clickable component for Wonder-Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@babel/runtime": "^7.24.5",
|
|
16
16
|
"@khanacademy/wonder-blocks-core": "12.2.1",
|
|
17
|
-
"@khanacademy/wonder-blocks-tokens": "
|
|
17
|
+
"@khanacademy/wonder-blocks-tokens": "9.0.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"aphrodite": "^1.2.5",
|