@sbb-esta/lyne-elements-dev 5.0.2-dev.1782007457 → 5.0.2-dev.1782125911
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/development/core.js
CHANGED
|
@@ -3228,7 +3228,7 @@ var SbbIdReferenceController = class {
|
|
|
3228
3228
|
const observerContext = this._observers.get(this._rootNode);
|
|
3229
3229
|
if (observerContext) observerContext.controllers.add(this);
|
|
3230
3230
|
else {
|
|
3231
|
-
const controllers = new Set([this]);
|
|
3231
|
+
const controllers = /* @__PURE__ */ new Set([this]);
|
|
3232
3232
|
const observer = new MutationObserver((mutations) => {
|
|
3233
3233
|
const mutatedIds = /* @__PURE__ */ new Set();
|
|
3234
3234
|
for (const mutation of mutations) if (mutation.type === "attributes") {
|
|
@@ -3437,7 +3437,7 @@ var SbbMediaMatcherController = class {
|
|
|
3437
3437
|
if (mediaQuery) mediaQuery.handlers.add(handler);
|
|
3438
3438
|
else {
|
|
3439
3439
|
const mediaQueryList = matchMedia(query);
|
|
3440
|
-
const handlers = new Set([handler]);
|
|
3440
|
+
const handlers = /* @__PURE__ */ new Set([handler]);
|
|
3441
3441
|
const eventHandler = (e) => handlers.forEach((h) => h(e.matches));
|
|
3442
3442
|
mediaQueryList.addEventListener("change", eventHandler);
|
|
3443
3443
|
mediaQueryRegistry.set(query, {
|
|
@@ -4366,7 +4366,7 @@ const idReference = () => {
|
|
|
4366
4366
|
const observerContext = observers.get(this.rootNode);
|
|
4367
4367
|
if (observerContext) observerContext.controllers.add(this);
|
|
4368
4368
|
else {
|
|
4369
|
-
const controllers = new Set([this]);
|
|
4369
|
+
const controllers = /* @__PURE__ */ new Set([this]);
|
|
4370
4370
|
const observer = new MutationObserver((mutations) => {
|
|
4371
4371
|
const mutatedIds = /* @__PURE__ */ new Set();
|
|
4372
4372
|
for (const mutation of mutations) if (mutation.type === "attributes") {
|
|
@@ -12,7 +12,7 @@ var notification_default = ":host {\n --sbb-notification-border: var(--sbb-noti
|
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/elements/notification/notification.component.ts
|
|
15
|
-
const notificationTypes = new Map([
|
|
15
|
+
const notificationTypes = /* @__PURE__ */ new Map([
|
|
16
16
|
["info", "circle-information-small"],
|
|
17
17
|
["note", "circle-information-small"],
|
|
18
18
|
["success", "circle-tick-small"],
|
|
@@ -91,7 +91,7 @@ let SbbStatusElement = (() => {
|
|
|
91
91
|
}
|
|
92
92
|
constructor() {
|
|
93
93
|
super(...arguments);
|
|
94
|
-
this._statusTypes = new Map([
|
|
94
|
+
this._statusTypes = /* @__PURE__ */ new Map([
|
|
95
95
|
["info", "circle-information-small"],
|
|
96
96
|
["success", "circle-tick-small"],
|
|
97
97
|
["warning", "circle-exclamation-point-small"],
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.0.2-dev.
|
|
3
|
+
"version": "5.0.2-dev.1782125911",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/cc59fd4dc99e9b4b3e2789dfff0918ae5069c050"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|