scb-wc-test 0.1.46 → 0.1.47
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.
|
@@ -213,6 +213,10 @@ import{_ as g}from"../../vendor/preload-helper.js";import{a as x,n as l,r as u,i
|
|
|
213
213
|
min-width: var(--scb-header-search-min);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
.header-landmark {
|
|
217
|
+
background: var(--md-sys-color-background, #fff);
|
|
218
|
+
}
|
|
219
|
+
|
|
216
220
|
.tabs-inset{ display:inline-block; width:fit-content; max-width:100%; }
|
|
217
221
|
@media (max-width:839.98px){ .tabs-inset{ display:none; } }
|
|
218
222
|
scb-tabs, scb-tabs::part(divider){
|
package/package.json
CHANGED
package/scb-header/scb-header.js
CHANGED
|
@@ -6,16 +6,16 @@ import "../scb-grid/scb-grid.js";
|
|
|
6
6
|
import "../scb-link/scb-link.js";
|
|
7
7
|
import "../scb-icon-button/scb-icon-button.js";
|
|
8
8
|
import "../scb-button/scb-button.js";
|
|
9
|
-
var $ = Object.defineProperty, A = Object.getOwnPropertyDescriptor, i = (e, t,
|
|
10
|
-
for (var o = a > 1 ? void 0 : a ? A(t,
|
|
11
|
-
(n = e[c]) && (o = (a ? n(t,
|
|
12
|
-
return a && o && $(t,
|
|
9
|
+
var $ = Object.defineProperty, A = Object.getOwnPropertyDescriptor, i = (e, t, s, a) => {
|
|
10
|
+
for (var o = a > 1 ? void 0 : a ? A(t, s) : t, c = e.length - 1, n; c >= 0; c--)
|
|
11
|
+
(n = e[c]) && (o = (a ? n(t, s, o) : n(o)) || o);
|
|
12
|
+
return a && o && $(t, s, o), o;
|
|
13
13
|
};
|
|
14
14
|
const w = {
|
|
15
15
|
fromAttribute: (e) => e == null ? !0 : !/^(false|0|off|no)$/i.test(e),
|
|
16
16
|
toAttribute: (e) => String(!!e)
|
|
17
17
|
};
|
|
18
|
-
let
|
|
18
|
+
let r = class extends T {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.maxWidth = "1440px", this.logoText = "", this.logoHref = "/", this.banner = !1, this.tabs = [], this.activeTab = 0, this.utilityItems = [], this.showDrawer = !0, this.showSearch = !0, this.includeUtilityInDrawer = !1, this._drawerId = "main-drawer", this._drawerMounted = !1, this._drawerExpanded = !1, this._searchId = "header-search", this._slotTabs = [], this._slotUtils = [], this._slotMenu = [], this._measureScheduled = !1, this._scheduleMeasure = () => {
|
|
21
21
|
this._measureScheduled || (this._measureScheduled = !0, requestAnimationFrame(() => {
|
|
@@ -32,7 +32,7 @@ let s = class extends T {
|
|
|
32
32
|
}, this._collapsed = !1, this._unlockAtWidth = 0, this._hideLogoText = !1, this._logoTextUnlockAt = 0, this._harvestPending = !1, this.__drawerLoaded = !1, this.__tabsLoaded = !1, this.__searchLoaded = !1, this._harvest = () => {
|
|
33
33
|
const e = this._slotEl;
|
|
34
34
|
if (!e) return;
|
|
35
|
-
const t = e.assignedElements({ flatten: !0 }),
|
|
35
|
+
const t = e.assignedElements({ flatten: !0 }), s = [], a = [], o = [], c = (n) => ({
|
|
36
36
|
label: n.getAttribute("label") ?? "",
|
|
37
37
|
href: n.getAttribute("href") ?? void 0,
|
|
38
38
|
icon: n.getAttribute("icon") ?? void 0
|
|
@@ -40,7 +40,7 @@ let s = class extends T {
|
|
|
40
40
|
for (const n of t) {
|
|
41
41
|
const d = n.tagName.toLowerCase();
|
|
42
42
|
if (d === "scb-header-tab") {
|
|
43
|
-
|
|
43
|
+
s.push({ label: n.getAttribute("label") ?? "", href: n.getAttribute("href") ?? "#" });
|
|
44
44
|
continue;
|
|
45
45
|
}
|
|
46
46
|
if (d === "scb-header-utility") {
|
|
@@ -62,7 +62,7 @@ let s = class extends T {
|
|
|
62
62
|
}
|
|
63
63
|
d === "scb-header-drawer-item" && o.push(c(n));
|
|
64
64
|
}
|
|
65
|
-
this._slotTabs =
|
|
65
|
+
this._slotTabs = s, this._slotUtils = a, this._slotMenu = o, queueMicrotask(() => {
|
|
66
66
|
this.updateComplete.then(() => {
|
|
67
67
|
this._applyActiveToTabs(), this._scheduleMeasure();
|
|
68
68
|
});
|
|
@@ -71,26 +71,26 @@ let s = class extends T {
|
|
|
71
71
|
var m, v, f;
|
|
72
72
|
const e = this._top, t = this._logoGroup;
|
|
73
73
|
if (!e || !t) return;
|
|
74
|
-
const
|
|
74
|
+
const s = window.innerWidth, a = e.clientWidth, o = this._overflows(this._util), c = this._overflows(this._tabsEl), n = s < this.BP_MD || o || c;
|
|
75
75
|
this._collapsed ? !n && a >= this._unlockAtWidth && this._setCollapsed(!1) : n && (this._unlockAtWidth = a + this._HYST, this._setCollapsed(!0));
|
|
76
76
|
let d = !1;
|
|
77
|
-
if (this.showSearch &&
|
|
77
|
+
if (this.showSearch && s >= this.BP_SM && s < this.BP_MD && this._searchWrap) {
|
|
78
78
|
const g = getComputedStyle(this._searchWrap), y = Math.max(
|
|
79
79
|
this._num(g.minWidth, this._tokenPx("--scb-header-search-min", 320)),
|
|
80
80
|
this._tokenPx("--scb-header-search-min", 320)
|
|
81
|
-
), _ = this._num(getComputedStyle(e).gap, this._tokenPx("--spacing-7", 24)), S = this.showDrawer && (
|
|
81
|
+
), _ = this._num(getComputedStyle(e).gap, this._tokenPx("--spacing-7", 24)), S = this.showDrawer && (s < this.BP_MD || this._collapsed) ? ((m = this._menuBtn) == null ? void 0 : m.getBoundingClientRect().width) || this._tokenPx("--icon-size-large", 48) : 0;
|
|
82
82
|
d = t.getBoundingClientRect().width + _ + y + _ + S + 8 > a + 0.5;
|
|
83
83
|
}
|
|
84
84
|
this._setHideSearch(d);
|
|
85
85
|
let b = !1;
|
|
86
|
-
if (this.showDrawer && (
|
|
86
|
+
if (this.showDrawer && (s < this.BP_MD || this._collapsed) && !this._visible(this._util) && !this._visible(this._searchWrap)) {
|
|
87
87
|
const g = this._num(getComputedStyle(e).gap, this._tokenPx("--spacing-7", 24)), y = ((v = this._menuBtn) == null ? void 0 : v.getBoundingClientRect().width) || this._tokenPx("--icon-size-large", 48), _ = (((f = this._logoGroup) == null ? void 0 : f.getBoundingClientRect().width) || 0) + g + y;
|
|
88
88
|
this._hideLogoText ? b = !(a >= this._logoTextUnlockAt) : _ > a + 0.5 && (b = !0, this._logoTextUnlockAt = a + this._HYST);
|
|
89
89
|
} else
|
|
90
90
|
b = !1, this._logoTextUnlockAt = 0;
|
|
91
91
|
this._setHideLogoText(b);
|
|
92
92
|
}, this._onMenuClick = async (e) => {
|
|
93
|
-
e.preventDefault(), e.stopPropagation(), this.showDrawer && (this.dispatchEvent(new CustomEvent("menu-click", { bubbles: !0, composed: !0 })), await this._ensureDrawerMounted(), await
|
|
93
|
+
e.preventDefault(), e.stopPropagation(), this.showDrawer && (this.dispatchEvent(new CustomEvent("menu-click", { bubbles: !0, composed: !0 })), await this._ensureDrawerMounted(), await r._nextFrame(), await r._nextFrame(), this._openDrawerNow());
|
|
94
94
|
}, this._onSearchClick = (e) => {
|
|
95
95
|
var a;
|
|
96
96
|
const t = this._searchEl;
|
|
@@ -98,19 +98,19 @@ let s = class extends T {
|
|
|
98
98
|
t.submit();
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const s = (t == null ? void 0 : t.value) ?? void 0;
|
|
102
102
|
this.dispatchEvent(new CustomEvent("search-click", {
|
|
103
|
-
detail: { value:
|
|
103
|
+
detail: { value: s },
|
|
104
104
|
bubbles: !0,
|
|
105
105
|
composed: !0
|
|
106
106
|
})), (a = t == null ? void 0 : t.focus) == null || a.call(t);
|
|
107
107
|
}, this._onTabsChange = (e) => {
|
|
108
108
|
var c, n, d;
|
|
109
|
-
const t = e,
|
|
110
|
-
this.activeTab =
|
|
111
|
-
const o = ((d = (this._slotTabs.length ? this._slotTabs : this.tabs)[
|
|
109
|
+
const t = e, s = ((c = t == null ? void 0 : t.detail) == null ? void 0 : c.activeTabIndex) ?? ((n = e.target) == null ? void 0 : n.activeTabIndex) ?? 0;
|
|
110
|
+
this.activeTab = s;
|
|
111
|
+
const o = ((d = (this._slotTabs.length ? this._slotTabs : this.tabs)[s]) == null ? void 0 : d.href) ?? "";
|
|
112
112
|
this.dispatchEvent(new CustomEvent("tab-change", {
|
|
113
|
-
detail: { index:
|
|
113
|
+
detail: { index: s, href: o },
|
|
114
114
|
bubbles: !0,
|
|
115
115
|
composed: !0
|
|
116
116
|
}));
|
|
@@ -120,10 +120,10 @@ let s = class extends T {
|
|
|
120
120
|
return this._tokenPx("--spacing-11", 64);
|
|
121
121
|
}
|
|
122
122
|
get BP_SM() {
|
|
123
|
-
return this._tokenPx("--bp-sm",
|
|
123
|
+
return this._tokenPx("--bp-sm", r.BP_SM_DEFAULT);
|
|
124
124
|
}
|
|
125
125
|
get BP_MD() {
|
|
126
|
-
return this._tokenPx("--bp-md",
|
|
126
|
+
return this._tokenPx("--bp-md", r.BP_MD_DEFAULT);
|
|
127
127
|
}
|
|
128
128
|
_scheduleHarvest() {
|
|
129
129
|
this._harvestPending || (this._harvestPending = !0, queueMicrotask(() => {
|
|
@@ -179,7 +179,7 @@ let s = class extends T {
|
|
|
179
179
|
_attachSlotObservers() {
|
|
180
180
|
var t;
|
|
181
181
|
(t = this._slotMo) == null || t.disconnect();
|
|
182
|
-
const e = new MutationObserver((
|
|
182
|
+
const e = new MutationObserver((s) => {
|
|
183
183
|
this._scheduleHarvest();
|
|
184
184
|
});
|
|
185
185
|
this._slotMo = e, e.observe(this, {
|
|
@@ -199,12 +199,12 @@ let s = class extends T {
|
|
|
199
199
|
this._hideLogoText !== e && (this._hideLogoText = e, e ? this.setAttribute("data-hide-logo-text", "") : this.removeAttribute("data-hide-logo-text"));
|
|
200
200
|
}
|
|
201
201
|
_num(e, t) {
|
|
202
|
-
const
|
|
203
|
-
return Number.isFinite(
|
|
202
|
+
const s = Number.parseFloat(String(e ?? "").trim());
|
|
203
|
+
return Number.isFinite(s) ? s : t;
|
|
204
204
|
}
|
|
205
205
|
_tokenPx(e, t) {
|
|
206
|
-
const
|
|
207
|
-
return this._num(
|
|
206
|
+
const s = getComputedStyle(this);
|
|
207
|
+
return this._num(s.getPropertyValue(e), t);
|
|
208
208
|
}
|
|
209
209
|
_visible(e) {
|
|
210
210
|
return e ? getComputedStyle(e).display !== "none" : !1;
|
|
@@ -218,8 +218,8 @@ let s = class extends T {
|
|
|
218
218
|
});
|
|
219
219
|
const e = this._top;
|
|
220
220
|
e && (this._ro = new ResizeObserver(() => this._scheduleMeasure()), this._ro.observe(e)), window.addEventListener("resize", this._onWindowResize, { passive: !0 });
|
|
221
|
-
const t = this._menuBtn,
|
|
222
|
-
t == null || t.addEventListener("pointerenter",
|
|
221
|
+
const t = this._menuBtn, s = () => this._ensureDrawerMounted();
|
|
222
|
+
t == null || t.addEventListener("pointerenter", s, { once: !0 }), t == null || t.addEventListener("focusin", s, { once: !0 }), t == null || t.addEventListener("touchstart", s, { once: !0, passive: !0 });
|
|
223
223
|
const a = (o) => "requestIdleCallback" in window ? window.requestIdleCallback(o, { timeout: 1500 }) : setTimeout(o, 600);
|
|
224
224
|
this.showDrawer && a(() => {
|
|
225
225
|
this.__ensureDrawer();
|
|
@@ -242,9 +242,9 @@ let s = class extends T {
|
|
|
242
242
|
this._drawerMounted || (await this.__ensureDrawer(), this._drawerMounted = !0, await this.updateComplete);
|
|
243
243
|
}
|
|
244
244
|
_openDrawerNow() {
|
|
245
|
-
var t,
|
|
245
|
+
var t, s;
|
|
246
246
|
const e = this.renderRoot.querySelector(`#${this._drawerId}`);
|
|
247
|
-
e && (e.open = !0, e.setAttribute("open", ""), (t = e.show) == null || t.call(e), (
|
|
247
|
+
e && (e.open = !0, e.setAttribute("open", ""), (t = e.show) == null || t.call(e), (s = e.openDrawer) == null || s.call(e), this._drawerExpanded = !0, this._syncMenuBtnAria(), this.dispatchEvent(new CustomEvent("drawer-open", { bubbles: !0, composed: !0 })));
|
|
248
248
|
}
|
|
249
249
|
_closeDrawerNow() {
|
|
250
250
|
const e = this.renderRoot.querySelector(`#${this._drawerId}`);
|
|
@@ -257,13 +257,13 @@ let s = class extends T {
|
|
|
257
257
|
_applyActiveToTabs() {
|
|
258
258
|
const e = this._tabsEl;
|
|
259
259
|
if (!e) return;
|
|
260
|
-
e.activeTabIndex = this.activeTab, e.querySelectorAll("scb-secondary-tab").forEach((
|
|
261
|
-
|
|
260
|
+
e.activeTabIndex = this.activeTab, e.querySelectorAll("scb-secondary-tab").forEach((s, a) => {
|
|
261
|
+
s.selected = a === this.activeTab;
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
264
|
_renderDrawerNodes(e) {
|
|
265
265
|
return !e || e.length === 0 ? h`` : h`${e.map((t) => {
|
|
266
|
-
const
|
|
266
|
+
const s = Array.isArray(t.children) && t.children.length > 0;
|
|
267
267
|
return h`
|
|
268
268
|
<scb-drawer-item
|
|
269
269
|
label=${t.label}
|
|
@@ -271,7 +271,7 @@ let s = class extends T {
|
|
|
271
271
|
leading-icon=${t.icon ?? ""}
|
|
272
272
|
item-href=${t.href ?? ""}
|
|
273
273
|
>
|
|
274
|
-
${
|
|
274
|
+
${s ? h`
|
|
275
275
|
<scb-sub-drawer label=${t.label}>
|
|
276
276
|
${t.children.map((a) => h`
|
|
277
277
|
<scb-drawer-item
|
|
@@ -290,7 +290,7 @@ let s = class extends T {
|
|
|
290
290
|
this.toggleAttribute("data-no-utility", e), this.toggleAttribute("data-no-search", t);
|
|
291
291
|
}
|
|
292
292
|
render() {
|
|
293
|
-
const e = this._slotTabs.length ? this._slotTabs : this.tabs, t = this._slotUtils.length ? this._slotUtils : this.utilityItems,
|
|
293
|
+
const e = this._slotTabs.length ? this._slotTabs : this.tabs, t = this._slotUtils.length ? this._slotUtils : this.utilityItems, s = this._slotMenu.length ? this._slotMenu : this.menuData ?? [];
|
|
294
294
|
this._syncFlags(t.length === 0, !this.showSearch);
|
|
295
295
|
const a = this.searchHeight && this.searchHeight.trim() ? `--scb-search-height:${this.searchHeight.trim()}` : u;
|
|
296
296
|
return h`
|
|
@@ -377,7 +377,7 @@ let s = class extends T {
|
|
|
377
377
|
|
|
378
378
|
${this.drawerSectionLabel ? h`<scb-drawer-section .label=${this.drawerSectionLabel}></scb-drawer-section>` : u}
|
|
379
379
|
|
|
380
|
-
${this._renderDrawerNodes(
|
|
380
|
+
${this._renderDrawerNodes(s)}
|
|
381
381
|
|
|
382
382
|
${this.includeUtilityInDrawer && ((t == null ? void 0 : t.length) ?? 0) > 0 ? h`
|
|
383
383
|
<scb-drawer-section label=''></scb-drawer-section>
|
|
@@ -403,7 +403,7 @@ let s = class extends T {
|
|
|
403
403
|
`;
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
|
-
|
|
406
|
+
r._JSON_ARRAY = {
|
|
407
407
|
fromAttribute: (e) => {
|
|
408
408
|
if (e == null || e === "") return [];
|
|
409
409
|
try {
|
|
@@ -415,9 +415,9 @@ s._JSON_ARRAY = {
|
|
|
415
415
|
},
|
|
416
416
|
toAttribute: (e) => e == null ? null : JSON.stringify(e)
|
|
417
417
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
418
|
+
r.BP_SM_DEFAULT = 600;
|
|
419
|
+
r.BP_MD_DEFAULT = 840;
|
|
420
|
+
r.styles = C`
|
|
421
421
|
:host {
|
|
422
422
|
display:block;
|
|
423
423
|
background:var(--md-sys-color-background,#fff)!important;
|
|
@@ -510,6 +510,10 @@ s.styles = C`
|
|
|
510
510
|
min-width: var(--scb-header-search-min);
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
+
.header-landmark {
|
|
514
|
+
background: var(--md-sys-color-background, #fff);
|
|
515
|
+
}
|
|
516
|
+
|
|
513
517
|
.tabs-inset{ display:inline-block; width:fit-content; max-width:100%; }
|
|
514
518
|
@media (max-width:839.98px){ .tabs-inset{ display:none; } }
|
|
515
519
|
scb-tabs, scb-tabs::part(divider){
|
|
@@ -562,97 +566,97 @@ s.styles = C`
|
|
|
562
566
|
display: none;
|
|
563
567
|
}
|
|
564
568
|
`;
|
|
565
|
-
|
|
569
|
+
r._nextFrame = () => new Promise((e) => requestAnimationFrame(() => e()));
|
|
566
570
|
i([
|
|
567
571
|
l({ type: String, attribute: "max-width" })
|
|
568
|
-
],
|
|
572
|
+
], r.prototype, "maxWidth", 2);
|
|
569
573
|
i([
|
|
570
574
|
l({ type: String, attribute: "logo-text" })
|
|
571
|
-
],
|
|
575
|
+
], r.prototype, "logoText", 2);
|
|
572
576
|
i([
|
|
573
577
|
l({ type: String, attribute: "logo-href" })
|
|
574
|
-
],
|
|
578
|
+
], r.prototype, "logoHref", 2);
|
|
575
579
|
i([
|
|
576
580
|
l({ type: Boolean, reflect: !0 })
|
|
577
|
-
],
|
|
581
|
+
], r.prototype, "banner", 2);
|
|
578
582
|
i([
|
|
579
583
|
l({ type: String, attribute: "banner-label" })
|
|
580
|
-
],
|
|
584
|
+
], r.prototype, "bannerLabel", 2);
|
|
581
585
|
i([
|
|
582
|
-
l({ attribute: "tabs", converter:
|
|
583
|
-
],
|
|
586
|
+
l({ attribute: "tabs", converter: r._JSON_ARRAY })
|
|
587
|
+
], r.prototype, "tabs", 2);
|
|
584
588
|
i([
|
|
585
589
|
l({ type: Number, attribute: "active-tab" })
|
|
586
|
-
],
|
|
590
|
+
], r.prototype, "activeTab", 2);
|
|
587
591
|
i([
|
|
588
|
-
l({ attribute: "utility-items", converter:
|
|
589
|
-
],
|
|
592
|
+
l({ attribute: "utility-items", converter: r._JSON_ARRAY })
|
|
593
|
+
], r.prototype, "utilityItems", 2);
|
|
590
594
|
i([
|
|
591
595
|
l({ type: String, attribute: "search-placeholder" })
|
|
592
|
-
],
|
|
596
|
+
], r.prototype, "searchPlaceholder", 2);
|
|
593
597
|
i([
|
|
594
598
|
l({ type: String, attribute: "drawer-label" })
|
|
595
|
-
],
|
|
599
|
+
], r.prototype, "drawerLabel", 2);
|
|
596
600
|
i([
|
|
597
601
|
l({ type: String, attribute: "drawer-sub-label" })
|
|
598
|
-
],
|
|
602
|
+
], r.prototype, "drawerSubLabel", 2);
|
|
599
603
|
i([
|
|
600
604
|
l({ type: String, attribute: "drawer-section-label" })
|
|
601
|
-
],
|
|
605
|
+
], r.prototype, "drawerSectionLabel", 2);
|
|
602
606
|
i([
|
|
603
607
|
l({ type: String, attribute: "drawer-search-placeholder" })
|
|
604
|
-
],
|
|
608
|
+
], r.prototype, "drawerSearchPlaceholder", 2);
|
|
605
609
|
i([
|
|
606
|
-
l({ attribute: "menu-data", converter:
|
|
607
|
-
],
|
|
610
|
+
l({ attribute: "menu-data", converter: r._JSON_ARRAY })
|
|
611
|
+
], r.prototype, "menuData", 2);
|
|
608
612
|
i([
|
|
609
613
|
l({ attribute: "show-drawer", reflect: !0, converter: w })
|
|
610
|
-
],
|
|
614
|
+
], r.prototype, "showDrawer", 2);
|
|
611
615
|
i([
|
|
612
616
|
l({ attribute: "show-search", reflect: !0, converter: w })
|
|
613
|
-
],
|
|
617
|
+
], r.prototype, "showSearch", 2);
|
|
614
618
|
i([
|
|
615
619
|
l({ attribute: "include-utility-in-drawer", reflect: !0, converter: w })
|
|
616
|
-
],
|
|
620
|
+
], r.prototype, "includeUtilityInDrawer", 2);
|
|
617
621
|
i([
|
|
618
622
|
l({ type: String, attribute: "search-max" })
|
|
619
|
-
],
|
|
623
|
+
], r.prototype, "searchMax", 2);
|
|
620
624
|
i([
|
|
621
625
|
l({ type: String, attribute: "search-min" })
|
|
622
|
-
],
|
|
626
|
+
], r.prototype, "searchMin", 2);
|
|
623
627
|
i([
|
|
624
628
|
l({ type: String, attribute: "search-height" })
|
|
625
|
-
],
|
|
629
|
+
], r.prototype, "searchHeight", 2);
|
|
626
630
|
i([
|
|
627
631
|
p()
|
|
628
|
-
],
|
|
632
|
+
], r.prototype, "_drawerId", 2);
|
|
629
633
|
i([
|
|
630
634
|
p()
|
|
631
|
-
],
|
|
635
|
+
], r.prototype, "_drawerMounted", 2);
|
|
632
636
|
i([
|
|
633
637
|
p()
|
|
634
|
-
],
|
|
638
|
+
], r.prototype, "_drawerExpanded", 2);
|
|
635
639
|
i([
|
|
636
640
|
p()
|
|
637
|
-
],
|
|
641
|
+
], r.prototype, "_searchId", 2);
|
|
638
642
|
i([
|
|
639
643
|
p()
|
|
640
|
-
],
|
|
644
|
+
], r.prototype, "_slotTabs", 2);
|
|
641
645
|
i([
|
|
642
646
|
p()
|
|
643
|
-
],
|
|
647
|
+
], r.prototype, "_slotUtils", 2);
|
|
644
648
|
i([
|
|
645
649
|
p()
|
|
646
|
-
],
|
|
650
|
+
], r.prototype, "_slotMenu", 2);
|
|
647
651
|
i([
|
|
648
652
|
p()
|
|
649
|
-
],
|
|
653
|
+
], r.prototype, "_collapsed", 2);
|
|
650
654
|
i([
|
|
651
655
|
p()
|
|
652
|
-
],
|
|
653
|
-
|
|
656
|
+
], r.prototype, "_hideLogoText", 2);
|
|
657
|
+
r = i([
|
|
654
658
|
M("scb-header")
|
|
655
|
-
],
|
|
659
|
+
], r);
|
|
656
660
|
export {
|
|
657
|
-
|
|
661
|
+
r as ScbHeader
|
|
658
662
|
};
|
package/scb-wc-test.bundle.js
CHANGED
|
@@ -4960,6 +4960,10 @@ var ScbWcTest=function(a){"use strict";var _s;function d(o,e,t,r){var i=argument
|
|
|
4960
4960
|
min-width: var(--scb-header-search-min);
|
|
4961
4961
|
}
|
|
4962
4962
|
|
|
4963
|
+
.header-landmark {
|
|
4964
|
+
background: var(--md-sys-color-background, #fff);
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4963
4967
|
.tabs-inset{ display:inline-block; width:fit-content; max-width:100%; }
|
|
4964
4968
|
@media (max-width:839.98px){ .tabs-inset{ display:none; } }
|
|
4965
4969
|
scb-tabs, scb-tabs::part(divider){
|