@carbon-labs/wc-global-header 0.90.0 → 0.91.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.
@@ -884,7 +884,7 @@ let M = (qo = class extends Zt(fo(y)) {
884
884
  (e = super.updated) == null || e.call(this, o), this._checkBadgeWarning();
885
885
  }
886
886
  render() {
887
- const { autofocus: o, buttonClassName: e, dangerDescription: s, disabled: c, download: r, href: n, hreflang: i, kind: a, isExpressive: l, isSelected: u, linkRole: v, openTooltip: g, ping: h, rel: b, size: _, tabIndex: w, target: z, tooltipAlignment: E, tooltipPosition: C, tooltipText: P, type: S, _hasIcon: $, hasMainContent: B, _handleSlotChange: x } = this;
887
+ const { autofocus: o, buttonClassName: e, dangerDescription: s, disabled: c, download: r, href: n, hreflang: i, kind: a, isExpressive: l, isSelected: u, linkRole: v, openTooltip: g, ping: h, rel: b, size: _, tabIndex: w, target: z, tooltipAlignment: E, tooltipPosition: S, tooltipText: P, type: A, _hasIcon: $, hasMainContent: B, _handleSlotChange: x } = this;
888
888
  let L = {
889
889
  "cds-custom--btn": !0,
890
890
  [`cds-custom--btn--${a}`]: a,
@@ -925,7 +925,7 @@ let M = (qo = class extends Zt(fo(y)) {
925
925
  ping="${T(h)}"
926
926
  rel="${T(b)}"
927
927
  target="${T(z)}"
928
- type="${T(S)}"
928
+ type="${T(A)}"
929
929
  tabindex="${w}"
930
930
  aria-describedby="badge-indicator">
931
931
  <slot @slotchange="${x}"></slot>
@@ -933,14 +933,14 @@ let M = (qo = class extends Zt(fo(y)) {
933
933
  </a>
934
934
  ${m`<slot id="badge-indicator" name="badge-indicator"></slot>` ?? !c}
935
935
  `;
936
- const R = E && (C === "top" || C === "bottom") ? `-${E}` : "", j = Y({
936
+ const R = E && (S === "top" || S === "bottom") ? `-${E}` : "", j = Y({
937
937
  "cds-custom--popover-container": !0,
938
938
  "cds-custom--popover--caret": !0,
939
939
  "cds-custom--popover--high-contrast": !0,
940
940
  "cds-custom--tooltip": !0,
941
941
  "cds-custom--icon-tooltip": $,
942
942
  "cds-custom--popover--open": g,
943
- [`cds-custom--popover--${C}${R}`]: P
943
+ [`cds-custom--popover--${S}${R}`]: P
944
944
  });
945
945
  return P && !c ? m`
946
946
  <span class="${j}">
@@ -951,7 +951,7 @@ let M = (qo = class extends Zt(fo(y)) {
951
951
  ?autofocus="${o}"
952
952
  ?disabled="${c}"
953
953
  tabindex="${w}"
954
- type="${T(S)}"
954
+ type="${T(A)}"
955
955
  aria-label="${T(P)}"
956
956
  aria-describedby="badge-indicator">
957
957
  <slot @slotchange="${x}"></slot>
@@ -974,7 +974,7 @@ let M = (qo = class extends Zt(fo(y)) {
974
974
  ?autofocus="${o}"
975
975
  ?disabled="${c}"
976
976
  tabindex="${w}"
977
- type="${T(S)}"
977
+ type="${T(A)}"
978
978
  aria-label="${T(P)}"
979
979
  aria-describedby="${T(U ? "danger-description" : void 0)}">
980
980
  ${U ? m`<span
@@ -2334,23 +2334,23 @@ async function Ar(t, o) {
2334
2334
  y: c,
2335
2335
  width: n.floating.width,
2336
2336
  height: n.floating.height
2337
- } : n.reference, C = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), P = await (r.isElement == null ? void 0 : r.isElement(C)) ? await (r.getScale == null ? void 0 : r.getScale(C)) || {
2337
+ } : n.reference, S = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), P = await (r.isElement == null ? void 0 : r.isElement(S)) ? await (r.getScale == null ? void 0 : r.getScale(S)) || {
2338
2338
  x: 1,
2339
2339
  y: 1
2340
2340
  } : {
2341
2341
  x: 1,
2342
2342
  y: 1
2343
- }, S = ne(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
2343
+ }, A = ne(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
2344
2344
  elements: i,
2345
2345
  rect: E,
2346
- offsetParent: C,
2346
+ offsetParent: S,
2347
2347
  strategy: a
2348
2348
  }) : E);
2349
2349
  return {
2350
- top: (z.top - S.top + b.top) / P.y,
2351
- bottom: (S.bottom - z.bottom + b.bottom) / P.y,
2352
- left: (z.left - S.left + b.left) / P.x,
2353
- right: (S.right - z.right + b.right) / P.x
2350
+ top: (z.top - A.top + b.top) / P.y,
2351
+ bottom: (A.bottom - z.bottom + b.bottom) / P.y,
2352
+ left: (z.left - A.left + b.left) / P.x,
2353
+ right: (A.right - z.right + b.right) / P.x
2354
2354
  };
2355
2355
  }
2356
2356
  const Er = 50, Pr = async (t, o, e) => {
@@ -2380,9 +2380,9 @@ const Er = 50, Pr = async (t, o, e) => {
2380
2380
  name: z,
2381
2381
  fn: E
2382
2382
  } = w, {
2383
- x: C,
2383
+ x: S,
2384
2384
  y: P,
2385
- data: S,
2385
+ data: A,
2386
2386
  reset: $
2387
2387
  } = await E({
2388
2388
  x: u,
@@ -2398,9 +2398,9 @@ const Er = 50, Pr = async (t, o, e) => {
2398
2398
  floating: o
2399
2399
  }
2400
2400
  });
2401
- u = C ?? u, v = P ?? v, b[z] = {
2401
+ u = S ?? u, v = P ?? v, b[z] = {
2402
2402
  ...b[z],
2403
- ...S
2403
+ ...A
2404
2404
  }, $ && h < Er && (h++, typeof $ == "object" && ($.placement && (g = $.placement), $.rects && (l = $.rects === !0 ? await n.getElementRects({
2405
2405
  reference: t,
2406
2406
  floating: o,
@@ -2438,10 +2438,10 @@ const Er = 50, Pr = async (t, o, e) => {
2438
2438
  const v = ac(u), g = {
2439
2439
  x: e,
2440
2440
  y: s
2441
- }, h = Ye(c), b = Ke(h), _ = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left", E = w ? "bottom" : "right", C = w ? "clientHeight" : "clientWidth", P = r.reference[b] + r.reference[h] - g[h] - r.floating[b], S = g[h] - r.reference[h], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(l));
2442
- let B = $ ? $[C] : 0;
2443
- (!B || !await (n.isElement == null ? void 0 : n.isElement($))) && (B = i.floating[C] || r.floating[b]);
2444
- const x = P / 2 - S / 2, L = B / 2 - _[b] / 2 - 1, F = No(v[z], L), U = No(v[E], L), R = F, j = B - _[b] - U, D = B / 2 - _[b] / 2 + x, X = yr(R, D, j), oo = !a.arrow && Ot(c) != null && D !== X && r.reference[b] / 2 - (D < R ? F : U) - _[b] / 2 < 0, Z = oo ? D < R ? D - R : D - j : 0;
2441
+ }, h = Ye(c), b = Ke(h), _ = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left", E = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", P = r.reference[b] + r.reference[h] - g[h] - r.floating[b], A = g[h] - r.reference[h], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(l));
2442
+ let B = $ ? $[S] : 0;
2443
+ (!B || !await (n.isElement == null ? void 0 : n.isElement($))) && (B = i.floating[S] || r.floating[b]);
2444
+ const x = P / 2 - A / 2, L = B / 2 - _[b] / 2 - 1, F = No(v[z], L), U = No(v[E], L), R = F, j = B - _[b] - U, D = B / 2 - _[b] / 2 + x, X = yr(R, D, j), oo = !a.arrow && Ot(c) != null && D !== X && r.reference[b] / 2 - (D < R ? F : U) - _[b] / 2 < 0, Z = oo ? D < R ? D - R : D - j : 0;
2445
2445
  return {
2446
2446
  [h]: g[h] + Z,
2447
2447
  data: {
@@ -2478,9 +2478,9 @@ const Er = 50, Pr = async (t, o, e) => {
2478
2478
  } = It(t, o);
2479
2479
  if ((e = r.arrow) != null && e.alignmentOffset)
2480
2480
  return {};
2481
- const z = rt(c), E = Eo(i), C = rt(i) === i, P = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), S = g || (C || !_ ? [re(i)] : kr(i)), $ = b !== "none";
2482
- !g && $ && S.push(...Cr(i, _, b, P));
2483
- const B = [i, ...S], x = await a.detectOverflow(o, w), L = [];
2481
+ const z = rt(c), E = Eo(i), S = rt(i) === i, P = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), A = g || (S || !_ ? [re(i)] : kr(i)), $ = b !== "none";
2482
+ !g && $ && A.push(...Cr(i, _, b, P));
2483
+ const B = [i, ...A], x = await a.detectOverflow(o, w), L = [];
2484
2484
  let F = ((s = r.flip) == null ? void 0 : s.overflows) || [];
2485
2485
  if (u && L.push(x[z]), v) {
2486
2486
  const D = xr(c, n, P);
@@ -2660,9 +2660,9 @@ const Lr = function(t) {
2660
2660
  } = r.floating;
2661
2661
  let w, z;
2662
2662
  v === "top" || v === "bottom" ? (w = v, z = g === (await (n.isRTL == null ? void 0 : n.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (z = v, w = g === "end" ? "top" : "bottom");
2663
- const E = _ - u.top - u.bottom, C = b - u.left - u.right, P = No(_ - u[w], E), S = No(b - u[z], C), $ = !o.middlewareData.shift;
2664
- let B = P, x = S;
2665
- if ((e = o.middlewareData.shift) != null && e.enabled.x && (x = C), (s = o.middlewareData.shift) != null && s.enabled.y && (B = E), $ && !g) {
2663
+ const E = _ - u.top - u.bottom, S = b - u.left - u.right, P = No(_ - u[w], E), A = No(b - u[z], S), $ = !o.middlewareData.shift;
2664
+ let B = P, x = A;
2665
+ if ((e = o.middlewareData.shift) != null && e.enabled.x && (x = S), (s = o.middlewareData.shift) != null && s.enabled.y && (B = E), $ && !g) {
2666
2666
  const F = Q(u.left, 0), U = Q(u.right, 0), R = Q(u.top, 0), j = Q(u.bottom, 0);
2667
2667
  h ? x = b - 2 * (F !== 0 || U !== 0 ? F + U : Q(u.left, u.right)) : B = _ - 2 * (R !== 0 || j !== 0 ? R + j : Q(u.top, u.bottom));
2668
2668
  }
@@ -2844,8 +2844,8 @@ function nt(t, o, e, s) {
2844
2844
  const g = J(r), h = s && io(s) ? J(s) : s;
2845
2845
  let b = g, _ = Le(b);
2846
2846
  for (; _ && s && h !== b; ) {
2847
- const w = vt(_), z = _.getBoundingClientRect(), E = ao(_), C = z.left + (_.clientLeft + parseFloat(E.paddingLeft)) * w.x, P = z.top + (_.clientTop + parseFloat(E.paddingTop)) * w.y;
2848
- a *= w.x, l *= w.y, u *= w.x, v *= w.y, a += C, l += P, b = J(_), _ = Le(b);
2847
+ const w = vt(_), z = _.getBoundingClientRect(), E = ao(_), S = z.left + (_.clientLeft + parseFloat(E.paddingLeft)) * w.x, P = z.top + (_.clientTop + parseFloat(E.paddingTop)) * w.y;
2848
+ a *= w.x, l *= w.y, u *= w.x, v *= w.y, a += S, l += P, b = J(_), _ = Le(b);
2849
2849
  }
2850
2850
  }
2851
2851
  return ne({
@@ -3103,12 +3103,12 @@ function en(t, o) {
3103
3103
  } = l;
3104
3104
  if (i || o(), !g || !h)
3105
3105
  return;
3106
- const b = Yt(v), _ = Yt(c.clientWidth - (u + g)), w = Yt(c.clientHeight - (v + h)), z = Yt(u), C = {
3106
+ const b = Yt(v), _ = Yt(c.clientWidth - (u + g)), w = Yt(c.clientHeight - (v + h)), z = Yt(u), S = {
3107
3107
  rootMargin: -b + "px " + -_ + "px " + -w + "px " + -z + "px",
3108
3108
  threshold: Q(0, No(1, a)) || 1
3109
3109
  };
3110
3110
  let P = !0;
3111
- function S($) {
3111
+ function A($) {
3112
3112
  const B = $[0].intersectionRatio;
3113
3113
  if (B !== a) {
3114
3114
  if (!P)
@@ -3120,13 +3120,13 @@ function en(t, o) {
3120
3120
  B === 1 && !bc(l, t.getBoundingClientRect()) && n(), P = !1;
3121
3121
  }
3122
3122
  try {
3123
- e = new IntersectionObserver(S, {
3124
- ...C,
3123
+ e = new IntersectionObserver(A, {
3124
+ ...S,
3125
3125
  // Handle <iframe>s
3126
3126
  root: c.ownerDocument
3127
3127
  });
3128
3128
  } catch {
3129
- e = new IntersectionObserver(S, C);
3129
+ e = new IntersectionObserver(A, S);
3130
3130
  }
3131
3131
  e.observe(t);
3132
3132
  }
@@ -3151,8 +3151,8 @@ function sn(t, o, e, s) {
3151
3151
  n && (h = new ResizeObserver((z) => {
3152
3152
  let [E] = z;
3153
3153
  E && E.target === l && h && o && (h.unobserve(o), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
3154
- var C;
3155
- (C = h) == null || C.observe(o);
3154
+ var S;
3155
+ (S = h) == null || S.observe(o);
3156
3156
  })), e();
3157
3157
  }), l && !a && h.observe(l), o && h.observe(o));
3158
3158
  let b, _ = a ? nt(t) : null;
@@ -3197,7 +3197,7 @@ var pn = class {
3197
3197
  this.cleanup = sn(o, e, this.updatePlacement);
3198
3198
  }
3199
3199
  async computePlacement() {
3200
- var C, P;
3200
+ var S, P;
3201
3201
  const { arrowElement: t, alignment: o, caret: e, trigger: s, target: c, styleElement: r, matchWidth: n, open: i, alignmentAxisOffset: a, autoAlignBoundary: l, isTabTip: u } = this.options, v = (c == null ? void 0 : c.role) === "listbox", g = (c == null ? void 0 : c.localName) === "cds-custom-menu", h = r ?? c;
3202
3202
  if (!h) return;
3203
3203
  let b;
@@ -3230,9 +3230,9 @@ var pn = class {
3230
3230
  b = o;
3231
3231
  break;
3232
3232
  }
3233
- const _ = getComputedStyle(h), z = u ? 0 : ((S) => {
3234
- const $ = parseFloat(S);
3235
- return S.trim().endsWith("rem") ? $ * 16 : $;
3233
+ const _ = getComputedStyle(h), z = u ? 0 : ((A) => {
3234
+ const $ = parseFloat(A);
3235
+ return A.trim().endsWith("rem") ? $ * 16 : $;
3236
3236
  })(_.getPropertyValue("--cds-popover-offset").trim()) ?? 10, E = [
3237
3237
  cn(u ? 0 : {
3238
3238
  alignmentAxis: a,
@@ -3280,10 +3280,10 @@ var pn = class {
3280
3280
  fallbackAxisSideDirection: "start",
3281
3281
  boundary: l
3282
3282
  }),
3283
- ...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects: S, elements: $ }) {
3284
- $.floating.style.width = `${S.reference.width}px`;
3285
- } })] : [Ts({ apply({ elements: S }) {
3286
- S.floating.style.removeProperty("width");
3283
+ ...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects: A, elements: $ }) {
3284
+ $.floating.style.width = `${A.reference.width}px`;
3285
+ } })] : [Ts({ apply({ elements: A }) {
3286
+ A.floating.style.removeProperty("width");
3287
3287
  } })],
3288
3288
  ...e && t ? [an({
3289
3289
  element: t,
@@ -3292,12 +3292,12 @@ var pn = class {
3292
3292
  nn()
3293
3293
  ];
3294
3294
  if (i) {
3295
- const { x: S, y: $, placement: B, middlewareData: x, strategy: L } = await dn(s, h, {
3295
+ const { x: A, y: $, placement: B, middlewareData: x, strategy: L } = await dn(s, h, {
3296
3296
  strategy: "fixed",
3297
3297
  middleware: E,
3298
3298
  placement: b
3299
3299
  });
3300
- if (h.setAttribute("align", B), h.style.left = `${S}px`, h.style.top = `${$}px`, h.style.position = `${L}`, h.style.visibility = (C = x.hide) != null && C.referenceHidden ? "hidden" : "visible", t) {
3300
+ if (h.setAttribute("align", B), h.style.left = `${A}px`, h.style.top = `${$}px`, h.style.position = `${L}`, h.style.visibility = (S = x.hide) != null && S.referenceHidden ? "hidden" : "visible", t) {
3301
3301
  const { x: F, y: U } = x.arrow, R = {
3302
3302
  top: "bottom",
3303
3303
  right: "left",
@@ -3616,7 +3616,7 @@ to = p([H("cds-custom-popover-content")], to);
3616
3616
  * This source code is licensed under the Apache-2.0 license found in the
3617
3617
  * LICENSE file in the root directory of this source tree.
3618
3618
  */
3619
- const I = "ibm-automation-cds", k = "automation-global-header", ut = "automation--header", Ms = "automation-header-navigation-action", $e = "automation--header__popover__label--profile", ln = `${I}-app-switcher-button`, un = `${I}-env-switcher-button`, Ns = `${I}-help-menu-button`, mn = `${I}-chatbot-menu-button`, vn = `${I}-notifications-button`, hn = `${I}-profile-menu-button`, bn = `${I}-search-button`, yc = `${I}-solis-sidekick-button`, _c = `${I}-solis-switcher-button`, gn = `${I}-trial-popover-button`, Ls = "global-header", fn = "refresh-header-options", yn = {
3619
+ const O = "ibm-automation-cds", k = "automation-global-header", ut = "automation--header", Ms = "automation-header-navigation-action", $e = "automation--header__popover__label--profile", ln = `${O}-app-switcher-button`, un = `${O}-env-switcher-button`, Ns = `${O}-help-menu-button`, mn = `${O}-chatbot-menu-button`, vn = `${O}-notifications-button`, hn = `${O}-profile-menu-button`, bn = `${O}-search-button`, yc = `${O}-solis-sidekick-button`, _c = `${O}-solis-switcher-button`, gn = `${O}-trial-popover-button`, Ls = "global-header", fn = "refresh-header-options", yn = {
3620
3620
  brand: {
3621
3621
  company: "",
3622
3622
  product: ""
@@ -4607,7 +4607,7 @@ let eo = class extends y {
4607
4607
  };
4608
4608
  }
4609
4609
  render() {
4610
- var e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, C, P, S, $, B;
4610
+ var e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, S, P, A, $, B;
4611
4611
  const o = "title-icon";
4612
4612
  return typeof this.isCollapsible > "u" || this.isCollapsible ? this.isSideNavMenuItems ? m`
4613
4613
  <cds-custom-side-nav-menu
@@ -4628,7 +4628,7 @@ let eo = class extends y {
4628
4628
  ${x.label}
4629
4629
  </cds-custom-side-nav-menu-item>
4630
4630
  ` : m` <cds-custom-side-nav-menu-item
4631
- class="${I}--side-nav__link-text"
4631
+ class="${O}--side-nav__link-text"
4632
4632
  href="${x == null ? void 0 : x.href}"
4633
4633
  target="${x.newTab ? "_blank" : f}"
4634
4634
  rel="noreferrer"
@@ -4636,7 +4636,7 @@ let eo = class extends y {
4636
4636
  role="link"
4637
4637
  ?active="${this.isHybridIpaas ? window.location.href.includes(x == null ? void 0 : x.href) : x == null ? void 0 : x.isActive}">
4638
4638
  <span
4639
- class="${I}--side-panel-nav-item__link">
4639
+ class="${O}--side-panel-nav-item__link">
4640
4640
  ${x.label}
4641
4641
  ${x.newTabIcon && m`<span class="launch_icon"
4642
4642
  >${N("Launch", 16)}</span
@@ -4645,8 +4645,8 @@ let eo = class extends y {
4645
4645
  </cds-custom-side-nav-menu-item>`)}
4646
4646
  </cds-custom-side-nav-menu>
4647
4647
  ` : this.isOnClickAvailable || (n = this.link) != null && n.onClick ? m` <cds-custom-side-nav-link
4648
- class="${mo(`${I}--side-nav__link`, {
4649
- [`${I}--side-nav__link--current`]: this.isActive
4648
+ class="${mo(`${O}--side-nav__link`, {
4649
+ [`${O}--side-nav__link--current`]: this.isActive
4650
4650
  })}"
4651
4651
  role="link"
4652
4652
  ?active="${this.isActive}"
@@ -4660,8 +4660,8 @@ let eo = class extends y {
4660
4660
  ${this.getIcon((l = this.link) == null ? void 0 : l.iconName, (u = this.link) == null ? void 0 : u.productIcon)}${(v = this.link) == null ? void 0 : v.label}
4661
4661
  </cds-custom-side-nav-link>` : m`
4662
4662
  <cds-custom-side-nav-link
4663
- class="${mo(`${I}--side-nav__link`, {
4664
- [`${I}--side-nav__link--current`]: this.isActive
4663
+ class="${mo(`${O}--side-nav__link`, {
4664
+ [`${O}--side-nav__link--current`]: this.isActive
4665
4665
  })}"
4666
4666
  role="link"
4667
4667
  ?active="${this.isActive}"
@@ -4684,20 +4684,20 @@ let eo = class extends y {
4684
4684
  ?open="${this._isHoveringOnSideNavItem}"
4685
4685
  align="right"
4686
4686
  dropShadow="false"
4687
- class="${I}--side-panel-nav-item__popover-content">
4687
+ class="${O}--side-panel-nav-item__popover-content">
4688
4688
  <span style="display: none;"></span>
4689
4689
  <cds-custom-side-nav-link
4690
4690
  role="link"
4691
4691
  href="${(z = this.link) == null ? void 0 : z.href}"
4692
4692
  @click="${(E = this.link) == null ? void 0 : E.onClick}"
4693
- title="${(C = this.link) == null ? void 0 : C.label}"
4693
+ title="${(S = this.link) == null ? void 0 : S.label}"
4694
4694
  class="${mo({
4695
- [`${I}--side-nav__link--current`]: this.isActive
4695
+ [`${O}--side-nav__link--current`]: this.isActive
4696
4696
  })}"
4697
4697
  @mouseleave="${() => this._setIsHoveringOnSideNavItem(!1)}"
4698
4698
  @mouseenter="${() => this._setIsHoveringOnSideNavItem(!0)}"
4699
4699
  large="${!this.isHybridIpaas}">
4700
- ${(P = this.link) != null && P.iconName ? N((S = this.link) == null ? void 0 : S.iconName, 16, o) : ($ = this.link) == null ? void 0 : $.label}
4700
+ ${(P = this.link) != null && P.iconName ? N((A = this.link) == null ? void 0 : A.iconName, 16, o) : ($ = this.link) == null ? void 0 : $.label}
4701
4701
  </cds-custom-side-nav-link>
4702
4702
  <cds-custom-popover-content
4703
4703
  >${(B = this.link) == null ? void 0 : B.label}</cds-custom-popover-content
@@ -5531,7 +5531,7 @@ let de = class extends y {
5531
5531
  return m` <cds-custom-header-nav
5532
5532
  aria-label="Navigation"
5533
5533
  class="${mo(
5534
- I,
5534
+ O,
5535
5535
  `${Ms}__menu`
5536
5536
  )}">
5537
5537
  ${this.noAuthHeaderLinks && this.noAuthHeaderLinks.map((t) => m`
@@ -6134,7 +6134,7 @@ let $o = class extends y {
6134
6134
  return m`<cds-custom-header-menu
6135
6135
  menu-label="Help"
6136
6136
  id="${Ns}"
6137
- class="${I}__help-menu"
6137
+ class="${O}__help-menu"
6138
6138
  trigger-content="Help"
6139
6139
  tabindex="${this.isTrialOpen ? -1 : 0}">
6140
6140
  ${o == null ? void 0 : o.map((e) => m`
@@ -6156,7 +6156,7 @@ let $o = class extends y {
6156
6156
  aria-label="open assistance side panel"
6157
6157
  tooltipAlignment="center"
6158
6158
  tabindex="${this.isTrialOpen ? -1 : 0}"
6159
- class="${I}__help-menu"
6159
+ class="${O}__help-menu"
6160
6160
  @click="${(t) => this.handleAssistmeToggleClick(t)}">
6161
6161
  ${N("Help", 20, "icon")}
6162
6162
  </cds-custom-header-global-action>
@@ -6191,7 +6191,7 @@ let $o = class extends y {
6191
6191
  role="button"
6192
6192
  aria-label="Launch Chat"
6193
6193
  tooltipAlignment="center"
6194
- class="${I}__globalaction"
6194
+ class="${O}__globalaction"
6195
6195
  tabindex="${this.isTrialOpen ? -1 : 0}"
6196
6196
  @click="${() => this._toggleAIChat(t.onClick)}">
6197
6197
  ${N("AiLaunch", 20, "icon")}
@@ -6207,7 +6207,7 @@ let $o = class extends y {
6207
6207
  role="button"
6208
6208
  aria-label="Solis sidekick"
6209
6209
  tooltipAlignment="center"
6210
- class="${I}__globalaction"
6210
+ class="${O}__globalaction"
6211
6211
  id="${yc}">
6212
6212
  ${N("ChartVennDiagram", 20, "icon")}
6213
6213
  </cds-custom-header-global-action>
@@ -6222,7 +6222,7 @@ let $o = class extends y {
6222
6222
  role="button"
6223
6223
  aria-label="Solis switcher"
6224
6224
  tooltipAlignment="center"
6225
- class="${I}__globalaction"
6225
+ class="${O}__globalaction"
6226
6226
  id="${_c}">
6227
6227
  ${N("Switcher", 20, "icon")}
6228
6228
  </cds-custom-header-global-action>
@@ -6270,7 +6270,7 @@ let $o = class extends y {
6270
6270
  aria-label="${o.label}"
6271
6271
  tooltip-text="${T(o.tooltip)}"
6272
6272
  tooltip-position="bottom"
6273
- class="${I}__globalaction"
6273
+ class="${O}__globalaction"
6274
6274
  @click="${o.onClick}">
6275
6275
  ${N(o.carbonIcon, 20, "icon")}
6276
6276
  </cds-custom-header-global-action>
@@ -6544,10 +6544,10 @@ let Co = class extends y {
6544
6544
  }), Ws(this.headerProps));
6545
6545
  }
6546
6546
  render() {
6547
- var t, o, e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, C, P, S, $, B, x, L, F, U;
6547
+ var t, o, e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, S, P, A, $, B, x, L, F, U;
6548
6548
  return m`
6549
6549
  <cds-custom-header
6550
- class="${I}__header"
6550
+ class="${O}__header"
6551
6551
  aria-label="${(o = (t = this.headerProps) == null ? void 0 : t.brand) == null ? void 0 : o.company} ${(s = (e = this.headerProps) == null ? void 0 : e.brand) == null ? void 0 : s.product}">
6552
6552
  ${this.headerProps && ((c = this.headerProps) != null && c.sideNav) ? m`
6553
6553
  <cds-custom-header-menu-button
@@ -6557,17 +6557,17 @@ let Co = class extends y {
6557
6557
  ` : f}
6558
6558
  <slot name="header-logo"></slot>
6559
6559
  <cds-custom-header-name
6560
- class="${I}__header-name"
6560
+ class="${O}__header-name"
6561
6561
  prefix="${((n = (r = this.headerProps) == null ? void 0 : r.brand) == null ? void 0 : n.company) ?? "IBM"}">
6562
- <span class="${I}__product-type"
6562
+ <span class="${O}__product-type"
6563
6563
  >${((a = (i = this.headerProps) == null ? void 0 : i.brand) == null ? void 0 : a.product) ?? f}</span
6564
6564
  >
6565
6565
  </cds-custom-header-name>
6566
- <span class="${I}__capability-name"
6566
+ <span class="${O}__capability-name"
6567
6567
  >${((u = (l = this.headerProps) == null ? void 0 : l.capabilityName) == null ? void 0 : u.label) ?? f}</span
6568
6568
  >
6569
6569
  <clabs-global-header-context
6570
- class="${I}__global"
6570
+ class="${O}__global"
6571
6571
  .props="${{ ...this.headerProps }}"
6572
6572
  .assistMeScriptLoaded="${this.assistMeScriptLoaded}"
6573
6573
  ?hasNewNotifications="${this.hasNewNotifications}"></clabs-global-header-context>
@@ -6577,10 +6577,10 @@ let Co = class extends y {
6577
6577
  collapse-mode="${typeof this.headerProps.sideNav.isCollapsible < "u" && this.headerProps.sideNav.isCollapsible ? "rail" : "responsive"}"
6578
6578
  ?is-not-persistent="${!!(typeof this.headerProps.sideNav.isCollapsible < "u" && this.headerProps.sideNav.isCollapsible)}"
6579
6579
  class="${mo({
6580
- [`${I}--rail-sidePanel`]: typeof this.headerProps.sideNav.isCollapsible < "u" && !this.headerProps.sideNav.isCollapsible
6580
+ [`${O}--rail-sidePanel`]: typeof this.headerProps.sideNav.isCollapsible < "u" && !this.headerProps.sideNav.isCollapsible
6581
6581
  })}">
6582
6582
  <cds-custom-side-nav-items
6583
- class="${I}__side-nav-items">
6583
+ class="${O}__side-nav-items">
6584
6584
  <!-- sideNav group array render -->
6585
6585
  ${(_ = (b = this.headerProps) == null ? void 0 : b.sideNav) != null && _.groups ? m`
6586
6586
  ${(z = (w = this.headerProps.sideNav) == null ? void 0 : w.groups) == null ? void 0 : z.map(
@@ -6612,7 +6612,7 @@ let Co = class extends y {
6612
6612
 
6613
6613
  <!-- sideNav link render -->
6614
6614
  ${this.headerProps.sideNav.links && this.headerProps.sideNav.links.length > 0 ? m`
6615
- ${(C = (E = this.headerProps.sideNav) == null ? void 0 : E.links) == null ? void 0 : C.map((R) => {
6615
+ ${(S = (E = this.headerProps.sideNav) == null ? void 0 : E.links) == null ? void 0 : S.map((R) => {
6616
6616
  var j, D, X;
6617
6617
  return m`
6618
6618
  <clabs-global-header-side-nav-item
@@ -6632,13 +6632,13 @@ let Co = class extends y {
6632
6632
  </clabs-global-header-wide-side-nav>
6633
6633
  ` : f}
6634
6634
  ${this.headerProps && this.headerProps.sideNavPropsV2 ? m`<cds-custom-side-nav
6635
- aria-label=${((S = (P = this.headerProps) == null ? void 0 : P.sideNavPropsV2) == null ? void 0 : S.buttonLabel) ?? "Side navigation"}
6635
+ aria-label=${((A = (P = this.headerProps) == null ? void 0 : P.sideNavPropsV2) == null ? void 0 : A.buttonLabel) ?? "Side navigation"}
6636
6636
  collapse-mode="rail"
6637
6637
  ?expanded="${typeof this.headerProps.sideNavPropsV2.isExpandable < "u" && this.headerProps.sideNavPropsV2.isExpandable ? this.isMenuOpen : !1}"
6638
6638
  ?is-not-persistent="${!(typeof ((B = ($ = this.headerProps) == null ? void 0 : $.sideNavPropsV2) == null ? void 0 : B.isCollapsible) < "u" && !((L = (x = this.headerProps) == null ? void 0 : x.sideNav) != null && L.isCollapsible))}"
6639
6639
  class="
6640
6640
  ${mo({
6641
- [`${I}--rail-sidePanel`]: typeof this.headerProps.sideNavPropsV2.isCollapsible < "u" && !this.headerProps.sideNavPropsV2.isCollapsible
6641
+ [`${O}--rail-sidePanel`]: typeof this.headerProps.sideNavPropsV2.isCollapsible < "u" && !this.headerProps.sideNavPropsV2.isCollapsible
6642
6642
  })}">
6643
6643
  ${(U = (F = this.headerProps.sideNavPropsV2) == null ? void 0 : F.links) == null ? void 0 : U.map((R) => {
6644
6644
  var j, D, X;
@@ -6803,13 +6803,13 @@ class pa {
6803
6803
  window.location.href = o;
6804
6804
  }
6805
6805
  }
6806
- var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, O = (t, o, e, s) => {
6806
+ var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, I = (t, o, e, s) => {
6807
6807
  for (var c = s > 1 ? void 0 : s ? ua(o, e) : o, r = t.length - 1, n; r >= 0; r--)
6808
6808
  (n = t[r]) && (c = (s ? n(o, e, c) : n(c)) || c);
6809
6809
  return s && c && la(o, e, c), c;
6810
6810
  };
6811
6811
  const { stablePrefix: ma } = ro;
6812
- let A = class extends y {
6812
+ let C = class extends y {
6813
6813
  constructor() {
6814
6814
  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.addCookiePreferences = !1, this.forceBackendProxy = !1, this.solisSessionManagerEnabled = !1, this.solisSessionRefreshInterval = 25, this.solisIdleTimeoutInterval = 28, this.softLogoutUrl = "", this.headerOptions = {
6815
6815
  ...yn,
@@ -7044,108 +7044,111 @@ let A = class extends y {
7044
7044
  </div>`;
7045
7045
  }
7046
7046
  };
7047
- A.styles = K`
7047
+ C.styles = K`
7048
7048
  ${co(da)}
7049
7049
  `;
7050
- O([
7050
+ I([
7051
7051
  d({ type: String })
7052
- ], A.prototype, "productName", 2);
7053
- O([
7052
+ ], C.prototype, "productName", 2);
7053
+ I([
7054
7054
  d({ type: String })
7055
- ], A.prototype, "productKey", 2);
7056
- O([
7055
+ ], C.prototype, "productKey", 2);
7056
+ I([
7057
7057
  d({ type: Object })
7058
- ], A.prototype, "fetchHeaders", 2);
7059
- O([
7058
+ ], C.prototype, "fetchHeaders", 2);
7059
+ I([
7060
7060
  d({ type: Boolean })
7061
- ], A.prototype, "solisSwitcherEnabled", 2);
7062
- O([
7061
+ ], C.prototype, "solisSidekickEnabled", 2);
7062
+ I([
7063
+ d({ type: Boolean })
7064
+ ], C.prototype, "solisSwitcherEnabled", 2);
7065
+ I([
7063
7066
  d({ type: String })
7064
- ], A.prototype, "solisEnvironment", 2);
7065
- O([
7067
+ ], C.prototype, "solisEnvironment", 2);
7068
+ I([
7066
7069
  d({ type: Boolean })
7067
- ], A.prototype, "solisDevMode", 2);
7068
- O([
7070
+ ], C.prototype, "solisDevMode", 2);
7071
+ I([
7069
7072
  d({ type: String })
7070
- ], A.prototype, "basePath", 2);
7071
- O([
7073
+ ], C.prototype, "basePath", 2);
7074
+ I([
7072
7075
  d({ type: String })
7073
- ], A.prototype, "displayName", 2);
7074
- O([
7076
+ ], C.prototype, "displayName", 2);
7077
+ I([
7075
7078
  d({ type: String })
7076
- ], A.prototype, "userEmail", 2);
7077
- O([
7079
+ ], C.prototype, "userEmail", 2);
7080
+ I([
7078
7081
  d({ type: String })
7079
- ], A.prototype, "productVersion", 2);
7080
- O([
7082
+ ], C.prototype, "productVersion", 2);
7083
+ I([
7081
7084
  d({ type: String })
7082
- ], A.prototype, "assistMeKey", 2);
7083
- O([
7085
+ ], C.prototype, "assistMeKey", 2);
7086
+ I([
7084
7087
  d({ type: Function })
7085
- ], A.prototype, "aiCallback", 2);
7086
- O([
7088
+ ], C.prototype, "aiCallback", 2);
7089
+ I([
7087
7090
  d({ type: String })
7088
- ], A.prototype, "aiCallbackEvent", 2);
7089
- O([
7091
+ ], C.prototype, "aiCallbackEvent", 2);
7092
+ I([
7090
7093
  d({ type: Function })
7091
- ], A.prototype, "logoutCallback", 2);
7092
- O([
7094
+ ], C.prototype, "logoutCallback", 2);
7095
+ I([
7093
7096
  d({ type: String })
7094
- ], A.prototype, "logoutCallbackEvent", 2);
7095
- O([
7097
+ ], C.prototype, "logoutCallbackEvent", 2);
7098
+ I([
7096
7099
  d({ type: Function })
7097
- ], A.prototype, "notificationOpenCallback", 2);
7098
- O([
7100
+ ], C.prototype, "notificationOpenCallback", 2);
7101
+ I([
7099
7102
  d({ type: String })
7100
- ], A.prototype, "notificationOpenCallbackEvent", 2);
7101
- O([
7103
+ ], C.prototype, "notificationOpenCallbackEvent", 2);
7104
+ I([
7102
7105
  d({ type: Function })
7103
- ], A.prototype, "searchCallback", 2);
7104
- O([
7106
+ ], C.prototype, "searchCallback", 2);
7107
+ I([
7105
7108
  d({ type: String })
7106
- ], A.prototype, "searchCallbackEvent", 2);
7107
- O([
7109
+ ], C.prototype, "searchCallbackEvent", 2);
7110
+ I([
7108
7111
  d({ type: Function })
7109
- ], A.prototype, "searchSubmitCallback", 2);
7110
- O([
7112
+ ], C.prototype, "searchSubmitCallback", 2);
7113
+ I([
7111
7114
  d({ type: String })
7112
- ], A.prototype, "searchSubmitCallbackEvent", 2);
7113
- O([
7115
+ ], C.prototype, "searchSubmitCallbackEvent", 2);
7116
+ I([
7114
7117
  d({ type: Boolean })
7115
- ], A.prototype, "hasNewNotifications", 2);
7116
- O([
7118
+ ], C.prototype, "hasNewNotifications", 2);
7119
+ I([
7117
7120
  d({ type: Object })
7118
- ], A.prototype, "searchConfigs", 2);
7119
- O([
7121
+ ], C.prototype, "searchConfigs", 2);
7122
+ I([
7120
7123
  d({ type: Array })
7121
- ], A.prototype, "capabilityProfileFooterLinks", 2);
7122
- O([
7124
+ ], C.prototype, "capabilityProfileFooterLinks", 2);
7125
+ I([
7123
7126
  d({ type: Array })
7124
- ], A.prototype, "capabilityGlobalActions", 2);
7125
- O([
7127
+ ], C.prototype, "capabilityGlobalActions", 2);
7128
+ I([
7126
7129
  d({ type: Boolean })
7127
- ], A.prototype, "addCookiePreferences", 2);
7128
- O([
7130
+ ], C.prototype, "addCookiePreferences", 2);
7131
+ I([
7129
7132
  d({ type: Boolean })
7130
- ], A.prototype, "forceBackendProxy", 2);
7131
- O([
7133
+ ], C.prototype, "forceBackendProxy", 2);
7134
+ I([
7132
7135
  d({ type: Boolean })
7133
- ], A.prototype, "solisSessionManagerEnabled", 2);
7134
- O([
7136
+ ], C.prototype, "solisSessionManagerEnabled", 2);
7137
+ I([
7135
7138
  d({ type: Number })
7136
- ], A.prototype, "solisSessionRefreshInterval", 2);
7137
- O([
7139
+ ], C.prototype, "solisSessionRefreshInterval", 2);
7140
+ I([
7138
7141
  d({ type: Number })
7139
- ], A.prototype, "solisIdleTimeoutInterval", 2);
7140
- O([
7142
+ ], C.prototype, "solisIdleTimeoutInterval", 2);
7143
+ I([
7141
7144
  d({ type: String })
7142
- ], A.prototype, "softLogoutUrl", 2);
7143
- O([
7145
+ ], C.prototype, "softLogoutUrl", 2);
7146
+ I([
7144
7147
  go()
7145
- ], A.prototype, "headerOptions", 2);
7146
- A = O([
7148
+ ], C.prototype, "headerOptions", 2);
7149
+ C = I([
7147
7150
  so(`${ma}-global-header-hybrid-ipaas`)
7148
- ], A);
7151
+ ], C);
7149
7152
  export {
7150
7153
  k as A,
7151
7154
  Co as C,
@@ -7153,7 +7156,7 @@ export {
7153
7156
  q as H,
7154
7157
  In as _,
7155
7158
  Zt as a,
7156
- A as b,
7159
+ C as b,
7157
7160
  mr as c,
7158
7161
  p as d,
7159
7162
  m as e,
@@ -1,5 +1,5 @@
1
1
  import E from "react";
2
- import { b as A } from "./HybridIpaasHeader-BRj_MeIa.mjs";
2
+ import { b as A } from "./HybridIpaasHeader-CBvppYUD.mjs";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2018 Google LLC
@@ -1,5 +1,5 @@
1
- import { C as se, e as u, r as K, i as F, n as d, j as v, A as X, t as Z, s as q, d as i, f as x, F as U, g as V, o as b, h as Y, k as L, _ as oe, a as W, c as ce, H as D, l as ie } from "./HybridIpaasHeader-BRj_MeIa.mjs";
2
- import { b as De } from "./HybridIpaasHeader-BRj_MeIa.mjs";
1
+ import { C as se, e as u, r as K, i as F, n as d, j as v, A as X, t as Z, s as q, d as i, f as x, F as U, g as V, o as b, h as Y, k as L, _ as oe, a as W, c as ce, H as D, l as ie } from "./HybridIpaasHeader-CBvppYUD.mjs";
2
+ import { b as De } from "./HybridIpaasHeader-CBvppYUD.mjs";
3
3
  var le = {
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.90.0",
3
+ "version": "0.91.0",
4
4
  "author": "Your Name <your@email.com>",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -49,5 +49,5 @@
49
49
  "vite": "^6.4.2",
50
50
  "webdriverio": "^9.23.2"
51
51
  },
52
- "gitHead": "1c2ba6b358e9196d5d2ece1b571ee0e0901a40e7"
52
+ "gitHead": "55dbaf4343491f29fb5219672897a20f7146f66c"
53
53
  }