@carbon-labs/wc-global-header 0.59.0 → 0.61.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.
|
@@ -7287,7 +7287,7 @@ let N = class extends k {
|
|
|
7287
7287
|
}, this._customEventListener = this._customEventListener.bind(this);
|
|
7288
7288
|
}
|
|
7289
7289
|
connectedCallback() {
|
|
7290
|
-
super.connectedCallback(),
|
|
7290
|
+
super.connectedCallback(), document.addEventListener(Ss, this._customEventListener);
|
|
7291
7291
|
}
|
|
7292
7292
|
disconnectedCallback() {
|
|
7293
7293
|
super.disconnectedCallback(), document.removeEventListener(Ss, this._customEventListener);
|
|
@@ -7299,7 +7299,7 @@ let N = class extends k {
|
|
|
7299
7299
|
firstUpdated() {
|
|
7300
7300
|
this.productKey || console.error(
|
|
7301
7301
|
"A product key is required for the environment switcher to function."
|
|
7302
|
-
), this.initializeHeaderOptions();
|
|
7302
|
+
), this.productName && this.headerOptions.capabilityName && (this.headerOptions.capabilityName.label = this.productName), this.initializeHeaderOptions();
|
|
7303
7303
|
}
|
|
7304
7304
|
async initializeHeaderOptions() {
|
|
7305
7305
|
try {
|
package/es/wc-global-header.mjs
CHANGED
|
@@ -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-
|
|
2
|
-
import { l as He } from "./HybridIpaasHeader-
|
|
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-Bjm578DP.mjs";
|
|
2
|
+
import { l as He } from "./HybridIpaasHeader-Bjm578DP.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.
|
|
3
|
+
"version": "0.61.0",
|
|
4
4
|
"author": "Your Name <your@email.com>",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.23.2",
|
|
39
|
-
"@carbon-labs/utilities": "0.
|
|
39
|
+
"@carbon-labs/utilities": "0.22.0",
|
|
40
40
|
"@carbon/web-components": "^2.47.0",
|
|
41
41
|
"@lit-labs/motion": "^1.0.9"
|
|
42
42
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"vite": "^5.4.21",
|
|
49
49
|
"webdriverio": "^9.23.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a90f7c900917a4a25e61fe92a80a564f81cdaa50"
|
|
52
52
|
}
|