@deque/cauldron-react 6.11.0-canary.afe40620 → 6.12.0-canary.4505ef2e

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1282,7 +1282,7 @@ var SideBar = /** @class */ (function (_super) {
1282
1282
  }(React.Component));
1283
1283
 
1284
1284
  var SideBarItem = function (_a) {
1285
- var children = _a.children, autoClickLink = _a.autoClickLink, other = tslib.__rest(_a, ["children", "autoClickLink"]);
1285
+ var children = _a.children, _b = _a.autoClickLink, autoClickLink = _b === void 0 ? true : _b, other = tslib.__rest(_a, ["children", "autoClickLink"]);
1286
1286
  var onClick = function (e) {
1287
1287
  if (!autoClickLink) {
1288
1288
  return;
@@ -1294,9 +1294,6 @@ var SideBarItem = function (_a) {
1294
1294
  /* eslint-enable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
1295
1295
  };
1296
1296
  SideBarItem.displayName = 'SideBarItem';
1297
- SideBarItem.defaultProps = {
1298
- autoClickLink: true
1299
- };
1300
1297
 
1301
1298
  /**
1302
1299
  * Handles aria-hidden for dialogs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-react",
3
- "version": "6.11.0-canary.afe40620",
3
+ "version": "6.12.0-canary.4505ef2e",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Fully accessible react components library for Deque Cauldron",
6
6
  "homepage": "https://cauldron.dequelabs.com/",