@maggioli-design-system/mds-push-notification 2.4.0 → 3.0.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.
Files changed (59) hide show
  1. package/dist/cjs/{index-2739a668.js → index-6d7dbb0d.js} +28 -2
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-push-notification.cjs.entry.js +17 -6
  4. package/dist/cjs/mds-push-notification.cjs.js +2 -2
  5. package/dist/collection/common/browser.js +7 -0
  6. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -4
  7. package/dist/collection/components/mds-push-notification/mds-push-notification.js +22 -8
  8. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +12 -4
  9. package/dist/components/mds-push-notification.js +19 -6
  10. package/dist/documentation.json +10 -7
  11. package/dist/esm/{index-38c987c4.js → index-097e7d35.js} +28 -2
  12. package/dist/esm/loader.js +3 -3
  13. package/dist/esm/mds-push-notification.entry.js +17 -6
  14. package/dist/esm/mds-push-notification.js +3 -3
  15. package/dist/esm-es5/index-097e7d35.js +1 -0
  16. package/dist/esm-es5/loader.js +1 -1
  17. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  18. package/dist/esm-es5/mds-push-notification.js +1 -1
  19. package/dist/mds-push-notification/mds-push-notification.esm.js +1 -1
  20. package/dist/mds-push-notification/mds-push-notification.js +1 -1
  21. package/dist/mds-push-notification/p-1041e719.system.js +1 -0
  22. package/dist/mds-push-notification/p-14a35146.system.js +2 -0
  23. package/dist/mds-push-notification/p-440f71ab.entry.js +6 -0
  24. package/dist/mds-push-notification/{p-a41d6818.system.entry.js → p-c3d85a16.system.entry.js} +2 -2
  25. package/dist/mds-push-notification/{p-a3768283.js → p-f48a9d49.js} +2 -2
  26. package/dist/stats.json +50 -43
  27. package/dist/types/common/browser.d.ts +2 -0
  28. package/dist/types/common/locale.d.ts +1 -1
  29. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -2
  30. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +1 -0
  31. package/dist/types/components.d.ts +1 -1
  32. package/documentation.json +10 -7
  33. package/package.json +3 -3
  34. package/readme.md +5 -5
  35. package/src/common/browser.ts +10 -0
  36. package/src/common/locale.ts +2 -2
  37. package/src/components/mds-push-notification/mds-push-notification.css +3 -4
  38. package/src/components/mds-push-notification/mds-push-notification.tsx +17 -6
  39. package/src/components/mds-push-notification/readme.md +5 -5
  40. package/src/components/mds-push-notification/test/mds-push-notification.e2e.ts +15 -0
  41. package/src/components/mds-push-notification/test/mds-push-notification.stories.tsx +14 -5
  42. package/src/components.d.ts +1 -1
  43. package/src/fixtures/icons.json +2 -0
  44. package/src/fixtures/iconsauce.json +1 -0
  45. package/www/build/mds-push-notification.esm.js +1 -1
  46. package/www/build/mds-push-notification.js +1 -1
  47. package/www/build/p-1041e719.system.js +1 -0
  48. package/www/build/p-14a35146.system.js +2 -0
  49. package/www/build/p-440f71ab.entry.js +6 -0
  50. package/www/build/{p-a41d6818.system.entry.js → p-c3d85a16.system.entry.js} +2 -2
  51. package/www/build/{p-a3768283.js → p-f48a9d49.js} +2 -2
  52. package/dist/esm-es5/index-38c987c4.js +0 -1
  53. package/dist/mds-push-notification/p-3ff83b9f.system.js +0 -1
  54. package/dist/mds-push-notification/p-63f2820b.entry.js +0 -6
  55. package/dist/mds-push-notification/p-a5939fb7.system.js +0 -2
  56. package/src/components/mds-push-notification/test/mds-push-notification.spec.tsx +0 -27
  57. package/www/build/p-3ff83b9f.system.js +0 -1
  58. package/www/build/p-63f2820b.entry.js +0 -6
  59. package/www/build/p-a5939fb7.system.js +0 -2
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'mds-push-notification';
24
- const BUILD = /* mds-push-notification */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* mds-push-notification */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
@@ -932,6 +932,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
932
932
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
933
933
  );
934
934
  }
935
+ const elm = hostRef.$hostElement$ ;
935
936
  const oldVal = hostRef.$instanceValues$.get(propName);
936
937
  const flags = hostRef.$flags$;
937
938
  const instance = hostRef.$lazyInstance$ ;
@@ -941,6 +942,18 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
941
942
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
942
943
  hostRef.$instanceValues$.set(propName, newVal);
