@abgov/react-components 6.10.0-dev.12 → 6.10.0-dev.13
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/index.js +4 -3
- package/index.js.map +1 -1
- package/index.mjs +4 -3
- package/index.mjs.map +1 -1
- package/lib/tab/tab.d.ts +3 -1
- package/lib/tabs/tabs.d.ts +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3454,6 +3454,7 @@ function GoabTabs({
|
|
|
3454
3454
|
initialTab,
|
|
3455
3455
|
children,
|
|
3456
3456
|
testId,
|
|
3457
|
+
variant,
|
|
3457
3458
|
onChange
|
|
3458
3459
|
}) {
|
|
3459
3460
|
const ref = react.useRef(null);
|
|
@@ -3470,10 +3471,10 @@ function GoabTabs({
|
|
|
3470
3471
|
};
|
|
3471
3472
|
}
|
|
3472
3473
|
}, [onChange]);
|
|
3473
|
-
return /* @__PURE__ */ jsxRuntime.jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, children });
|
|
3474
|
+
return /* @__PURE__ */ jsxRuntime.jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, variant, children });
|
|
3474
3475
|
}
|
|
3475
|
-
function GoabTab({ heading, children }) {
|
|
3476
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("goa-tab", { children: [
|
|
3476
|
+
function GoabTab({ heading, disabled, children }) {
|
|
3477
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("goa-tab", { disabled: disabled ? "true" : void 0, children: [
|
|
3477
3478
|
heading && /* @__PURE__ */ jsxRuntime.jsx("span", { slot: "heading", children: heading }),
|
|
3478
3479
|
children
|
|
3479
3480
|
] });
|