@abgov/react-components 6.10.0-dev.14 → 6.10.0-dev.16
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/experimental/index.d.ts +1 -0
- package/experimental/work-side-menu-group/work-side-menu-group.d.ts +22 -0
- package/experimental.js +12 -0
- package/experimental.js.map +1 -1
- package/experimental.mjs +12 -0
- package/experimental.mjs.map +1 -1
- package/index.js +13 -5
- package/index.js.map +1 -1
- package/index.mjs +13 -5
- package/index.mjs.map +1 -1
- package/lib/tab/tab.d.ts +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3472,11 +3472,19 @@ function GoabTabs({
|
|
|
3472
3472
|
}, [onChange]);
|
|
3473
3473
|
return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, variant, children });
|
|
3474
3474
|
}
|
|
3475
|
-
function GoabTab({ heading, disabled, children }) {
|
|
3476
|
-
return /* @__PURE__ */ jsxs(
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3475
|
+
function GoabTab({ heading, disabled, slug, children }) {
|
|
3476
|
+
return /* @__PURE__ */ jsxs(
|
|
3477
|
+
"goa-tab",
|
|
3478
|
+
{
|
|
3479
|
+
slug,
|
|
3480
|
+
disabled: disabled ? "true" : void 0,
|
|
3481
|
+
heading: typeof heading === "string" ? heading : void 0,
|
|
3482
|
+
children: [
|
|
3483
|
+
typeof heading !== "string" && /* @__PURE__ */ jsx("span", { slot: "heading", children: heading }),
|
|
3484
|
+
children
|
|
3485
|
+
]
|
|
3486
|
+
}
|
|
3487
|
+
);
|
|
3480
3488
|
}
|
|
3481
3489
|
const GoabTemporaryNotificationCtrl = ({
|
|
3482
3490
|
verticalPosition = "bottom",
|