943
944
  if (instance) {
945
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
946
+ const watchMethods = cmpMeta.$watchers$[propName];
947
+ if (watchMethods) {
948
+ watchMethods.map((watchMethodName) => {
949
+ try {
950
+ instance[watchMethodName](newVal, oldVal, propName);
951
+ } catch (e) {
952
+ consoleError(e, elm);
953
+ }
954
+ });
955
+ }
956
+ }
944
957
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
945
958
  if (instance.componentShouldUpdate) {
946
959
  if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
@@ -957,7 +970,10 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
957
970
  var proxyComponent = (Cstr, cmpMeta, flags) => {
958
971
  var _a, _b;
959
972
  const prototype = Cstr.prototype;
960
- if (cmpMeta.$members$ || BUILD.watchCallback ) {
973
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
974
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
975
+ cmpMeta.$watchers$ = Cstr.watchers;
976
+ }
961
977
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
962
978
  members.map(([memberName, [memberFlags]]) => {
963
979
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1108,6 +1124,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1108
1124
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1109
1125
  }
1110
1126
  if (!Cstr.isProxied) {
1127
+ {
1128
+ cmpMeta.$watchers$ = Cstr.watchers;
1129
+ }
1111
1130
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1112
1131
  Cstr.isProxied = true;
1113
1132
  }
@@ -1123,6 +1142,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1123
1142
  {
1124
1143
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1125
1144
  }
1145
+ {
1146
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1147
+ }
1126
1148
  endNewInstance();
1127
1149
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
1128
1150
  } else {
@@ -1240,6 +1262,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1240
1262
  let hasSlotRelocation = false;
1241
1263
  lazyBundles.map((lazyBundle) => {
1242
1264
  lazyBundle[1].map((compactMeta) => {
1265
+ var _a2;
1243
1266
  const cmpMeta = {
1244
1267
  $flags$: compactMeta[0],
1245
1268
  $tagName$: compactMeta[1],
@@ -1255,6 +1278,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1255
1278
  {
1256
1279
  cmpMeta.$attrsToReflect$ = [];
1257
1280
  }
1281
+ {
1282
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1283
+ }
1258
1284
  const tagName = cmpMeta.$tagName$;
1259
1285
  const HostElement = class extends HTMLElement {
1260
1286
  // StencilLazyHost
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2739a668.js');
5
+ const index = require('./index-6d7dbb0d.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["mds-push-notification.cjs",[[1,"mds-push-notification",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[516],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"language":[32],"updateLang":[64]}]]]], options);
11
+ return index.bootstrapLazy([["mds-push-notification.cjs",[[1,"mds-push-notification",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[1540],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"language":[32],"updateLang":[64]},null,{"deletable":["handleDeletableChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2739a668.js');
5
+ const index = require('./index-6d7dbb0d.js');
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -1001,7 +1001,7 @@ const sanitizeISO8601Date = (dateString) => {
1001
1001
  return new Date(dateString).toISOString();
1002
1002
  };
1003
1003
 
1004
- const mdsPushNotificationCss = "@tailwind components; :host{--mds-push-notification-duration:200ms;--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--tone-neutral-04));--mds-push-notification-message-line-clamp:2;--mds-push-notification-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--mds-push-notification-subject-line-clamp:1;--mds-push-notification-timing-function:cubic-bezier(1, 0, 0, 1);min-width:18rem;max-width:20rem;gap:1rem;border-radius:0.5rem;padding:1rem;padding-right:2rem;-ms-flex-align:start;align-items:flex-start;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:var(--mds-push-notification-shadow);box-shadow:var(--mds-push-notification-shadow);color:rgb(var(--tone-neutral-02));display:-ms-flexbox;display:flex;pointer-events:auto;position:relative;-webkit-transition-duration:var(--mds-push-notification-duration);transition-duration:var(--mds-push-notification-duration);-webkit-transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, box-shadow, color, margin, transform;transition-property:background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:var(--mds-push-notification-timing-function);transition-timing-function:var(--mds-push-notification-timing-function)}:host([deletable=\"false\"]){padding-right:1rem}.content{display:grid;-ms-flex-positive:1;flex-grow:1}.actions{gap:0.5rem;padding-top:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:1px}.avatar,.picture{-ms-flex-negative:0;flex-shrink:0}.picture{max-width:3rem;border-radius:0.25rem;-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);width:100%}.close-button{padding:0.375rem;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:transparent;fill:rgb(var(--tone-neutral-06));opacity:0;position:absolute;right:0;top:0}:host-context(:not(.safari)):host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--tone-neutral-03));opacity:1}.header{gap:0.25rem;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time{margin-right:0.25rem;-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-subject-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-message-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.avatar{height:2.25rem;width:2.25rem;background-color:var(--mds-push-notification-icon-background-color);border-radius:1000px;fill:var(--mds-push-notification-icon-color)}.avatar::part(svg){width:1.5rem}:host([src]) .avatar{background-color:transparent}:host([icon]) .avatar::part(wrapper){padding:0.375rem}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}}:host([variant=\"primary\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-05));--mds-push-notification-icon-color:rgb(var(--variant-primary-10))}:host([variant=\"primary\"]),:host([variant=\"primary\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-09));--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"primary\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"orange\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-05));--mds-push-notification-icon-color:rgb(var(--label-orange-10))}:host([variant=\"orange\"]),:host([variant=\"orange\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-09));--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"orange\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"amaranth\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-05));--mds-push-notification-icon-color:rgb(var(--label-amaranth-10))}:host([variant=\"amaranth\"]),:host([variant=\"amaranth\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-09));--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"amaranth\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"orchid\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-05));--mds-push-notification-icon-color:rgb(var(--label-orchid-10))}:host([variant=\"orchid\"]),:host([variant=\"orchid\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-09));--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"orchid\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"violet\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-05));--mds-push-notification-icon-color:rgb(var(--label-violet-10))}:host([variant=\"violet\"]),:host([variant=\"violet\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-09));--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"violet\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"blue\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-05));--mds-push-notification-icon-color:rgb(var(--label-blue-10))}:host([variant=\"blue\"]),:host([variant=\"blue\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-09));--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"blue\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"sky\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-05));--mds-push-notification-icon-color:rgb(var(--label-sky-10))}:host([variant=\"sky\"]),:host([variant=\"sky\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-09));--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"sky\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"aqua\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-05));--mds-push-notification-icon-color:rgb(var(--label-aqua-10))}:host([variant=\"aqua\"]),:host([variant=\"aqua\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-09));--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"aqua\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"green\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-05));--mds-push-notification-icon-color:rgb(var(--label-green-10))}:host([variant=\"green\"]),:host([variant=\"green\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-09));--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"green\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"lime\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-05));--mds-push-notification-icon-color:rgb(var(--label-lime-10))}:host([variant=\"lime\"]),:host([variant=\"lime\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-09));--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"lime\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"yellow\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-05));--mds-push-notification-icon-color:rgb(var(--label-yellow-10))}:host([variant=\"yellow\"]),:host([variant=\"yellow\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-09));--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"yellow\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"error\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-05));--mds-push-notification-icon-color:rgb(var(--status-error-10))}:host([variant=\"error\"]),:host([variant=\"error\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-09));--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"error\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"warning\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-05));--mds-push-notification-icon-color:rgb(var(--status-warning-10))}:host([variant=\"warning\"]),:host([variant=\"warning\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-09));--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"warning\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"success\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-05));--mds-push-notification-icon-color:rgb(var(--status-success-10))}:host([variant=\"success\"]),:host([variant=\"success\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-09));--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"success\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"info\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-05));--mds-push-notification-icon-color:rgb(var(--status-info-10))}:host([variant=\"info\"]),:host([variant=\"info\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-09));--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host([variant=\"info\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
1004
+ const mdsPushNotificationCss = "@tailwind components; :host{--mds-push-notification-duration:200ms;--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--tone-neutral-04));--mds-push-notification-message-line-clamp:2;--mds-push-notification-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--mds-push-notification-subject-line-clamp:1;--mds-push-notification-timing-function:cubic-bezier(1, 0, 0, 1);min-width:18rem;max-width:20rem;gap:1rem;border-radius:0.5rem;padding:1rem;-ms-flex-align:start;align-items:flex-start;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:var(--mds-push-notification-shadow);box-shadow:var(--mds-push-notification-shadow);color:rgb(var(--tone-neutral-02));display:-ms-flexbox;display:flex;pointer-events:auto;position:relative;-webkit-transition-duration:var(--mds-push-notification-duration);transition-duration:var(--mds-push-notification-duration);-webkit-transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, box-shadow, color, margin, transform;transition-property:background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:var(--mds-push-notification-timing-function);transition-timing-function:var(--mds-push-notification-timing-function)}:host([deletable]){padding-right:2rem}.content{display:grid;-ms-flex-positive:1;flex-grow:1}.actions{gap:0.5rem;padding-top:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:1px}.avatar,.picture{-ms-flex-negative:0;flex-shrink:0}.picture{max-width:3rem;border-radius:0.25rem;-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);width:100%}.close-button{padding:0.375rem;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:transparent;fill:rgb(var(--tone-neutral-06));opacity:0;position:absolute;right:0;top:0}:host-context(:not(.safari)):host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--tone-neutral-03));opacity:1}.header{gap:0.25rem;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time{margin-right:0.25rem;-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-subject-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-message-line-clamp);line-height:1.5rem;text-overflow:ellipsis}.avatar{height:2.25rem;width:2.25rem;background-color:var(--mds-push-notification-icon-background-color);border-radius:1000px;fill:var(--mds-push-notification-icon-color)}.avatar::part(svg){width:1.5rem}:host([src]) .avatar{background-color:transparent}:host([icon]) .avatar::part(wrapper){padding:0.375rem}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}}:host([variant=\"primary\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-05));--mds-push-notification-icon-color:rgb(var(--variant-primary-10))}:host([variant=\"primary\"]),:host([variant=\"primary\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-09));--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"primary\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"orange\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-05));--mds-push-notification-icon-color:rgb(var(--label-orange-10))}:host([variant=\"orange\"]),:host([variant=\"orange\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-09));--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"orange\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"amaranth\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-05));--mds-push-notification-icon-color:rgb(var(--label-amaranth-10))}:host([variant=\"amaranth\"]),:host([variant=\"amaranth\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-09));--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"amaranth\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"orchid\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-05));--mds-push-notification-icon-color:rgb(var(--label-orchid-10))}:host([variant=\"orchid\"]),:host([variant=\"orchid\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-09));--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"orchid\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"violet\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-05));--mds-push-notification-icon-color:rgb(var(--label-violet-10))}:host([variant=\"violet\"]),:host([variant=\"violet\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-09));--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"violet\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"blue\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-05));--mds-push-notification-icon-color:rgb(var(--label-blue-10))}:host([variant=\"blue\"]),:host([variant=\"blue\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-09));--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"blue\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"sky\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-05));--mds-push-notification-icon-color:rgb(var(--label-sky-10))}:host([variant=\"sky\"]),:host([variant=\"sky\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-09));--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"sky\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"aqua\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-05));--mds-push-notification-icon-color:rgb(var(--label-aqua-10))}:host([variant=\"aqua\"]),:host([variant=\"aqua\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-09));--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"aqua\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"green\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-05));--mds-push-notification-icon-color:rgb(var(--label-green-10))}:host([variant=\"green\"]),:host([variant=\"green\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-09));--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"green\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"lime\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-05));--mds-push-notification-icon-color:rgb(var(--label-lime-10))}:host([variant=\"lime\"]),:host([variant=\"lime\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-09));--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"lime\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"yellow\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-05));--mds-push-notification-icon-color:rgb(var(--label-yellow-10))}:host([variant=\"yellow\"]),:host([variant=\"yellow\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-09));--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"yellow\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"error\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-05));--mds-push-notification-icon-color:rgb(var(--status-error-10))}:host([variant=\"error\"]),:host([variant=\"error\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-09));--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"error\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"warning\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-05));--mds-push-notification-icon-color:rgb(var(--status-warning-10))}:host([variant=\"warning\"]),:host([variant=\"warning\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-09));--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"warning\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"success\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-05));--mds-push-notification-icon-color:rgb(var(--status-success-10))}:host([variant=\"success\"]),:host([variant=\"success\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-09));--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"success\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"info\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-05));--mds-push-notification-icon-color:rgb(var(--status-info-10))}:host([variant=\"info\"]),:host([variant=\"info\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-09));--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host([variant=\"info\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
1005
1005
  const MdsPushNotificationStyle0 = mdsPushNotificationCss;
1006
1006
 
1007
1007
  dayjs.extend(relativeTime);
@@ -1043,10 +1043,13 @@ const MdsPushNotification = class {
1043
1043
  async updateLang() {
1044
1044
  this.language = this.t.lang(this.host);
1045
1045
  }
1046
+ componentDidLoad() {
1047
+ this.handleDeletableChange(this.deletable);
1048
+ }
1046
1049
  componentWillLoad() {
1047
1050
  var _a;
1048
- this.hasActions = this.host.querySelector('[slot="actions"]') !== null;
1049
- this.hasBadge = this.host.querySelector('[slot="badge"]') !== null;
1051
+ this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
1052
+ this.hasBadge = this.host.querySelector(':scope > [slot="badge"]') !== null;
1050
1053
  if (this.datetime) {
1051
1054
  this.datetime = sanitizeISO8601Date((_a = this.datetime) === null || _a === void 0 ? void 0 : _a.toString());
1052
1055
  }
@@ -1068,13 +1071,21 @@ const MdsPushNotification = class {
1068
1071
  };
1069
1072
  dayjs.locale('custom-locale', { relativeTime: relativeTimeCustom });
1070
1073
  }
1074
+ handleDeletableChange(newValue) {
1075
+ if (newValue === false) {
1076
+ this.deletable = undefined;
1077
+ }
1078
+ }
1071
1079
  render() {
1072
1080
  var _a;
1073
- return (index.h(index.Host, { key: 'ca899101a9c26450da9eb84acfe90b3114ca4231' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && index.h("mds-avatar", { key: '2440255e356dc29ac4ff3043f8f1dea40db036cc', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && index.h("mds-img", { key: '09641cbadb6b8ce0d93d99fa0b4cc271e264cd8b', class: "picture", part: "picture", src: this.src }), index.h("div", { key: '161f883ef9e1f0deaee84cd421d3a776ea86d336', class: "content", part: "content" }, index.h("div", { key: 'b61782b62a16064d841e546489eabd8ee2aa1f21', class: "header" }, index.h("div", { key: '02463af834b5c7f98a38dc6defc1c55ce01930bd', class: "infos" }, this.hasBadge && index.h("div", { key: 'a3f13e3d63edc69705f11d082b875811cfcc7aab' }, index.h("slot", { key: '4d9700269231a39130483c4c62e169051c82c863', name: "badge" })), this.subject && index.h("mds-text", { key: 'dc4550b30b02fd37a097db6ea2ed1076ea7794bd', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && index.h("mds-text", { key: '6b2b852330706a607c4c9dfb1178f98218a2ac6b', class: "time", typography: "option" }, this.dateFormat === 'timeago'
1081
+ return (index.h(index.Host, { key: 'd457cdedbda84cf2e68fff22422023a34ab80faf' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && index.h("mds-avatar", { key: 'fbd9dded7a4ac12d1ea72cd70dbafc22085d37cb', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && index.h("mds-img", { key: '5459266753d669c80e2663de332451f183fe9242', class: "picture", part: "picture", src: this.src }), index.h("div", { key: '233a9a3176f289b3aba613916d998f58fda1ec84', class: "content", part: "content" }, index.h("div", { key: '92556ae91182af510ad332c98d82123e30573daa', class: "header" }, index.h("div", { key: '9fc24a4233e50d2281927b87875be905090d71de', class: "infos" }, this.hasBadge && index.h("div", { key: '3674329deb95c0b65faa577b354aae9b04682b52' }, index.h("slot", { key: '42cfb165af39c4121256d7d6c79fa21d5b97a7e3', name: "badge" })), this.subject && index.h("mds-text", { key: 'fb23fd86fde9d03f5d25814eab3f1d718b88be49', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && index.h("mds-text", { key: '66f7852e8c52d48f240e7831a12c567031ee9627', class: "time", typography: "option" }, this.dateFormat === 'timeago'
1074
1082
  ? dayjs(this.datetime).fromNow()
1075
- : dayjs(this.datetime).format(this.dateFormat))), index.h("mds-text", { key: 'dc624ccb1feb0fcaed8d25a672312930f2a4812d', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && index.h("div", { key: 'ff8cdd1a38b50041ebf11314c7fe3ad17d1b5d7f', class: "actions", part: "actions" }, index.h("slot", { key: '3932ede2f98b5a97300c9536d5e4cf9bf82c5836', name: "actions" }))), this.deletable && index.h("mds-button", { key: '3be9139ed74f8a9a0425c01cc6ceff541771057b', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
1083
+ : dayjs(this.datetime).format(this.dateFormat))), index.h("mds-text", { key: '5090ff688280d2942ace3f40a515fc6cc37ef2e3', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && index.h("div", { key: 'efe125e92b351edfd169c1f2e54cb1a875fe1a38', class: "actions", part: "actions" }, index.h("slot", { key: '11f9ede3e7b968bd0c8c46a03065a5a6d2b67254', name: "action" }))), this.deletable && index.h("mds-button", { key: 'dd050d177d0a8537a703627aca6ba77d92329478', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
1076
1084
  }
1077
1085
  get host() { return index.getElement(this); }
1086
+ static get watchers() { return {
1087
+ "deletable": ["handleDeletableChange"]
1088
+ }; }
1078
1089
  };
1079
1090
  MdsPushNotification.style = MdsPushNotificationStyle0;
1080
1091
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2739a668.js');
5
+ const index = require('./index-6d7dbb0d.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["mds-push-notification.cjs",[[1,"mds-push-notification",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[516],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"language":[32],"updateLang":[64]}]]]], options);
22
+ return index.bootstrapLazy([["mds-push-notification.cjs",[[1,"mds-push-notification",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[1540],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"language":[32],"updateLang":[64]},null,{"deletable":["handleDeletableChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -0,0 +1,7 @@
1
+ const isSafari = () => {
2
+ if (navigator) {
3
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
4
+ }
5
+ return false;
6
+ };
7
+ export { isSafari, };
@@ -13,7 +13,6 @@
13
13
  gap: 1rem;
14
14
  border-radius: 0.5rem;
15
15
  padding: 1rem;
16
- padding-right: 2rem;
17
16
 
18
17
  align-items: flex-start;
19
18
  background-color: rgb(var(--tone-neutral));
@@ -27,8 +26,8 @@
27
26
  transition-timing-function: var(--mds-push-notification-timing-function);
28
27
  }
29
28
 
30
- :host([deletable="false"]){
31
- padding-right: 1rem;
29
+ :host([deletable]){
30
+ padding-right: 2rem;
32
31
  }
33
32
 
34
33
  .content {
@@ -115,7 +114,7 @@
115
114
  .message {
116
115
  --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);
117
116
 
118
- line-height: 1.25rem;
117
+ line-height: 1.5rem;
119
118
  text-overflow: ellipsis;
120
119
  }
121
120
 
@@ -14,7 +14,7 @@ dayjs.extend(relativeTime);
14
14
  * @part content - The content wrapper of the message
15
15
  * @part icon - The icon set by `icon` attribute
16
16
  * @part picture - The picture image added by `src` attribute
17
- * @slot actions - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element.
17
+ * @slot action - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element.
18
18
  * @slot badge - Add `HTML elements` or `components`, it is **recommended** to use `mds-badge` element.
19
19
  */
20
20
  export class MdsPushNotification {
@@ -53,10 +53,13 @@ export class MdsPushNotification {
53
53
  async updateLang() {
54
54
  this.language = this.t.lang(this.host);
55
55
  }
56
+ componentDidLoad() {
57
+ this.handleDeletableChange(this.deletable);
58
+ }
56
59
  componentWillLoad() {
57
60
  var _a;
58
- this.hasActions = this.host.querySelector('[slot="actions"]') !== null;
59
- this.hasBadge = this.host.querySelector('[slot="badge"]') !== null;
61
+ this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
62
+ this.hasBadge = this.host.querySelector(':scope > [slot="badge"]') !== null;
60
63
  if (this.datetime) {
61
64
  this.datetime = sanitizeISO8601Date((_a = this.datetime) === null || _a === void 0 ? void 0 : _a.toString());
62
65
  }
@@ -78,11 +81,16 @@ export class MdsPushNotification {
78
81
  };
79
82
  dayjs.locale('custom-locale', { relativeTime: relativeTimeCustom });
80
83
  }
84
+ handleDeletableChange(newValue) {
85
+ if (newValue === false) {
86
+ this.deletable = undefined;
87
+ }
88
+ }
81
89
  render() {
82
90
  var _a;
83
- return (h(Host, { key: 'ca899101a9c26450da9eb84acfe90b3114ca4231' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h("mds-avatar", { key: '2440255e356dc29ac4ff3043f8f1dea40db036cc', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h("mds-img", { key: '09641cbadb6b8ce0d93d99fa0b4cc271e264cd8b', class: "picture", part: "picture", src: this.src }), h("div", { key: '161f883ef9e1f0deaee84cd421d3a776ea86d336', class: "content", part: "content" }, h("div", { key: 'b61782b62a16064d841e546489eabd8ee2aa1f21', class: "header" }, h("div", { key: '02463af834b5c7f98a38dc6defc1c55ce01930bd', class: "infos" }, this.hasBadge && h("div", { key: 'a3f13e3d63edc69705f11d082b875811cfcc7aab' }, h("slot", { key: '4d9700269231a39130483c4c62e169051c82c863', name: "badge" })), this.subject && h("mds-text", { key: 'dc4550b30b02fd37a097db6ea2ed1076ea7794bd', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h("mds-text", { key: '6b2b852330706a607c4c9dfb1178f98218a2ac6b', class: "time", typography: "option" }, this.dateFormat === 'timeago'
91
+ return (h(Host, { key: 'd457cdedbda84cf2e68fff22422023a34ab80faf' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h("mds-avatar", { key: 'fbd9dded7a4ac12d1ea72cd70dbafc22085d37cb', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h("mds-img", { key: '5459266753d669c80e2663de332451f183fe9242', class: "picture", part: "picture", src: this.src }), h("div", { key: '233a9a3176f289b3aba613916d998f58fda1ec84', class: "content", part: "content" }, h("div", { key: '92556ae91182af510ad332c98d82123e30573daa', class: "header" }, h("div", { key: '9fc24a4233e50d2281927b87875be905090d71de', class: "infos" }, this.hasBadge && h("div", { key: '3674329deb95c0b65faa577b354aae9b04682b52' }, h("slot", { key: '42cfb165af39c4121256d7d6c79fa21d5b97a7e3', name: "badge" })), this.subject && h("mds-text", { key: 'fb23fd86fde9d03f5d25814eab3f1d718b88be49', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h("mds-text", { key: '66f7852e8c52d48f240e7831a12c567031ee9627', class: "time", typography: "option" }, this.dateFormat === 'timeago'
84
92
  ? dayjs(this.datetime).fromNow()
85
- : dayjs(this.datetime).format(this.dateFormat))), h("mds-text", { key: 'dc624ccb1feb0fcaed8d25a672312930f2a4812d', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h("div", { key: 'ff8cdd1a38b50041ebf11314c7fe3ad17d1b5d7f', class: "actions", part: "actions" }, h("slot", { key: '3932ede2f98b5a97300c9536d5e4cf9bf82c5836', name: "actions" }))), this.deletable && h("mds-button", { key: '3be9139ed74f8a9a0425c01cc6ceff541771057b', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
93
+ : dayjs(this.datetime).format(this.dateFormat))), h("mds-text", { key: '5090ff688280d2942ace3f40a515fc6cc37ef2e3', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h("div", { key: 'efe125e92b351edfd169c1f2e54cb1a875fe1a38', class: "actions", part: "actions" }, h("slot", { key: '11f9ede3e7b968bd0c8c46a03065a5a6d2b67254', name: "action" }))), this.deletable && h("mds-button", { key: 'dd050d177d0a8537a703627aca6ba77d92329478', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
86
94
  }
87
95
  static get is() { return "mds-push-notification"; }
88
96
  static get encapsulation() { return "shadow"; }
@@ -145,14 +153,14 @@ export class MdsPushNotification {
145
153
  },
146
154
  "deletable": {
147
155
  "type": "boolean",
148
- "mutable": false,
156
+ "mutable": true,
149
157
  "complexType": {
150
158
  "original": "boolean",
151
- "resolved": "boolean",
159
+ "resolved": "boolean | undefined",
152
160
  "references": {}
153
161
  },
154
162
  "required": false,
155
- "optional": false,
163
+ "optional": true,
156
164
  "docs": {
157
165
  "tags": [],
158
166
  "text": "Specifies if the component is dismissable or not, it should be set to true by default is used with it's parent component `mds-push-notifications`"
@@ -389,4 +397,10 @@ export class MdsPushNotification {
389
397
  };
390
398
  }
391
399
  static get elementRef() { return "host"; }
400
+ static get watchers() {
401
+ return [{
402
+ "propName": "deletable",
403
+ "methodName": "handleDeletableChange"
404
+ }];
405
+ }
392
406
  }
@@ -69,10 +69,10 @@ export default {
69
69
  },
70
70
  };
71
71
  const Template = args => h("div", null, h("mds-push-notification", Object.assign({}, args)));
72
- const TemplateWithAction = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "actions", variant: args.variant, tone: "weak", size: "sm" }, "Show")));
73
- const TemplateWithAttachment = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "actions", tone: "ghost", size: "sm" }, "Download")));
74
- const TemplateWithAttachmentBadge = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-badge", { slot: "badge", variant: "amaranth", tone: "weak" }, "pdf"), h("mds-button", { slot: "actions", tone: "ghost", size: "sm" }, "Download")));
75
- const TemplateContact = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "actions", variant: "success", tone: "weak", size: "sm" }, "Write"), h("mds-button", { slot: "actions", variant: "error", tone: "weak", size: "sm" }, "Ignore")));
72
+ const TemplateWithAction = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "action", variant: args.variant, tone: "weak", size: "sm" }, "Show")));
73
+ const TemplateWithAttachment = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "action", tone: "ghost", size: "sm" }, "Download")));
74
+ const TemplateWithAttachmentBadge = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-badge", { slot: "badge", variant: "amaranth", tone: "weak" }, "pdf"), h("mds-button", { slot: "action", tone: "ghost", size: "sm" }, "Download")));
75
+ const TemplateContact = args => h("div", null, h("mds-push-notification", Object.assign({}, args), h("mds-button", { slot: "action", variant: "success", tone: "weak", size: "sm" }, "Write"), h("mds-button", { slot: "action", variant: "error", tone: "weak", size: "sm" }, "Ignore")));
76
76
  export const Default = Template.bind({});
77
77
  Default.args = {
78
78
  datetime: getDatetime(),
@@ -80,6 +80,14 @@ Default.args = {
80
80
  message: 'You have 3 new messages from different accounts',
81
81
  subject: 'New messages',
82
82
  };
83
+ export const Deletable = Template.bind({});
84
+ Deletable.args = {
85
+ datetime: getDatetime(),
86
+ icon: 'mi/baseline/email',
87
+ message: 'You have 3 new messages from different accounts',
88
+ subject: 'New messages',
89
+ deletable: false,
90
+ };
83
91
  export const Thumb = Template.bind({});
84
92
  Thumb.args = {
85
93
  datetime: getDatetime(),
@@ -997,7 +997,7 @@ const sanitizeISO8601Date = (dateString) => {
997
997
  return new Date(dateString).toISOString();
998
998
  };
999
999
 
1000
- const mdsPushNotificationCss = "@tailwind components; :host{--mds-push-notification-duration:200ms;--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--tone-neutral-04));--mds-push-notification-message-line-clamp:2;--mds-push-notification-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--mds-push-notification-subject-line-clamp:1;--mds-push-notification-timing-function:cubic-bezier(1, 0, 0, 1);min-width:18rem;max-width:20rem;gap:1rem;border-radius:0.5rem;padding:1rem;padding-right:2rem;-ms-flex-align:start;align-items:flex-start;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:var(--mds-push-notification-shadow);box-shadow:var(--mds-push-notification-shadow);color:rgb(var(--tone-neutral-02));display:-ms-flexbox;display:flex;pointer-events:auto;position:relative;-webkit-transition-duration:var(--mds-push-notification-duration);transition-duration:var(--mds-push-notification-duration);-webkit-transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, box-shadow, color, margin, transform;transition-property:background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:var(--mds-push-notification-timing-function);transition-timing-function:var(--mds-push-notification-timing-function)}:host([deletable=\"false\"]){padding-right:1rem}.content{display:grid;-ms-flex-positive:1;flex-grow:1}.actions{gap:0.5rem;padding-top:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:1px}.avatar,.picture{-ms-flex-negative:0;flex-shrink:0}.picture{max-width:3rem;border-radius:0.25rem;-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);width:100%}.close-button{padding:0.375rem;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:transparent;fill:rgb(var(--tone-neutral-06));opacity:0;position:absolute;right:0;top:0}:host-context(:not(.safari)):host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--tone-neutral-03));opacity:1}.header{gap:0.25rem;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time{margin-right:0.25rem;-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-subject-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-message-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.avatar{height:2.25rem;width:2.25rem;background-color:var(--mds-push-notification-icon-background-color);border-radius:1000px;fill:var(--mds-push-notification-icon-color)}.avatar::part(svg){width:1.5rem}:host([src]) .avatar{background-color:transparent}:host([icon]) .avatar::part(wrapper){padding:0.375rem}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}}:host([variant=\"primary\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-05));--mds-push-notification-icon-color:rgb(var(--variant-primary-10))}:host([variant=\"primary\"]),:host([variant=\"primary\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-09));--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"primary\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"orange\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-05));--mds-push-notification-icon-color:rgb(var(--label-orange-10))}:host([variant=\"orange\"]),:host([variant=\"orange\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-09));--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"orange\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"amaranth\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-05));--mds-push-notification-icon-color:rgb(var(--label-amaranth-10))}:host([variant=\"amaranth\"]),:host([variant=\"amaranth\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-09));--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"amaranth\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"orchid\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-05));--mds-push-notification-icon-color:rgb(var(--label-orchid-10))}:host([variant=\"orchid\"]),:host([variant=\"orchid\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-09));--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"orchid\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"violet\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-05));--mds-push-notification-icon-color:rgb(var(--label-violet-10))}:host([variant=\"violet\"]),:host([variant=\"violet\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-09));--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"violet\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"blue\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-05));--mds-push-notification-icon-color:rgb(var(--label-blue-10))}:host([variant=\"blue\"]),:host([variant=\"blue\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-09));--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"blue\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"sky\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-05));--mds-push-notification-icon-color:rgb(var(--label-sky-10))}:host([variant=\"sky\"]),:host([variant=\"sky\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-09));--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"sky\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"aqua\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-05));--mds-push-notification-icon-color:rgb(var(--label-aqua-10))}:host([variant=\"aqua\"]),:host([variant=\"aqua\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-09));--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"aqua\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"green\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-05));--mds-push-notification-icon-color:rgb(var(--label-green-10))}:host([variant=\"green\"]),:host([variant=\"green\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-09));--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"green\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"lime\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-05));--mds-push-notification-icon-color:rgb(var(--label-lime-10))}:host([variant=\"lime\"]),:host([variant=\"lime\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-09));--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"lime\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"yellow\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-05));--mds-push-notification-icon-color:rgb(var(--label-yellow-10))}:host([variant=\"yellow\"]),:host([variant=\"yellow\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-09));--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"yellow\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"error\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-05));--mds-push-notification-icon-color:rgb(var(--status-error-10))}:host([variant=\"error\"]),:host([variant=\"error\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-09));--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"error\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"warning\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-05));--mds-push-notification-icon-color:rgb(var(--status-warning-10))}:host([variant=\"warning\"]),:host([variant=\"warning\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-09));--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"warning\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"success\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-05));--mds-push-notification-icon-color:rgb(var(--status-success-10))}:host([variant=\"success\"]),:host([variant=\"success\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-09));--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"success\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"info\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-05));--mds-push-notification-icon-color:rgb(var(--status-info-10))}:host([variant=\"info\"]),:host([variant=\"info\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-09));--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host([variant=\"info\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
1000
+ const mdsPushNotificationCss = "@tailwind components; :host{--mds-push-notification-duration:200ms;--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--tone-neutral-04));--mds-push-notification-message-line-clamp:2;--mds-push-notification-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--mds-push-notification-subject-line-clamp:1;--mds-push-notification-timing-function:cubic-bezier(1, 0, 0, 1);min-width:18rem;max-width:20rem;gap:1rem;border-radius:0.5rem;padding:1rem;-ms-flex-align:start;align-items:flex-start;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:var(--mds-push-notification-shadow);box-shadow:var(--mds-push-notification-shadow);color:rgb(var(--tone-neutral-02));display:-ms-flexbox;display:flex;pointer-events:auto;position:relative;-webkit-transition-duration:var(--mds-push-notification-duration);transition-duration:var(--mds-push-notification-duration);-webkit-transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, box-shadow, color, margin, transform;transition-property:background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:var(--mds-push-notification-timing-function);transition-timing-function:var(--mds-push-notification-timing-function)}:host([deletable]){padding-right:2rem}.content{display:grid;-ms-flex-positive:1;flex-grow:1}.actions{gap:0.5rem;padding-top:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:1px}.avatar,.picture{-ms-flex-negative:0;flex-shrink:0}.picture{max-width:3rem;border-radius:0.25rem;-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);width:100%}.close-button{padding:0.375rem;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:transparent;fill:rgb(var(--tone-neutral-06));opacity:0;position:absolute;right:0;top:0}:host-context(:not(.safari)):host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--tone-neutral-03));opacity:1}.header{gap:0.25rem;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time{margin-right:0.25rem;-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-subject-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-message-line-clamp);line-height:1.5rem;text-overflow:ellipsis}.avatar{height:2.25rem;width:2.25rem;background-color:var(--mds-push-notification-icon-background-color);border-radius:1000px;fill:var(--mds-push-notification-icon-color)}.avatar::part(svg){width:1.5rem}:host([src]) .avatar{background-color:transparent}:host([icon]) .avatar::part(wrapper){padding:0.375rem}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}}:host([variant=\"primary\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-05));--mds-push-notification-icon-color:rgb(var(--variant-primary-10))}:host([variant=\"primary\"]),:host([variant=\"primary\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-09));--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"primary\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"orange\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-05));--mds-push-notification-icon-color:rgb(var(--label-orange-10))}:host([variant=\"orange\"]),:host([variant=\"orange\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-09));--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"orange\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"amaranth\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-05));--mds-push-notification-icon-color:rgb(var(--label-amaranth-10))}:host([variant=\"amaranth\"]),:host([variant=\"amaranth\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-09));--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"amaranth\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"orchid\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-05));--mds-push-notification-icon-color:rgb(var(--label-orchid-10))}:host([variant=\"orchid\"]),:host([variant=\"orchid\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-09));--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"orchid\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"violet\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-05));--mds-push-notification-icon-color:rgb(var(--label-violet-10))}:host([variant=\"violet\"]),:host([variant=\"violet\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-09));--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"violet\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"blue\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-05));--mds-push-notification-icon-color:rgb(var(--label-blue-10))}:host([variant=\"blue\"]),:host([variant=\"blue\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-09));--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"blue\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"sky\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-05));--mds-push-notification-icon-color:rgb(var(--label-sky-10))}:host([variant=\"sky\"]),:host([variant=\"sky\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-09));--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"sky\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"aqua\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-05));--mds-push-notification-icon-color:rgb(var(--label-aqua-10))}:host([variant=\"aqua\"]),:host([variant=\"aqua\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-09));--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"aqua\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"green\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-05));--mds-push-notification-icon-color:rgb(var(--label-green-10))}:host([variant=\"green\"]),:host([variant=\"green\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-09));--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"green\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"lime\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-05));--mds-push-notification-icon-color:rgb(var(--label-lime-10))}:host([variant=\"lime\"]),:host([variant=\"lime\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-09));--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"lime\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"yellow\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-05));--mds-push-notification-icon-color:rgb(var(--label-yellow-10))}:host([variant=\"yellow\"]),:host([variant=\"yellow\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-09));--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"yellow\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"error\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-05));--mds-push-notification-icon-color:rgb(var(--status-error-10))}:host([variant=\"error\"]),:host([variant=\"error\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-09));--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"error\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"warning\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-05));--mds-push-notification-icon-color:rgb(var(--status-warning-10))}:host([variant=\"warning\"]),:host([variant=\"warning\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-09));--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"warning\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"success\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-05));--mds-push-notification-icon-color:rgb(var(--status-success-10))}:host([variant=\"success\"]),:host([variant=\"success\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-09));--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"success\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"info\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-05));--mds-push-notification-icon-color:rgb(var(--status-info-10))}:host([variant=\"info\"]),:host([variant=\"info\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-09));--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host([variant=\"info\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
1001
1001
  const MdsPushNotificationStyle0 = mdsPushNotificationCss;
1002
1002
 
1003
1003
  dayjs.extend(relativeTime);
@@ -1041,10 +1041,13 @@ const MdsPushNotification$1 = /*@__PURE__*/ proxyCustomElement(class MdsPushNoti
1041
1041
  async updateLang() {
1042
1042
  this.language = this.t.lang(this.host);
1043
1043
  }
1044
+ componentDidLoad() {
1045
+ this.handleDeletableChange(this.deletable);
1046
+ }
1044
1047
  componentWillLoad() {
1045
1048
  var _a;
1046
- this.hasActions = this.host.querySelector('[slot="actions"]') !== null;
1047
- this.hasBadge = this.host.querySelector('[slot="badge"]') !== null;
1049
+ this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
1050
+ this.hasBadge = this.host.querySelector(':scope > [slot="badge"]') !== null;
1048
1051
  if (this.datetime) {
1049
1052
  this.datetime = sanitizeISO8601Date((_a = this.datetime) === null || _a === void 0 ? void 0 : _a.toString());
1050
1053
  }
@@ -1066,18 +1069,26 @@ const MdsPushNotification$1 = /*@__PURE__*/ proxyCustomElement(class MdsPushNoti
1066
1069
  };
1067
1070
  dayjs.locale('custom-locale', { relativeTime: relativeTimeCustom });
1068
1071
  }
1072
+ handleDeletableChange(newValue) {
1073
+ if (newValue === false) {
1074
+ this.deletable = undefined;
1075
+ }
1076
+ }
1069
1077
  render() {
1070
1078
  var _a;
1071
- return (h$4(Host, { key: 'ca899101a9c26450da9eb84acfe90b3114ca4231' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h$4("mds-avatar", { key: '2440255e356dc29ac4ff3043f8f1dea40db036cc', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h$4("mds-img", { key: '09641cbadb6b8ce0d93d99fa0b4cc271e264cd8b', class: "picture", part: "picture", src: this.src }), h$4("div", { key: '161f883ef9e1f0deaee84cd421d3a776ea86d336', class: "content", part: "content" }, h$4("div", { key: 'b61782b62a16064d841e546489eabd8ee2aa1f21', class: "header" }, h$4("div", { key: '02463af834b5c7f98a38dc6defc1c55ce01930bd', class: "infos" }, this.hasBadge && h$4("div", { key: 'a3f13e3d63edc69705f11d082b875811cfcc7aab' }, h$4("slot", { key: '4d9700269231a39130483c4c62e169051c82c863', name: "badge" })), this.subject && h$4("mds-text", { key: 'dc4550b30b02fd37a097db6ea2ed1076ea7794bd', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h$4("mds-text", { key: '6b2b852330706a607c4c9dfb1178f98218a2ac6b', class: "time", typography: "option" }, this.dateFormat === 'timeago'
1079
+ return (h$4(Host, { key: 'd457cdedbda84cf2e68fff22422023a34ab80faf' }, ((_a = this.icon) !== null && _a !== void 0 ? _a : this.preview === 'avatar') && h$4("mds-avatar", { key: 'fbd9dded7a4ac12d1ea72cd70dbafc22085d37cb', class: "avatar", icon: this.icon, initials: this.initials, part: "avatar", src: this.src, tone: this.tone, variant: this.variant }), this.src && this.preview !== 'avatar' && h$4("mds-img", { key: '5459266753d669c80e2663de332451f183fe9242', class: "picture", part: "picture", src: this.src }), h$4("div", { key: '233a9a3176f289b3aba613916d998f58fda1ec84', class: "content", part: "content" }, h$4("div", { key: '92556ae91182af510ad332c98d82123e30573daa', class: "header" }, h$4("div", { key: '9fc24a4233e50d2281927b87875be905090d71de', class: "infos" }, this.hasBadge && h$4("div", { key: '3674329deb95c0b65faa577b354aae9b04682b52' }, h$4("slot", { key: '42cfb165af39c4121256d7d6c79fa21d5b97a7e3', name: "badge" })), this.subject && h$4("mds-text", { key: 'fb23fd86fde9d03f5d25814eab3f1d718b88be49', class: "subject", typography: "h6", variant: "title", truncate: "all" }, this.subject)), this.datetime && h$4("mds-text", { key: '66f7852e8c52d48f240e7831a12c567031ee9627', class: "time", typography: "option" }, this.dateFormat === 'timeago'
1072
1080
  ? dayjs(this.datetime).fromNow()
1073
- : dayjs(this.datetime).format(this.dateFormat))), h$4("mds-text", { key: 'dc624ccb1feb0fcaed8d25a672312930f2a4812d', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h$4("div", { key: 'ff8cdd1a38b50041ebf11314c7fe3ad17d1b5d7f', class: "actions", part: "actions" }, h$4("slot", { key: '3932ede2f98b5a97300c9536d5e4cf9bf82c5836', name: "actions" }))), this.deletable && h$4("mds-button", { key: '3be9139ed74f8a9a0425c01cc6ceff541771057b', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
1081
+ : dayjs(this.datetime).format(this.dateFormat))), h$4("mds-text", { key: '5090ff688280d2942ace3f40a515fc6cc37ef2e3', class: "message", truncate: "all", typography: "caption", variant: "info" }, this.message), this.hasActions && h$4("div", { key: 'efe125e92b351edfd169c1f2e54cb1a875fe1a38', class: "actions", part: "actions" }, h$4("slot", { key: '11f9ede3e7b968bd0c8c46a03065a5a6d2b67254', name: "action" }))), this.deletable && h$4("mds-button", { key: 'dd050d177d0a8537a703627aca6ba77d92329478', class: "close-button", title: this.t.get('dismiss'), icon: miBaselineCancel, onClick: this.onClickClose.bind(this) })));
1074
1082
  }
1075
1083
  get host() { return this; }
1084
+ static get watchers() { return {
1085
+ "deletable": ["handleDeletableChange"]
1086
+ }; }
1076
1087
  static get style() { return MdsPushNotificationStyle0; }
1077
1088
  }, [1, "mds-push-notification", {
1078
1089
  "datetime": [1537],
1079
1090
  "dateFormat": [513, "date-format"],
1080
- "deletable": [516],
1091
+ "deletable": [1540],
1081
1092
  "icon": [513],
1082
1093
  "initials": [1537],
1083
1094
  "message": [513],
@@ -1088,6 +1099,8 @@ const MdsPushNotification$1 = /*@__PURE__*/ proxyCustomElement(class MdsPushNoti
1088
1099
  "variant": [513],
1089
1100
  "language": [32],
1090
1101
  "updateLang": [64]
1102
+ }, undefined, {
1103
+ "deletable": ["handleDeletableChange"]
1091
1104
  }]);
1092
1105
  function defineCustomElement$1() {
1093
1106
  if (typeof customElements === "undefined") {