@sb1/ffe-cards-react 8.0.0 → 8.0.2

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.
@@ -21,7 +21,8 @@ var IconCard = function IconCard(props) {
21
21
  'ffe-icon-card--grey-charcoal': greyCharcoal
22
22
  }, className)
23
23
  }, rest), /*#__PURE__*/React.cloneElement(icon, {
24
- className: classNames('ffe-icon-card__icon', icon.props.className)
24
+ className: classNames('ffe-icon-card__icon', icon.props.className),
25
+ 'aria-hidden': 'true'
25
26
  }), /*#__PURE__*/React.createElement("div", {
26
27
  className: "ffe-icon-card__body"
27
28
  }, typeof children === 'function' ? children(components) : children));
@@ -31,7 +31,8 @@ var IconCard = function IconCard(props) {
31
31
  'ffe-icon-card--grey-charcoal': greyCharcoal
32
32
  }, className)
33
33
  }, rest), /*#__PURE__*/_react.default.cloneElement(icon, {
34
- className: (0, _classnames.default)('ffe-icon-card__icon', icon.props.className)
34
+ className: (0, _classnames.default)('ffe-icon-card__icon', icon.props.className),
35
+ 'aria-hidden': 'true'
35
36
  }), /*#__PURE__*/_react.default.createElement("div", {
36
37
  className: "ffe-icon-card__body"
37
38
  }, typeof children === 'function' ? children(components) : children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-cards-react",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "React implementation of ffe-react",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -28,8 +28,8 @@
28
28
  "prop-types": "^15.7.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@sb1/ffe-buildtool": "^0.4.1",
32
- "@sb1/ffe-icons-react": "^7.3.3",
31
+ "@sb1/ffe-buildtool": "^0.5.0",
32
+ "@sb1/ffe-icons-react": "^7.3.4",
33
33
  "react": "^16.9.0",
34
34
  "react-dom": "^16.9.0"
35
35
  },
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "c015b4c488881c2164c749dbb8eeca1d123b80e3"
43
+ "gitHead": "816e0f967f7b2d8fd6cca41bb9d363a4c7933116"
44
44
  }