@superdispatch/ui-lab 0.20.3 → 0.20.4

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.
@@ -1137,7 +1137,7 @@ var NavbarLabel = /*#__PURE__*/styled__default.span.withConfig({
1137
1137
  var NavbarItemRoot = /*#__PURE__*/styled__default.div.withConfig({
1138
1138
  displayName: "NavbarItem__NavbarItemRoot",
1139
1139
  componentId: "SD__sc-1pvzq3w-2"
1140
- })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current]{background-color:#2f394a;color:", ";border-left-color:", ";}&[data-active='true']{background-color:#2f394a;border-left-color:", ";}"], ui.Color.White, ui.Color.Blue300, ui.Color.Blue300);
1140
+ })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}"], ui.Color.White, ui.Color.Blue300);
1141
1141
  var IconWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
1142
1142
  displayName: "NavbarItem__IconWrapper",
1143
1143
  componentId: "SD__sc-1pvzq3w-3"
@@ -1192,7 +1192,7 @@ var NavbarAccordionRoot = /*#__PURE__*/styled__default(core.Accordion).withConfi
1192
1192
  var NavbarAccordionSummary = /*#__PURE__*/styled__default(core.AccordionSummary).withConfig({
1193
1193
  displayName: "NavbarAccordion__NavbarAccordionSummary",
1194
1194
  componentId: "SD__sc-1s7g3kw-2"
1195
- })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&:hover,&[data-active='true']{background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], ui.Color.Blue300);
1195
+ })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&.MuiAccordionSummary-content{align-items:center;}&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], ui.Color.White, ui.Color.Blue300);
1196
1196
  var IconWrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
1197
1197
  displayName: "NavbarAccordion__IconWrapper",
1198
1198
  componentId: "SD__sc-1s7g3kw-3"
@@ -1243,9 +1243,12 @@ function NavbarAccordion(_ref2) {
1243
1243
  }), items.map(item => {
1244
1244
  var index = items.indexOf(item);
1245
1245
  var prev = items[index - 1];
1246
+ var {
1247
+ ident = 0
1248
+ } = item;
1246
1249
  return /*#__PURE__*/react.createElement(NavbarItem, _objectSpread(_objectSpread({}, item), {}, {
1247
1250
  key: item.key,
1248
- ident: 1,
1251
+ ident: ident + 1,
1249
1252
  active: item.active,
1250
1253
  gutter: prev && prev.groupKey !== item.groupKey,
1251
1254
  onClick: event => {