@carbon-labs/wc-global-header 0.55.0 → 0.57.0

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.
@@ -367,7 +367,7 @@ const dt = {
367
367
  * Copyright 2017 Google LLC
368
368
  * SPDX-License-Identifier: BSD-3-Clause
369
369
  */
370
- const yo = globalThis, es = (o) => o, Do = yo.trustedTypes, ss = Do ? Do.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, qs = "$lit$", Lt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vs = "?" + Lt, Lc = `<${Vs}>`, Qt = document, ko = () => Qt.createComment(""), zo = (o) => o === null || typeof o != "object" && typeof o != "function", Re = Array.isArray, Bc = (o) => Re(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", pe = `[
370
+ const yo = globalThis, es = (o) => o, Do = yo.trustedTypes, ss = Do ? Do.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, qs = "$lit$", Lt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vs = "?" + Lt, Lc = `<${Vs}>`, Qt = document, ko = () => Qt.createComment(""), wo = (o) => o === null || typeof o != "object" && typeof o != "function", Re = Array.isArray, Bc = (o) => Re(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", pe = `[
371
371
  \f\r]`, fo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, cs = /-->/g, rs = />/g, Ut = RegExp(`>|${pe}(?:([^\\s"'>=/]+)(${pe}*=${pe}*(?:[^
372
372
  \f\r"'\`<>=]|("|')|))|$)`, "g"), ns = /'/g, is = /"/g, Us = /^(?:script|style|textarea|title)$/i, Rc = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), m = Rc(1), Dt = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), as = /* @__PURE__ */ new WeakMap(), Kt = Qt.createTreeWalker(Qt, 129);
373
373
  function Xs(o, t) {
@@ -386,13 +386,13 @@ const Hc = (o, t) => {
386
386
  }
387
387
  return [Xs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
388
388
  };
389
- class wo {
389
+ class zo {
390
390
  constructor({ strings: t, _$litType$: e }, s) {
391
391
  let c;
392
392
  this.parts = [];
393
393
  let r = 0, n = 0;
394
394
  const a = t.length - 1, d = this.parts, [u, v] = Hc(t, e);
395
- if (this.el = wo.createElement(u, s), Kt.currentNode = this.el.content, e === 2 || e === 3) {
395
+ if (this.el = zo.createElement(u, s), Kt.currentNode = this.el.content, e === 2 || e === 3) {
396
396
  const h = this.el.content.firstChild;
397
397
  h.replaceWith(...h.childNodes);
398
398
  }
@@ -427,7 +427,7 @@ function lo(o, t, e = o, s) {
427
427
  var n, a;
428
428
  if (t === Dt) return t;
429
429
  let c = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
430
- const r = zo(t) ? void 0 : t._$litDirective$;
430
+ const r = wo(t) ? void 0 : t._$litDirective$;
431
431
  return (c == null ? void 0 : c.constructor) !== r && ((a = c == null ? void 0 : c._$AO) == null || a.call(c, !1), r === void 0 ? c = void 0 : (c = new r(o), c._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = c : e._$Cl = c), c !== void 0 && (t = lo(o, c._$AS(o, t.values), c, s)), t;
432
432
  }
433
433
  class Dc {
@@ -478,7 +478,7 @@ class Mo {
478
478
  return this._$AB;
479
479
  }
480
480
  _$AI(t, e = this) {
481
- t = lo(this, t, e), zo(t) ? t === x || t == null || t === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : t !== this._$AH && t !== Dt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Bc(t) ? this.k(t) : this._(t);
481
+ t = lo(this, t, e), wo(t) ? t === x || t == null || t === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : t !== this._$AH && t !== Dt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Bc(t) ? this.k(t) : this._(t);
482
482
  }
483
483
  O(t) {
484
484
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -487,11 +487,11 @@ class Mo {
487
487
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
488
488
  }
489
489
  _(t) {
490
- this._$AH !== x && zo(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Qt.createTextNode(t)), this._$AH = t;
490
+ this._$AH !== x && wo(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Qt.createTextNode(t)), this._$AH = t;
491
491
  }
492
492
  $(t) {
493
493
  var r;
494
- const { values: e, _$litType$: s } = t, c = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = wo.createElement(Xs(s.h, s.h[0]), this.options)), s);
494
+ const { values: e, _$litType$: s } = t, c = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = zo.createElement(Xs(s.h, s.h[0]), this.options)), s);
495
495
  if (((r = this._$AH) == null ? void 0 : r._$AD) === c) this._$AH.p(e);
496
496
  else {
497
497
  const n = new Dc(c, this), a = n.u(this.options);
@@ -500,7 +500,7 @@ class Mo {
500
500
  }
501
501
  _$AC(t) {
502
502
  let e = as.get(t.strings);
503
- return e === void 0 && as.set(t.strings, e = new wo(t)), e;
503
+ return e === void 0 && as.set(t.strings, e = new zo(t)), e;
504
504
  }
505
505
  k(t) {
506
506
  Re(this._$AH) || (this._$AH = [], this._$AR());
@@ -534,11 +534,11 @@ class Jo {
534
534
  _$AI(t, e = this, s, c) {
535
535
  const r = this.strings;
536
536
  let n = !1;
537
- if (r === void 0) t = lo(this, t, e, 0), n = !zo(t) || t !== this._$AH && t !== Dt, n && (this._$AH = t);
537
+ if (r === void 0) t = lo(this, t, e, 0), n = !wo(t) || t !== this._$AH && t !== Dt, n && (this._$AH = t);
538
538
  else {
539
539
  const a = t;
540
540
  let d, u;
541
- for (t = r[0], d = 0; d < r.length - 1; d++) u = lo(this, a[s + d], e, d), u === Dt && (u = this._$AH[d]), n || (n = !zo(u) || u !== this._$AH[d]), u === x ? t = x : t !== x && (t += (u ?? "") + r[d + 1]), this._$AH[d] = u;
541
+ for (t = r[0], d = 0; d < r.length - 1; d++) u = lo(this, a[s + d], e, d), u === Dt && (u = this._$AH[d]), n || (n = !wo(u) || u !== this._$AH[d]), u === x ? t = x : t !== x && (t += (u ?? "") + r[d + 1]), this._$AH[d] = u;
542
542
  }
543
543
  n && !c && this.j(t);
544
544
  }
@@ -588,7 +588,7 @@ class Vc {
588
588
  }
589
589
  }
590
590
  const le = yo.litHtmlPolyfillSupport;
591
- le == null || le(wo, Mo), (yo.litHtmlVersions ?? (yo.litHtmlVersions = [])).push("3.3.2");
591
+ le == null || le(zo, Mo), (yo.litHtmlVersions ?? (yo.litHtmlVersions = [])).push("3.3.2");
592
592
  const Uc = (o, t, e) => {
593
593
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
594
594
  let c = s._$litPart$;
@@ -917,7 +917,7 @@ let M = class extends Po(Ct(k)) {
917
917
  }
918
918
  render() {
919
919
  var t, e, s;
920
- const { autofocus: c, buttonClassName: r, dangerDescription: n, disabled: a, download: d, href: u, hreflang: v, kind: h, isExpressive: g, isSelected: b, linkRole: _, openTooltip: C, ping: S, rel: w, size: z, tabIndex: E, target: I, tooltipAlignment: L, tooltipPosition: T, tooltipText: $, type: y, _hasIcon: f, hasMainContent: j, _handleSlotChange: q } = this;
920
+ const { autofocus: c, buttonClassName: r, dangerDescription: n, disabled: a, download: d, href: u, hreflang: v, kind: h, isExpressive: g, isSelected: b, linkRole: _, openTooltip: C, ping: S, rel: z, size: w, tabIndex: E, target: I, tooltipAlignment: L, tooltipPosition: T, tooltipText: $, type: y, _hasIcon: f, hasMainContent: j, _handleSlotChange: q } = this;
921
921
  let F = {
922
922
  [`${i}--btn`]: !0,
923
923
  [`${i}--btn--${h}`]: h,
@@ -925,8 +925,8 @@ let M = class extends Po(Ct(k)) {
925
925
  [`${i}--btn--danger--ghost`]: h === Et.DANGER_GHOST,
926
926
  [`${i}--btn--disabled`]: a,
927
927
  [`${i}--btn--icon-only`]: f && !j,
928
- [`${i}--btn--${z}`]: z,
929
- [`${i}--layout--size-${z}`]: z,
928
+ [`${i}--btn--${w}`]: w,
929
+ [`${i}--layout--size-${w}`]: w,
930
930
  [`${i}-ce--btn--has-icon`]: f,
931
931
  [`${i}--btn--expressive`]: g,
932
932
  [`${i}--btn--selected`]: b && h === "ghost"
@@ -954,7 +954,7 @@ let M = class extends Po(Ct(k)) {
954
954
  href="${P(u)}"
955
955
  hreflang="${P(v)}"
956
956
  ping="${P(S)}"
957
- rel="${P(w)}"
957
+ rel="${P(z)}"
958
958
  target="${P(I)}"
959
959
  type="${P(y)}"
960
960
  tabindex="${E}"
@@ -1256,10 +1256,10 @@ ke.directiveName = "unsafeHTML", ke.resultType = 1;
1256
1256
  * Copyright 2017 Google LLC
1257
1257
  * SPDX-License-Identifier: BSD-3-Clause
1258
1258
  */
1259
- class ze extends ke {
1259
+ class we extends ke {
1260
1260
  }
1261
- ze.directiveName = "unsafeSVG", ze.resultType = 2;
1262
- const Gc = He(ze);
1261
+ we.directiveName = "unsafeSVG", we.resultType = 2;
1262
+ const Gc = He(we);
1263
1263
  function ps(o, t) {
1264
1264
  var e = Object.keys(o);
1265
1265
  if (Object.getOwnPropertySymbols) {
@@ -1709,7 +1709,7 @@ mt = l([
1709
1709
  H(`${i}-side-nav`)
1710
1710
  ], mt);
1711
1711
  var Js = mt;
1712
- let zt = class extends Ct(k) {
1712
+ let wt = class extends Ct(k) {
1713
1713
  constructor() {
1714
1714
  super(...arguments), this.active = !1, this.buttonLabelActive = "Close navigation menu", this.buttonLabelInactive = "Open navigation menu", this.collapseMode = pt.RESPONSIVE, this.disabled = !1, this.isNotChildOfHeader = !1;
1715
1715
  }
@@ -1749,32 +1749,32 @@ let zt = class extends Ct(k) {
1749
1749
  return `${i}-header-menu-button-toggled`;
1750
1750
  }
1751
1751
  };
1752
- zt.shadowRootOptions = Object.assign(Object.assign({}, k.shadowRootOptions), { delegatesFocus: !0 });
1753
- zt.styles = ft;
1752
+ wt.shadowRootOptions = Object.assign(Object.assign({}, k.shadowRootOptions), { delegatesFocus: !0 });
1753
+ wt.styles = ft;
1754
1754
  l([
1755
1755
  p({ type: Boolean, reflect: !0 })
1756
- ], zt.prototype, "active", void 0);
1756
+ ], wt.prototype, "active", void 0);
1757
1757
  l([
1758
1758
  p({ attribute: "button-label-active" })
1759
- ], zt.prototype, "buttonLabelActive", void 0);
1759
+ ], wt.prototype, "buttonLabelActive", void 0);
1760
1760
  l([
1761
1761
  p({ attribute: "button-label-inactive" })
1762
- ], zt.prototype, "buttonLabelInactive", void 0);
1762
+ ], wt.prototype, "buttonLabelInactive", void 0);
1763
1763
  l([
1764
1764
  p({ reflect: !0, attribute: "collapse-mode" })
1765
- ], zt.prototype, "collapseMode", void 0);
1765
+ ], wt.prototype, "collapseMode", void 0);
1766
1766
  l([
1767
1767
  p({ type: Boolean, reflect: !0 })
1768
- ], zt.prototype, "disabled", void 0);
1768
+ ], wt.prototype, "disabled", void 0);
1769
1769
  l([
1770
1770
  p({
1771
1771
  type: Boolean,
1772
1772
  attribute: "is-not-child-of-header"
1773
1773
  })
1774
- ], zt.prototype, "isNotChildOfHeader", void 0);
1775
- zt = l([
1774
+ ], wt.prototype, "isNotChildOfHeader", void 0);
1775
+ wt = l([
1776
1776
  H(`${i}-header-menu-button`)
1777
- ], zt);
1777
+ ], wt);
1778
1778
  let rt = class extends Ct(k) {
1779
1779
  constructor() {
1780
1780
  super(...arguments), this.isActive = !1, this.role = "listitem";
@@ -1911,15 +1911,15 @@ l([
1911
1911
  qo = l([
1912
1912
  H(`${i}-header-side-nav-items`)
1913
1913
  ], qo);
1914
- let we = class extends k {
1914
+ let ze = class extends k {
1915
1915
  connectedCallback() {
1916
1916
  this.hasAttribute("role") || this.setAttribute("role", "separator"), super.connectedCallback();
1917
1917
  }
1918
1918
  };
1919
- we.styles = oo;
1920
- we = l([
1919
+ ze.styles = oo;
1920
+ ze = l([
1921
1921
  H(`${i}-side-nav-divider`)
1922
- ], we);
1922
+ ], ze);
1923
1923
  let $e = class extends k {
1924
1924
  connectedCallback() {
1925
1925
  this.hasAttribute("role") || this.setAttribute("role", "list"), super.connectedCallback();
@@ -2343,7 +2343,7 @@ function kr(o, t, e) {
2343
2343
  return [];
2344
2344
  }
2345
2345
  }
2346
- function zr(o, t, e, s) {
2346
+ function wr(o, t, e, s) {
2347
2347
  const c = bo(o);
2348
2348
  let r = kr(Jt(o), e === "start", s);
2349
2349
  return c && (r = r.map((n) => n + "-" + c), t && (r = r.concat(r.map(Se)))), r;
@@ -2351,7 +2351,7 @@ function zr(o, t, e, s) {
2351
2351
  function Uo(o) {
2352
2352
  return o.replace(/left|right|bottom|top/g, (t) => mr[t]);
2353
2353
  }
2354
- function wr(o) {
2354
+ function zr(o) {
2355
2355
  return {
2356
2356
  top: 0,
2357
2357
  right: 0,
@@ -2361,7 +2361,7 @@ function wr(o) {
2361
2361
  };
2362
2362
  }
2363
2363
  function oc(o) {
2364
- return typeof o != "number" ? wr(o) : {
2364
+ return typeof o != "number" ? zr(o) : {
2365
2365
  top: o,
2366
2366
  right: o,
2367
2367
  bottom: o,
@@ -2450,12 +2450,12 @@ async function $r(o, t) {
2450
2450
  elementContext: h = "floating",
2451
2451
  altBoundary: g = !1,
2452
2452
  padding: b = 0
2453
- } = ho(t, o), _ = oc(b), S = a[g ? h === "floating" ? "reference" : "floating" : h], w = Xo(await r.getClippingRect({
2453
+ } = ho(t, o), _ = oc(b), S = a[g ? h === "floating" ? "reference" : "floating" : h], z = Xo(await r.getClippingRect({
2454
2454
  element: (e = await (r.isElement == null ? void 0 : r.isElement(S))) == null || e ? S : S.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(a.floating)),
2455
2455
  boundary: u,
2456
2456
  rootBoundary: v,
2457
2457
  strategy: d
2458
- })), z = h === "floating" ? {
2458
+ })), w = h === "floating" ? {
2459
2459
  x: s,
2460
2460
  y: c,
2461
2461
  width: n.floating.width,
@@ -2468,15 +2468,15 @@ async function $r(o, t) {
2468
2468
  y: 1
2469
2469
  }, L = Xo(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
2470
2470
  elements: a,
2471
- rect: z,
2471
+ rect: w,
2472
2472
  offsetParent: E,
2473
2473
  strategy: d
2474
- }) : z);
2474
+ }) : w);
2475
2475
  return {
2476
- top: (w.top - L.top + _.top) / I.y,
2477
- bottom: (L.bottom - w.bottom + _.bottom) / I.y,
2478
- left: (w.left - L.left + _.left) / I.x,
2479
- right: (L.right - w.right + _.right) / I.x
2476
+ top: (z.top - L.top + _.top) / I.y,
2477
+ bottom: (L.bottom - z.bottom + _.bottom) / I.y,
2478
+ left: (z.left - L.left + _.left) / I.x,
2479
+ right: (L.right - z.right + _.right) / I.x
2480
2480
  };
2481
2481
  }
2482
2482
  const Cr = async (o, t, e) => {
@@ -2497,14 +2497,14 @@ const Cr = async (o, t, e) => {
2497
2497
  for (let S = 0; S < a.length; S++) {
2498
2498
  var C;
2499
2499
  const {
2500
- name: w,
2501
- fn: z
2500
+ name: z,
2501
+ fn: w
2502
2502
  } = a[S], {
2503
2503
  x: E,
2504
2504
  y: I,
2505
2505
  data: L,
2506
2506
  reset: T
2507
- } = await z({
2507
+ } = await w({
2508
2508
  x: v,
2509
2509
  y: h,
2510
2510
  initialPlacement: s,
@@ -2523,8 +2523,8 @@ const Cr = async (o, t, e) => {
2523
2523
  });
2524
2524
  v = E ?? v, h = I ?? h, b = {
2525
2525
  ...b,
2526
- [w]: {
2527
- ...b[w],
2526
+ [z]: {
2527
+ ...b[z],
2528
2528
  ...L
2529
2529
  }
2530
2530
  }, T && _ <= 50 && (_++, typeof T == "object" && (T.placement && (g = T.placement), T.rects && (u = T.rects === !0 ? await n.getElementRects({
@@ -2564,10 +2564,10 @@ const Cr = async (o, t, e) => {
2564
2564
  const h = oc(v), g = {
2565
2565
  x: e,
2566
2566
  y: s
2567
- }, b = Fe(c), _ = je(b), C = await n.getDimensions(u), S = b === "y", w = S ? "top" : "left", z = S ? "bottom" : "right", E = S ? "clientHeight" : "clientWidth", I = r.reference[_] + r.reference[b] - g[b] - r.floating[_], L = g[b] - r.reference[b], T = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(u));
2567
+ }, b = Fe(c), _ = je(b), C = await n.getDimensions(u), S = b === "y", z = S ? "top" : "left", w = S ? "bottom" : "right", E = S ? "clientHeight" : "clientWidth", I = r.reference[_] + r.reference[b] - g[b] - r.floating[_], L = g[b] - r.reference[b], T = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(u));
2568
2568
  let $ = T ? T[E] : 0;
2569
2569
  (!$ || !await (n.isElement == null ? void 0 : n.isElement(T))) && ($ = a.floating[E] || r.floating[_]);
2570
- const y = I / 2 - L / 2, f = $ / 2 - C[_] / 2 - 1, j = Ft(h[w], f), q = Ft(h[z], f), F = j, X = $ - C[_] - q, V = $ / 2 - C[_] / 2 + y, tt = hr(F, V, X), Q = !d.arrow && bo(c) != null && V !== tt && r.reference[_] / 2 - (V < F ? j : q) - C[_] / 2 < 0, W = Q ? V < F ? V - F : V - X : 0;
2570
+ const y = I / 2 - L / 2, f = $ / 2 - C[_] / 2 - 1, j = Ft(h[z], f), q = Ft(h[w], f), F = j, X = $ - C[_] - q, V = $ / 2 - C[_] / 2 + y, tt = hr(F, V, X), Q = !d.arrow && bo(c) != null && V !== tt && r.reference[_] / 2 - (V < F ? j : q) - C[_] / 2 < 0, W = Q ? V < F ? V - F : V - X : 0;
2571
2571
  return {
2572
2572
  [b]: g[b] + W,
2573
2573
  data: {
@@ -2604,11 +2604,11 @@ const Cr = async (o, t, e) => {
2604
2604
  } = ho(o, t);
2605
2605
  if ((e = r.arrow) != null && e.alignmentOffset)
2606
2606
  return {};
2607
- const w = Jt(c), z = Rt(a), E = Jt(a) === a, I = await (d.isRTL == null ? void 0 : d.isRTL(u.floating)), L = g || (E || !C ? [Uo(a)] : _r(a)), T = _ !== "none";
2608
- !g && T && L.push(...zr(a, C, _, I));
2607
+ const z = Jt(c), w = Rt(a), E = Jt(a) === a, I = await (d.isRTL == null ? void 0 : d.isRTL(u.floating)), L = g || (E || !C ? [Uo(a)] : _r(a)), T = _ !== "none";
2608
+ !g && T && L.push(...wr(a, C, _, I));
2609
2609
  const $ = [a, ...L], y = await d.detectOverflow(t, S), f = [];
2610
2610
  let j = ((s = r.flip) == null ? void 0 : s.overflows) || [];
2611
- if (v && f.push(y[w]), h) {
2611
+ if (v && f.push(y[z]), h) {
2612
2612
  const V = fr(c, n, I);
2613
2613
  f.push(y[V[0]], y[V[1]]);
2614
2614
  }
@@ -2618,9 +2618,9 @@ const Cr = async (o, t, e) => {
2618
2618
  }], !f.every((V) => V <= 0)) {
2619
2619
  var q, F;
2620
2620
  const V = (((q = r.flip) == null ? void 0 : q.index) || 0) + 1, tt = $[V];
2621
- if (tt && (!(h === "alignment" ? z !== Rt(tt) : !1) || // We leave the current main axis only if every placement on that axis
2621
+ if (tt && (!(h === "alignment" ? w !== Rt(tt) : !1) || // We leave the current main axis only if every placement on that axis
2622
2622
  // overflows the main axis.
2623
- j.every((J) => Rt(J.placement) === z ? J.overflows[0] > 0 : !0)))
2623
+ j.every((J) => Rt(J.placement) === w ? J.overflows[0] > 0 : !0)))
2624
2624
  return {
2625
2625
  data: {
2626
2626
  index: V,
@@ -2638,7 +2638,7 @@ const Cr = async (o, t, e) => {
2638
2638
  const W = (X = j.filter((J) => {
2639
2639
  if (T) {
2640
2640
  const _t = Rt(J.placement);
2641
- return _t === z || // Create a bias to the `y` side axis due to horizontal
2641
+ return _t === w || // Create a bias to the `y` side axis due to horizontal
2642
2642
  // reading directions favoring greater width.
2643
2643
  _t === "y";
2644
2644
  }
@@ -2784,11 +2784,11 @@ const Mr = function(o) {
2784
2784
  width: _,
2785
2785
  height: C
2786
2786
  } = r.floating;
2787
- let S, w;
2788
- h === "top" || h === "bottom" ? (S = h, w = g === (await (n.isRTL == null ? void 0 : n.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (w = h, S = g === "end" ? "top" : "bottom");
2789
- const z = C - v.top - v.bottom, E = _ - v.left - v.right, I = Ft(C - v[S], z), L = Ft(_ - v[w], E), T = !t.middlewareData.shift;
2787
+ let S, z;
2788
+ h === "top" || h === "bottom" ? (S = h, z = g === (await (n.isRTL == null ? void 0 : n.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (z = h, S = g === "end" ? "top" : "bottom");
2789
+ const w = C - v.top - v.bottom, E = _ - v.left - v.right, I = Ft(C - v[S], w), L = Ft(_ - v[z], E), T = !t.middlewareData.shift;
2790
2790
  let $ = I, y = L;
2791
- if ((e = t.middlewareData.shift) != null && e.enabled.x && (y = E), (s = t.middlewareData.shift) != null && s.enabled.y && ($ = z), T && !g) {
2791
+ if ((e = t.middlewareData.shift) != null && e.enabled.x && (y = E), (s = t.middlewareData.shift) != null && s.enabled.y && ($ = w), T && !g) {
2792
2792
  const j = ot(v.left, 0), q = ot(v.right, 0), F = ot(v.top, 0), X = ot(v.bottom, 0);
2793
2793
  b ? y = _ - 2 * (j !== 0 || q !== 0 ? j + q : ot(v.left, v.right)) : $ = C - 2 * (F !== 0 || X !== 0 ? F + X : ot(v.top, v.bottom));
2794
2794
  }
@@ -2826,7 +2826,7 @@ function ec(o) {
2826
2826
  function bt(o) {
2827
2827
  return ee() ? o instanceof Element || o instanceof et(o).Element : !1;
2828
2828
  }
2829
- function wt(o) {
2829
+ function zt(o) {
2830
2830
  return ee() ? o instanceof HTMLElement || o instanceof et(o).HTMLElement : !1;
2831
2831
  }
2832
2832
  function _s(o) {
@@ -2863,7 +2863,7 @@ function qe(o) {
2863
2863
  }
2864
2864
  function jr(o) {
2865
2865
  let t = qt(o);
2866
- for (; wt(t) && !vo(t); ) {
2866
+ for (; zt(t) && !vo(t); ) {
2867
2867
  if (qe(t))
2868
2868
  return t;
2869
2869
  if (se(t))
@@ -2905,7 +2905,7 @@ function qt(o) {
2905
2905
  }
2906
2906
  function sc(o) {
2907
2907
  const t = qt(o);
2908
- return vo(t) ? o.ownerDocument ? o.ownerDocument.body : o.body : wt(t) && Io(t) ? t : sc(t);
2908
+ return vo(t) ? o.ownerDocument ? o.ownerDocument.body : o.body : zt(t) && Io(t) ? t : sc(t);
2909
2909
  }
2910
2910
  function Co(o, t, e) {
2911
2911
  var s;
@@ -2923,7 +2923,7 @@ function Ae(o) {
2923
2923
  function cc(o) {
2924
2924
  const t = gt(o);
2925
2925
  let e = parseFloat(t.width) || 0, s = parseFloat(t.height) || 0;
2926
- const c = wt(o), r = c ? o.offsetWidth : e, n = c ? o.offsetHeight : s, a = Vo(e) !== r || Vo(s) !== n;
2926
+ const c = zt(o), r = c ? o.offsetWidth : e, n = c ? o.offsetHeight : s, a = Vo(e) !== r || Vo(s) !== n;
2927
2927
  return a && (e = r, s = n), {
2928
2928
  width: e,
2929
2929
  height: s,
@@ -2935,7 +2935,7 @@ function Ue(o) {
2935
2935
  }
2936
2936
  function po(o) {
2937
2937
  const t = Ue(o);
2938
- if (!wt(t))
2938
+ if (!zt(t))
2939
2939
  return xt(1);
2940
2940
  const e = t.getBoundingClientRect(), {
2941
2941
  width: s,
@@ -2970,7 +2970,7 @@ function to(o, t, e, s) {
2970
2970
  const g = et(r), b = s && bt(s) ? et(s) : s;
2971
2971
  let _ = g, C = Ae(_);
2972
2972
  for (; C && s && b !== _; ) {
2973
- const S = po(C), w = C.getBoundingClientRect(), z = gt(C), E = w.left + (C.clientLeft + parseFloat(z.paddingLeft)) * S.x, I = w.top + (C.clientTop + parseFloat(z.paddingTop)) * S.y;
2973
+ const S = po(C), z = C.getBoundingClientRect(), w = gt(C), E = z.left + (C.clientLeft + parseFloat(w.paddingLeft)) * S.x, I = z.top + (C.clientTop + parseFloat(w.paddingTop)) * S.y;
2974
2974
  d *= S.x, u *= S.y, v *= S.x, h *= S.y, d += E, u += I, _ = et(C), C = Ae(_);
2975
2975
  }
2976
2976
  }
@@ -3006,8 +3006,8 @@ function Ur(o) {
3006
3006
  scrollLeft: 0,
3007
3007
  scrollTop: 0
3008
3008
  }, u = xt(1);
3009
- const v = xt(0), h = wt(s);
3010
- if ((h || !h && !r) && ((go(s) !== "body" || Io(n)) && (d = ce(s)), wt(s))) {
3009
+ const v = xt(0), h = zt(s);
3010
+ if ((h || !h && !r) && ((go(s) !== "body" || Io(n)) && (d = ce(s)), zt(s))) {
3011
3011
  const b = to(s);
3012
3012
  u = po(s), v.x = b.x + s.clientLeft, v.y = b.y + s.clientTop;
3013
3013
  }
@@ -3056,7 +3056,7 @@ function Zr(o, t) {
3056
3056
  }
3057
3057
  const Yr = /* @__PURE__ */ new Set(["absolute", "fixed"]);
3058
3058
  function Kr(o, t) {
3059
- const e = to(o, !0, t === "fixed"), s = e.top + o.clientTop, c = e.left + o.clientLeft, r = wt(o) ? po(o) : xt(1), n = o.clientWidth * r.x, a = o.clientHeight * r.y, d = c * r.x, u = s * r.y;
3059
+ const e = to(o, !0, t === "fixed"), s = e.top + o.clientTop, c = e.left + o.clientLeft, r = zt(o) ? po(o) : xt(1), n = o.clientWidth * r.x, a = o.clientHeight * r.y, d = c * r.x, u = s * r.y;
3060
3060
  return {
3061
3061
  width: n,
3062
3062
  height: a,
@@ -3129,7 +3129,7 @@ function Jr(o) {
3129
3129
  };
3130
3130
  }
3131
3131
  function tn(o, t, e) {
3132
- const s = wt(t), c = St(t), r = e === "fixed", n = to(o, !0, r, t);
3132
+ const s = zt(t), c = St(t), r = e === "fixed", n = to(o, !0, r, t);
3133
3133
  let a = {
3134
3134
  scrollLeft: 0,
3135
3135
  scrollTop: 0
@@ -3156,7 +3156,7 @@ function ve(o) {
3156
3156
  return gt(o).position === "static";
3157
3157
  }
3158
3158
  function ks(o, t) {
3159
- if (!wt(o) || gt(o).position === "fixed")
3159
+ if (!zt(o) || gt(o).position === "fixed")
3160
3160
  return null;
3161
3161
  if (t)
3162
3162
  return t(o);
@@ -3167,7 +3167,7 @@ function ac(o, t) {
3167
3167
  const e = et(o);
3168
3168
  if (se(o))
3169
3169
  return e;
3170
- if (!wt(o)) {
3170
+ if (!zt(o)) {
3171
3171
  let c = qt(o);
3172
3172
  for (; c && !vo(c); ) {
3173
3173
  if (bt(c) && !ve(c))
@@ -3228,8 +3228,8 @@ function cn(o, t) {
3228
3228
  } = u;
3229
3229
  if (a || t(), !g || !b)
3230
3230
  return;
3231
- const _ = No(h), C = No(c.clientWidth - (v + g)), S = No(c.clientHeight - (h + b)), w = No(v), E = {
3232
- rootMargin: -_ + "px " + -C + "px " + -S + "px " + -w + "px",
3231
+ const _ = No(h), C = No(c.clientWidth - (v + g)), S = No(c.clientHeight - (h + b)), z = No(v), E = {
3232
+ rootMargin: -_ + "px " + -C + "px " + -S + "px " + -z + "px",
3233
3233
  threshold: ot(0, Ft(1, d)) || 1
3234
3234
  };
3235
3235
  let I = !0;
@@ -3266,16 +3266,16 @@ function rn(o, t, e, s) {
3266
3266
  layoutShift: a = typeof IntersectionObserver == "function",
3267
3267
  animationFrame: d = !1
3268
3268
  } = s, u = Ue(o), v = c || r ? [...u ? Co(u) : [], ...Co(t)] : [];
3269
- v.forEach((w) => {
3270
- c && w.addEventListener("scroll", e, {
3269
+ v.forEach((z) => {
3270
+ c && z.addEventListener("scroll", e, {
3271
3271
  passive: !0
3272
- }), r && w.addEventListener("resize", e);
3272
+ }), r && z.addEventListener("resize", e);
3273
3273
  });
3274
3274
  const h = u && a ? cn(u, e) : null;
3275
3275
  let g = -1, b = null;
3276
- n && (b = new ResizeObserver((w) => {
3277
- let [z] = w;
3278
- z && z.target === u && b && (b.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
3276
+ n && (b = new ResizeObserver((z) => {
3277
+ let [w] = z;
3278
+ w && w.target === u && b && (b.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
3279
3279
  var E;
3280
3280
  (E = b) == null || E.observe(t);
3281
3281
  })), e();
@@ -3283,17 +3283,17 @@ function rn(o, t, e, s) {
3283
3283
  let _, C = d ? to(o) : null;
3284
3284
  d && S();
3285
3285
  function S() {
3286
- const w = to(o);
3287
- C && !dc(C, w) && e(), C = w, _ = requestAnimationFrame(S);
3286
+ const z = to(o);
3287
+ C && !dc(C, z) && e(), C = z, _ = requestAnimationFrame(S);
3288
3288
  }
3289
3289
  return e(), () => {
3290
- var w;
3291
- v.forEach((z) => {
3292
- c && z.removeEventListener("scroll", e), r && z.removeEventListener("resize", e);
3293
- }), h == null || h(), (w = b) == null || w.disconnect(), b = null, d && cancelAnimationFrame(_);
3290
+ var z;
3291
+ v.forEach((w) => {
3292
+ c && w.removeEventListener("scroll", e), r && w.removeEventListener("resize", e);
3293
+ }), h == null || h(), (z = b) == null || z.disconnect(), b = null, d && cancelAnimationFrame(_);
3294
3294
  };
3295
3295
  }
3296
- const nn = Mr, an = Ar, zs = Pr, dn = Er, pn = Sr, ln = (o, t, e) => {
3296
+ const nn = Mr, an = Ar, ws = Pr, dn = Er, pn = Sr, ln = (o, t, e) => {
3297
3297
  const s = /* @__PURE__ */ new Map(), c = {
3298
3298
  platform: sn,
3299
3299
  ...e
@@ -3323,40 +3323,40 @@ class un {
3323
3323
  }
3324
3324
  async computePlacement() {
3325
3325
  var t, e, s;
3326
- const { arrowElement: c, alignment: r, caret: n, trigger: a, target: d, styleElement: u, matchWidth: v, open: h, alignmentAxisOffset: g, autoAlignBoundary: b, isTabTip: _ } = this.options, C = (d == null ? void 0 : d.role) === "listbox", S = (d == null ? void 0 : d.localName) === "cds-custom-menu", w = u ?? d;
3327
- if (!w)
3326
+ const { arrowElement: c, alignment: r, caret: n, trigger: a, target: d, styleElement: u, matchWidth: v, open: h, alignmentAxisOffset: g, autoAlignBoundary: b, isTabTip: _ } = this.options, C = (d == null ? void 0 : d.role) === "listbox", S = (d == null ? void 0 : d.localName) === "cds-custom-menu", z = u ?? d;
3327
+ if (!z)
3328
3328
  return;
3329
- let z;
3329
+ let w;
3330
3330
  switch (r) {
3331
3331
  case "top-left":
3332
- z = "top-start";
3332
+ w = "top-start";
3333
3333
  break;
3334
3334
  case "top-right":
3335
- z = "top-end";
3335
+ w = "top-end";
3336
3336
  break;
3337
3337
  case "bottom-left":
3338
- z = "bottom-start";
3338
+ w = "bottom-start";
3339
3339
  break;
3340
3340
  case "bottom-right":
3341
- z = "bottom-end";
3341
+ w = "bottom-end";
3342
3342
  break;
3343
3343
  case "left-bottom":
3344
- z = "left-end";
3344
+ w = "left-end";
3345
3345
  break;
3346
3346
  case "left-top":
3347
- z = "left-start";
3347
+ w = "left-start";
3348
3348
  break;
3349
3349
  case "right-bottom":
3350
- z = "right-end";
3350
+ w = "right-end";
3351
3351
  break;
3352
3352
  case "right-top":
3353
- z = "right-start";
3353
+ w = "right-start";
3354
3354
  break;
3355
3355
  default:
3356
- z = r;
3356
+ w = r;
3357
3357
  break;
3358
3358
  }
3359
- const E = getComputedStyle(w), L = _ ? 0 : (t = (($) => {
3359
+ const E = getComputedStyle(z), L = _ ? 0 : (t = (($) => {
3360
3360
  const y = parseFloat($);
3361
3361
  return $.trim().endsWith("rem") ? y * 16 : y;
3362
3362
  })(E.getPropertyValue("--cds-popover-offset").trim())) !== null && t !== void 0 ? t : 10, T = [
@@ -3366,7 +3366,7 @@ class un {
3366
3366
  mainAxis: n ? L : 4
3367
3367
  }),
3368
3368
  an({
3369
- fallbackPlacements: _ ? z.includes("bottom") ? ["bottom-start", "bottom-end", "top-start", "top-end"] : ["top-start", "top-end", "bottom-start", "bottom-end"] : C || S ? ["top", "bottom"] : z.includes("bottom") ? [
3369
+ fallbackPlacements: _ ? w.includes("bottom") ? ["bottom-start", "bottom-end", "top-start", "top-end"] : ["top-start", "top-end", "bottom-start", "bottom-end"] : C || S ? ["top", "bottom"] : w.includes("bottom") ? [
3370
3370
  "bottom",
3371
3371
  "bottom-start",
3372
3372
  "bottom-end",
@@ -3397,14 +3397,14 @@ class un {
3397
3397
  fallbackAxisSideDirection: "start",
3398
3398
  boundary: b
3399
3399
  }),
3400
- ...v && (z === "bottom" || z === "top") ? [
3401
- zs({
3400
+ ...v && (w === "bottom" || w === "top") ? [
3401
+ ws({
3402
3402
  apply({ rects: $, elements: y }) {
3403
3403
  y.floating.style.width = `${$.reference.width}px`;
3404
3404
  }
3405
3405
  })
3406
3406
  ] : [
3407
- zs({
3407
+ ws({
3408
3408
  apply({ elements: $ }) {
3409
3409
  $.floating.style.removeProperty("width");
3410
3410
  }
@@ -3414,12 +3414,12 @@ class un {
3414
3414
  dn()
3415
3415
  ];
3416
3416
  if (h) {
3417
- const { x: $, y, placement: f, middlewareData: j, strategy: q } = await ln(a, w, {
3417
+ const { x: $, y, placement: f, middlewareData: j, strategy: q } = await ln(a, z, {
3418
3418
  strategy: "fixed",
3419
3419
  middleware: T,
3420
- placement: z
3420
+ placement: w
3421
3421
  });
3422
- if (w.setAttribute("align", f), w.style.left = `${$}px`, w.style.top = `${y}px`, w.style.position = `${q}`, w.style.visibility = !((e = j.hide) === null || e === void 0) && e.referenceHidden ? "hidden" : "visible", c) {
3422
+ if (z.setAttribute("align", f), z.style.left = `${$}px`, z.style.top = `${y}px`, z.style.position = `${q}`, z.style.visibility = !((e = j.hide) === null || e === void 0) && e.referenceHidden ? "hidden" : "visible", c) {
3423
3423
  const { x: F, y: X } = j.arrow, V = {
3424
3424
  top: "bottom",
3425
3425
  right: "left",
@@ -3440,10 +3440,10 @@ class un {
3440
3440
  (t = this.cleanup) === null || t === void 0 || t.call(this), this.cleanup = void 0;
3441
3441
  }
3442
3442
  }
3443
- var ws;
3443
+ var zs;
3444
3444
  (function(o) {
3445
3445
  o.TOP = "top", o.TOP_LEFT = "top-left", o.TOP_RIGHT = "top-right", o.TOP_START = "top-start", o.TOP_END = "top-end", o.BOTTOM = "bottom", o.BOTTOM_LEFT = "bottom-left", o.BOTTOM_RIGHT = "bottom-right", o.BOTTOM_START = "bottom-start", o.BOTTOM_END = "bottom-end", o.LEFT = "left", o.LEFT_BOTTOM = "left-bottom", o.LEFT_TOP = "left-top", o.LEFT_START = "left-start", o.LEFT_END = "left-end", o.RIGHT = "right", o.RIGHT_BOTTOM = "right-bottom", o.RIGHT_TOP = "right-top", o.RIGHT_START = "right-start", o.RIGHT_END = "right-end";
3446
- })(ws || (ws = {}));
3446
+ })(zs || (zs = {}));
3447
3447
  var So;
3448
3448
  (function(o) {
3449
3449
  o.LAYER = "layer", o.BACKGROUND = "background";
@@ -3797,7 +3797,7 @@ const B = "ibm-automation-cds", A = "automation-global-header", no = "automation
3797
3797
  stage: "https://cdn.test.saas.ibm.com",
3798
3798
  prod: "https://cdn.saas.ibm.com"
3799
3799
  };
3800
- function zn(o) {
3800
+ function wn(o) {
3801
3801
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
3802
3802
  }
3803
3803
  var lc = { exports: {} };
@@ -3836,8 +3836,8 @@ var lc = { exports: {} };
3836
3836
  o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
3837
3837
  })();
3838
3838
  })(lc);
3839
- var wn = lc.exports;
3840
- const kt = /* @__PURE__ */ zn(wn), $n = `/**
3839
+ var zn = lc.exports;
3840
+ const kt = /* @__PURE__ */ wn(zn), $n = `/**
3841
3841
  * @license
3842
3842
  *
3843
3843
  * Copyright IBM Corp. 2025
@@ -4719,7 +4719,7 @@ let nt = class extends k {
4719
4719
  };
4720
4720
  }
4721
4721
  render() {
4722
- var e, s, c, r, n, a, d, u, v, h, g, b, _, C, S, w, z, E, I, L, T, $;
4722
+ var e, s, c, r, n, a, d, u, v, h, g, b, _, C, S, z, w, E, I, L, T, $;
4723
4723
  const t = "title-icon";
4724
4724
  return typeof this.isCollapsible > "u" || this.isCollapsible ? this.isSideNavMenuItems ? m`
4725
4725
  <cds-custom-side-nav-menu
@@ -4797,8 +4797,8 @@ let nt = class extends k {
4797
4797
  <span style="display: none;"></span>
4798
4798
  <cds-custom-side-nav-link
4799
4799
  role="link"
4800
- href="${(w = this.link) == null ? void 0 : w.href}"
4801
- @click="${(z = this.link) == null ? void 0 : z.onClick}"
4800
+ href="${(z = this.link) == null ? void 0 : z.href}"
4801
+ @click="${(w = this.link) == null ? void 0 : w.onClick}"
4802
4802
  title="${(E = this.link) == null ? void 0 : E.label}"
4803
4803
  class="${kt({
4804
4804
  [`${B}--side-nav__link--current`]: this.isActive
@@ -5046,7 +5046,7 @@ function ki(o) {
5046
5046
  * Copyright 2020 Google LLC
5047
5047
  * SPDX-License-Identifier: BSD-3-Clause
5048
5048
  */
5049
- const zi = (o) => o.strings === void 0;
5049
+ const wi = (o) => o.strings === void 0;
5050
5050
  /**
5051
5051
  * @license
5052
5052
  * Copyright 2017 Google LLC
@@ -5072,7 +5072,7 @@ const xo = (o, t) => {
5072
5072
  e.add(o), Ci(t);
5073
5073
  }
5074
5074
  };
5075
- function wi(o) {
5075
+ function zi(o) {
5076
5076
  this._$AN !== void 0 ? (Yo(this), this._$AM = o, vc(this)) : this._$AM = o;
5077
5077
  }
5078
5078
  function $i(o, t = !1, e = 0) {
@@ -5082,7 +5082,7 @@ function $i(o, t = !1, e = 0) {
5082
5082
  else xo(this, o);
5083
5083
  }
5084
5084
  const Ci = (o) => {
5085
- o.type == te.CHILD && (o._$AP ?? (o._$AP = $i), o._$AQ ?? (o._$AQ = wi));
5085
+ o.type == te.CHILD && (o._$AP ?? (o._$AP = $i), o._$AQ ?? (o._$AQ = zi));
5086
5086
  };
5087
5087
  let Si = class extends De {
5088
5088
  constructor() {
@@ -5096,7 +5096,7 @@ let Si = class extends De {
5096
5096
  t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (c = this.disconnected) == null || c.call(this)), e && (xo(this, t), Yo(this));
5097
5097
  }
5098
5098
  setValue(t) {
5099
- if (zi(this._$Ct)) this._$Ct._$AI(t, this);
5099
+ if (wi(this._$Ct)) this._$Ct._$AI(t, this);
5100
5100
  else {
5101
5101
  const e = [...this._$Ct._$AH];
5102
5102
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -5802,19 +5802,19 @@ let O = class extends Zi(yc(k)) {
5802
5802
  }
5803
5803
  render() {
5804
5804
  var t, e;
5805
- const { disabled: s, enableCounter: c, helperText: r, hideLabel: n, inline: a, isFluid: d, invalid: u, invalidText: v, label: h, maxCount: g, readonly: b, required: _, size: C, type: S, warn: w, warnText: z, value: E, _handleInput: I, _hasAILabel: L, _handleSlotChange: T } = this, $ = Ot(ci, {
5805
+ const { disabled: s, enableCounter: c, helperText: r, hideLabel: n, inline: a, isFluid: d, invalid: u, invalidText: v, label: h, maxCount: g, readonly: b, required: _, size: C, type: S, warn: z, warnText: w, value: E, _handleInput: I, _hasAILabel: L, _handleSlotChange: T } = this, $ = Ot(ci, {
5806
5806
  class: `${i}--text-input__invalid-icon`
5807
5807
  }), y = Ot(si, {
5808
5808
  class: `${i}--text-input__invalid-icon ${i}--text-input__invalid-icon--warning`
5809
5809
  }), f = {
5810
5810
  disabled: !b && s,
5811
5811
  invalid: !b && u,
5812
- warn: !b && !u && w,
5812
+ warn: !b && !u && z,
5813
5813
  "slot-name": "",
5814
5814
  "slot-text": "",
5815
5815
  icon: null
5816
5816
  };
5817
- f.invalid ? (f.icon = $, f["slot-name"] = "invalid-text", f["slot-text"] = v) : f.warn && (f.icon = y, f["slot-name"] = "warn-text", f["slot-text"] = z);
5817
+ f.invalid ? (f.icon = $, f["slot-name"] = "invalid-text", f["slot-text"] = v) : f.warn && (f.icon = y, f["slot-name"] = "warn-text", f["slot-text"] = w);
5818
5818
  const j = U({
5819
5819
  [`${i}--label`]: !0,
5820
5820
  [`${i}--text-input__label-counter`]: !0,
@@ -5869,13 +5869,13 @@ let O = class extends Zi(yc(k)) {
5869
5869
  ${f.disabled ? null : ie}
5870
5870
  ${J}
5871
5871
  </button>
5872
- `, zc = E == null ? void 0 : E.length, wc = c && g ? m` <label class="${j}">
5873
- <slot name="label-text">${zc}/${g}</slot>
5872
+ `, wc = E == null ? void 0 : E.length, zc = c && g ? m` <label class="${j}">
5873
+ <slot name="label-text">${wc}/${g}</slot>
5874
5874
  </label>` : null, Ye = m`<div class="${i}--text-input__label-wrapper">
5875
5875
  <label class="${tt}">
5876
5876
  <slot name="label-text">${h}</slot>
5877
5877
  </label>
5878
- ${wc}
5878
+ ${zc}
5879
5879
  </div>`, Ke = r || ((e = (t = this._slotHelperTextNode) === null || t === void 0 ? void 0 : t.assignedNodes().length) !== null && e !== void 0 ? e : 0) > 0, Ge = m`<div
5880
5880
  class="${Q}"
5881
5881
  id="helper-text"
@@ -6996,7 +6996,7 @@ let Nt = class extends k {
6996
6996
  this.headerProps.assistMeConfigs && o.has("headerProps") && Rs(this.headerProps), (t = this.headerProps.sidekickConfig) != null && t.isEnabled && o.has("headerProps") && Hs(this.headerProps), (e = this.headerProps.solisConfig) != null && e.isEnabled && o.has("headerProps") && Ds(this.headerProps);
6997
6997
  }
6998
6998
  render() {
6999
- var o, t, e, s, c, r, n, a, d, u, v, h, g, b, _, C, S, w, z, E, I, L, T;
6999
+ var o, t, e, s, c, r, n, a, d, u, v, h, g, b, _, C, S, z, w, E, I, L, T;
7000
7000
  return m`
7001
7001
  <cds-custom-header
7002
7002
  class="${B}__header"
@@ -7084,7 +7084,7 @@ let Nt = class extends k {
7084
7084
  aria-label=${((S = (C = this.headerProps) == null ? void 0 : C.sideNavPropsV2) == null ? void 0 : S.buttonLabel) ?? "Side navigation"}
7085
7085
  collapse-mode="rail"
7086
7086
  ?expanded="${typeof this.headerProps.sideNavPropsV2.isExpandable < "u" && this.headerProps.sideNavPropsV2.isExpandable ? this.isMenuOpen : !1}"
7087
- ?is-not-persistent="${!(typeof ((z = (w = this.headerProps) == null ? void 0 : w.sideNavPropsV2) == null ? void 0 : z.isCollapsible) < "u" && !((I = (E = this.headerProps) == null ? void 0 : E.sideNav) != null && I.isCollapsible))}"
7087
+ ?is-not-persistent="${!(typeof ((w = (z = this.headerProps) == null ? void 0 : z.sideNavPropsV2) == null ? void 0 : w.isCollapsible) < "u" && !((I = (E = this.headerProps) == null ? void 0 : E.sideNav) != null && I.isCollapsible))}"
7088
7088
  class="
7089
7089
  ${kt({
7090
7090
  [`${B}--rail-sidePanel`]: typeof this.headerProps.sideNavPropsV2.isCollapsible < "u" && !this.headerProps.sideNavPropsV2.isCollapsible
@@ -7150,10 +7150,24 @@ var ba = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, D = (o, t,
7150
7150
  const { stablePrefix: fa } = dt;
7151
7151
  let N = class extends k {
7152
7152
  constructor() {
7153
- super(), this.productName = null, this.productKey = "", this.fetchHeaders = {}, this.solisSidekickEnabled = !1, this.solisSwitcherEnabled = !1, this.solisEnvironment = "local", this.solisDevMode = !1, this.basePath = "", this.displayName = "", this.userEmail = "", this.productVersion = null, this.assistMeKey = "", this.aiCallbackEvent = "", this.logoutCallbackEvent = "", this.notificationOpenCallbackEvent = "", this.searchCallbackEvent = "", this.searchSubmitCallbackEvent = "", this.hasNewNotifications = !1, this.searchConfigs = null, this.capabilityProfileFooterLinks = [], this.capabilityGlobalActions = [], this.headerOptions = { ...xn }, this._customEventListener = this._customEventListener.bind(this);
7153
+ super(), this.productName = null, this.productKey = "", this.fetchHeaders = {}, this.solisSidekickEnabled = !1, this.solisSwitcherEnabled = !1, this.solisEnvironment = "local", this.solisDevMode = !1, this.basePath = "", this.displayName = "", this.userEmail = "", this.productVersion = null, this.assistMeKey = "", this.aiCallbackEvent = "", this.logoutCallbackEvent = "", this.notificationOpenCallbackEvent = "", this.searchCallbackEvent = "", this.searchSubmitCallbackEvent = "", this.hasNewNotifications = !1, this.searchConfigs = null, this.capabilityProfileFooterLinks = [], this.capabilityGlobalActions = [], this.headerOptions = {
7154
+ ...xn,
7155
+ brand: {
7156
+ company: "IBM",
7157
+ product: "webMethods Hybrid Integration"
7158
+ },
7159
+ capabilityName: {
7160
+ label: ""
7161
+ },
7162
+ sideNav: {
7163
+ isCollapsible: !0,
7164
+ buttonLabel: "Open menu",
7165
+ sidebarLabel: "Side navigation"
7166
+ }
7167
+ }, this._customEventListener = this._customEventListener.bind(this);
7154
7168
  }
7155
7169
  connectedCallback() {
7156
- super.connectedCallback(), document.addEventListener(Ss, this._customEventListener);
7170
+ super.connectedCallback(), this.productName && this.headerOptions.capabilityName && (this.headerOptions.capabilityName.label = this.productName), document.addEventListener(Ss, this._customEventListener);
7157
7171
  }
7158
7172
  disconnectedCallback() {
7159
7173
  super.disconnectedCallback(), document.removeEventListener(Ss, this._customEventListener);
@@ -1,5 +1,5 @@
1
1
  import E from "react";
2
- import { l as A } from "./HybridIpaasHeader-DpPUQj0S.mjs";
2
+ import { l as A } from "./HybridIpaasHeader-tfeToqxW.mjs";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2018 Google LLC
@@ -1,5 +1,5 @@
1
- import { C as j, b as m, r as O, i as R, n as l, a as v, A as P, t as B, s as E, _ as i, e as K, c as _, F as Z, d as H, p as c, o as p, f as T, g as A, H as q, h as U, j as I, k as W } from "./HybridIpaasHeader-DpPUQj0S.mjs";
2
- import { l as He } from "./HybridIpaasHeader-DpPUQj0S.mjs";
1
+ import { C as j, b as m, r as O, i as R, n as l, a as v, A as P, t as B, s as E, _ as i, e as K, c as _, F as Z, d as H, p as c, o as p, f as T, g as A, H as q, h as U, j as I, k as W } from "./HybridIpaasHeader-tfeToqxW.mjs";
2
+ import { l as He } from "./HybridIpaasHeader-tfeToqxW.mjs";
3
3
  var X = {
4
4
  elem: "svg",
5
5
  attrs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/wc-global-header",
3
- "version": "0.55.0",
3
+ "version": "0.57.0",
4
4
  "author": "Your Name <your@email.com>",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -48,5 +48,5 @@
48
48
  "vite": "^5.4.21",
49
49
  "webdriverio": "^9.23.2"
50
50
  },
51
- "gitHead": "c135df2e2f6fd4d59240ec994a074848b6ac1327"
51
+ "gitHead": "e4958f42cf6148b5ad7bd2a7a5c01d96bf91b44a"
52
52
  }