@carbon-labs/wc-global-header 0.39.0 → 0.41.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.
- package/es/wc-global-header.mjs +75 -67
- package/package.json +2 -2
package/es/wc-global-header.mjs
CHANGED
|
@@ -760,7 +760,7 @@ let Ys = class {
|
|
|
760
760
|
* Copyright 2018 Google LLC
|
|
761
761
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
762
762
|
*/
|
|
763
|
-
const
|
|
763
|
+
const V = Ws(class extends Ys {
|
|
764
764
|
constructor(o) {
|
|
765
765
|
var t;
|
|
766
766
|
if (super(o), o.type !== Zs.ATTRIBUTE || o.name !== "class" || ((t = o.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
@@ -927,7 +927,7 @@ let L = class extends uo(at(y)) {
|
|
|
927
927
|
Z[tt] = !0;
|
|
928
928
|
}), j = Object.assign(Object.assign({}, j), Z);
|
|
929
929
|
}
|
|
930
|
-
const K =
|
|
930
|
+
const K = V(j), U = h.includes("danger");
|
|
931
931
|
if (p)
|
|
932
932
|
return d ? v`
|
|
933
933
|
<p id="button" part="button" class="${K}">
|
|
@@ -954,7 +954,7 @@ let L = class extends uo(at(y)) {
|
|
|
954
954
|
</a>
|
|
955
955
|
${(t = v`<slot id="badge-indicator" name="badge-indicator"></slot>`) !== null && t !== void 0 ? t : !d}
|
|
956
956
|
`;
|
|
957
|
-
const et = O && (w === fo.TOP || w === fo.BOTTOM) ? `-${O}` : "", J =
|
|
957
|
+
const et = O && (w === fo.TOP || w === fo.BOTTOM) ? `-${O}` : "", J = V({
|
|
958
958
|
[`${i}--popover-container`]: !0,
|
|
959
959
|
[`${i}--popover--caret`]: !0,
|
|
960
960
|
[`${i}--popover--high-contrast`]: !0,
|
|
@@ -1328,7 +1328,7 @@ let bt = class extends uo(at(y)) {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
1330
|
render() {
|
|
1331
|
-
const { expanded: t, isActive: s, triggerContent: e, menuLabel: c, _hasActiveChildren: r, _handleClick: n } = this, d =
|
|
1331
|
+
const { expanded: t, isActive: s, triggerContent: e, menuLabel: c, _hasActiveChildren: r, _handleClick: n } = this, d = V({
|
|
1332
1332
|
[`${i}--header__menu-item`]: !0,
|
|
1333
1333
|
[`${i}--header__menu-title`]: !0,
|
|
1334
1334
|
[`${i}--header__menu-item--current`]: s || r && !t
|
|
@@ -1489,7 +1489,7 @@ let ft = class extends uo(y) {
|
|
|
1489
1489
|
this.expanded = !1;
|
|
1490
1490
|
}
|
|
1491
1491
|
render() {
|
|
1492
|
-
const { collapseMode: t, expanded: s, isNotChildOfHeader: e, isNotPersistent: c } = this, r =
|
|
1492
|
+
const { collapseMode: t, expanded: s, isNotChildOfHeader: e, isNotPersistent: c } = this, r = V({
|
|
1493
1493
|
[`${i}--side-nav__navigation`]: !0,
|
|
1494
1494
|
[`${i}--side-nav`]: !0,
|
|
1495
1495
|
[`${i}--side-nav--expanded`]: s,
|
|
@@ -1497,7 +1497,7 @@ let ft = class extends uo(y) {
|
|
|
1497
1497
|
[`${i}--side-nav--rail`]: t === ht.RAIL,
|
|
1498
1498
|
[`${i}--side-nav--ux`]: !e,
|
|
1499
1499
|
[`${i}--side-nav--hidden`]: c
|
|
1500
|
-
}), n =
|
|
1500
|
+
}), n = V({
|
|
1501
1501
|
[`${i}--side-nav__overlay`]: !0,
|
|
1502
1502
|
[`${i}--side-nav__overlay-active`]: s
|
|
1503
1503
|
});
|
|
@@ -1590,7 +1590,7 @@ let Et = class extends at(y) {
|
|
|
1590
1590
|
}));
|
|
1591
1591
|
}
|
|
1592
1592
|
render() {
|
|
1593
|
-
const { active: t, buttonLabelActive: s, buttonLabelInactive: e, disabled: c, _handleClick: r } = this, n = t ? s : e, d =
|
|
1593
|
+
const { active: t, buttonLabelActive: s, buttonLabelInactive: e, disabled: c, _handleClick: r } = this, n = t ? s : e, d = V({
|
|
1594
1594
|
[`${i}--header__action`]: !0,
|
|
1595
1595
|
[`${i}--header__menu-trigger`]: !0,
|
|
1596
1596
|
[`${i}--header__menu-toggle`]: !0,
|
|
@@ -1645,7 +1645,7 @@ let lt = class extends at(y) {
|
|
|
1645
1645
|
super(...arguments), this.isActive = !1, this.role = "listitem";
|
|
1646
1646
|
}
|
|
1647
1647
|
render() {
|
|
1648
|
-
const { ariaCurrent: t, href: s, isActive: e, title: c, rel: r, target: n } = this, d =
|
|
1648
|
+
const { ariaCurrent: t, href: s, isActive: e, title: c, rel: r, target: n } = this, d = V({
|
|
1649
1649
|
[`${i}--header__menu-item`]: !0,
|
|
1650
1650
|
[`${i}--header__menu-item--current`]: e && t !== "page"
|
|
1651
1651
|
});
|
|
@@ -1812,7 +1812,7 @@ let yt = class extends at(y) {
|
|
|
1812
1812
|
this.hasAttribute("role") || this.setAttribute("role", "listitem"), super.connectedCallback();
|
|
1813
1813
|
}
|
|
1814
1814
|
render() {
|
|
1815
|
-
const { active: t, href: s, rel: e, target: c, title: r, _handleSlotChangeTitleIcon: n } = this, d =
|
|
1815
|
+
const { active: t, href: s, rel: e, target: c, title: r, _handleSlotChangeTitleIcon: n } = this, d = V({
|
|
1816
1816
|
[`${i}--side-nav__link`]: !0,
|
|
1817
1817
|
[`${i}--side-nav__link--current`]: t
|
|
1818
1818
|
});
|
|
@@ -2014,7 +2014,7 @@ let no = class extends at(y) {
|
|
|
2014
2014
|
this.hasAttribute("role") || this.setAttribute("role", "button"), super.connectedCallback();
|
|
2015
2015
|
}
|
|
2016
2016
|
render() {
|
|
2017
|
-
const { active: t, href: s, title: e } = this, c =
|
|
2017
|
+
const { active: t, href: s, title: e } = this, c = V({
|
|
2018
2018
|
[`${i}--side-nav__link`]: !0,
|
|
2019
2019
|
[`${i}--side-nav__link--current`]: t
|
|
2020
2020
|
});
|
|
@@ -2083,7 +2083,7 @@ let Nt = class extends at(y) {
|
|
|
2083
2083
|
this.hasAttribute("role") || this.setAttribute("role", "listitem"), super.connectedCallback();
|
|
2084
2084
|
}
|
|
2085
2085
|
render() {
|
|
2086
|
-
const { href: t, selected: s, ariaLabel: e, ariaLabelledBy: c, tabIndex: r } = this, n =
|
|
2086
|
+
const { href: t, selected: s, ariaLabel: e, ariaLabelledBy: c, tabIndex: r } = this, n = V({
|
|
2087
2087
|
[`${i}--switcher__item-link`]: !0,
|
|
2088
2088
|
[`${i}--switcher__item-link--selected`]: s
|
|
2089
2089
|
});
|
|
@@ -3220,7 +3220,7 @@ let pt = Yo = class extends y {
|
|
|
3220
3220
|
render() {
|
|
3221
3221
|
const { dropShadow: t, highContrast: s, open: e, tabTip: c, _handleSlotChange: r } = this;
|
|
3222
3222
|
c && (this.caret = !c), this.align = this.align ? this.align : c ? "bottom-left" : "bottom";
|
|
3223
|
-
const n =
|
|
3223
|
+
const n = V({
|
|
3224
3224
|
[`${i}--popover-container`]: !0,
|
|
3225
3225
|
[`${i}--popover--caret`]: this.caret,
|
|
3226
3226
|
[`${i}--popover--drop-shadow`]: t,
|
|
@@ -4250,7 +4250,7 @@ let ns = class extends pi {
|
|
|
4250
4250
|
render() {
|
|
4251
4251
|
const { stacked: t } = this, s = {
|
|
4252
4252
|
[`${i}--btn-set--stacked`]: t
|
|
4253
|
-
}, e =
|
|
4253
|
+
}, e = V(s);
|
|
4254
4254
|
return v`<slot class="${e} @slotchange="${this._handleSlotChange}"></slot>`;
|
|
4255
4255
|
}
|
|
4256
4256
|
/**
|
|
@@ -4277,7 +4277,7 @@ let Hs = class extends cc {
|
|
|
4277
4277
|
this.disabled && (t.preventDefault(), t.stopPropagation());
|
|
4278
4278
|
}
|
|
4279
4279
|
render() {
|
|
4280
|
-
const { autofocus: t, disabled: s, download: e, href: c, hreflang: r, ping: n, rel: d, size: l, target: p, type: m } = this, h =
|
|
4280
|
+
const { autofocus: t, disabled: s, download: e, href: c, hreflang: r, ping: n, rel: d, size: l, target: p, type: m } = this, h = V({
|
|
4281
4281
|
[`${i}--btn`]: !0,
|
|
4282
4282
|
[`${i}--skeleton`]: !0,
|
|
4283
4283
|
[`${i}--btn--${l}`]: l
|
|
@@ -5093,17 +5093,17 @@ let R = class extends Vi(Sc(y)) {
|
|
|
5093
5093
|
icon: null
|
|
5094
5094
|
};
|
|
5095
5095
|
w.invalid ? (w.icon = T, w["slot-name"] = "invalid-text", w["slot-text"] = d) : w.warn && (w.icon = O, w["slot-name"] = "warn-text", w["slot-text"] = x);
|
|
5096
|
-
const M =
|
|
5096
|
+
const M = V({
|
|
5097
5097
|
[`${i}--label`]: !0,
|
|
5098
5098
|
[`${i}--text-input__label-counter`]: !0,
|
|
5099
5099
|
[`${i}--label--disabled`]: t
|
|
5100
|
-
}), k =
|
|
5100
|
+
}), k = V({
|
|
5101
5101
|
[`${i}--form-item`]: !0,
|
|
5102
5102
|
[`${i}--text-input-wrapper`]: !0,
|
|
5103
5103
|
[`${i}--text-input-wrapper--inline`]: r,
|
|
5104
5104
|
[`${i}--text-input-wrapper--readonly`]: m,
|
|
5105
5105
|
[`${i}--text-input-wrapper--inline--invalid`]: r && w.invalid
|
|
5106
|
-
}), P =
|
|
5106
|
+
}), P = V({
|
|
5107
5107
|
[`${i}--text-input`]: !0,
|
|
5108
5108
|
[`${i}--text-input--invalid`]: w.invalid,
|
|
5109
5109
|
[`${i}--text-input--warning`]: w.warn,
|
|
@@ -5111,20 +5111,20 @@ let R = class extends Vi(Sc(y)) {
|
|
|
5111
5111
|
[`${i}--layout--size-${b}`]: b,
|
|
5112
5112
|
[`${i}--password-input`]: g === Ct.PASSWORD,
|
|
5113
5113
|
[`${i}--text-input__field-wrapper--decorator`]: S
|
|
5114
|
-
}), q =
|
|
5114
|
+
}), q = V({
|
|
5115
5115
|
[`${i}--text-input__field-outer-wrapper`]: !0,
|
|
5116
5116
|
[`${i}--text-input__field-outer-wrapper--inline`]: r
|
|
5117
|
-
}), F =
|
|
5117
|
+
}), F = V({
|
|
5118
5118
|
[`${i}--text-input__field-wrapper`]: !0,
|
|
5119
5119
|
[`${i}--text-input__field-wrapper--warning`]: w.warn
|
|
5120
|
-
}), j =
|
|
5120
|
+
}), j = V({
|
|
5121
5121
|
[`${i}--label`]: !0,
|
|
5122
5122
|
[`${i}--visually-hidden`]: c,
|
|
5123
5123
|
[`${i}--label--disabled`]: w.disabled
|
|
5124
|
-
}), K =
|
|
5124
|
+
}), K = V({
|
|
5125
5125
|
[`${i}--form__helper-text`]: !0,
|
|
5126
5126
|
[`${i}--form__helper-text--disabled`]: w.disabled
|
|
5127
|
-
}), U = g !== Ct.PASSWORD, et = U ? Hi({ class: `${i}--icon-visibility-off` }) : Ni({ class: `${i}--icon-visibility-on` }), J =
|
|
5127
|
+
}), U = g !== Ct.PASSWORD, et = U ? Hi({ class: `${i}--icon-visibility-off` }) : Ni({ class: `${i}--icon-visibility-on` }), J = V({
|
|
5128
5128
|
[`${i}--text-input--password__visibility__toggle`]: !0,
|
|
5129
5129
|
[`${i}--btn`]: !0,
|
|
5130
5130
|
[`${i}--btn--icon-only`]: !0,
|
|
@@ -5373,7 +5373,7 @@ let W = class extends uo(at(Sc(y))) {
|
|
|
5373
5373
|
e || s.append(c, r);
|
|
5374
5374
|
}
|
|
5375
5375
|
render() {
|
|
5376
|
-
const { autoComplete: t, closeButtonLabelText: s, disabled: e, hasCustomIcon: c, labelText: r, name: n, placeholder: d, role: l, type: p, value: m = "", _handleInput: h, _handleClearInputButtonClick: b, _handleSlotChange: g } = this, f =
|
|
5376
|
+
const { autoComplete: t, closeButtonLabelText: s, disabled: e, hasCustomIcon: c, labelText: r, name: n, placeholder: d, role: l, type: p, value: m = "", _handleInput: h, _handleClearInputButtonClick: b, _handleSlotChange: g } = this, f = V({
|
|
5377
5377
|
[`${i}--search-close`]: !0,
|
|
5378
5378
|
[`${i}--search-close--hidden`]: !this.value
|
|
5379
5379
|
});
|
|
@@ -5514,13 +5514,13 @@ let Bo = class extends y {
|
|
|
5514
5514
|
};
|
|
5515
5515
|
}
|
|
5516
5516
|
connectedCallback() {
|
|
5517
|
-
super.connectedCallback(), this.addEventListener("cds-search-input", (o) => {
|
|
5517
|
+
super.connectedCallback(), this.addEventListener("cds-custom-search-input", (o) => {
|
|
5518
5518
|
var t;
|
|
5519
5519
|
return this._handleSearchInput((t = o == null ? void 0 : o.detail) == null ? void 0 : t.value);
|
|
5520
5520
|
});
|
|
5521
5521
|
}
|
|
5522
5522
|
disconnectedCallback() {
|
|
5523
|
-
this.removeEventListener("cds-search-input", () => {
|
|
5523
|
+
this.removeEventListener("cds-custom-search-input", () => {
|
|
5524
5524
|
}), super.disconnectedCallback();
|
|
5525
5525
|
}
|
|
5526
5526
|
_handleKeydown(o) {
|
|
@@ -5528,7 +5528,7 @@ let Bo = class extends y {
|
|
|
5528
5528
|
o.stopPropagation(), (o.key === "Enter" || o.code === "Enter") && ((t = this.props) != null && t.submitCallback) && this.props.submitCallback(this.searchValue);
|
|
5529
5529
|
}
|
|
5530
5530
|
_handleSearchInput(o) {
|
|
5531
|
-
this.searchValue = o, this.props.callback(o);
|
|
5531
|
+
this.searchValue = o, this.props.callback && this.props.callback(o);
|
|
5532
5532
|
}
|
|
5533
5533
|
render() {
|
|
5534
5534
|
var o;
|
|
@@ -6144,13 +6144,13 @@ function qe(o) {
|
|
|
6144
6144
|
`script[src="${t}"]`
|
|
6145
6145
|
);
|
|
6146
6146
|
if (!c && t && o.solisConfig) {
|
|
6147
|
-
c = document.createElement("script"), c.src = t, c.type = "module", c.defer = !0, c.async = !0, c.crossOrigin = "anonymous", c.setAttribute("data-status", "loading"), (d = document == null ? void 0 : document.head) == null || d.appendChild(c), window._solis = {
|
|
6147
|
+
c = document.createElement("script"), c.src = t, c.type = "module", c.defer = !0, c.async = !0, c.crossOrigin = "anonymous", c.setAttribute("data-status", "loading"), (d = document == null ? void 0 : document.head) == null || d.appendChild(c), window._solis || (window._solis = {
|
|
6148
6148
|
product_id: o.solisConfig.product_id,
|
|
6149
6149
|
is_prod: o.solisConfig.is_prod,
|
|
6150
6150
|
cdn_hostname: o.solisConfig.cdn_hostname,
|
|
6151
6151
|
deployment_environment: o.solisConfig.deployment_environment,
|
|
6152
6152
|
backend_proxy: o.solisConfig.backendProxy
|
|
6153
|
-
};
|
|
6153
|
+
});
|
|
6154
6154
|
const l = (p) => {
|
|
6155
6155
|
c == null || c.setAttribute(
|
|
6156
6156
|
"data-status",
|
|
@@ -6367,7 +6367,7 @@ const ad = `.cds-custom--layout--size-xs{--cds-custom-layout-size-height-context
|
|
|
6367
6367
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
6368
6368
|
* LICENSE file in the root directory of this source tree.
|
|
6369
6369
|
*/.ibm-automation-cds .automation-header-navigation-action__menu-item{display:block;cursor:pointer}.ibm-automation-cds .automation-header-navigation-action__menu-item a{color:#f4f4f4}.ibm-automation-cds .automation-header-navigation-action__menu-item span{display:flex;align-items:center}.ibm-automation-cds .automation-header-navigation-action__menu-item svg{margin-inline-start:.25rem}`;
|
|
6370
|
-
var ud = Object.defineProperty, ld = Object.getOwnPropertyDescriptor,
|
|
6370
|
+
var ud = Object.defineProperty, ld = Object.getOwnPropertyDescriptor, D = (o, t, s, e) => {
|
|
6371
6371
|
for (var c = e > 1 ? void 0 : e ? ld(t, s) : t, r = o.length - 1, n; r >= 0; r--)
|
|
6372
6372
|
(n = o[r]) && (c = (e ? n(t, s, c) : n(c)) || c);
|
|
6373
6373
|
return e && c && ud(t, s, c), c;
|
|
@@ -6375,7 +6375,7 @@ var ud = Object.defineProperty, ld = Object.getOwnPropertyDescriptor, V = (o, t,
|
|
|
6375
6375
|
const { stablePrefix: pd } = st;
|
|
6376
6376
|
let N = class extends y {
|
|
6377
6377
|
constructor() {
|
|
6378
|
-
super(), this.productName = null, this.productKey = "", this.fetchHeaders = {}, this.solisSidekickEnabled = !1, this.solisSwitcherEnabled = !1, this.solisEnvironment = "local", 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 = { ..._n }, this._customEventListener = this._customEventListener.bind(this);
|
|
6378
|
+
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 = { ..._n }, this._customEventListener = this._customEventListener.bind(this);
|
|
6379
6379
|
}
|
|
6380
6380
|
connectedCallback() {
|
|
6381
6381
|
super.connectedCallback(), document.addEventListener(Me, this._customEventListener);
|
|
@@ -6438,10 +6438,10 @@ let N = class extends y {
|
|
|
6438
6438
|
tell_me_more_enabled: !1
|
|
6439
6439
|
};
|
|
6440
6440
|
}
|
|
6441
|
-
initSolisOptions(o = "local", t = !1) {
|
|
6441
|
+
initSolisOptions(o = "local", t = !1, s = !0) {
|
|
6442
6442
|
return t ? {
|
|
6443
6443
|
isEnabled: !1,
|
|
6444
|
-
is_prod:
|
|
6444
|
+
is_prod: s,
|
|
6445
6445
|
cdn_hostname: Zo[o],
|
|
6446
6446
|
deployment_environment: Ds[o] || "local",
|
|
6447
6447
|
product_id: "ipaas",
|
|
@@ -6449,7 +6449,7 @@ let N = class extends y {
|
|
|
6449
6449
|
} : {
|
|
6450
6450
|
isEnabled: !0,
|
|
6451
6451
|
scriptUrl: Zo[o] + "/switcher/solis-switcher.es.js",
|
|
6452
|
-
is_prod:
|
|
6452
|
+
is_prod: s,
|
|
6453
6453
|
cdn_hostname: Zo[o],
|
|
6454
6454
|
deployment_environment: Ds[o] || "local",
|
|
6455
6455
|
product_id: "ipaas",
|
|
@@ -6528,10 +6528,15 @@ let N = class extends y {
|
|
|
6528
6528
|
}
|
|
6529
6529
|
}), this.solisSidekickEnabled && (r.solisConfig = this.initSolisOptions(
|
|
6530
6530
|
this.solisEnvironment,
|
|
6531
|
-
!0
|
|
6531
|
+
!0,
|
|
6532
|
+
!this.solisDevMode
|
|
6532
6533
|
), r.sidekickConfig = this.initSidekickOptions(
|
|
6533
6534
|
this.solisEnvironment
|
|
6534
|
-
)), this.solisSwitcherEnabled && (r.solisConfig = this.initSolisOptions(
|
|
6535
|
+
)), this.solisSwitcherEnabled && (r.solisConfig = this.initSolisOptions(
|
|
6536
|
+
this.solisEnvironment,
|
|
6537
|
+
!1,
|
|
6538
|
+
!this.solisDevMode
|
|
6539
|
+
)), this.capabilityProfileFooterLinks && this.capabilityProfileFooterLinks.length > 0 && (r.profileFooterLinks = [
|
|
6535
6540
|
...this.capabilityProfileFooterLinks,
|
|
6536
6541
|
...r.profileFooterLinks ?? []
|
|
6537
6542
|
]), this.capabilityGlobalActions && this.capabilityGlobalActions.length > 0 && (r.globalActionConfigs = [...this.capabilityGlobalActions]), r;
|
|
@@ -6547,85 +6552,88 @@ let N = class extends y {
|
|
|
6547
6552
|
N.styles = X`
|
|
6548
6553
|
${ct(ad)}
|
|
6549
6554
|
`;
|
|
6550
|
-
|
|
6555
|
+
D([
|
|
6551
6556
|
a({ type: String })
|
|
6552
6557
|
], N.prototype, "productName", 2);
|
|
6553
|
-
|
|
6558
|
+
D([
|
|
6554
6559
|
a({ type: String })
|
|
6555
6560
|
], N.prototype, "productKey", 2);
|
|
6556
|
-
|
|
6561
|
+
D([
|
|
6557
6562
|
a({ type: Object })
|
|
6558
6563
|
], N.prototype, "fetchHeaders", 2);
|
|
6559
|
-
|
|
6564
|
+
D([
|
|
6560
6565
|
a({ type: Boolean })
|
|
6561
6566
|
], N.prototype, "solisSidekickEnabled", 2);
|
|
6562
|
-
|
|
6567
|
+
D([
|
|
6563
6568
|
a({ type: Boolean })
|
|
6564
6569
|
], N.prototype, "solisSwitcherEnabled", 2);
|
|
6565
|
-
|
|
6570
|
+
D([
|
|
6566
6571
|
a({ type: String })
|
|
6567
6572
|
], N.prototype, "solisEnvironment", 2);
|
|
6568
|
-
|
|
6573
|
+
D([
|
|
6574
|
+
a({ type: Boolean })
|
|
6575
|
+
], N.prototype, "solisDevMode", 2);
|
|
6576
|
+
D([
|
|
6569
6577
|
a({ type: String })
|
|
6570
6578
|
], N.prototype, "basePath", 2);
|
|
6571
|
-
|
|
6579
|
+
D([
|
|
6572
6580
|
a({ type: String })
|
|
6573
6581
|
], N.prototype, "displayName", 2);
|
|
6574
|
-
|
|
6582
|
+
D([
|
|
6575
6583
|
a({ type: String })
|
|
6576
6584
|
], N.prototype, "userEmail", 2);
|
|
6577
|
-
|
|
6585
|
+
D([
|
|
6578
6586
|
a({ type: String })
|
|
6579
6587
|
], N.prototype, "productVersion", 2);
|
|
6580
|
-
|
|
6588
|
+
D([
|
|
6581
6589
|
a({ type: String })
|
|
6582
6590
|
], N.prototype, "assistMeKey", 2);
|
|
6583
|
-
|
|
6591
|
+
D([
|
|
6584
6592
|
a({ type: Function })
|
|
6585
6593
|
], N.prototype, "aiCallback", 2);
|
|
6586
|
-
|
|
6594
|
+
D([
|
|
6587
6595
|
a({ type: String })
|
|
6588
6596
|
], N.prototype, "aiCallbackEvent", 2);
|
|
6589
|
-
|
|
6597
|
+
D([
|
|
6590
6598
|
a({ type: Function })
|
|
6591
6599
|
], N.prototype, "logoutCallback", 2);
|
|
6592
|
-
|
|
6600
|
+
D([
|
|
6593
6601
|
a({ type: String })
|
|
6594
6602
|
], N.prototype, "logoutCallbackEvent", 2);
|
|
6595
|
-
|
|
6603
|
+
D([
|
|
6596
6604
|
a({ type: Function })
|
|
6597
6605
|
], N.prototype, "notificationOpenCallback", 2);
|
|
6598
|
-
|
|
6606
|
+
D([
|
|
6599
6607
|
a({ type: String })
|
|
6600
6608
|
], N.prototype, "notificationOpenCallbackEvent", 2);
|
|
6601
|
-
|
|
6609
|
+
D([
|
|
6602
6610
|
a({ type: Function })
|
|
6603
6611
|
], N.prototype, "searchCallback", 2);
|
|
6604
|
-
|
|
6612
|
+
D([
|
|
6605
6613
|
a({ type: String })
|
|
6606
6614
|
], N.prototype, "searchCallbackEvent", 2);
|
|
6607
|
-
|
|
6615
|
+
D([
|
|
6608
6616
|
a({ type: Function })
|
|
6609
6617
|
], N.prototype, "searchSubmitCallback", 2);
|
|
6610
|
-
|
|
6618
|
+
D([
|
|
6611
6619
|
a({ type: String })
|
|
6612
6620
|
], N.prototype, "searchSubmitCallbackEvent", 2);
|
|
6613
|
-
|
|
6621
|
+
D([
|
|
6614
6622
|
a({ type: Boolean })
|
|
6615
6623
|
], N.prototype, "hasNewNotifications", 2);
|
|
6616
|
-
|
|
6624
|
+
D([
|
|
6617
6625
|
a({ type: Object })
|
|
6618
6626
|
], N.prototype, "searchConfigs", 2);
|
|
6619
|
-
|
|
6627
|
+
D([
|
|
6620
6628
|
a({ type: Array })
|
|
6621
6629
|
], N.prototype, "capabilityProfileFooterLinks", 2);
|
|
6622
|
-
|
|
6630
|
+
D([
|
|
6623
6631
|
a({ type: Array })
|
|
6624
6632
|
], N.prototype, "capabilityGlobalActions", 2);
|
|
6625
|
-
|
|
6633
|
+
D([
|
|
6626
6634
|
Pt()
|
|
6627
6635
|
], N.prototype, "headerOptions", 2);
|
|
6628
|
-
N =
|
|
6636
|
+
N = D([
|
|
6629
6637
|
ot(`${pd}-global-header-hybrid-ipaas`)
|
|
6630
6638
|
], N);
|
|
6631
6639
|
/**
|
|
@@ -6783,7 +6791,7 @@ let G = class extends at(y) {
|
|
|
6783
6791
|
*/
|
|
6784
6792
|
get _classes() {
|
|
6785
6793
|
const { disabled: t, size: s, inline: e, visited: c, _hasIcon: r } = this;
|
|
6786
|
-
return
|
|
6794
|
+
return V({
|
|
6787
6795
|
[`${i}--link`]: !0,
|
|
6788
6796
|
[`${i}--link--disabled`]: t,
|
|
6789
6797
|
[`${i}--link--icon`]: r,
|
|
@@ -6901,7 +6909,7 @@ let Wt = class extends wd {
|
|
|
6901
6909
|
}
|
|
6902
6910
|
get _classes() {
|
|
6903
6911
|
const { colorScheme: t, disabled: s, hasRoundedCorners: e, aiLabel: c, slug: r } = this;
|
|
6904
|
-
return
|
|
6912
|
+
return V({
|
|
6905
6913
|
[`${i}--link`]: !0,
|
|
6906
6914
|
[`${i}--link--disabled`]: s,
|
|
6907
6915
|
[`${i}--tile`]: !0,
|
|
@@ -7015,7 +7023,7 @@ let Yt = class extends uo(at(y)) {
|
|
|
7015
7023
|
this._hasAILabel ? this.setAttribute("ai-label", "") : this.removeAttribute("ai-label");
|
|
7016
7024
|
}
|
|
7017
7025
|
render() {
|
|
7018
|
-
const { expanded: t, withInteractive: s, _belowTheContentHeight: e, _handleSlotChangeBelowTheFoldContent: c } = this, r =
|
|
7026
|
+
const { expanded: t, withInteractive: s, _belowTheContentHeight: e, _handleSlotChangeBelowTheFoldContent: c } = this, r = V({
|
|
7019
7027
|
[`${i}--tile__chevron`]: !0,
|
|
7020
7028
|
[`${i}--tile__chevron--interactive`]: s
|
|
7021
7029
|
});
|
|
@@ -7151,7 +7159,7 @@ let dt = class extends uo(at(y)) {
|
|
|
7151
7159
|
this._hasAILabel ? this.setAttribute("ai-label", "") : this.removeAttribute("ai-label");
|
|
7152
7160
|
}
|
|
7153
7161
|
render() {
|
|
7154
|
-
const { colorScheme: t, disabled: s, hasRoundedCorners: e, name: c, selected: r, value: n, _handleChange: d, _hasAILabel: l } = this, p =
|
|
7162
|
+
const { colorScheme: t, disabled: s, hasRoundedCorners: e, name: c, selected: r, value: n, _handleChange: d, _hasAILabel: l } = this, p = V({
|
|
7155
7163
|
[`${i}--tile`]: !0,
|
|
7156
7164
|
[`${i}--tile--disabled`]: s,
|
|
7157
7165
|
[`${i}--tile--selectable`]: !0,
|
|
@@ -7257,7 +7265,7 @@ let Ue = class extends Ad {
|
|
|
7257
7265
|
}));
|
|
7258
7266
|
}
|
|
7259
7267
|
render() {
|
|
7260
|
-
const { colorScheme: t, checkmarkLabel: s, disabled: e, hasRoundedCorners: c, name: r, selected: n, value: d, _handleChange: l, _handleKeydown: p, _hasAILabel: m } = this, h =
|
|
7268
|
+
const { colorScheme: t, checkmarkLabel: s, disabled: e, hasRoundedCorners: c, name: r, selected: n, value: d, _handleChange: l, _handleKeydown: p, _hasAILabel: m } = this, h = V({
|
|
7261
7269
|
[`${i}--tile`]: !0,
|
|
7262
7270
|
[`${i}--tile--selectable`]: !0,
|
|
7263
7271
|
[`${i}--tile--radio`]: !0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/wc-global-header",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"author": "Your Name <your@email.com>",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@web/test-runner": "^0.20.2",
|
|
46
46
|
"vite": "^5.4.21"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "11c1556263e954c7ea3f08966cca08c3b27603e7"
|
|
49
49
|
}
|