@uncinc/uncinc-react-kitchen-sink 2.16.7 → 2.16.8

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.
@@ -55,7 +55,8 @@ var AccordionItem = function AccordionItem(props) {
55
55
  type: "button",
56
56
  onClick: function onClick() {
57
57
  return setCollapsed(!collapsed);
58
- }
58
+ },
59
+ "aria-expanded": !collapsed
59
60
  }, materialIconName ? /*#__PURE__*/React.createElement(Icon, {
60
61
  name: materialIconName,
61
62
  flair: "outlined",
@@ -67,7 +68,8 @@ var AccordionItem = function AccordionItem(props) {
67
68
  easing: easing,
68
69
  height: collapsed ? 0 : 'auto'
69
70
  }, /*#__PURE__*/React.createElement("div", {
70
- className: "Accordion__item__content"
71
+ className: "Accordion__item__content",
72
+ "aria-hidden": collapsed
71
73
  }, /*#__PURE__*/React.createElement(ContentParsed, null, content))));
72
74
  };
73
75
  AccordionItem.defaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.16.7",
3
+ "version": "2.16.8",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",