@sbb-esta/lyne-elements 2.9.0 → 2.10.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/autocomplete/autocomplete-base-element.d.ts +3 -1
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete-base-element.js +73 -63
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/core/a11y/arrow-navigation.d.ts +2 -2
- package/core/a11y/arrow-navigation.d.ts.map +1 -1
- package/core/a11y/arrow-navigation.js +1 -1
- package/core/dom/platform.d.ts.map +1 -1
- package/core/dom/platform.js +1 -1
- package/custom-elements.json +95 -33
- package/development/autocomplete/autocomplete-base-element.d.ts +3 -1
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +26 -4
- package/development/autocomplete/autocomplete.component.d.ts +1 -1
- package/development/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +1 -1
- package/development/core/a11y/arrow-navigation.d.ts +2 -2
- package/development/core/a11y/arrow-navigation.d.ts.map +1 -1
- package/development/core/a11y/arrow-navigation.js +4 -4
- package/development/core/dom/platform.d.ts.map +1 -1
- package/development/core/dom/platform.js +2 -2
- package/development/journey-header/journey-header.component.d.ts.map +1 -1
- package/development/journey-header/journey-header.component.js +6 -17
- package/development/select/select.component.js +2 -2
- package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/development/skiplink-list/skiplink-list.component.js +4 -3
- package/development/slider/slider.component.js +2 -2
- package/development/toast/toast.component.d.ts +5 -9
- package/development/toast/toast.component.d.ts.map +1 -1
- package/development/toast/toast.component.js +20 -34
- package/development/toggle/toggle/toggle.component.d.ts +1 -5
- package/development/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/development/toggle/toggle/toggle.component.js +16 -22
- package/development/toggle/toggle-option/toggle-option.component.d.ts +1 -0
- package/development/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +11 -7
- package/development/train/train-formation/train-formation.component.js +5 -1
- package/journey-header/journey-header.component.d.ts.map +1 -1
- package/journey-header/journey-header.component.js +37 -49
- package/package.json +1 -1
- package/select/select.component.js +1 -1
- package/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/skiplink-list/skiplink-list.component.js +10 -10
- package/slider/slider.component.js +1 -1
- package/toast/toast.component.d.ts +5 -9
- package/toast/toast.component.d.ts.map +1 -1
- package/toast/toast.component.js +35 -50
- package/toggle/toggle/toggle.component.d.ts +1 -5
- package/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/toggle/toggle/toggle.component.js +34 -37
- package/toggle/toggle-option/toggle-option.component.d.ts +1 -0
- package/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.component.js +51 -47
- package/train/train-formation/train-formation.component.js +14 -14
|
@@ -2,9 +2,9 @@ var O = (i) => {
|
|
|
2
2
|
throw TypeError(i);
|
|
3
3
|
};
|
|
4
4
|
var B = (i, s, r) => s.has(i) || O("Cannot " + r);
|
|
5
|
-
var
|
|
6
|
-
import { __runInitializers as o, __esDecorate as
|
|
7
|
-
import { css as
|
|
5
|
+
var m = (i, s, r) => (B(i, s, "read from private field"), r ? r.call(i) : s.get(i)), _ = (i, s, r) => s.has(i) ? O("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, r), n = (i, s, r, l) => (B(i, s, "write to private field"), l ? l.call(i, r) : s.set(i, r), r);
|
|
6
|
+
import { __runInitializers as o, __esDecorate as p } from "tslib";
|
|
7
|
+
import { css as F, LitElement as H, nothing as J, html as P } from "lit";
|
|
8
8
|
import { customElement as R, property as f } from "lit/decorators.js";
|
|
9
9
|
import { SbbLanguageController as q } from "../core/controllers.js";
|
|
10
10
|
import { forceType as v } from "../core/decorators.js";
|
|
@@ -14,104 +14,92 @@ import { SbbNegativeMixin as U } from "../core/mixins.js";
|
|
|
14
14
|
import "../icon.js";
|
|
15
15
|
import "../screen-reader-only.js";
|
|
16
16
|
import "../title.js";
|
|
17
|
-
const V =
|
|
17
|
+
const V = F`*,:before,:after{box-sizing:border-box}:host{--sbb-journey-header-gap: var(--sbb-spacing-fixed-1x);display:block}:host([id]){scroll-margin-block-start:var(--sbb-spacing-fixed-10x)}sbb-title{margin:0}sbb-icon{min-width:var(--sbb-size-icon-ui-small)}.sbb-journey-header{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--sbb-journey-header-gap);width:fit-content}.sbb-journey-header:dir(rtl) sbb-icon{transform:rotate(-180deg)}`, W = /* @__PURE__ */ new Map([
|
|
18
18
|
["s", "6"],
|
|
19
19
|
["m", "5"],
|
|
20
20
|
["l", "4"]
|
|
21
21
|
]);
|
|
22
22
|
let de = (() => {
|
|
23
|
-
var d,
|
|
24
|
-
let i = [R("sbb-journey-header")], s, r = [], l,
|
|
25
|
-
return a = class extends
|
|
23
|
+
var d, h, u, b, g, a;
|
|
24
|
+
let i = [R("sbb-journey-header")], s, r = [], l, z = U(H), y, x = [], T = [], $, j = [], w = [], S, k = [], I = [], C, E = [], L = [], D, M = [], N = [];
|
|
25
|
+
return a = class extends z {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
n(this, d, o(this, x, "")), n(this,
|
|
28
|
+
_(this, d);
|
|
29
|
+
_(this, h);
|
|
30
|
+
_(this, u);
|
|
31
|
+
_(this, b);
|
|
32
|
+
_(this, g);
|
|
33
|
+
n(this, d, o(this, x, "")), n(this, h, (o(this, T), o(this, j, ""))), n(this, u, (o(this, w), o(this, k, !1))), n(this, b, (o(this, I), o(this, E, "3"))), n(this, g, (o(this, L), o(this, M, A() ? "s" : "m"))), this._language = (o(this, N), new q(this));
|
|
34
34
|
}
|
|
35
35
|
/** Origin location for the journey header. */
|
|
36
36
|
get origin() {
|
|
37
|
-
return
|
|
37
|
+
return m(this, d);
|
|
38
38
|
}
|
|
39
39
|
set origin(t) {
|
|
40
40
|
n(this, d, t);
|
|
41
41
|
}
|
|
42
42
|
/** Destination location for the journey header. */
|
|
43
43
|
get destination() {
|
|
44
|
-
return
|
|
44
|
+
return m(this, h);
|
|
45
45
|
}
|
|
46
46
|
set destination(t) {
|
|
47
|
-
n(this,
|
|
47
|
+
n(this, h, t);
|
|
48
48
|
}
|
|
49
49
|
/** Whether the journey is a round trip. If so, the icon changes to a round-trip one. */
|
|
50
50
|
get roundTrip() {
|
|
51
|
-
return
|
|
51
|
+
return m(this, u);
|
|
52
52
|
}
|
|
53
53
|
set roundTrip(t) {
|
|
54
|
-
n(this,
|
|
54
|
+
n(this, u, t);
|
|
55
55
|
}
|
|
56
56
|
/** Heading level of the journey header element (e.g. h1-h6). */
|
|
57
57
|
get level() {
|
|
58
|
-
return
|
|
58
|
+
return m(this, b);
|
|
59
59
|
}
|
|
60
60
|
set level(t) {
|
|
61
|
-
n(this,
|
|
61
|
+
n(this, b, t);
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Journey header size, either s, m or l.
|
|
65
65
|
* @default 'm' / 's' (lean)
|
|
66
66
|
*/
|
|
67
67
|
get size() {
|
|
68
|
-
return
|
|
68
|
+
return m(this, g);
|
|
69
69
|
}
|
|
70
70
|
set size(t) {
|
|
71
|
-
n(this,
|
|
71
|
+
n(this, g, t);
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
const t = this.roundTrip ? "arrows-long-right-left-small" : "arrow-long-right-small"
|
|
75
|
-
return
|
|
74
|
+
const t = this.roundTrip ? "arrows-long-right-left-small" : "arrow-long-right-small", e = `${G[this._language.current]} ${this.origin} ${K[this._language.current]} ${this.destination} ${this.roundTrip ? Q(this.origin)[this._language.current] : ""}`;
|
|
75
|
+
return P`
|
|
76
76
|
<sbb-title
|
|
77
|
-
level=${this.level ||
|
|
77
|
+
level=${this.level || J}
|
|
78
78
|
?negative=${this.negative}
|
|
79
79
|
visual-level=${W.get(this.size)}
|
|
80
80
|
>
|
|
81
|
-
<span class="sbb-journey-header">
|
|
82
|
-
<span class="sbb-journey-header__origin">
|
|
83
|
-
<sbb-screen-reader-only>
|
|
84
|
-
${G[this._language.current]}
|
|
85
|
-
</sbb-screen-reader-only>
|
|
86
|
-
${this.origin}
|
|
87
|
-
</span>
|
|
81
|
+
<span class="sbb-journey-header" aria-hidden="true">
|
|
82
|
+
<span class="sbb-journey-header__origin">${this.origin}</span>
|
|
88
83
|
<sbb-icon name=${t}></sbb-icon>
|
|
89
|
-
<span class="sbb-journey-header__destination">
|
|
90
|
-
<sbb-screen-reader-only>
|
|
91
|
-
${K[this._language.current]}
|
|
92
|
-
</sbb-screen-reader-only>
|
|
93
|
-
${this.destination}
|
|
94
|
-
${this.roundTrip ? H` <sbb-screen-reader-only>
|
|
95
|
-
${Q(this.origin)[this._language.current]}
|
|
96
|
-
</sbb-screen-reader-only>` : F}
|
|
97
|
-
</span>
|
|
84
|
+
<span class="sbb-journey-header__destination">${this.destination}</span>
|
|
98
85
|
</span>
|
|
86
|
+
<sbb-screen-reader-only>${e}</sbb-screen-reader-only>
|
|
99
87
|
</sbb-title>
|
|
100
88
|
`;
|
|
101
89
|
}
|
|
102
|
-
}, d = new WeakMap(),
|
|
103
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
104
|
-
|
|
90
|
+
}, d = new WeakMap(), h = new WeakMap(), u = new WeakMap(), b = new WeakMap(), g = new WeakMap(), l = a, (() => {
|
|
91
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(z[Symbol.metadata] ?? null) : void 0;
|
|
92
|
+
y = [v(), f()], $ = [v(), f()], S = [v(), f({ attribute: "round-trip", type: Boolean })], C = [f()], D = [f({ reflect: !0 })], p(a, null, y, { kind: "accessor", name: "origin", static: !1, private: !1, access: { has: (e) => "origin" in e, get: (e) => e.origin, set: (e, c) => {
|
|
105
93
|
e.origin = c;
|
|
106
|
-
} }, metadata: t }, x, T),
|
|
94
|
+
} }, metadata: t }, x, T), p(a, null, $, { kind: "accessor", name: "destination", static: !1, private: !1, access: { has: (e) => "destination" in e, get: (e) => e.destination, set: (e, c) => {
|
|
107
95
|
e.destination = c;
|
|
108
|
-
} }, metadata: t },
|
|
96
|
+
} }, metadata: t }, j, w), p(a, null, S, { kind: "accessor", name: "roundTrip", static: !1, private: !1, access: { has: (e) => "roundTrip" in e, get: (e) => e.roundTrip, set: (e, c) => {
|
|
109
97
|
e.roundTrip = c;
|
|
110
|
-
} }, metadata: t },
|
|
98
|
+
} }, metadata: t }, k, I), p(a, null, C, { kind: "accessor", name: "level", static: !1, private: !1, access: { has: (e) => "level" in e, get: (e) => e.level, set: (e, c) => {
|
|
111
99
|
e.level = c;
|
|
112
|
-
} }, metadata: t }, E, L),
|
|
100
|
+
} }, metadata: t }, E, L), p(a, null, D, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (e) => "size" in e, get: (e) => e.size, set: (e, c) => {
|
|
113
101
|
e.size = c;
|
|
114
|
-
} }, metadata: t }, M, N),
|
|
102
|
+
} }, metadata: t }, M, N), p(null, s = { value: l }, i, { kind: "class", name: l.name, metadata: t }, null, r), l = s.value, t && Object.defineProperty(l, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
115
103
|
})(), a.styles = V, o(l, r), l;
|
|
116
104
|
})();
|
|
117
105
|
export {
|
package/package.json
CHANGED
|
@@ -455,7 +455,7 @@ let xe = 0, Re = (() => {
|
|
|
455
455
|
}
|
|
456
456
|
}, c = new WeakMap(), u = new WeakMap(), v = new WeakMap(), _ = new WeakMap(), g = new WeakMap(), h = n, (() => {
|
|
457
457
|
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(I[Symbol.metadata] ?? null) : void 0;
|
|
458
|
-
L = [E(), k()], T = [E(), S((t, s) => t._onMultipleChanged(s)), k({ reflect: !0, type: Boolean })], q = [E(), S((t, s) => t._closeOnDisabledReadonlyChanged(s)), k({ reflect: !0, type: Boolean }), be((t, s) => s || t.isDisabledExternally())], N = [E(), S((t, s) => t._closeOnDisabledReadonlyChanged(s)), k({ type: Boolean })], F = [ie()], y(n, null, L, { kind: "accessor", name: "placeholder", static: !1, private: !1, access: { has: (t) => "placeholder" in t, get: (t) => t.placeholder, set: (t, s) => {
|
|
458
|
+
L = [E(), k()], T = [E(), S((t, s) => t._onMultipleChanged(s)), k({ reflect: !0, type: Boolean })], q = [E(), S((t, s) => t._closeOnDisabledReadonlyChanged(s)), k({ reflect: !0, type: Boolean }), be((t, s) => s || t.isDisabledExternally())], N = [E(), S((t, s) => t._closeOnDisabledReadonlyChanged(s)), k({ type: Boolean, reflect: !0 })], F = [ie()], y(n, null, L, { kind: "accessor", name: "placeholder", static: !1, private: !1, access: { has: (t) => "placeholder" in t, get: (t) => t.placeholder, set: (t, s) => {
|
|
459
459
|
t.placeholder = s;
|
|
460
460
|
} }, metadata: e }, P, $), y(n, null, T, { kind: "accessor", name: "multiple", static: !1, private: !1, access: { has: (t) => "multiple" in t, get: (t) => t.multiple, set: (t, s) => {
|
|
461
461
|
t.multiple = s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skiplink-list.component.d.ts","sourceRoot":"","sources":["../../../src/elements/skiplink-list/skiplink-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAKb,OAAO,EAAyB,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,OAAO,aAAa,CAAC;;AAErB;;;;;;;;GAQG;AACH,
|
|
1
|
+
{"version":3,"file":"skiplink-list.component.d.ts","sourceRoot":"","sources":["../../../src/elements/skiplink-list/skiplink-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAKb,OAAO,EAAyB,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,OAAO,aAAa,CAAC;;AAErB;;;;;;;;GAQG;AACH,qBAEM,sBAAuB,SAAQ,2BAGxB;IACX,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,mBAA4B,mBAAmB,WAA+C;IAE9F,uDAAuD;IACvD,SAEgB,YAAY,EAAE,MAAM,CAAM;IAE1C,oDAAoD;IACpD,SAAwD,UAAU,EAAE,aAAa,CAAO;cAErE,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI;cAW3E,MAAM,IAAI,cAAc;CAiB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,mBAAmB,EAAE,sBAAsB,CAAC;KAC7C;CACF"}
|
|
@@ -6,14 +6,14 @@ var c = (t, e, s) => (y(t, e, "read from private field"), s ? s.call(t) : e.get(
|
|
|
6
6
|
import { __esDecorate as p, __runInitializers as d } from "tslib";
|
|
7
7
|
import { css as C, LitElement as z, nothing as S, html as E } from "lit";
|
|
8
8
|
import { customElement as I, property as L } from "lit/decorators.js";
|
|
9
|
-
import {
|
|
10
|
-
import { isLean as
|
|
11
|
-
import { SbbNamedSlotListMixin as
|
|
9
|
+
import { forceType as D, omitEmptyConverter as $ } from "../core/decorators.js";
|
|
10
|
+
import { isLean as j } from "../core/dom.js";
|
|
11
|
+
import { SbbNamedSlotListMixin as N } from "../core/mixins.js";
|
|
12
12
|
import "../title.js";
|
|
13
|
-
const
|
|
14
|
-
let
|
|
13
|
+
const O = C`*,:before,:after{box-sizing:border-box}:host{--sbb-skiplink-list-height: 0;--sbb-skiplink-list-overflow: hidden;--sbb-skiplink-list-background: transparent;--sbb-skiplink-list-border: unset;display:block}.sbb-skiplink-list__wrapper{position:fixed;inset-block-start:var(--sbb-spacing-fixed-4x);inset-inline-start:var(--sbb-spacing-fixed-4x);z-index:calc(var(--sbb-skiplink-list-z-index, var(--sbb-overlay-default-z-index)) + 1)}.sbb-skiplink-list{list-style:none;margin:0;padding:0;font-size:inherit}.sbb-skiplink-list>:is(li,span){box-shadow:var(--sbb-shadow-elevation-level-5-shadow-2-offset-x) var(--sbb-shadow-elevation-level-5-shadow-2-offset-y) var(--sbb-shadow-elevation-level-5-shadow-2-blur) var(--sbb-shadow-elevation-level-5-shadow-2-spread) var(--sbb-shadow-elevation-level-5-hard-2-color),var(--sbb-shadow-elevation-level-5-shadow-1-offset-x) var(--sbb-shadow-elevation-level-5-shadow-1-offset-y) var(--sbb-shadow-elevation-level-5-shadow-1-blur) var(--sbb-shadow-elevation-level-5-shadow-1-spread) var(--sbb-shadow-elevation-level-5-hard-1-color);display:inline-block;height:var(--sbb-skiplink-list-height);overflow:var(--sbb-skiplink-list-overflow);border-radius:var(--sbb-border-radius-4x);background-color:var(--sbb-skiplink-list-background);border:var(--sbb-skiplink-list-border);width:fit-content}.sbb-skiplink-list>:is(li,span):focus-within{--sbb-skiplink-list-height: auto;--sbb-skiplink-list-overflow: visible;--sbb-skiplink-list-background: var(--sbb-color-black);--sbb-skiplink-list-border: var(--sbb-border-width-2x) solid var(--sbb-color-white)}::slotted([data-sbb-link]){--sbb-focus-outline-color: transparent;--sbb-link-padding: var(--sbb-spacing-fixed-2x) var(--sbb-spacing-responsive-xxs)}`;
|
|
14
|
+
let J = (() => {
|
|
15
15
|
var o, n, r;
|
|
16
|
-
let t = [I("sbb-skiplink-list")
|
|
16
|
+
let t = [I("sbb-skiplink-list")], e, s = [], a, k = N(z), u, f = [], m = [], w, _ = [], g = [];
|
|
17
17
|
return r = class extends k {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
@@ -38,7 +38,7 @@ let K = (() => {
|
|
|
38
38
|
willUpdate(l) {
|
|
39
39
|
if (super.willUpdate(l), l.has("listChildren"))
|
|
40
40
|
for (const i of this.listChildren)
|
|
41
|
-
i.size =
|
|
41
|
+
i.size = j() ? "xs" : "m", i.negative = !0;
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
return E`
|
|
@@ -59,13 +59,13 @@ let K = (() => {
|
|
|
59
59
|
}
|
|
60
60
|
}, o = new WeakMap(), n = new WeakMap(), a = r, (() => {
|
|
61
61
|
const l = typeof Symbol == "function" && Symbol.metadata ? Object.create(k[Symbol.metadata] ?? null) : void 0;
|
|
62
|
-
u = [
|
|
62
|
+
u = [D(), L({ attribute: "title-content", reflect: !0, converter: $ })], w = [L({ attribute: "title-level" })], p(r, null, u, { kind: "accessor", name: "titleContent", static: !1, private: !1, access: { has: (i) => "titleContent" in i, get: (i) => i.titleContent, set: (i, v) => {
|
|
63
63
|
i.titleContent = v;
|
|
64
64
|
} }, metadata: l }, f, m), p(r, null, w, { kind: "accessor", name: "titleLevel", static: !1, private: !1, access: { has: (i) => "titleLevel" in i, get: (i) => i.titleLevel, set: (i, v) => {
|
|
65
65
|
i.titleLevel = v;
|
|
66
66
|
} }, metadata: l }, _, g), p(null, e = { value: a }, t, { kind: "class", name: a.name, metadata: l }, null, s), a = e.value, l && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: l });
|
|
67
|
-
})(), r.styles =
|
|
67
|
+
})(), r.styles = O, d(a, s), a;
|
|
68
68
|
})();
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
J as SbbSkiplinkListElement
|
|
71
71
|
};
|
|
@@ -205,7 +205,7 @@ let he = (() => {
|
|
|
205
205
|
}
|
|
206
206
|
}, h = new WeakMap(), u = new WeakMap(), v = new WeakMap(), m = new WeakMap(), n = a, (() => {
|
|
207
207
|
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(w[Symbol.metadata] ?? null) : void 0;
|
|
208
|
-
I = [c()], z = [c({ attribute: "value-as-number", type: Number })], F = [c()], N = [c()], M = [k(), c({ type: Boolean })], V = [k(), c({ attribute: "start-icon" })], C = [k(), c({ attribute: "end-icon" })], U = [Y()], d(a, null, I, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (s) => "value" in s, set: (s, i) => {
|
|
208
|
+
I = [c()], z = [c({ attribute: "value-as-number", type: Number })], F = [c()], N = [c()], M = [k(), c({ type: Boolean, reflect: !0 })], V = [k(), c({ attribute: "start-icon" })], C = [k(), c({ attribute: "end-icon" })], U = [Y()], d(a, null, I, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (s) => "value" in s, set: (s, i) => {
|
|
209
209
|
s.value = i;
|
|
210
210
|
} }, metadata: e }, null, _), d(a, null, z, { kind: "setter", name: "valueAsNumber", static: !1, private: !1, access: { has: (s) => "valueAsNumber" in s, set: (s, i) => {
|
|
211
211
|
s.valueAsNumber = i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
1
|
+
import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
2
2
|
import { SbbOpenCloseBaseElement } from '../core/base-elements.js';
|
|
3
3
|
type SbbToastPositionVertical = 'top' | 'bottom';
|
|
4
4
|
type SbbToastPositionHorizontal = 'left' | 'start' | 'center' | 'right' | 'end';
|
|
@@ -36,18 +36,15 @@ export declare class SbbToastElement extends SbbToastElement_base {
|
|
|
36
36
|
accessor politeness: 'polite' | 'assertive' | 'off';
|
|
37
37
|
private _closeTimeout?;
|
|
38
38
|
private _language;
|
|
39
|
-
/**
|
|
40
|
-
* Role of the live region. This is only for Firefox as there is a known issue where Firefox +
|
|
41
|
-
* JAWS does not read out aria-live message.
|
|
42
|
-
*/
|
|
43
|
-
private get _role();
|
|
44
39
|
constructor();
|
|
40
|
+
connectedCallback(): void;
|
|
41
|
+
disconnectedCallback(): void;
|
|
42
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
45
43
|
/**
|
|
46
44
|
* Open the toast.
|
|
47
45
|
* If there are other opened toasts in the page, close them first.
|
|
48
46
|
*/
|
|
49
47
|
open(): void;
|
|
50
|
-
private _isZeroAnimationDuration;
|
|
51
48
|
/**
|
|
52
49
|
* Close the toast.
|
|
53
50
|
*/
|
|
@@ -55,8 +52,7 @@ export declare class SbbToastElement extends SbbToastElement_base {
|
|
|
55
52
|
private _handleClosing;
|
|
56
53
|
private _handleOpening;
|
|
57
54
|
private _onClick;
|
|
58
|
-
|
|
59
|
-
disconnectedCallback(): void;
|
|
55
|
+
private _isZeroAnimationDuration;
|
|
60
56
|
/**
|
|
61
57
|
* Slotted text nodes are not read correctly by screen readers on Chrome.
|
|
62
58
|
* To address the problem, if there is at least a root text node,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.component.d.ts","sourceRoot":"","sources":["../../../src/elements/toast/toast.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toast.component.d.ts","sourceRoot":"","sources":["../../../src/elements/toast/toast.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAYnE,OAAO,iCAAiC,CAAC;AAEzC,KAAK,wBAAwB,GAAG,KAAK,GAAG,QAAQ,CAAC;AACjD,KAAK,0BAA0B,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;AAChF,MAAM,MAAM,gBAAgB,GAAG,GAAG,wBAAwB,IAAI,0BAA0B,EAAE,CAAC;;AAK3F;;;;;;;;;;;;;GAaG;AACH,qBAMM,eAAgB,SAAQ,oBAA4D;IACxF,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD;;;OAGG;IACH,SAEgB,OAAO,EAAE,MAAM,CAAQ;IAEvC,6CAA6C;IAC7C,SAA6C,QAAQ,EAAE,gBAAgB,CAAmB;IAE1F,4CAA4C;IAC5C,SAEgB,WAAW,EAAE,OAAO,CAAS;IAE7C;;;OAGG;IACH,SAA4B,UAAU,EAAE,QAAQ,GAAG,WAAW,GAAG,KAAK,CAAY;IAElF,OAAO,CAAC,aAAa,CAAC,CAAgC;IACtD,OAAO,CAAC,SAAS,CAAmC;;IAOpC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;cAQzB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQ5E;;;OAGG;IACI,IAAI,IAAI,IAAI;IAoBnB;;OAEG;IACI,KAAK,IAAI,IAAI;IAkBpB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,wBAAwB;IAIhC;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,mBAAmB;IAyB3B,OAAO,CAAC,oBAAoB;IAS5B;;OAEG;IACH,OAAO,CAAC,iBAAiB;cAQN,MAAM,IAAI,cAAc;CA4B5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,WAAW,EAAE,eAAe,CAAC;KAC9B;CACF"}
|
package/toast/toast.component.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
1
|
+
var I = (i) => {
|
|
2
2
|
throw TypeError(i);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var u = (i, o, e) => (
|
|
4
|
+
var D = (i, o, e) => o.has(i) || I("Cannot " + e);
|
|
5
|
+
var u = (i, o, e) => (D(i, o, "read from private field"), e ? e.call(i) : o.get(i)), f = (i, o, e) => o.has(i) ? I("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(i) : o.set(i, e), b = (i, o, e, r) => (D(i, o, "write to private field"), r ? r.call(i, e) : o.set(i, e), e);
|
|
6
6
|
import { __esDecorate as g, __runInitializers as c } from "tslib";
|
|
7
|
-
import { css as
|
|
8
|
-
import { customElement as
|
|
9
|
-
import { SbbOpenCloseBaseElement as
|
|
10
|
-
import { SbbLanguageController as
|
|
11
|
-
import { hostAttributes as
|
|
12
|
-
import {
|
|
7
|
+
import { css as P, nothing as R, html as L } from "lit";
|
|
8
|
+
import { customElement as U, property as _ } from "lit/decorators.js";
|
|
9
|
+
import { SbbOpenCloseBaseElement as K } from "../core/base-elements.js";
|
|
10
|
+
import { SbbLanguageController as Y } from "../core/controllers.js";
|
|
11
|
+
import { hostAttributes as Z, slotState as j, forceType as $ } from "../core/decorators.js";
|
|
12
|
+
import { isZeroAnimationDuration as H, isLean as M } from "../core/dom.js";
|
|
13
13
|
import { composedPathHasAttribute as X } from "../core/eventing.js";
|
|
14
14
|
import { i18nCloseAlert as q } from "../core/i18n.js";
|
|
15
|
-
import { SbbHydrationMixin as
|
|
16
|
-
import { SbbIconNameMixin as
|
|
15
|
+
import { SbbHydrationMixin as F } from "../core/mixins.js";
|
|
16
|
+
import { SbbIconNameMixin as G } from "../icon.js";
|
|
17
17
|
import "../button/transparent-button.js";
|
|
18
|
-
const
|
|
19
|
-
let
|
|
18
|
+
const J = P`*,:before,:after{box-sizing:border-box}:host{--sbb-toast-max-width: 25rem;--sbb-toast-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--sbb-toast-animation-timing-function: ease;--sbb-toast-color: var(--sbb-color-white);--sbb-toast-text-color: var(--sbb-color-milk);--sbb-toast-background-color: var(--sbb-color-midnight);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-toast-margin: var(--sbb-spacing-responsive-s);--sbb-toast-padding-block: var(--sbb-spacing-responsive-xxxs);--sbb-toast-padding-inline: var(--sbb-spacing-responsive-xs);--sbb-toast-border-radius: var(--sbb-border-radius-4x);--sbb-toast-container-display: none;--sbb-toast-container-position: fixed;--sbb-toast-horizontal-position: initial;--sbb-toast-vertical-position: initial;display:none}:host([data-state]:not([data-state=closed])){--sbb-toast-container-display: flex;display:block}:host([position=bottom-left]),:host([position=bottom-start]){--sbb-toast-horizontal-position: flex-start;--sbb-toast-vertical-position: flex-end}:host([position=bottom-center]){--sbb-toast-horizontal-position: center;--sbb-toast-vertical-position: flex-end}:host([position=bottom-right]),:host([position=bottom-end]){--sbb-toast-horizontal-position: flex-end;--sbb-toast-vertical-position: flex-end}:host([position=top-left]),:host([position=top-start]){--sbb-toast-horizontal-position: flex-start;--sbb-toast-vertical-position: flex-start}:host([position=top-center]){--sbb-toast-horizontal-position: center;--sbb-toast-vertical-position: flex-start}:host([position=top-right]),:host([position=top-end]){--sbb-toast-horizontal-position: flex-end;--sbb-toast-vertical-position: flex-start}.sbb-toast__overlay-container{position:var(--sbb-toast-container-position);pointer-events:none;top:0;right:0;bottom:0;left:0;display:var(--sbb-toast-container-display);justify-content:var(--sbb-toast-horizontal-position);align-items:var(--sbb-toast-vertical-position)}.sbb-toast{z-index:var(--sbb-toast-z-index, var(--sbb-overlay-default-z-index));pointer-events:auto;margin:var(--sbb-toast-margin);padding-block:var(--sbb-toast-padding-block);padding-inline:var(--sbb-toast-padding-inline);border-radius:var(--sbb-toast-border-radius);max-width:var(--sbb-toast-max-width);display:flex;color:var(--sbb-toast-color);background-color:var(--sbb-toast-background-color)}:host([data-state=opening]) .sbb-toast{animation-name:open;animation-duration:var(--sbb-toast-animation-duration);animation-timing-function:var(--sbb-toast-animation-timing-function)}:host([data-state=closing]) .sbb-toast{animation-name:close;animation-duration:var(--sbb-toast-animation-duration);animation-timing-function:var(--sbb-toast-animation-timing-function)}.sbb-toast__icon{margin-inline-end:var(--sbb-spacing-fixed-2x);line-height:initial}:host(:not([data-slot-names~=icon],[icon-name])) .sbb-toast__icon{display:none}.sbb-toast__content{--sbb-title-line-height: var(--sbb-typo-line-height-titles);--sbb-title-margin-block-start: 0;--sbb-title-margin-block-end: 0;margin:0;margin-block:var(--sbb-title-margin-block-start) var(--sbb-title-margin-block-end);font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height);letter-spacing:var(--sbb-typo-letter-spacing-titles);font-size:var(--sbb-title-font-size);--sbb-title-font-size: var(--sbb-font-size-title-6);--sbb-title-line-height: var(--sbb-typo-line-height-body-text);color:var(--sbb-toast-text-color);flex:1 1 0}.sbb-toast__action{position:relative;min-width:2.5rem}:host(:not([data-slot-names~=action],[dismissible])) .sbb-toast__action{display:none}::slotted([data-sbb-button]),.sbb-toast__action-button{margin-inline:var(--sbb-spacing-fixed-2x);position:absolute;top:-.625rem}::slotted(:is(sbb-link,sbb-link-button,sbb-link-static)){margin-inline-start:var(--sbb-spacing-fixed-4x)}@keyframes open{0%{visibility:hidden;opacity:0;transform:translateY(var(--sbb-spacing-fixed-2x))}to{visibility:visible;opacity:1;transform:translateY(0)}}@keyframes close{0%{visibility:visible;opacity:1;transform:translateY(0)}to{visibility:hidden;opacity:0;transform:translateY(var(--sbb-spacing-fixed-2x))}}`, v = /* @__PURE__ */ new Set();
|
|
19
|
+
let mt = (() => {
|
|
20
20
|
var d, m, p, h, n;
|
|
21
|
-
let i = [
|
|
21
|
+
let i = [U("sbb-toast"), Z({
|
|
22
22
|
popover: "manual"
|
|
23
|
-
}),
|
|
23
|
+
}), j()], o, e = [], r, x = G(F(K)), y, k = [], T = [], z, S = [], N = [], C, A = [], E = [], B, w = [], O = [];
|
|
24
24
|
return n = class extends x {
|
|
25
25
|
constructor() {
|
|
26
26
|
var t;
|
|
@@ -29,7 +29,7 @@ let pt = (() => {
|
|
|
29
29
|
f(this, m);
|
|
30
30
|
f(this, p);
|
|
31
31
|
f(this, h);
|
|
32
|
-
b(this, d, c(this, k, 6e3)), b(this, m, (c(this, T), c(this, S, "bottom-center"))), b(this, p, (c(this, N), c(this, A, !1))), b(this, h, (c(this, E), c(this,
|
|
32
|
+
b(this, d, c(this, k, 6e3)), b(this, m, (c(this, T), c(this, S, "bottom-center"))), b(this, p, (c(this, N), c(this, A, !1))), b(this, h, (c(this, E), c(this, w, "polite"))), this._closeTimeout = c(this, O), this._language = new Y(this), (t = this.addEventListener) == null || t.call(this, "click", (s) => this._onClick(s));
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The length of time in milliseconds to wait before automatically dismissing the toast.
|
|
@@ -65,17 +65,14 @@ let pt = (() => {
|
|
|
65
65
|
set politeness(t) {
|
|
66
66
|
b(this, h, t);
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (this.politeness === "assertive")
|
|
77
|
-
return "alert";
|
|
78
|
-
}
|
|
68
|
+
connectedCallback() {
|
|
69
|
+
super.connectedCallback(), v.add(this);
|
|
70
|
+
}
|
|
71
|
+
disconnectedCallback() {
|
|
72
|
+
super.disconnectedCallback(), clearTimeout(this._closeTimeout), v.delete(this);
|
|
73
|
+
}
|
|
74
|
+
willUpdate(t) {
|
|
75
|
+
super.willUpdate(t), t.has("politeness") && this.setAttribute("aria-live", this.politeness);
|
|
79
76
|
}
|
|
80
77
|
/**
|
|
81
78
|
* Open the toast.
|
|
@@ -85,9 +82,6 @@ let pt = (() => {
|
|
|
85
82
|
var t;
|
|
86
83
|
this.state === "closed" && this.willOpen.emit() && ((t = this.showPopover) == null || t.call(this), this.state = "opening", this._closeOtherToasts(), this._isZeroAnimationDuration() && this._handleOpening());
|
|
87
84
|
}
|
|
88
|
-
_isZeroAnimationDuration() {
|
|
89
|
-
return M(this, "--sbb-toast-animation-duration");
|
|
90
|
-
}
|
|
91
85
|
/**
|
|
92
86
|
* Close the toast.
|
|
93
87
|
*/
|
|
@@ -106,11 +100,8 @@ let pt = (() => {
|
|
|
106
100
|
const s = X(t, "sbb-toast-close", this);
|
|
107
101
|
s && !s.hasAttribute("disabled") && this.close();
|
|
108
102
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
disconnectedCallback() {
|
|
113
|
-
super.disconnectedCallback(), clearTimeout(this._closeTimeout), v.delete(this);
|
|
103
|
+
_isZeroAnimationDuration() {
|
|
104
|
+
return H(this, "--sbb-toast-animation-duration");
|
|
114
105
|
}
|
|
115
106
|
/**
|
|
116
107
|
* Slotted text nodes are not read correctly by screen readers on Chrome.
|
|
@@ -121,13 +112,13 @@ let pt = (() => {
|
|
|
121
112
|
const s = t.target.assignedNodes();
|
|
122
113
|
if (s.some((a) => a.nodeType === Node.TEXT_NODE)) {
|
|
123
114
|
const a = document.createElement("span");
|
|
124
|
-
this.
|
|
115
|
+
this.prepend(a), a.append(...s);
|
|
125
116
|
}
|
|
126
117
|
}
|
|
127
118
|
_onActionSlotChange(t) {
|
|
128
119
|
const s = t.target.assignedNodes();
|
|
129
120
|
s.filter((l) => l.nodeName === "SBB-TRANSPARENT-BUTTON" || l.nodeName === "SBB-TRANSPARENT-BUTTON-LINK").forEach((l) => {
|
|
130
|
-
l.negative = !0, l.size =
|
|
121
|
+
l.negative = !0, l.size = M() ? "s" : "m";
|
|
131
122
|
}), s.filter((l) => ["SBB-LINK", "SBB-LINK-BUTTON", "SBB-LINK-STATIC"].includes(l.nodeName)).forEach((l) => {
|
|
132
123
|
l.negative = !0;
|
|
133
124
|
});
|
|
@@ -148,16 +139,10 @@ let pt = (() => {
|
|
|
148
139
|
render() {
|
|
149
140
|
return L`
|
|
150
141
|
<div class="sbb-toast__overlay-container">
|
|
151
|
-
|
|
152
|
-
""}
|
|
153
|
-
<div
|
|
154
|
-
class="sbb-toast"
|
|
155
|
-
role=${this._role ?? D}
|
|
156
|
-
@animationend=${this._onToastAnimationEnd}
|
|
157
|
-
>
|
|
142
|
+
<div class="sbb-toast" @animationend=${this._onToastAnimationEnd}>
|
|
158
143
|
<div class="sbb-toast__icon">${this.renderIconSlot()}</div>
|
|
159
144
|
|
|
160
|
-
<div class="sbb-toast__content"
|
|
145
|
+
<div class="sbb-toast__content">
|
|
161
146
|
<slot @slotchange=${this._onContentSlotChange}></slot>
|
|
162
147
|
</div>
|
|
163
148
|
|
|
@@ -170,7 +155,7 @@ let pt = (() => {
|
|
|
170
155
|
size="m"
|
|
171
156
|
aria-label=${q[this._language.current]}
|
|
172
157
|
sbb-toast-close
|
|
173
|
-
></sbb-transparent-button>` :
|
|
158
|
+
></sbb-transparent-button>` : R}
|
|
174
159
|
</slot>
|
|
175
160
|
</div>
|
|
176
161
|
</div>
|
|
@@ -179,7 +164,7 @@ let pt = (() => {
|
|
|
179
164
|
}
|
|
180
165
|
}, d = new WeakMap(), m = new WeakMap(), p = new WeakMap(), h = new WeakMap(), r = n, (() => {
|
|
181
166
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(x[Symbol.metadata] ?? null) : void 0;
|
|
182
|
-
y = [
|
|
167
|
+
y = [$(), _({ type: Number })], z = [_({ reflect: !0 })], C = [$(), _({ type: Boolean, reflect: !0 })], B = [_()], g(n, null, y, { kind: "accessor", name: "timeout", static: !1, private: !1, access: { has: (s) => "timeout" in s, get: (s) => s.timeout, set: (s, a) => {
|
|
183
168
|
s.timeout = a;
|
|
184
169
|
} }, metadata: t }, k, T), g(n, null, z, { kind: "accessor", name: "position", static: !1, private: !1, access: { has: (s) => "position" in s, get: (s) => s.position, set: (s, a) => {
|
|
185
170
|
s.position = a;
|
|
@@ -187,9 +172,9 @@ let pt = (() => {
|
|
|
187
172
|
s.dismissible = a;
|
|
188
173
|
} }, metadata: t }, A, E), g(n, null, B, { kind: "accessor", name: "politeness", static: !1, private: !1, access: { has: (s) => "politeness" in s, get: (s) => s.politeness, set: (s, a) => {
|
|
189
174
|
s.politeness = a;
|
|
190
|
-
} }, metadata: t },
|
|
191
|
-
})(), n.styles =
|
|
175
|
+
} }, metadata: t }, w, O), g(null, o = { value: r }, i, { kind: "class", name: r.name, metadata: t }, null, e), r = o.value, t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
176
|
+
})(), n.styles = J, c(r, e), r;
|
|
192
177
|
})();
|
|
193
178
|
export {
|
|
194
|
-
|
|
179
|
+
mt as SbbToastElement
|
|
195
180
|
};
|
|
@@ -32,7 +32,6 @@ export declare class SbbToggleElement extends SbbToggleElement_base {
|
|
|
32
32
|
private _value;
|
|
33
33
|
/** The child instances of sbb-toggle-option as an array. */
|
|
34
34
|
get options(): SbbToggleOptionElement[];
|
|
35
|
-
private _loaded;
|
|
36
35
|
/** Emits whenever the toggle value changes. */
|
|
37
36
|
private _change;
|
|
38
37
|
constructor();
|
|
@@ -49,10 +48,7 @@ export declare class SbbToggleElement extends SbbToggleElement_base {
|
|
|
49
48
|
*/
|
|
50
49
|
formResetCallback(): void;
|
|
51
50
|
formStateRestoreCallback(state: FormRestoreState | null, _reason: FormRestoreReason): void;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Will be made 'private' in the next major version
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
51
|
+
/** @internal */
|
|
56
52
|
updatePillPosition(resizing?: boolean): void;
|
|
57
53
|
protected updateFormValue(): void;
|
|
58
54
|
private _updateToggle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/toggle/toggle/toggle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAOb,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAGtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;;AAIlE;;;;;GAKG;AACH,qBAEM,gBAAiB,SAAQ,qBAAoD;IACjF,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX;;;OAGG;IACH,SAEgB,IAAI,EAAE,OAAO,CAAS;IAEtC;;;OAGG;IACH,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAwB;IAEpF;;;OAGG;IACH,IACoB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAM7C;IACD,IAAoB,KAAK,IAAI,MAAM,CAIlC;IACD,OAAO,CAAC,MAAM,CAAuB;IAErC,4DAA4D;IAC5D,IAAW,OAAO,IAAI,sBAAsB,EAAE,CAE7C;IAED
|
|
1
|
+
{"version":3,"file":"toggle.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/toggle/toggle/toggle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAOb,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAGtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;;AAIlE;;;;;GAKG;AACH,qBAEM,gBAAiB,SAAQ,qBAAoD;IACjF,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX;;;OAGG;IACH,SAEgB,IAAI,EAAE,OAAO,CAAS;IAEtC;;;OAGG;IACH,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAwB;IAEpF;;;OAGG;IACH,IACoB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAM7C;IACD,IAAoB,KAAK,IAAI,MAAM,CAIlC;IACD,OAAO,CAAC,MAAM,CAAuB;IAErC,4DAA4D;IAC5D,IAAW,OAAO,IAAI,sBAAsB,EAAE,CAE7C;IAED,+CAA+C;IAC/C,OAAO,CAAC,OAAO,CAGZ;;IAWa,iBAAiB,IAAI,IAAI;cAKtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,GAAG,IAAI;cAO7C,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7F;;;OAGG;IACI,aAAa,IAAI,IAAI;IAK5B;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAIzB,wBAAwB,CAC7B,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAC9B,OAAO,EAAE,iBAAiB,GACzB,IAAI;IAIP,gBAAgB;IACT,kBAAkB,CAAC,QAAQ,UAAQ,GAAG,IAAI;IAqCjD,SAAS,CAAC,eAAe,IAAI,IAAI;IAIjC,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,eAAe;IAMvB;;OAEG;IACH,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,cAAc;cA6BH,MAAM,IAAI,cAAc;CAO5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,YAAY,EAAE,gBAAgB,CAAC;KAChC;CACF"}
|