@maggioli-design-system/mds-push-notification 3.0.1 → 5.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.
- package/dist/cjs/{index-6d7dbb0d.js → index-7cf2c20a.js} +13 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +131 -1050
- package/dist/cjs/mds-push-notification.cjs.js +2 -2
- package/dist/collection/common/floating-controller.js +7 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +49 -392
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +202 -290
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +84 -156
- package/dist/collection/dictionary/button.js +2 -0
- package/dist/components/mds-push-notification.js +137 -1064
- package/dist/documentation.json +108 -378
- package/dist/esm/{index-097e7d35.js → index-b09cc8e1.js} +13 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mds-push-notification.entry.js +131 -1050
- package/dist/esm/mds-push-notification.js +3 -3
- package/dist/esm-es5/index-b09cc8e1.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -6
- package/dist/esm-es5/mds-push-notification.js +1 -1
- package/dist/mds-push-notification/mds-push-notification.esm.js +1 -1
- package/dist/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/mds-push-notification/p-4a9f617e.entry.js +1 -0
- package/dist/mds-push-notification/p-8d91ff4b.js +2 -0
- package/dist/mds-push-notification/p-aa501d46.system.js +2 -0
- package/dist/mds-push-notification/p-b08da275.system.entry.js +1 -0
- package/dist/mds-push-notification/p-eef6f413.system.js +1 -0
- package/dist/stats.json +235 -557
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +42 -48
- package/dist/types/components/mds-push-notification/meta/event-detail.d.ts +1 -1
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +4 -91
- package/dist/types/components.d.ts +20 -84
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/input-tip.d.ts +1 -0
- package/documentation.json +134 -384
- package/package.json +4 -6
- package/readme.md +44 -39
- package/src/common/floating-controller.ts +6 -3
- package/src/components/mds-push-notification/css/mds-push-notification-pref-theme.css +2 -6
- package/src/components/mds-push-notification/css/mds-push-notification-visible.css +4 -0
- package/src/components/mds-push-notification/mds-push-notification.css +35 -134
- package/src/components/mds-push-notification/mds-push-notification.tsx +135 -120
- package/src/components/mds-push-notification/meta/event-detail.ts +1 -1
- package/src/components/mds-push-notification/readme.md +44 -28
- package/src/components/mds-push-notification/test/mds-push-notification.e2e.ts +0 -15
- package/src/components/mds-push-notification/test/mds-push-notification.spec.tsx +23 -0
- package/src/components/mds-push-notification/test/mds-push-notification.stories.tsx +139 -190
- package/src/components.d.ts +20 -84
- package/src/dictionary/button.ts +2 -0
- package/src/fixtures/icons.json +6 -0
- package/src/type/button.ts +2 -0
- package/src/type/input-tip.ts +11 -0
- package/www/build/mds-push-notification.esm.js +1 -1
- package/www/build/mds-push-notification.js +1 -1
- package/www/build/p-4a9f617e.entry.js +1 -0
- package/www/build/p-8d91ff4b.js +2 -0
- package/www/build/p-aa501d46.system.js +2 -0
- package/www/build/p-b08da275.system.entry.js +1 -0
- package/www/build/p-eef6f413.system.js +1 -0
- package/dist/collection/components/mds-push-notification/meta/dictionary.js +0 -9
- package/dist/esm-es5/index-097e7d35.js +0 -1
- package/dist/mds-push-notification/p-1041e719.system.js +0 -1
- package/dist/mds-push-notification/p-14a35146.system.js +0 -2
- package/dist/mds-push-notification/p-440f71ab.entry.js +0 -6
- package/dist/mds-push-notification/p-c3d85a16.system.entry.js +0 -6
- package/dist/mds-push-notification/p-f48a9d49.js +0 -2
- package/dist/types/components/mds-push-notification/meta/dictionary.d.ts +0 -3
- package/dist/types/components/mds-push-notification/meta/types.d.ts +0 -17
- package/src/components/mds-push-notification/css/mds-push-notification-pref-animation.css +0 -9
- package/src/components/mds-push-notification/css/mds-push-notification-pref-contrast.css +0 -13
- package/src/components/mds-push-notification/css/mds-push-notification-variant-label.css +0 -159
- package/src/components/mds-push-notification/css/mds-push-notification-variant-primary.css +0 -15
- package/src/components/mds-push-notification/css/mds-push-notification-variant-state.css +0 -63
- package/src/components/mds-push-notification/meta/dictionary.ts +0 -14
- package/src/components/mds-push-notification/meta/locale.el.json +0 -16
- package/src/components/mds-push-notification/meta/locale.en.json +0 -16
- package/src/components/mds-push-notification/meta/locale.es.json +0 -16
- package/src/components/mds-push-notification/meta/locale.it.json +0 -16
- package/src/components/mds-push-notification/meta/types.ts +0 -23
- package/www/build/p-1041e719.system.js +0 -1
- package/www/build/p-14a35146.system.js +0 -2
- package/www/build/p-440f71ab.entry.js +0 -6
- package/www/build/p-c3d85a16.system.entry.js +0 -6
- package/www/build/p-f48a9d49.js +0 -2
- /package/dist/collection/{components/mds-push-notification/meta/types.js → type/input-tip.js} +0 -0
|
@@ -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:
|
|
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: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, 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
|
|
@@ -449,7 +449,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
449
449
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
450
450
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
451
451
|
}
|
|
452
|
-
} else if (memberName === "key") ; else if (
|
|
452
|
+
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
453
|
+
if (newValue) {
|
|
454
|
+
newValue(elm);
|
|
455
|
+
}
|
|
456
|
+
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
453
457
|
if (memberName[2] === "-") {
|
|
454
458
|
memberName = memberName.slice(3);
|
|
455
459
|
} else if (isMemberInElement(win, ln)) {
|
|
@@ -607,6 +611,7 @@ var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
607
611
|
const vnode = vnodes[index];
|
|
608
612
|
if (vnode) {
|
|
609
613
|
const elm = vnode.$elm$;
|
|
614
|
+
nullifyVNodeRefs(vnode);
|
|
610
615
|
if (elm) {
|
|
611
616
|
elm.remove();
|
|
612
617
|
}
|
|
@@ -735,6 +740,12 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
735
740
|
elm.data = text;
|
|
736
741
|
}
|
|
737
742
|
};
|
|
743
|
+
var nullifyVNodeRefs = (vNode) => {
|
|
744
|
+
{
|
|
745
|
+
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
746
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
747
|
+
}
|
|
748
|
+
};
|
|
738
749
|
var insertBefore = (parent, newNode, reference) => {
|
|
739
750
|
{
|
|
740
751
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7cf2c20a.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",{"
|
|
11
|
+
return index.bootstrapLazy([["mds-push-notification.cjs",[[1,"mds-push-notification",{"visible":[1540],"behavior":[1],"show":[64],"hide":[64],"removeNotification":[64]},null,{"visible":["visibleChanged"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|