scb-wc-test 0.1.1
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/README.md +130 -0
- package/all.js +54 -0
- package/dummy.png +0 -0
- package/index.d.ts +54 -0
- package/index.js +108 -0
- package/mvc/components/all.js +53 -0
- package/mvc/components/scb-accordion/scb-accordion-item.js +194 -0
- package/mvc/components/scb-accordion/scb-accordion.js +5 -0
- package/mvc/components/scb-app-bar/scb-app-bar.js +144 -0
- package/mvc/components/scb-avatar/scb-avatar.js +99 -0
- package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +17 -0
- package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +52 -0
- package/mvc/components/scb-button/scb-button.js +121 -0
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +140 -0
- package/mvc/components/scb-card/scb-card.js +256 -0
- package/mvc/components/scb-checkbox/scb-checkbox-group.js +33 -0
- package/mvc/components/scb-checkbox/scb-checkbox.js +99 -0
- package/mvc/components/scb-chips/scb-chip.js +46 -0
- package/mvc/components/scb-dialog/scb-dialog.js +158 -0
- package/mvc/components/scb-divider/scb-divider.js +53 -0
- package/mvc/components/scb-drawer/scb-drawer-item.js +114 -0
- package/mvc/components/scb-drawer/scb-drawer-section.js +19 -0
- package/mvc/components/scb-drawer/scb-drawer.js +79 -0
- package/mvc/components/scb-drawer/scb-sub-drawer.js +10 -0
- package/mvc/components/scb-fact-card/scb-fact-card-content.js +44 -0
- package/mvc/components/scb-fact-card/scb-fact-card.js +66 -0
- package/mvc/components/scb-footer/scb-footer-section.js +3 -0
- package/mvc/components/scb-footer/scb-footer.js +205 -0
- package/mvc/components/scb-grid/scb-grid-item.js +9 -0
- package/mvc/components/scb-grid/scb-grid.js +81 -0
- package/mvc/components/scb-grid/scb-stack.js +16 -0
- package/mvc/components/scb-header/scb-header-drawer-group.js +1 -0
- package/mvc/components/scb-header/scb-header-drawer-item.js +1 -0
- package/mvc/components/scb-header/scb-header-tab.js +1 -0
- package/mvc/components/scb-header/scb-header-utility.js +1 -0
- package/mvc/components/scb-header/scb-header.js +240 -0
- package/mvc/components/scb-icon-button/scb-icon-button.js +95 -0
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +69 -0
- package/mvc/components/scb-link/scb-link.js +31 -0
- package/mvc/components/scb-list/scb-list-item.js +38 -0
- package/mvc/components/scb-list/scb-list.js +10 -0
- package/mvc/components/scb-menu/scb-menu-item.js +44 -0
- package/mvc/components/scb-menu/scb-menu.js +17 -0
- package/mvc/components/scb-menu/scb-sub-menu.js +29 -0
- package/mvc/components/scb-notification/scb-notification.js +120 -0
- package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +84 -0
- package/mvc/components/scb-radio-button/scb-radio-button.js +95 -0
- package/mvc/components/scb-radio-button/scb-radio-group.js +28 -0
- package/mvc/components/scb-search/scb-search.js +211 -0
- package/mvc/components/scb-snackbar/scb-snackbar.js +83 -0
- package/mvc/components/scb-status-pill/scb-status-pill.js +31 -0
- package/mvc/components/scb-switch/scb-switch.js +54 -0
- package/mvc/components/scb-tabs/scb-primary-tab.js +7 -0
- package/mvc/components/scb-tabs/scb-secondary-tab.js +7 -0
- package/mvc/components/scb-tabs/scb-tabs.js +23 -0
- package/mvc/components/scb-textfield/scb-textfield.js +135 -0
- package/mvc/components/scb-toc/scb-toc-item.js +84 -0
- package/mvc/components/scb-toc/scb-toc.js +6 -0
- package/mvc/components/scb-tooltip/scb-tooltip.js +216 -0
- package/mvc/scb-logo.svg +21 -0
- package/mvc/scb-wc-test.css +1 -0
- package/mvc/scb.svg +14 -0
- package/mvc/vendor/preload-helper.js +1 -0
- package/mvc/vendor/vendor-lit.js +1 -0
- package/mvc/vendor/vendor-material.js +764 -0
- package/mvc/vendor/vendor.js +68 -0
- package/package.json +248 -0
- package/scb-accordion/scb-accordion-item.d.ts +37 -0
- package/scb-accordion/scb-accordion-item.js +343 -0
- package/scb-accordion/scb-accordion.d.ts +6 -0
- package/scb-accordion/scb-accordion.js +33 -0
- package/scb-app-bar/scb-app-bar.d.ts +10 -0
- package/scb-app-bar/scb-app-bar.js +192 -0
- package/scb-avatar/scb-avatar.d.ts +30 -0
- package/scb-avatar/scb-avatar.js +169 -0
- package/scb-breadcrumb/scb-breadcrumb-item.d.ts +9 -0
- package/scb-breadcrumb/scb-breadcrumb-item.js +54 -0
- package/scb-breadcrumb/scb-breadcrumb.d.ts +16 -0
- package/scb-breadcrumb/scb-breadcrumb.js +105 -0
- package/scb-button/scb-button.d.ts +26 -0
- package/scb-button/scb-button.js +247 -0
- package/scb-calendar-card/scb-calendar-card.d.ts +20 -0
- package/scb-calendar-card/scb-calendar-card.js +191 -0
- package/scb-card/scb-card.d.ts +24 -0
- package/scb-card/scb-card.js +345 -0
- package/scb-checkbox/scb-checkbox-group.d.ts +17 -0
- package/scb-checkbox/scb-checkbox-group.js +80 -0
- package/scb-checkbox/scb-checkbox.d.ts +20 -0
- package/scb-checkbox/scb-checkbox.js +157 -0
- package/scb-chips/scb-chip.d.ts +24 -0
- package/scb-chips/scb-chip.js +150 -0
- package/scb-dialog/scb-dialog.d.ts +58 -0
- package/scb-dialog/scb-dialog.js +390 -0
- package/scb-divider/scb-divider.d.ts +9 -0
- package/scb-divider/scb-divider.js +85 -0
- package/scb-drawer/scb-drawer-item.d.ts +61 -0
- package/scb-drawer/scb-drawer-item.js +220 -0
- package/scb-drawer/scb-drawer-section.d.ts +7 -0
- package/scb-drawer/scb-drawer-section.js +44 -0
- package/scb-drawer/scb-drawer.d.ts +97 -0
- package/scb-drawer/scb-drawer.js +258 -0
- package/scb-drawer/scb-sub-drawer.d.ts +10 -0
- package/scb-drawer/scb-sub-drawer.js +43 -0
- package/scb-fact-card/scb-fact-card-content.d.ts +10 -0
- package/scb-fact-card/scb-fact-card-content.js +83 -0
- package/scb-fact-card/scb-fact-card.d.ts +15 -0
- package/scb-fact-card/scb-fact-card.js +110 -0
- package/scb-footer/scb-footer-section.d.ts +21 -0
- package/scb-footer/scb-footer-section.js +28 -0
- package/scb-footer/scb-footer.d.ts +27 -0
- package/scb-footer/scb-footer.js +326 -0
- package/scb-grid/scb-grid-item.d.ts +28 -0
- package/scb-grid/scb-grid-item.js +66 -0
- package/scb-grid/scb-grid.d.ts +33 -0
- package/scb-grid/scb-grid.js +152 -0
- package/scb-grid/scb-stack.d.ts +29 -0
- package/scb-grid/scb-stack.js +82 -0
- package/scb-header/scb-header-drawer-group.d.ts +13 -0
- package/scb-header/scb-header-drawer-group.js +28 -0
- package/scb-header/scb-header-drawer-item.d.ts +14 -0
- package/scb-header/scb-header-drawer-item.js +31 -0
- package/scb-header/scb-header-tab.d.ts +13 -0
- package/scb-header/scb-header-tab.js +28 -0
- package/scb-header/scb-header-utility.d.ts +14 -0
- package/scb-header/scb-header-utility.js +31 -0
- package/scb-header/scb-header.d.ts +105 -0
- package/scb-header/scb-header.js +618 -0
- package/scb-icon-button/scb-icon-button.d.ts +31 -0
- package/scb-icon-button/scb-icon-button.js +208 -0
- package/scb-keyfigure-card/scb-keyfigure-card.d.ts +13 -0
- package/scb-keyfigure-card/scb-keyfigure-card.js +119 -0
- package/scb-link/scb-link.d.ts +17 -0
- package/scb-link/scb-link.js +74 -0
- package/scb-list/scb-list-item.d.ts +32 -0
- package/scb-list/scb-list-item.js +144 -0
- package/scb-list/scb-list.d.ts +8 -0
- package/scb-list/scb-list.js +39 -0
- package/scb-logo.svg +21 -0
- package/scb-menu/scb-menu-item.d.ts +22 -0
- package/scb-menu/scb-menu-item.js +107 -0
- package/scb-menu/scb-menu.d.ts +21 -0
- package/scb-menu/scb-menu.js +98 -0
- package/scb-menu/scb-sub-menu.d.ts +12 -0
- package/scb-menu/scb-sub-menu.js +69 -0
- package/scb-notification/scb-notification.d.ts +16 -0
- package/scb-notification/scb-notification.js +187 -0
- package/scb-progress-indicator/scb-progress-indicator.d.ts +11 -0
- package/scb-progress-indicator/scb-progress-indicator.js +122 -0
- package/scb-radio-button/scb-radio-button.d.ts +19 -0
- package/scb-radio-button/scb-radio-button.js +176 -0
- package/scb-radio-button/scb-radio-group.d.ts +20 -0
- package/scb-radio-button/scb-radio-group.js +81 -0
- package/scb-search/scb-search.d.ts +45 -0
- package/scb-search/scb-search.js +410 -0
- package/scb-snackbar/scb-snackbar.d.ts +17 -0
- package/scb-snackbar/scb-snackbar.js +140 -0
- package/scb-status-pill/scb-status-pill.d.ts +9 -0
- package/scb-status-pill/scb-status-pill.js +62 -0
- package/scb-switch/scb-switch.d.ts +21 -0
- package/scb-switch/scb-switch.js +111 -0
- package/scb-tabs/scb-primary-tab.d.ts +17 -0
- package/scb-tabs/scb-primary-tab.js +93 -0
- package/scb-tabs/scb-secondary-tab.d.ts +17 -0
- package/scb-tabs/scb-secondary-tab.js +97 -0
- package/scb-tabs/scb-tabs.d.ts +10 -0
- package/scb-tabs/scb-tabs.js +66 -0
- package/scb-textfield/scb-textfield.d.ts +41 -0
- package/scb-textfield/scb-textfield.js +258 -0
- package/scb-toc/scb-toc-item.d.ts +21 -0
- package/scb-toc/scb-toc-item.js +196 -0
- package/scb-toc/scb-toc.d.ts +6 -0
- package/scb-toc/scb-toc.js +27 -0
- package/scb-tooltip/scb-tooltip.d.ts +32 -0
- package/scb-tooltip/scb-tooltip.js +329 -0
- package/scb-wc-test.bundle.js +5429 -0
- package/scb-wc-test.css +1 -0
- package/scb-wc-test.d.ts +106 -0
- package/scb.svg +14 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { css as m, LitElement as f, html as b } from "lit";
|
|
2
|
+
import { property as l, customElement as g } from "lit/decorators.js";
|
|
3
|
+
var v = Object.defineProperty, S = Object.getOwnPropertyDescriptor, y = (e) => {
|
|
4
|
+
throw TypeError(e);
|
|
5
|
+
}, a = (e, t, r, c) => {
|
|
6
|
+
for (var o = c > 1 ? void 0 : c ? S(t, r) : t, h = e.length - 1, u; h >= 0; h--)
|
|
7
|
+
(u = e[h]) && (o = (c ? u(t, r, o) : u(o)) || o);
|
|
8
|
+
return c && o && v(t, r, o), o;
|
|
9
|
+
}, _ = (e, t, r) => t.has(e) || y("Cannot " + r), x = (e, t, r) => t.has(e) ? y("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), p = (e, t, r) => (_(e, t, "access private method"), r), i, d, n;
|
|
10
|
+
let s = class extends f {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), x(this, i), this.fit = !1;
|
|
13
|
+
}
|
|
14
|
+
firstUpdated() {
|
|
15
|
+
p(this, i, d).call(this);
|
|
16
|
+
}
|
|
17
|
+
updated() {
|
|
18
|
+
p(this, i, d).call(this);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return b`<slot></slot>`;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
i = /* @__PURE__ */ new WeakSet();
|
|
25
|
+
d = function() {
|
|
26
|
+
p(this, i, n).call(this, "--col-span", this.hasAttribute("col-span") ? String(this.colSpan) : null), p(this, i, n).call(this, "--col-span-compact", this.hasAttribute("col-span-compact") ? String(this.colSpanCompact) : null), p(this, i, n).call(this, "--col-span-medium", this.hasAttribute("col-span-medium") ? String(this.colSpanMedium) : null), p(this, i, n).call(this, "--col-span-expanded", this.hasAttribute("col-span-expanded") ? String(this.colSpanExpanded) : null), this.align ? this.style.setProperty("--scb-grid-item-align", this.align) : this.style.removeProperty("--scb-grid-item-align"), this.justify ? this.style.setProperty("--scb-grid-item-justify", this.justify) : this.style.removeProperty("--scb-grid-item-justify");
|
|
27
|
+
};
|
|
28
|
+
n = function(e, t) {
|
|
29
|
+
t === null || t === "" ? this.style.removeProperty(e) : this.style.setProperty(e, t);
|
|
30
|
+
};
|
|
31
|
+
s.styles = m`
|
|
32
|
+
:host {
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
display: block;
|
|
35
|
+
align-self: var(--scb-grid-item-align, auto);
|
|
36
|
+
justify-self: var(--scb-grid-item-justify, auto);
|
|
37
|
+
}
|
|
38
|
+
:host([fit]) { width: fit-content; max-width: 100%; }
|
|
39
|
+
`;
|
|
40
|
+
a([
|
|
41
|
+
l({ type: Number, attribute: "col-span", reflect: !0 })
|
|
42
|
+
], s.prototype, "colSpan", 2);
|
|
43
|
+
a([
|
|
44
|
+
l({ type: Number, attribute: "col-span-compact", reflect: !0 })
|
|
45
|
+
], s.prototype, "colSpanCompact", 2);
|
|
46
|
+
a([
|
|
47
|
+
l({ type: Number, attribute: "col-span-medium", reflect: !0 })
|
|
48
|
+
], s.prototype, "colSpanMedium", 2);
|
|
49
|
+
a([
|
|
50
|
+
l({ type: Number, attribute: "col-span-expanded", reflect: !0 })
|
|
51
|
+
], s.prototype, "colSpanExpanded", 2);
|
|
52
|
+
a([
|
|
53
|
+
l({ type: String, reflect: !0 })
|
|
54
|
+
], s.prototype, "align", 2);
|
|
55
|
+
a([
|
|
56
|
+
l({ type: String, reflect: !0 })
|
|
57
|
+
], s.prototype, "justify", 2);
|
|
58
|
+
a([
|
|
59
|
+
l({ type: Boolean, reflect: !0 })
|
|
60
|
+
], s.prototype, "fit", 2);
|
|
61
|
+
s = a([
|
|
62
|
+
g("scb-grid-item")
|
|
63
|
+
], s);
|
|
64
|
+
export {
|
|
65
|
+
s as ScbGridItem
|
|
66
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* <scb-grid>
|
|
5
|
+
* Responsivt kolumn-grid enligt M3 window size classes.
|
|
6
|
+
* Kolumner: 4 (compact) / 8 (medium) / 12 (expanded)
|
|
7
|
+
* Gap: var(--spacing-7, 24px) om inget anges
|
|
8
|
+
* Barnen (grid-items) styra span via CSS-var som sätts av <scb-grid-item>:
|
|
9
|
+
* --col-span, --col-span-compact, --col-span-medium, --col-span-expanded
|
|
10
|
+
*/
|
|
11
|
+
export declare class ScbGrid extends LitElement {
|
|
12
|
+
#private;
|
|
13
|
+
colsCompact: number;
|
|
14
|
+
colsMedium: number;
|
|
15
|
+
colsExpanded: number;
|
|
16
|
+
gap: string;
|
|
17
|
+
rowGap: string;
|
|
18
|
+
columnGap: string;
|
|
19
|
+
alignItems: 'stretch' | 'start' | 'center' | 'end';
|
|
20
|
+
justifyItems: 'stretch' | 'start' | 'center' | 'end';
|
|
21
|
+
paddingInline: string;
|
|
22
|
+
paddingBlock: string;
|
|
23
|
+
maxWidth: string;
|
|
24
|
+
static styles: import('lit').CSSResult;
|
|
25
|
+
protected firstUpdated(): void;
|
|
26
|
+
protected updated(): void;
|
|
27
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'scb-grid': ScbGrid;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { css as h, LitElement as v, html as b } from "lit";
|
|
2
|
+
import { property as a, customElement as y } from "lit/decorators.js";
|
|
3
|
+
var x = Object.defineProperty, f = Object.getOwnPropertyDescriptor, u = (r) => {
|
|
4
|
+
throw TypeError(r);
|
|
5
|
+
}, s = (r, t, i, n) => {
|
|
6
|
+
for (var c = n > 1 ? void 0 : n ? f(t, i) : t, l = r.length - 1, m; l >= 0; l--)
|
|
7
|
+
(m = r[l]) && (c = (n ? m(t, i, c) : m(c)) || c);
|
|
8
|
+
return n && c && x(t, i, c), c;
|
|
9
|
+
}, w = (r, t, i) => t.has(r) || u("Cannot " + i), _ = (r, t, i) => t.has(r) ? u("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, i), d = (r, t, i) => (w(r, t, "access private method"), i), o, g, p;
|
|
10
|
+
let e = class extends v {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), _(this, o), this.colsCompact = 4, this.colsMedium = 8, this.colsExpanded = 12, this.gap = "", this.rowGap = "", this.columnGap = "", this.alignItems = "stretch", this.justifyItems = "stretch", this.paddingInline = "", this.paddingBlock = "", this.maxWidth = "";
|
|
13
|
+
}
|
|
14
|
+
firstUpdated() {
|
|
15
|
+
d(this, o, g).call(this);
|
|
16
|
+
}
|
|
17
|
+
updated() {
|
|
18
|
+
d(this, o, g).call(this);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return b`<div class="grid"><slot></slot></div>`;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
o = /* @__PURE__ */ new WeakSet();
|
|
25
|
+
g = function() {
|
|
26
|
+
this.style.setProperty("--scb-grid-cols-compact", String(this.colsCompact)), this.style.setProperty("--scb-grid-cols-medium", String(this.colsMedium)), this.style.setProperty("--scb-grid-cols-expanded", String(this.colsExpanded));
|
|
27
|
+
const r = "var(--spacing-7, 24px)", t = this.rowGap || this.gap || r, i = this.columnGap || this.gap || r;
|
|
28
|
+
this.style.setProperty("--scb-grid-row-gap", t), this.style.setProperty("--scb-grid-column-gap", i), this.style.setProperty("--scb-grid-gap", `${t} ${i}`), this.style.setProperty("--scb-grid-align-items", this.alignItems), this.style.setProperty("--scb-grid-justify-items", this.justifyItems), d(this, o, p).call(this, "--scb-grid-max-width", this.maxWidth), d(this, o, p).call(this, "--scb-grid-padding-inline", this.paddingInline), d(this, o, p).call(this, "--scb-grid-padding-block", this.paddingBlock);
|
|
29
|
+
};
|
|
30
|
+
p = function(r, t) {
|
|
31
|
+
t ? this.style.setProperty(r, t) : this.style.removeProperty(r);
|
|
32
|
+
};
|
|
33
|
+
e.styles = h`
|
|
34
|
+
:host {
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
display: block;
|
|
37
|
+
max-width: var(--scb-grid-max-width, 1440px);
|
|
38
|
+
margin-inline: auto;
|
|
39
|
+
padding-inline: var(--scb-grid-padding-inline, 0);
|
|
40
|
+
padding-block: var(--scb-grid-padding-block, 0);
|
|
41
|
+
|
|
42
|
+
container-type: inline-size;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.grid {
|
|
46
|
+
display: grid;
|
|
47
|
+
width: 100%;
|
|
48
|
+
gap: var(--scb-grid-gap, var(--spacing-7, 24px));
|
|
49
|
+
grid-auto-flow: row dense;
|
|
50
|
+
grid-auto-rows: var(--scb-grid-auto-rows, auto);
|
|
51
|
+
align-items: var(--scb-grid-align-items, stretch);
|
|
52
|
+
justify-items: var(--scb-grid-justify-items, stretch);
|
|
53
|
+
|
|
54
|
+
/* Compact baseline */
|
|
55
|
+
grid-template-columns: repeat(var(--scb-grid-cols-compact, 4), minmax(0, 1fr));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.grid > slot { display: contents; }
|
|
59
|
+
|
|
60
|
+
.grid ::slotted(*) {
|
|
61
|
+
grid-column: span var(--col-span-compact, var(--col-span, var(--scb-grid-cols-compact, 4)));
|
|
62
|
+
grid-column: span min(
|
|
63
|
+
max(1, var(--col-span-compact, var(--col-span, var(--scb-grid-cols-compact, 4)))) ,
|
|
64
|
+
var(--scb-grid-cols-compact, 4)
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@supports not (container-type: inline-size) {
|
|
69
|
+
@media (min-width: 600px) {
|
|
70
|
+
.grid { grid-template-columns: repeat(var(--scb-grid-cols-medium, 8), minmax(0, 1fr)); }
|
|
71
|
+
.grid ::slotted(*) {
|
|
72
|
+
grid-column: span var(--col-span-medium, var(--col-span, var(--scb-grid-cols-medium, 8)));
|
|
73
|
+
grid-column: span min(
|
|
74
|
+
max(1, var(--col-span-medium, var(--col-span, var(--scb-grid-cols-medium, 8)))) ,
|
|
75
|
+
var(--scb-grid-cols-medium, 8)
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
@media (min-width: 840px) {
|
|
80
|
+
.grid { grid-template-columns: repeat(var(--scb-grid-cols-expanded, 12), minmax(0, 1fr)); }
|
|
81
|
+
.grid ::slotted(*) {
|
|
82
|
+
grid-column: span var(--col-span-expanded, var(--col-span, var(--scb-grid-cols-expanded, 12)));
|
|
83
|
+
grid-column: span min(
|
|
84
|
+
max(1, var(--col-span-expanded, var(--col-span, var(--scb-grid-cols-expanded, 12)))) ,
|
|
85
|
+
var(--scb-grid-cols-expanded, 12)
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@supports (container-type: inline-size) {
|
|
92
|
+
@container (min-width: 600px) {
|
|
93
|
+
.grid { grid-template-columns: repeat(var(--scb-grid-cols-medium, 8), minmax(0, 1fr)); }
|
|
94
|
+
.grid ::slotted(*) {
|
|
95
|
+
grid-column: span var(--col-span-medium, var(--col-span, var(--scb-grid-cols-medium, 8)));
|
|
96
|
+
grid-column: span min(
|
|
97
|
+
max(1, var(--col-span-medium, var(--col-span, var(--scb-grid-cols-medium, 8)))) ,
|
|
98
|
+
var(--scb-grid-cols-medium, 8)
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
@container (min-width: 840px) {
|
|
103
|
+
.grid { grid-template-columns: repeat(var(--scb-grid-cols-expanded, 12), minmax(0, 1fr)); }
|
|
104
|
+
.grid ::slotted(*) {
|
|
105
|
+
grid-column: span var(--col-span-expanded, var(--col-span, var(--scb-grid-cols-expanded, 12)));
|
|
106
|
+
grid-column: span min(
|
|
107
|
+
max(1, var(--col-span-expanded, var(--col-span, var(--scb-grid-cols-expanded, 12)))) ,
|
|
108
|
+
var(--scb-grid-cols-expanded, 12)
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
s([
|
|
115
|
+
a({ type: Number, attribute: "cols-compact", reflect: !0 })
|
|
116
|
+
], e.prototype, "colsCompact", 2);
|
|
117
|
+
s([
|
|
118
|
+
a({ type: Number, attribute: "cols-medium", reflect: !0 })
|
|
119
|
+
], e.prototype, "colsMedium", 2);
|
|
120
|
+
s([
|
|
121
|
+
a({ type: Number, attribute: "cols-expanded", reflect: !0 })
|
|
122
|
+
], e.prototype, "colsExpanded", 2);
|
|
123
|
+
s([
|
|
124
|
+
a({ type: String, reflect: !0 })
|
|
125
|
+
], e.prototype, "gap", 2);
|
|
126
|
+
s([
|
|
127
|
+
a({ type: String, attribute: "row-gap", reflect: !0 })
|
|
128
|
+
], e.prototype, "rowGap", 2);
|
|
129
|
+
s([
|
|
130
|
+
a({ type: String, attribute: "column-gap", reflect: !0 })
|
|
131
|
+
], e.prototype, "columnGap", 2);
|
|
132
|
+
s([
|
|
133
|
+
a({ type: String, attribute: "align-items", reflect: !0 })
|
|
134
|
+
], e.prototype, "alignItems", 2);
|
|
135
|
+
s([
|
|
136
|
+
a({ type: String, attribute: "justify-items", reflect: !0 })
|
|
137
|
+
], e.prototype, "justifyItems", 2);
|
|
138
|
+
s([
|
|
139
|
+
a({ type: String, attribute: "padding-inline", reflect: !0 })
|
|
140
|
+
], e.prototype, "paddingInline", 2);
|
|
141
|
+
s([
|
|
142
|
+
a({ type: String, attribute: "padding-block", reflect: !0 })
|
|
143
|
+
], e.prototype, "paddingBlock", 2);
|
|
144
|
+
s([
|
|
145
|
+
a({ type: String, attribute: "max-width", reflect: !0 })
|
|
146
|
+
], e.prototype, "maxWidth", 2);
|
|
147
|
+
e = s([
|
|
148
|
+
y("scb-grid")
|
|
149
|
+
], e);
|
|
150
|
+
export {
|
|
151
|
+
e as ScbGrid
|
|
152
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* <scb-stack>
|
|
5
|
+
* Minimal 1D-layout (flex) för innehåll inuti t.ex. <scb-grid-item>.
|
|
6
|
+
* - direction: row | column
|
|
7
|
+
* - gap: token-fallback (var(--spacing-5, 16px))
|
|
8
|
+
* - align (align-items) / justify (justify-content)
|
|
9
|
+
* - wrap: bryt rad i row-läge
|
|
10
|
+
* - inline: inline-flex istället för block
|
|
11
|
+
*/
|
|
12
|
+
export declare class ScbStack extends LitElement {
|
|
13
|
+
#private;
|
|
14
|
+
direction: 'row' | 'column';
|
|
15
|
+
gap: string;
|
|
16
|
+
align: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
17
|
+
justify: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
18
|
+
wrap: boolean;
|
|
19
|
+
inline: boolean;
|
|
20
|
+
static styles: import('lit').CSSResult;
|
|
21
|
+
protected firstUpdated(): void;
|
|
22
|
+
protected updated(): void;
|
|
23
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'scb-stack': ScbStack;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { css as d, LitElement as u, html as v } from "lit";
|
|
2
|
+
import { property as c, customElement as g } from "lit/decorators.js";
|
|
3
|
+
var b = Object.defineProperty, w = Object.getOwnPropertyDescriptor, f = (e) => {
|
|
4
|
+
throw TypeError(e);
|
|
5
|
+
}, i = (e, t, s, n) => {
|
|
6
|
+
for (var a = n > 1 ? void 0 : n ? w(t, s) : t, o = e.length - 1, l; o >= 0; o--)
|
|
7
|
+
(l = e[o]) && (a = (n ? l(t, s, a) : l(a)) || a);
|
|
8
|
+
return n && a && b(t, s, a), a;
|
|
9
|
+
}, x = (e, t, s) => t.has(e) || f("Cannot " + s), _ = (e, t, s) => t.has(e) ? f("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), y = (e, t, s) => (x(e, t, "access private method"), s), p, h;
|
|
10
|
+
let r = class extends u {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), _(this, p), this.direction = "column", this.gap = "", this.align = "stretch", this.justify = "start", this.wrap = !1, this.inline = !1;
|
|
13
|
+
}
|
|
14
|
+
firstUpdated() {
|
|
15
|
+
y(this, p, h).call(this);
|
|
16
|
+
}
|
|
17
|
+
updated() {
|
|
18
|
+
y(this, p, h).call(this);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return v`<slot></slot>`;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
p = /* @__PURE__ */ new WeakSet();
|
|
25
|
+
h = function() {
|
|
26
|
+
this.style.setProperty("--scb-stack-direction", this.direction), this.style.setProperty("--scb-stack-gap", this.gap || "var(--spacing-5, 16px)");
|
|
27
|
+
const e = {
|
|
28
|
+
start: "flex-start",
|
|
29
|
+
center: "center",
|
|
30
|
+
end: "flex-end",
|
|
31
|
+
stretch: "stretch",
|
|
32
|
+
baseline: "baseline"
|
|
33
|
+
}, t = {
|
|
34
|
+
start: "flex-start",
|
|
35
|
+
center: "center",
|
|
36
|
+
end: "flex-end",
|
|
37
|
+
between: "space-between",
|
|
38
|
+
around: "space-around",
|
|
39
|
+
evenly: "space-evenly"
|
|
40
|
+
};
|
|
41
|
+
this.style.setProperty("--scb-stack-align", e[this.align] ?? "stretch"), this.style.setProperty("--scb-stack-justify", t[this.justify] ?? "flex-start"), this.style.setProperty("--scb-stack-wrap", this.wrap ? "wrap" : "nowrap");
|
|
42
|
+
};
|
|
43
|
+
r.styles = d`
|
|
44
|
+
:host {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
display: var(--scb-stack-display, flex);
|
|
47
|
+
flex-direction: var(--scb-stack-direction, column);
|
|
48
|
+
gap: var(--scb-stack-gap, var(--spacing-5, 16px));
|
|
49
|
+
align-items: var(--scb-stack-align, stretch);
|
|
50
|
+
justify-content: var(--scb-stack-justify, flex-start);
|
|
51
|
+
flex-wrap: var(--scb-stack-wrap, nowrap);
|
|
52
|
+
width: auto;
|
|
53
|
+
max-width: 100%;
|
|
54
|
+
}
|
|
55
|
+
:host([inline]) {
|
|
56
|
+
--scb-stack-display: inline-flex;
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
i([
|
|
60
|
+
c({ type: String, reflect: !0 })
|
|
61
|
+
], r.prototype, "direction", 2);
|
|
62
|
+
i([
|
|
63
|
+
c({ type: String, reflect: !0 })
|
|
64
|
+
], r.prototype, "gap", 2);
|
|
65
|
+
i([
|
|
66
|
+
c({ type: String, reflect: !0 })
|
|
67
|
+
], r.prototype, "align", 2);
|
|
68
|
+
i([
|
|
69
|
+
c({ type: String, reflect: !0 })
|
|
70
|
+
], r.prototype, "justify", 2);
|
|
71
|
+
i([
|
|
72
|
+
c({ type: Boolean, reflect: !0 })
|
|
73
|
+
], r.prototype, "wrap", 2);
|
|
74
|
+
i([
|
|
75
|
+
c({ type: Boolean, reflect: !0 })
|
|
76
|
+
], r.prototype, "inline", 2);
|
|
77
|
+
r = i([
|
|
78
|
+
g("scb-stack")
|
|
79
|
+
], r);
|
|
80
|
+
export {
|
|
81
|
+
r as ScbStack
|
|
82
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class ScbHeaderDrawerGroup extends LitElement {
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
static styles: import('lit').CSSResult;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'scb-header-drawer-group': ScbHeaderDrawerGroup;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { css as m, LitElement as i, html as u } from "lit";
|
|
2
|
+
import { property as c, customElement as f } from "lit/decorators.js";
|
|
3
|
+
var y = Object.defineProperty, b = Object.getOwnPropertyDescriptor, n = (a, t, p, o) => {
|
|
4
|
+
for (var r = o > 1 ? void 0 : o ? b(t, p) : t, s = a.length - 1, l; s >= 0; s--)
|
|
5
|
+
(l = a[s]) && (r = (o ? l(t, p, r) : l(r)) || r);
|
|
6
|
+
return o && r && y(t, p, r), r;
|
|
7
|
+
};
|
|
8
|
+
let e = class extends i {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.label = "";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return u`<slot></slot>`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
e.styles = m`:host{display:none !important}`;
|
|
17
|
+
n([
|
|
18
|
+
c({ type: String })
|
|
19
|
+
], e.prototype, "label", 2);
|
|
20
|
+
n([
|
|
21
|
+
c({ type: String })
|
|
22
|
+
], e.prototype, "icon", 2);
|
|
23
|
+
e = n([
|
|
24
|
+
f("scb-header-drawer-group")
|
|
25
|
+
], e);
|
|
26
|
+
export {
|
|
27
|
+
e as ScbHeaderDrawerGroup
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class ScbHeaderDrawerItem extends LitElement {
|
|
4
|
+
label: string;
|
|
5
|
+
href: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
static styles: import('lit').CSSResult;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'scb-header-drawer-item': ScbHeaderDrawerItem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { css as a, LitElement as c, html as f } from "lit";
|
|
2
|
+
import { property as i, customElement as y } from "lit/decorators.js";
|
|
3
|
+
var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, p = (m, t, s, o) => {
|
|
4
|
+
for (var e = o > 1 ? void 0 : o ? u(t, s) : t, l = m.length - 1, n; l >= 0; l--)
|
|
5
|
+
(n = m[l]) && (e = (o ? n(t, s, e) : n(e)) || e);
|
|
6
|
+
return o && e && h(t, s, e), e;
|
|
7
|
+
};
|
|
8
|
+
let r = class extends c {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.label = "", this.href = "#";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return f`<slot></slot>`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
r.styles = a`:host{display:none !important}`;
|
|
17
|
+
p([
|
|
18
|
+
i({ type: String })
|
|
19
|
+
], r.prototype, "label", 2);
|
|
20
|
+
p([
|
|
21
|
+
i({ type: String })
|
|
22
|
+
], r.prototype, "href", 2);
|
|
23
|
+
p([
|
|
24
|
+
i({ type: String })
|
|
25
|
+
], r.prototype, "icon", 2);
|
|
26
|
+
r = p([
|
|
27
|
+
y("scb-header-drawer-item")
|
|
28
|
+
], r);
|
|
29
|
+
export {
|
|
30
|
+
r as ScbHeaderDrawerItem
|
|
31
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class ScbHeaderTab extends LitElement {
|
|
4
|
+
label: string;
|
|
5
|
+
href: string;
|
|
6
|
+
static styles: import('lit').CSSResult;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'scb-header-tab': ScbHeaderTab;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { css as c, LitElement as f, html as i } from "lit";
|
|
2
|
+
import { property as m, customElement as b } from "lit/decorators.js";
|
|
3
|
+
var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, n = (a, r, o, s) => {
|
|
4
|
+
for (var e = s > 1 ? void 0 : s ? u(r, o) : r, p = a.length - 1, l; p >= 0; p--)
|
|
5
|
+
(l = a[p]) && (e = (s ? l(r, o, e) : l(e)) || e);
|
|
6
|
+
return s && e && h(r, o, e), e;
|
|
7
|
+
};
|
|
8
|
+
let t = class extends f {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.label = "", this.href = "#";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return i`<slot></slot>`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
t.styles = c`:host{display:none !important}`;
|
|
17
|
+
n([
|
|
18
|
+
m({ type: String })
|
|
19
|
+
], t.prototype, "label", 2);
|
|
20
|
+
n([
|
|
21
|
+
m({ type: String })
|
|
22
|
+
], t.prototype, "href", 2);
|
|
23
|
+
t = n([
|
|
24
|
+
b("scb-header-tab")
|
|
25
|
+
], t);
|
|
26
|
+
export {
|
|
27
|
+
t as ScbHeaderTab
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class ScbHeaderUtility extends LitElement {
|
|
4
|
+
label: string;
|
|
5
|
+
href: string;
|
|
6
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
7
|
+
static styles: import('lit').CSSResult;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'scb-header-utility': ScbHeaderUtility;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { css as a, LitElement as m, html as c } from "lit";
|
|
2
|
+
import { property as i, customElement as f } from "lit/decorators.js";
|
|
3
|
+
var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, p = (y, r, s, o) => {
|
|
4
|
+
for (var t = o > 1 ? void 0 : o ? u(r, s) : r, l = y.length - 1, n; l >= 0; l--)
|
|
5
|
+
(n = y[l]) && (t = (o ? n(r, s, t) : n(t)) || t);
|
|
6
|
+
return o && t && h(r, s, t), t;
|
|
7
|
+
};
|
|
8
|
+
let e = class extends m {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.label = "", this.href = "#";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return c`<slot></slot>`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
e.styles = a`:host{display:none !important}`;
|
|
17
|
+
p([
|
|
18
|
+
i({ type: String })
|
|
19
|
+
], e.prototype, "label", 2);
|
|
20
|
+
p([
|
|
21
|
+
i({ type: String })
|
|
22
|
+
], e.prototype, "href", 2);
|
|
23
|
+
p([
|
|
24
|
+
i({ type: String })
|
|
25
|
+
], e.prototype, "target", 2);
|
|
26
|
+
e = p([
|
|
27
|
+
f("scb-header-utility")
|
|
28
|
+
], e);
|
|
29
|
+
export {
|
|
30
|
+
e as ScbHeaderUtility
|
|
31
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
|
|
3
|
+
export interface HeaderTab {
|
|
4
|
+
label: string;
|
|
5
|
+
href: string;
|
|
6
|
+
}
|
|
7
|
+
export interface UtilityItem {
|
|
8
|
+
label: string;
|
|
9
|
+
href: string;
|
|
10
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
11
|
+
}
|
|
12
|
+
export interface DrawerNode {
|
|
13
|
+
label: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
icon?: string;
|
|
16
|
+
children?: DrawerNode[];
|
|
17
|
+
}
|
|
18
|
+
export declare class ScbHeader extends LitElement {
|
|
19
|
+
maxWidth: string;
|
|
20
|
+
logoText: string;
|
|
21
|
+
logoHref: string;
|
|
22
|
+
banner: boolean;
|
|
23
|
+
bannerLabel?: string;
|
|
24
|
+
private static readonly _JSON_ARRAY;
|
|
25
|
+
tabs: HeaderTab[];
|
|
26
|
+
activeTab: number;
|
|
27
|
+
utilityItems: UtilityItem[];
|
|
28
|
+
searchPlaceholder?: string;
|
|
29
|
+
drawerLabel?: string;
|
|
30
|
+
drawerSubLabel?: string;
|
|
31
|
+
drawerSectionLabel?: string;
|
|
32
|
+
drawerSearchPlaceholder?: string;
|
|
33
|
+
menuData?: DrawerNode[];
|
|
34
|
+
showDrawer: boolean;
|
|
35
|
+
showSearch: boolean;
|
|
36
|
+
includeUtilityInDrawer: boolean;
|
|
37
|
+
searchMax?: string;
|
|
38
|
+
searchMin?: string;
|
|
39
|
+
private _drawerId;
|
|
40
|
+
private _paddingInline;
|
|
41
|
+
private _drawerMounted;
|
|
42
|
+
private _drawerExpanded;
|
|
43
|
+
private _searchId;
|
|
44
|
+
private _slotTabs;
|
|
45
|
+
private _slotUtils;
|
|
46
|
+
private _slotMenu;
|
|
47
|
+
private _ro?;
|
|
48
|
+
private _measureScheduled;
|
|
49
|
+
private _scheduleMeasure;
|
|
50
|
+
private _onWindowResize;
|
|
51
|
+
private _onDrawerSelect;
|
|
52
|
+
private _collapsed;
|
|
53
|
+
private _unlockAtWidth;
|
|
54
|
+
private _hideLogoText;
|
|
55
|
+
private _logoTextUnlockAt;
|
|
56
|
+
private static readonly BP_SM_DEFAULT;
|
|
57
|
+
private static readonly BP_MD_DEFAULT;
|
|
58
|
+
private get _HYST();
|
|
59
|
+
private get BP_SM();
|
|
60
|
+
private get BP_MD();
|
|
61
|
+
private _slotMo?;
|
|
62
|
+
private _harvestPending;
|
|
63
|
+
private _scheduleHarvest;
|
|
64
|
+
static styles: import('lit').CSSResult;
|
|
65
|
+
private get _slotEl();
|
|
66
|
+
private get _top();
|
|
67
|
+
private get _util();
|
|
68
|
+
private get _tabsEl();
|
|
69
|
+
private get _logoGroup();
|
|
70
|
+
private get _searchWrap();
|
|
71
|
+
private get _menuBtn();
|
|
72
|
+
private get _searchEl();
|
|
73
|
+
private _attachSlotObservers;
|
|
74
|
+
private _harvest;
|
|
75
|
+
private _setCollapsed;
|
|
76
|
+
private _setHideSearch;
|
|
77
|
+
private _setHideLogoText;
|
|
78
|
+
private _num;
|
|
79
|
+
private _tokenPx;
|
|
80
|
+
private _visible;
|
|
81
|
+
private _overflows;
|
|
82
|
+
private _measure;
|
|
83
|
+
private _updatePadding;
|
|
84
|
+
firstUpdated(): void;
|
|
85
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
86
|
+
disconnectedCallback(): void;
|
|
87
|
+
private static _nextFrame;
|
|
88
|
+
private _ensureDrawerMounted;
|
|
89
|
+
private _openDrawerNow;
|
|
90
|
+
private _closeDrawerNow;
|
|
91
|
+
private _syncMenuBtnAria;
|
|
92
|
+
private _onMenuClick;
|
|
93
|
+
private _onSearchClick;
|
|
94
|
+
private _onTabsChange;
|
|
95
|
+
private _applyActiveToTabs;
|
|
96
|
+
private _renderDrawerNodes;
|
|
97
|
+
private _syncFlags;
|
|
98
|
+
render(): TemplateResult;
|
|
99
|
+
private _renderLogo;
|
|
100
|
+
}
|
|
101
|
+
declare global {
|
|
102
|
+
interface HTMLElementTagNameMap {
|
|
103
|
+
'scb-header': ScbHeader;
|
|
104
|
+
}
|
|
105
|
+
}
|