@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 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
@@ -491,8 +491,7 @@ class Clickable extends React.Component {
491
491
  }
492
492
  Clickable.defaultProps = {
493
493
  light: false,
494
- disabled: false,
495
- "aria-label": ""
494
+ disabled: false
496
495
  };
497
496
  const styles = StyleSheet.create({
498
497
  reset: {
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
- The Clickable component allows you to turn any custom component into a clickable one with consistent behavior and accesibility features.
1
+ Documentation for `@khanacademy/wonder-blocks-clickable` is now in Storybook.
2
2
 
3
- **Clickable allows your components to:**
4
- - Handle mouse / touch / keyboard events
5
- - Match the standard behavior of the given role
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.1",
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.4.0"
19
+ "@khanacademy/wonder-blocks-core": "^4.5.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "aphrodite": "^1.2.5",