@khanacademy/wonder-blocks-clickable 2.3.1 → 2.3.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 +13 -0
- package/dist/es/index.js +1 -2
- package/dist/index.js +1 -2
- package/docs.md +4 -6
- package/package.json +2 -2
- package/src/components/__tests__/clickable-behavior.test.js +312 -374
- package/src/components/__tests__/clickable.test.js +113 -103
- package/src/components/clickable.js +0 -2
- package/src/__tests__/__snapshots__/generated-snapshot.test.js.snap +0 -426
- package/src/__tests__/generated-snapshot.test.js +0 -176
- package/src/components/clickable.md +0 -203
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-clickable
|
|
2
2
|
|
|
3
|
+
## 2.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [175a2dd2]
|
|
8
|
+
- @khanacademy/wonder-blocks-core@4.5.0
|
|
9
|
+
|
|
10
|
+
## 2.3.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 5b8ba5da: Remove the default value of aria-label ""
|
|
15
|
+
|
|
3
16
|
## 2.3.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1317,8 +1317,7 @@ class Clickable extends react__WEBPACK_IMPORTED_MODULE_1__["Component"] {
|
|
|
1317
1317
|
|
|
1318
1318
|
Clickable.defaultProps = {
|
|
1319
1319
|
light: false,
|
|
1320
|
-
disabled: false
|
|
1321
|
-
"aria-label": ""
|
|
1320
|
+
disabled: false
|
|
1322
1321
|
};
|
|
1323
1322
|
const styles = aphrodite__WEBPACK_IMPORTED_MODULE_2__["StyleSheet"].create({
|
|
1324
1323
|
reset: {
|
package/docs.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
Documentation for `@khanacademy/wonder-blocks-clickable` is now in Storybook.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
-
|
|
5
|
-
|
|
6
|
-
- Apply custom styles based on pressed / focused / hovered state
|
|
7
|
-
- Perform Client Side Navigation when `href` is passed and the component is a descendent of a react-router `Router`
|
|
3
|
+
Visit the [Storybook
|
|
4
|
+
Clickable](https://khan.github.io/wonder-blocks/?path=/docs/clickable) docs on
|
|
5
|
+
GitHub Pages.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-clickable",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Clickable component for Wonder-Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.18.6",
|
|
19
|
-
"@khanacademy/wonder-blocks-core": "^4.
|
|
19
|
+
"@khanacademy/wonder-blocks-core": "^4.5.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"aphrodite": "^1.2.5",
|