@norges-domstoler/dds-components 0.0.0-dev-20250221075132 → 0.0.0-dev-20250221101933

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/dist/index.js CHANGED
@@ -12096,7 +12096,11 @@ var TabList = (0, import_react150.forwardRef)(
12096
12096
  index,
12097
12097
  focus: focus === index && hasTabFocus,
12098
12098
  setFocus,
12099
- onClick: () => handleTabChange(index)
12099
+ onClick: () => {
12100
+ var _a, _b;
12101
+ handleTabChange(index);
12102
+ (_b = (_a = child.props).onClick) == null ? void 0 : _b.call(_a);
12103
+ }
12100
12104
  });
12101
12105
  }) : [];
12102
12106
  if (hasButton && tabListChildren) {