@maggioli-design-system/mds-progress 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-4f7098da.js → index-1d846f7a.js} +56 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mds-progress.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +1 -1
- package/dist/collection/dictionary/icon.js +3 -1
- package/dist/esm/{index-b3c033e7.js → index-b254472d.js} +56 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mds-progress.entry.js +1 -1
- package/dist/esm/mds-progress.js +3 -3
- package/dist/esm-es5/{index-b3c033e7.js → index-b254472d.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-progress.entry.js +1 -1
- package/dist/esm-es5/mds-progress.js +1 -1
- package/dist/mds-progress/mds-progress.esm.js +1 -1
- package/dist/mds-progress/mds-progress.js +1 -1
- package/dist/mds-progress/{p-8eb3f463.system.js → p-86f204e8.system.js} +0 -0
- package/dist/mds-progress/{p-86248014.system.entry.js → p-8e872f12.system.entry.js} +1 -1
- package/{www/build/p-4777dfba.system.js → dist/mds-progress/p-ae3a1868.system.js} +1 -1
- package/dist/mds-progress/{p-dbcd2e3f.entry.js → p-b46a06eb.entry.js} +1 -1
- package/dist/mds-progress/{p-fd162e66.js → p-d657b3ae.js} +0 -0
- package/dist/stats.json +53 -26
- package/dist/types/dictionary/icon.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/package.json +1 -1
- package/readme.md +11 -0
- package/src/components/mds-progress/mds-progress.css +1 -1
- package/src/components/mds-progress/readme.md +11 -0
- package/src/dictionary/icon.ts +4 -0
- package/src/fixtures/icons.json +173 -0
- package/src/fixtures/iconsauce.json +175 -0
- package/www/build/mds-progress.esm.js +1 -1
- package/www/build/mds-progress.js +1 -1
- package/www/build/{p-8eb3f463.system.js → p-86f204e8.system.js} +0 -0
- package/www/build/{p-86248014.system.entry.js → p-8e872f12.system.entry.js} +1 -1
- package/{dist/mds-progress/p-4777dfba.system.js → www/build/p-ae3a1868.system.js} +1 -1
- package/www/build/{p-dbcd2e3f.entry.js → p-b46a06eb.entry.js} +1 -1
- /package/www/build/{p-fd162e66.js → p-d657b3ae.js} +0 -0
|
@@ -133,6 +133,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
133
133
|
}
|
|
134
134
|
return vnode;
|
|
135
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
138
|
+
* possible text content.
|
|
139
|
+
*
|
|
140
|
+
* @param tag the tag for this element
|
|
141
|
+
* @param text possible text content for the node
|
|
142
|
+
* @returns a newly-minted virtual DOM node
|
|
143
|
+
*/
|
|
136
144
|
const newVNode = (tag, text) => {
|
|
137
145
|
const vnode = {
|
|
138
146
|
$flags$: 0,
|
|
@@ -147,6 +155,12 @@ const newVNode = (tag, text) => {
|
|
|
147
155
|
return vnode;
|
|
148
156
|
};
|
|
149
157
|
const Host = {};
|
|
158
|
+
/**
|
|
159
|
+
* Check whether a given node is a Host node or not
|
|
160
|
+
*
|
|
161
|
+
* @param node the virtual DOM node to check
|
|
162
|
+
* @returns whether it's a Host node or not
|
|
163
|
+
*/
|
|
150
164
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
151
165
|
/**
|
|
152
166
|
* Parse a new property value for a given property type.
|
|
@@ -426,6 +440,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
426
440
|
}
|
|
427
441
|
return elm;
|
|
428
442
|
};
|
|
443
|
+
/**
|
|
444
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
445
|
+
* add them to the DOM in the appropriate place.
|
|
446
|
+
*
|
|
447
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
448
|
+
* DOM nodes
|
|
449
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
450
|
+
* inserted before (optional)
|
|
451
|
+
* @param parentVNode the parent virtual DOM node
|
|
452
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
453
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
454
|
+
* creating DOM nodes (inclusive)
|
|
455
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
456
|
+
* creating DOM nodes (inclusive)
|
|
457
|
+
*/
|
|
429
458
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
430
459
|
let containerElm = (parentElm);
|
|
431
460
|
let childNode;
|
|
@@ -442,6 +471,19 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
442
471
|
}
|
|
443
472
|
}
|
|
444
473
|
};
|
|
474
|
+
/**
|
|
475
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
476
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
477
|
+
* should no longer be shown.
|
|
478
|
+
*
|
|
479
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
480
|
+
*
|
|
481
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
482
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
483
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
484
|
+
* @param vnode a VNode
|
|
485
|
+
* @param elm an element
|
|
486
|
+
*/
|
|
445
487
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
446
488
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
447
489
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -633,7 +675,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
633
675
|
*
|
|
634
676
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
635
677
|
* changing order within a `children` array or something along those lines then
|
|
636
|
-
* we could obtain a false
|
|
678
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
679
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
637
680
|
*
|
|
638
681
|
* @param leftVNode the first VNode to check
|
|
639
682
|
* @param rightVNode the second VNode to check
|
|
@@ -683,6 +726,18 @@ const patch = (oldVNode, newVNode) => {
|
|
|
683
726
|
}
|
|
684
727
|
}
|
|
685
728
|
};
|
|
729
|
+
/**
|
|
730
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
731
|
+
*
|
|
732
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
733
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
734
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
735
|
+
* relocation, and reflecting attributes.
|
|
736
|
+
*
|
|
737
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
738
|
+
* the DOM node into which it should be rendered.
|
|
739
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
740
|
+
*/
|
|
686
741
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
687
742
|
const hostElm = hostRef.$hostElement$;
|
|
688
743
|
const cmpMeta = hostRef.$cmpMeta$;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1d846f7a.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.22.
|
|
8
|
+
Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1d846f7a.js');
|
|
6
6
|
|
|
7
7
|
const mdsProgressCss = "@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";
|
|
8
8
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1d846f7a.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v2.22.
|
|
8
|
+
Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-progress.cjs.js', document.baseURI).href));
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import jsonIconsDictionary from '../fixtures/icons.json';
|
|
2
|
+
import jsonMggIconsDictionary from '../fixtures/iconsauce.json';
|
|
2
3
|
const iconsDictionary = jsonIconsDictionary;
|
|
3
|
-
|
|
4
|
+
const mggIconsDictionary = jsonMggIconsDictionary;
|
|
5
|
+
export { iconsDictionary, mggIconsDictionary, };
|
|
@@ -111,6 +111,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
111
111
|
}
|
|
112
112
|
return vnode;
|
|
113
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
116
|
+
* possible text content.
|
|
117
|
+
*
|
|
118
|
+
* @param tag the tag for this element
|
|
119
|
+
* @param text possible text content for the node
|
|
120
|
+
* @returns a newly-minted virtual DOM node
|
|
121
|
+
*/
|
|
114
122
|
const newVNode = (tag, text) => {
|
|
115
123
|
const vnode = {
|
|
116
124
|
$flags$: 0,
|
|
@@ -125,6 +133,12 @@ const newVNode = (tag, text) => {
|
|
|
125
133
|
return vnode;
|
|
126
134
|
};
|
|
127
135
|
const Host = {};
|
|
136
|
+
/**
|
|
137
|
+
* Check whether a given node is a Host node or not
|
|
138
|
+
*
|
|
139
|
+
* @param node the virtual DOM node to check
|
|
140
|
+
* @returns whether it's a Host node or not
|
|
141
|
+
*/
|
|
128
142
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
129
143
|
/**
|
|
130
144
|
* Parse a new property value for a given property type.
|
|
@@ -404,6 +418,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
404
418
|
}
|
|
405
419
|
return elm;
|
|
406
420
|
};
|
|
421
|
+
/**
|
|
422
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
423
|
+
* add them to the DOM in the appropriate place.
|
|
424
|
+
*
|
|
425
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
426
|
+
* DOM nodes
|
|
427
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
428
|
+
* inserted before (optional)
|
|
429
|
+
* @param parentVNode the parent virtual DOM node
|
|
430
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
431
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
432
|
+
* creating DOM nodes (inclusive)
|
|
433
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
434
|
+
* creating DOM nodes (inclusive)
|
|
435
|
+
*/
|
|
407
436
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
408
437
|
let containerElm = (parentElm);
|
|
409
438
|
let childNode;
|
|
@@ -420,6 +449,19 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
420
449
|
}
|
|
421
450
|
}
|
|
422
451
|
};
|
|
452
|
+
/**
|
|
453
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
454
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
455
|
+
* should no longer be shown.
|
|
456
|
+
*
|
|
457
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
458
|
+
*
|
|
459
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
460
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
461
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
462
|
+
* @param vnode a VNode
|
|
463
|
+
* @param elm an element
|
|
464
|
+
*/
|
|
423
465
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
424
466
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
425
467
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -611,7 +653,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
611
653
|
*
|
|
612
654
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
613
655
|
* changing order within a `children` array or something along those lines then
|
|
614
|
-
* we could obtain a false
|
|
656
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
657
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
615
658
|
*
|
|
616
659
|
* @param leftVNode the first VNode to check
|
|
617
660
|
* @param rightVNode the second VNode to check
|
|
@@ -661,6 +704,18 @@ const patch = (oldVNode, newVNode) => {
|
|
|
661
704
|
}
|
|
662
705
|
}
|
|
663
706
|
};
|
|
707
|
+
/**
|
|
708
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
709
|
+
*
|
|
710
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
711
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
712
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
713
|
+
* relocation, and reflecting attributes.
|
|
714
|
+
*
|
|
715
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
716
|
+
* the DOM node into which it should be rendered.
|
|
717
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
718
|
+
*/
|
|
664
719
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
665
720
|
const hostElm = hostRef.$hostElement$;
|
|
666
721
|
const cmpMeta = hostRef.$cmpMeta$;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-b254472d.js';
|
|
2
|
+
export { s as setNonce } from './index-b254472d.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm v2.22.
|
|
5
|
+
Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-b254472d.js';
|
|
2
2
|
|
|
3
3
|
const mdsProgressCss = "@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";
|
|
4
4
|
|
package/dist/esm/mds-progress.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-b254472d.js';
|
|
2
|
+
export { s as setNonce } from './index-b254472d.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v2.22.
|
|
5
|
+
Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
File without changes
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-b254472d.js";export{s as setNonce}from"./index-b254472d.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,r){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],r)}))};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-b254472d.js";var mdsProgressCss="@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=[];this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="dark";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-b254472d.js";export{s as setNonce}from"./index-b254472d.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],r)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,b as e}from"./p-
|
|
1
|
+
import{p as r,b as e}from"./p-d657b3ae.js";export{s as setNonce}from"./p-d657b3ae.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),r(e)})().then((r=>e([["p-b46a06eb",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],r)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-ae3a1868.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-86f204e8.system.js"],(function(r){"use strict";var t,o,i,e;return{setters:[function(r){t=r.r;o=r.h;i=r.H;e=r.g}],execute:function(){var s="@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";var n=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=[];this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="dark";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return o(i,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},o("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());n.style=s}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-86f204e8.system.js"],(function(e,r){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b;e("setNonce",r.s)}],execute:function(){var e=function(){var e=r.meta.url;var s={};if(e!==""){s.resourcesUrl=new URL(".",e).href}return t(s)};e().then((function(e){return s([["p-8e872f12.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as t,g as i}from"./p-
|
|
1
|
+
import{r,h as o,H as t,g as i}from"./p-d657b3ae.js";const a=class{constructor(o){r(this,o),this.stepsList=[],this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="dark",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return i(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};a.style="@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";export{a as mds_progress}
|
|
File without changes
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-
|
|
2
|
+
"timestamp": "2023-02-20T10:26:58",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.3.0"
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"name": "dist-lazy",
|
|
57
57
|
"files": 35,
|
|
58
58
|
"generatedFiles": [
|
|
59
|
-
"./dist/cjs/index-
|
|
59
|
+
"./dist/cjs/index-1d846f7a.js",
|
|
60
60
|
"./dist/cjs/index.cjs.js",
|
|
61
61
|
"./dist/cjs/loader.cjs.js",
|
|
62
62
|
"./dist/cjs/mds-progress.cjs.entry.js",
|
|
63
63
|
"./dist/cjs/mds-progress.cjs.js",
|
|
64
|
-
"./dist/esm-es5/index-
|
|
64
|
+
"./dist/esm-es5/index-b254472d.js",
|
|
65
65
|
"./dist/esm-es5/index.js",
|
|
66
66
|
"./dist/esm-es5/loader.js",
|
|
67
67
|
"./dist/esm-es5/mds-progress.entry.js",
|
|
68
68
|
"./dist/esm-es5/mds-progress.js",
|
|
69
|
-
"./dist/esm/index-
|
|
69
|
+
"./dist/esm/index-b254472d.js",
|
|
70
70
|
"./dist/esm/index.js",
|
|
71
71
|
"./dist/esm/loader.js",
|
|
72
72
|
"./dist/esm/mds-progress.entry.js",
|
|
@@ -76,21 +76,21 @@
|
|
|
76
76
|
"./dist/mds-progress/index.esm.js",
|
|
77
77
|
"./dist/mds-progress/mds-progress.esm.js",
|
|
78
78
|
"./dist/mds-progress/mds-progress.js",
|
|
79
|
-
"./dist/mds-progress/p-4777dfba.system.js",
|
|
80
79
|
"./dist/mds-progress/p-50ea2036.system.js",
|
|
81
|
-
"./dist/mds-progress/p-
|
|
82
|
-
"./dist/mds-progress/p-
|
|
83
|
-
"./dist/mds-progress/p-
|
|
84
|
-
"./dist/mds-progress/p-
|
|
80
|
+
"./dist/mds-progress/p-86f204e8.system.js",
|
|
81
|
+
"./dist/mds-progress/p-8e872f12.system.entry.js",
|
|
82
|
+
"./dist/mds-progress/p-ae3a1868.system.js",
|
|
83
|
+
"./dist/mds-progress/p-b46a06eb.entry.js",
|
|
84
|
+
"./dist/mds-progress/p-d657b3ae.js",
|
|
85
85
|
"./www/build/index.esm.js",
|
|
86
86
|
"./www/build/mds-progress.esm.js",
|
|
87
87
|
"./www/build/mds-progress.js",
|
|
88
|
-
"./www/build/p-4777dfba.system.js",
|
|
89
88
|
"./www/build/p-50ea2036.system.js",
|
|
90
|
-
"./www/build/p-
|
|
91
|
-
"./www/build/p-
|
|
92
|
-
"./www/build/p-
|
|
93
|
-
"./www/build/p-
|
|
89
|
+
"./www/build/p-86f204e8.system.js",
|
|
90
|
+
"./www/build/p-8e872f12.system.entry.js",
|
|
91
|
+
"./www/build/p-ae3a1868.system.js",
|
|
92
|
+
"./www/build/p-b46a06eb.entry.js",
|
|
93
|
+
"./www/build/p-d657b3ae.js"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -123,10 +123,10 @@
|
|
|
123
123
|
"components": [
|
|
124
124
|
"mds-progress"
|
|
125
125
|
],
|
|
126
|
-
"bundleId": "p-
|
|
127
|
-
"fileName": "p-
|
|
126
|
+
"bundleId": "p-b46a06eb",
|
|
127
|
+
"fileName": "p-b46a06eb.entry.js",
|
|
128
128
|
"imports": [
|
|
129
|
-
"p-
|
|
129
|
+
"p-d657b3ae.js"
|
|
130
130
|
],
|
|
131
131
|
"originalByteSize": 4171
|
|
132
132
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"bundleId": "mds-progress",
|
|
141
141
|
"fileName": "mds-progress.entry.js",
|
|
142
142
|
"imports": [
|
|
143
|
-
"index-
|
|
143
|
+
"index-b254472d.js"
|
|
144
144
|
],
|
|
145
145
|
"originalByteSize": 4175
|
|
146
146
|
}
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"bundleId": "mds-progress",
|
|
155
155
|
"fileName": "mds-progress.entry.js",
|
|
156
156
|
"imports": [
|
|
157
|
-
"index-
|
|
157
|
+
"index-b254472d.js"
|
|
158
158
|
],
|
|
159
159
|
"originalByteSize": 4175
|
|
160
160
|
}
|
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
"components": [
|
|
166
166
|
"mds-progress"
|
|
167
167
|
],
|
|
168
|
-
"bundleId": "p-
|
|
169
|
-
"fileName": "p-
|
|
168
|
+
"bundleId": "p-8e872f12.system",
|
|
169
|
+
"fileName": "p-8e872f12.system.entry.js",
|
|
170
170
|
"imports": [
|
|
171
|
-
"p-
|
|
171
|
+
"p-86f204e8.system.js"
|
|
172
172
|
],
|
|
173
173
|
"originalByteSize": 4630
|
|
174
174
|
}
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"bundleId": "mds-progress.cjs",
|
|
183
183
|
"fileName": "mds-progress.cjs.entry.js",
|
|
184
184
|
"imports": [
|
|
185
|
-
"index-
|
|
185
|
+
"index-1d846f7a.js"
|
|
186
186
|
],
|
|
187
187
|
"originalByteSize": 4234
|
|
188
188
|
}
|
|
@@ -454,7 +454,33 @@
|
|
|
454
454
|
"legacyContext": [],
|
|
455
455
|
"internal": false,
|
|
456
456
|
"assetsDirs": [],
|
|
457
|
-
"styleDocs": [
|
|
457
|
+
"styleDocs": [
|
|
458
|
+
{
|
|
459
|
+
"name": "--background",
|
|
460
|
+
"docs": "Sets the background-color of the component",
|
|
461
|
+
"annotation": "prop"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "--color",
|
|
465
|
+
"docs": "Sets the background-color of the progress",
|
|
466
|
+
"annotation": "prop"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "--duration",
|
|
470
|
+
"docs": "Sets the duration of the progress bar animation",
|
|
471
|
+
"annotation": "prop"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "--radius",
|
|
475
|
+
"docs": "Sets the border-radius of the component",
|
|
476
|
+
"annotation": "prop"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "--thickness",
|
|
480
|
+
"docs": "Sets the thickness of the progress bar",
|
|
481
|
+
"annotation": "prop"
|
|
482
|
+
}
|
|
483
|
+
],
|
|
458
484
|
"docs": {
|
|
459
485
|
"tags": [],
|
|
460
486
|
"text": ""
|
|
@@ -533,7 +559,7 @@
|
|
|
533
559
|
],
|
|
534
560
|
"componentGraph": {
|
|
535
561
|
"sc-mds-progress": [
|
|
536
|
-
"p-
|
|
562
|
+
"p-d657b3ae.js"
|
|
537
563
|
]
|
|
538
564
|
},
|
|
539
565
|
"sourceGraph": {
|
|
@@ -549,7 +575,8 @@
|
|
|
549
575
|
"./src/dictionary/color.ts": [],
|
|
550
576
|
"./src/dictionary/floating-ui.ts": [],
|
|
551
577
|
"./src/dictionary/icon.ts": [
|
|
552
|
-
"./src/fixtures/icons.json"
|
|
578
|
+
"./src/fixtures/icons.json",
|
|
579
|
+
"./src/fixtures/iconsauce.json"
|
|
553
580
|
],
|
|
554
581
|
"./src/dictionary/input-text-type.ts": [],
|
|
555
582
|
"./src/dictionary/loading.ts": [],
|
|
@@ -485,6 +485,14 @@ export interface FunctionalUtilities {
|
|
|
485
485
|
export interface FunctionalComponent<T = {}> {
|
|
486
486
|
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
487
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* A Child VDOM node
|
|
490
|
+
*
|
|
491
|
+
* This has most of the same properties as {@link VNode} but friendlier names
|
|
492
|
+
* (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
|
|
493
|
+
* order to provide a friendlier public interface for users of the
|
|
494
|
+
* {@link FunctionalUtilities}).
|
|
495
|
+
*/
|
|
488
496
|
export interface ChildNode {
|
|
489
497
|
vtag?: string | number | Function;
|
|
490
498
|
vkey?: string | number;
|
|
@@ -531,6 +539,9 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
|
|
|
531
539
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
532
540
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
533
541
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
542
|
+
/**
|
|
543
|
+
* A virtual DOM node
|
|
544
|
+
*/
|
|
534
545
|
export interface VNode {
|
|
535
546
|
$flags$: number;
|
|
536
547
|
$tag$: string | number | Function;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-progress",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "mds-progress is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
package/readme.md
CHANGED
|
@@ -15,6 +15,17 @@
|
|
|
15
15
|
| `variant` | `variant` | Sets the theme variant colors | `"dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'dark'` |
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
## CSS Custom Properties
|
|
19
|
+
|
|
20
|
+
| Name | Description |
|
|
21
|
+
| -------------- | ----------------------------------------------- |
|
|
22
|
+
| `--background` | Sets the background-color of the component |
|
|
23
|
+
| `--color` | Sets the background-color of the progress |
|
|
24
|
+
| `--duration` | Sets the duration of the progress bar animation |
|
|
25
|
+
| `--radius` | Sets the border-radius of the component |
|
|
26
|
+
| `--thickness` | Sets the thickness of the progress bar |
|
|
27
|
+
|
|
28
|
+
|
|
18
29
|
## Dependencies
|
|
19
30
|
|
|
20
31
|
### Used by
|
|
@@ -15,6 +15,17 @@
|
|
|
15
15
|
| `variant` | `variant` | Sets the theme variant colors | `"dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'dark'` |
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
## CSS Custom Properties
|
|
19
|
+
|
|
20
|
+
| Name | Description |
|
|
21
|
+
| -------------- | ----------------------------------------------- |
|
|
22
|
+
| `--background` | Sets the background-color of the component |
|
|
23
|
+
| `--color` | Sets the background-color of the progress |
|
|
24
|
+
| `--duration` | Sets the duration of the progress bar animation |
|
|
25
|
+
| `--radius` | Sets the border-radius of the component |
|
|
26
|
+
| `--thickness` | Sets the thickness of the progress bar |
|
|
27
|
+
|
|
28
|
+
|
|
18
29
|
----------------------------------------------
|
|
19
30
|
|
|
20
31
|
Built with love @ **Maggioli Informatica / R&D Department**
|
package/src/dictionary/icon.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import jsonIconsDictionary from '../fixtures/icons.json'
|
|
2
|
+
import jsonMggIconsDictionary from '../fixtures/iconsauce.json'
|
|
2
3
|
const iconsDictionary = jsonIconsDictionary
|
|
4
|
+
const mggIconsDictionary = jsonMggIconsDictionary
|
|
5
|
+
|
|
3
6
|
export {
|
|
4
7
|
iconsDictionary,
|
|
8
|
+
mggIconsDictionary,
|
|
5
9
|
}
|
package/src/fixtures/icons.json
CHANGED
|
@@ -10,6 +10,179 @@
|
|
|
10
10
|
"mdi/map-marker",
|
|
11
11
|
"mdi/replay",
|
|
12
12
|
"mdi/vector-curve",
|
|
13
|
+
"mgg/abitazione-principale",
|
|
14
|
+
"mgg/action-hide-down-side",
|
|
15
|
+
"mgg/action-hide-left-side",
|
|
16
|
+
"mgg/action-hide-right-side",
|
|
17
|
+
"mgg/action-hide-sidebar-left",
|
|
18
|
+
"mgg/action-hide-sidebar-right",
|
|
19
|
+
"mgg/action-show-down-side",
|
|
20
|
+
"mgg/action-show-left-side",
|
|
21
|
+
"mgg/action-show-right-side",
|
|
22
|
+
"mgg/action-show-sidebar-left",
|
|
23
|
+
"mgg/action-show-sidebar-right",
|
|
24
|
+
"mgg/add-document-settings",
|
|
25
|
+
"mgg/additional-contents",
|
|
26
|
+
"mgg/address-book-off",
|
|
27
|
+
"mgg/address-book-on",
|
|
28
|
+
"mgg/adv-denied",
|
|
29
|
+
"mgg/area-edificabile",
|
|
30
|
+
"mgg/area-weather",
|
|
31
|
+
"mgg/box-multiple",
|
|
32
|
+
"mgg/breadcrumb",
|
|
33
|
+
"mgg/calendar-euro",
|
|
34
|
+
"mgg/calendar-multiple",
|
|
35
|
+
"mgg/calendar-schedule",
|
|
36
|
+
"mgg/car-license",
|
|
37
|
+
"mgg/card-stamping",
|
|
38
|
+
"mgg/checklist",
|
|
39
|
+
"mgg/checklist-settings",
|
|
40
|
+
"mgg/citizenship",
|
|
41
|
+
"mgg/city-bin",
|
|
42
|
+
"mgg/copy-paste",
|
|
43
|
+
"mgg/data-analytics-alt",
|
|
44
|
+
"mgg/data-analytics-search",
|
|
45
|
+
"mgg/data-analytics-time",
|
|
46
|
+
"mgg/data-category-alt",
|
|
47
|
+
"mgg/data-civil-union",
|
|
48
|
+
"mgg/data-death-civil-union",
|
|
49
|
+
"mgg/data-death-marriage",
|
|
50
|
+
"mgg/data-end-civil-union",
|
|
51
|
+
"mgg/data-end-marriage",
|
|
52
|
+
"mgg/dataset",
|
|
53
|
+
"mgg/document-magic",
|
|
54
|
+
"mgg/document-rename",
|
|
55
|
+
"mgg/electronic-document",
|
|
56
|
+
"mgg/email-open-check",
|
|
57
|
+
"mgg/email-open-off",
|
|
58
|
+
"mgg/face-to-face-meeting",
|
|
59
|
+
"mgg/farmer",
|
|
60
|
+
"mgg/field",
|
|
61
|
+
"mgg/file-download",
|
|
62
|
+
"mgg/file-folder-tree",
|
|
63
|
+
"mgg/file-folder-tree-open",
|
|
64
|
+
"mgg/file-import",
|
|
65
|
+
"mgg/file-odt",
|
|
66
|
+
"mgg/file-rtf",
|
|
67
|
+
"mgg/file-settings-alt",
|
|
68
|
+
"mgg/file-stack",
|
|
69
|
+
"mgg/file-stack-alt",
|
|
70
|
+
"mgg/file-sub",
|
|
71
|
+
"mgg/file-type-document-attachment",
|
|
72
|
+
"mgg/file-type-document-multiple-attachment",
|
|
73
|
+
"mgg/file-type-document-rubber-stamp",
|
|
74
|
+
"mgg/file-type-home",
|
|
75
|
+
"mgg/file-type-pdf",
|
|
76
|
+
"mgg/file-type-success",
|
|
77
|
+
"mgg/file-type-warning",
|
|
78
|
+
"mgg/finance-euro-cashback",
|
|
79
|
+
"mgg/fit-horizontal",
|
|
80
|
+
"mgg/fit-vertical",
|
|
81
|
+
"mgg/fullscreen-on-alt",
|
|
82
|
+
"mgg/google-check-small",
|
|
83
|
+
"mgg/google-place-item",
|
|
84
|
+
"mgg/heart",
|
|
85
|
+
"mgg/heart-outline",
|
|
86
|
+
"mgg/historic-building",
|
|
87
|
+
"mgg/historic-building-unusable",
|
|
88
|
+
"mgg/home-hammer",
|
|
89
|
+
"mgg/home-number",
|
|
90
|
+
"mgg/inagibile",
|
|
91
|
+
"mgg/input-calendar-costs",
|
|
92
|
+
"mgg/input-calendar-period",
|
|
93
|
+
"mgg/input-calendar-time",
|
|
94
|
+
"mgg/isbn",
|
|
95
|
+
"mgg/judge-hammer",
|
|
96
|
+
"mgg/land-registry",
|
|
97
|
+
"mgg/layers",
|
|
98
|
+
"mgg/list-dot",
|
|
99
|
+
"mgg/logo-girasole-camuno",
|
|
100
|
+
"mgg/logo-gpl",
|
|
101
|
+
"mgg/logo-ilibro",
|
|
102
|
+
"mgg/map-marker-settings",
|
|
103
|
+
"mgg/military-draft",
|
|
104
|
+
"mgg/money-bag-settings",
|
|
105
|
+
"mgg/money-on-hand",
|
|
106
|
+
"mgg/move-down",
|
|
107
|
+
"mgg/move-left",
|
|
108
|
+
"mgg/move-right",
|
|
109
|
+
"mgg/move-row-down",
|
|
110
|
+
"mgg/move-row-up",
|
|
111
|
+
"mgg/move-up",
|
|
112
|
+
"mgg/multiple-payments",
|
|
113
|
+
"mgg/national-document",
|
|
114
|
+
"mgg/national-document-off",
|
|
115
|
+
"mgg/order-return-down-left-to-right",
|
|
116
|
+
"mgg/order-return-down-left-to-up",
|
|
117
|
+
"mgg/order-return-down-right-to-left",
|
|
118
|
+
"mgg/order-return-down-right-to-up",
|
|
119
|
+
"mgg/order-return-up-left-to-down",
|
|
120
|
+
"mgg/order-return-up-left-to-right",
|
|
121
|
+
"mgg/order-return-up-right-to-down",
|
|
122
|
+
"mgg/order-return-up-right-to-left",
|
|
123
|
+
"mgg/order-zigzag-down-left-to-right",
|
|
124
|
+
"mgg/order-zigzag-down-left-to-up",
|
|
125
|
+
"mgg/order-zigzag-down-right-to-left",
|
|
126
|
+
"mgg/order-zigzag-down-right-to-up",
|
|
127
|
+
"mgg/order-zigzag-up-left-to-down",
|
|
128
|
+
"mgg/order-zigzag-up-left-to-right",
|
|
129
|
+
"mgg/order-zigzag-up-right-to-down",
|
|
130
|
+
"mgg/order-zigzag-up-right-to-left",
|
|
131
|
+
"mgg/other-properties",
|
|
132
|
+
"mgg/other-properties-off",
|
|
133
|
+
"mgg/partial-wall",
|
|
134
|
+
"mgg/payment-settings",
|
|
135
|
+
"mgg/places-green",
|
|
136
|
+
"mgg/places-green-doc",
|
|
137
|
+
"mgg/places-green-history",
|
|
138
|
+
"mgg/places-green-info",
|
|
139
|
+
"mgg/places-holiday-beach",
|
|
140
|
+
"mgg/places-market",
|
|
141
|
+
"mgg/places-park",
|
|
142
|
+
"mgg/places-park-alt",
|
|
143
|
+
"mgg/places-store-access-denied",
|
|
144
|
+
"mgg/property-owner",
|
|
145
|
+
"mgg/relevance",
|
|
146
|
+
"mgg/reporting-abuse",
|
|
147
|
+
"mgg/residency-permit",
|
|
148
|
+
"mgg/rubber-stamp",
|
|
149
|
+
"mgg/rurale",
|
|
150
|
+
"mgg/search-maggioli",
|
|
151
|
+
"mgg/send-progress",
|
|
152
|
+
"mgg/settings-attachment",
|
|
153
|
+
"mgg/sign-shop",
|
|
154
|
+
"mgg/square-viewfinder",
|
|
155
|
+
"mgg/stamp",
|
|
156
|
+
"mgg/status-progress-a-quarter",
|
|
157
|
+
"mgg/status-progress-complete",
|
|
158
|
+
"mgg/status-progress-half",
|
|
159
|
+
"mgg/status-progress-three-quarter",
|
|
160
|
+
"mgg/stuck-codes",
|
|
161
|
+
"mgg/tea-light",
|
|
162
|
+
"mgg/terminal",
|
|
163
|
+
"mgg/todo",
|
|
164
|
+
"mgg/todo-completed",
|
|
165
|
+
"mgg/todo-completed-re-executable",
|
|
166
|
+
"mgg/todo-in-charge-by-me",
|
|
167
|
+
"mgg/todo-in-charge-by-others",
|
|
168
|
+
"mgg/todo-in-evaluation",
|
|
169
|
+
"mgg/todo-in-evaluation-by-others",
|
|
170
|
+
"mgg/todo-incoming-in-charge",
|
|
171
|
+
"mgg/todo-incoming-rejected",
|
|
172
|
+
"mgg/todo-pause",
|
|
173
|
+
"mgg/todo-running-completed",
|
|
174
|
+
"mgg/todo-suspended",
|
|
175
|
+
"mgg/traffic-cone",
|
|
176
|
+
"mgg/trending-down",
|
|
177
|
+
"mgg/tributes",
|
|
178
|
+
"mgg/urban-city",
|
|
179
|
+
"mgg/user-dead",
|
|
180
|
+
"mgg/user-family",
|
|
181
|
+
"mgg/user-location",
|
|
182
|
+
"mgg/user-location-off",
|
|
183
|
+
"mgg/view-chart-gantt",
|
|
184
|
+
"mgg/view-side-by-side",
|
|
185
|
+
"mgg/work-book",
|
|
13
186
|
"mi/baseline/account-balance",
|
|
14
187
|
"mi/baseline/account-balance-wallet",
|
|
15
188
|
"mi/baseline/adobe",
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
[
|
|
2
|
+
"mgg/abitazione-principale",
|
|
3
|
+
"mgg/action-hide-down-side",
|
|
4
|
+
"mgg/action-hide-left-side",
|
|
5
|
+
"mgg/action-hide-right-side",
|
|
6
|
+
"mgg/action-hide-sidebar-left",
|
|
7
|
+
"mgg/action-hide-sidebar-right",
|
|
8
|
+
"mgg/action-show-down-side",
|
|
9
|
+
"mgg/action-show-left-side",
|
|
10
|
+
"mgg/action-show-right-side",
|
|
11
|
+
"mgg/action-show-sidebar-left",
|
|
12
|
+
"mgg/action-show-sidebar-right",
|
|
13
|
+
"mgg/add-document-settings",
|
|
14
|
+
"mgg/additional-contents",
|
|
15
|
+
"mgg/address-book-off",
|
|
16
|
+
"mgg/address-book-on",
|
|
17
|
+
"mgg/adv-denied",
|
|
18
|
+
"mgg/area-edificabile",
|
|
19
|
+
"mgg/area-weather",
|
|
20
|
+
"mgg/box-multiple",
|
|
21
|
+
"mgg/breadcrumb",
|
|
22
|
+
"mgg/calendar-euro",
|
|
23
|
+
"mgg/calendar-multiple",
|
|
24
|
+
"mgg/calendar-schedule",
|
|
25
|
+
"mgg/car-license",
|
|
26
|
+
"mgg/card-stamping",
|
|
27
|
+
"mgg/checklist-settings",
|
|
28
|
+
"mgg/checklist",
|
|
29
|
+
"mgg/citizenship",
|
|
30
|
+
"mgg/city-bin",
|
|
31
|
+
"mgg/copy-paste",
|
|
32
|
+
"mgg/data-analytics-alt",
|
|
33
|
+
"mgg/data-analytics-search",
|
|
34
|
+
"mgg/data-analytics-time",
|
|
35
|
+
"mgg/data-category-alt",
|
|
36
|
+
"mgg/data-civil-union",
|
|
37
|
+
"mgg/data-death-civil-union",
|
|
38
|
+
"mgg/data-death-marriage",
|
|
39
|
+
"mgg/data-end-civil-union",
|
|
40
|
+
"mgg/data-end-marriage",
|
|
41
|
+
"mgg/dataset",
|
|
42
|
+
"mgg/document-magic",
|
|
43
|
+
"mgg/document-rename",
|
|
44
|
+
"mgg/electronic-document",
|
|
45
|
+
"mgg/email-open-check",
|
|
46
|
+
"mgg/email-open-off",
|
|
47
|
+
"mgg/face-to-face-meeting",
|
|
48
|
+
"mgg/farmer",
|
|
49
|
+
"mgg/field",
|
|
50
|
+
"mgg/file-download",
|
|
51
|
+
"mgg/file-folder-tree-open",
|
|
52
|
+
"mgg/file-folder-tree",
|
|
53
|
+
"mgg/file-import",
|
|
54
|
+
"mgg/file-odt",
|
|
55
|
+
"mgg/file-rtf",
|
|
56
|
+
"mgg/file-settings-alt",
|
|
57
|
+
"mgg/file-stack-alt",
|
|
58
|
+
"mgg/file-stack",
|
|
59
|
+
"mgg/file-sub",
|
|
60
|
+
"mgg/file-type-document-attachment",
|
|
61
|
+
"mgg/file-type-document-multiple-attachment",
|
|
62
|
+
"mgg/file-type-document-rubber-stamp",
|
|
63
|
+
"mgg/file-type-home",
|
|
64
|
+
"mgg/file-type-pdf",
|
|
65
|
+
"mgg/file-type-success",
|
|
66
|
+
"mgg/file-type-warning",
|
|
67
|
+
"mgg/finance-euro-cashback",
|
|
68
|
+
"mgg/fit-horizontal",
|
|
69
|
+
"mgg/fit-vertical",
|
|
70
|
+
"mgg/fullscreen-on-alt",
|
|
71
|
+
"mgg/google-check-small",
|
|
72
|
+
"mgg/google-place-item",
|
|
73
|
+
"mgg/heart-outline",
|
|
74
|
+
"mgg/heart",
|
|
75
|
+
"mgg/historic-building-unusable",
|
|
76
|
+
"mgg/historic-building",
|
|
77
|
+
"mgg/home-hammer",
|
|
78
|
+
"mgg/home-number",
|
|
79
|
+
"mgg/inagibile",
|
|
80
|
+
"mgg/input-calendar-costs",
|
|
81
|
+
"mgg/input-calendar-period",
|
|
82
|
+
"mgg/input-calendar-time",
|
|
83
|
+
"mgg/isbn",
|
|
84
|
+
"mgg/judge-hammer",
|
|
85
|
+
"mgg/land-registry",
|
|
86
|
+
"mgg/layers",
|
|
87
|
+
"mgg/list-dot",
|
|
88
|
+
"mgg/logo-girasole-camuno",
|
|
89
|
+
"mgg/logo-gpl",
|
|
90
|
+
"mgg/logo-ilibro",
|
|
91
|
+
"mgg/map-marker-settings",
|
|
92
|
+
"mgg/military-draft",
|
|
93
|
+
"mgg/money-bag-settings",
|
|
94
|
+
"mgg/money-on-hand",
|
|
95
|
+
"mgg/move-down",
|
|
96
|
+
"mgg/move-left",
|
|
97
|
+
"mgg/move-right",
|
|
98
|
+
"mgg/move-row-down",
|
|
99
|
+
"mgg/move-row-up",
|
|
100
|
+
"mgg/move-up",
|
|
101
|
+
"mgg/multiple-payments",
|
|
102
|
+
"mgg/national-document-off",
|
|
103
|
+
"mgg/national-document",
|
|
104
|
+
"mgg/order-return-down-left-to-right",
|
|
105
|
+
"mgg/order-return-down-left-to-up",
|
|
106
|
+
"mgg/order-return-down-right-to-left",
|
|
107
|
+
"mgg/order-return-down-right-to-up",
|
|
108
|
+
"mgg/order-return-up-left-to-down",
|
|
109
|
+
"mgg/order-return-up-left-to-right",
|
|
110
|
+
"mgg/order-return-up-right-to-down",
|
|
111
|
+
"mgg/order-return-up-right-to-left",
|
|
112
|
+
"mgg/order-zigzag-down-left-to-right",
|
|
113
|
+
"mgg/order-zigzag-down-left-to-up",
|
|
114
|
+
"mgg/order-zigzag-down-right-to-left",
|
|
115
|
+
"mgg/order-zigzag-down-right-to-up",
|
|
116
|
+
"mgg/order-zigzag-up-left-to-down",
|
|
117
|
+
"mgg/order-zigzag-up-left-to-right",
|
|
118
|
+
"mgg/order-zigzag-up-right-to-down",
|
|
119
|
+
"mgg/order-zigzag-up-right-to-left",
|
|
120
|
+
"mgg/other-properties-off",
|
|
121
|
+
"mgg/other-properties",
|
|
122
|
+
"mgg/partial-wall",
|
|
123
|
+
"mgg/payment-settings",
|
|
124
|
+
"mgg/places-green-doc",
|
|
125
|
+
"mgg/places-green-history",
|
|
126
|
+
"mgg/places-green-info",
|
|
127
|
+
"mgg/places-green",
|
|
128
|
+
"mgg/places-holiday-beach",
|
|
129
|
+
"mgg/places-market",
|
|
130
|
+
"mgg/places-park-alt",
|
|
131
|
+
"mgg/places-park",
|
|
132
|
+
"mgg/places-store-access-denied",
|
|
133
|
+
"mgg/property-owner",
|
|
134
|
+
"mgg/relevance",
|
|
135
|
+
"mgg/reporting-abuse",
|
|
136
|
+
"mgg/residency-permit",
|
|
137
|
+
"mgg/rubber-stamp",
|
|
138
|
+
"mgg/rurale",
|
|
139
|
+
"mgg/search-maggioli",
|
|
140
|
+
"mgg/send-progress",
|
|
141
|
+
"mgg/settings-attachment",
|
|
142
|
+
"mgg/sign-shop",
|
|
143
|
+
"mgg/square-viewfinder",
|
|
144
|
+
"mgg/stamp",
|
|
145
|
+
"mgg/status-progress-a-quarter",
|
|
146
|
+
"mgg/status-progress-complete",
|
|
147
|
+
"mgg/status-progress-half",
|
|
148
|
+
"mgg/status-progress-three-quarter",
|
|
149
|
+
"mgg/stuck-codes",
|
|
150
|
+
"mgg/tea-light",
|
|
151
|
+
"mgg/terminal",
|
|
152
|
+
"mgg/todo-completed-re-executable",
|
|
153
|
+
"mgg/todo-completed",
|
|
154
|
+
"mgg/todo-in-charge-by-me",
|
|
155
|
+
"mgg/todo-in-charge-by-others",
|
|
156
|
+
"mgg/todo-in-evaluation-by-others",
|
|
157
|
+
"mgg/todo-in-evaluation",
|
|
158
|
+
"mgg/todo-incoming-in-charge",
|
|
159
|
+
"mgg/todo-incoming-rejected",
|
|
160
|
+
"mgg/todo-pause",
|
|
161
|
+
"mgg/todo-running-completed",
|
|
162
|
+
"mgg/todo-suspended",
|
|
163
|
+
"mgg/todo",
|
|
164
|
+
"mgg/traffic-cone",
|
|
165
|
+
"mgg/trending-down",
|
|
166
|
+
"mgg/tributes",
|
|
167
|
+
"mgg/urban-city",
|
|
168
|
+
"mgg/user-dead",
|
|
169
|
+
"mgg/user-family",
|
|
170
|
+
"mgg/user-location-off",
|
|
171
|
+
"mgg/user-location",
|
|
172
|
+
"mgg/view-chart-gantt",
|
|
173
|
+
"mgg/view-side-by-side",
|
|
174
|
+
"mgg/work-book"
|
|
175
|
+
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,b as e}from"./p-
|
|
1
|
+
import{p as r,b as e}from"./p-d657b3ae.js";export{s as setNonce}from"./p-d657b3ae.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),r(e)})().then((r=>e([["p-b46a06eb",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],r)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-ae3a1868.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-86f204e8.system.js"],(function(r){"use strict";var t,o,i,e;return{setters:[function(r){t=r.r;o=r.h;i=r.H;e=r.g}],execute:function(){var s="@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";var n=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=[];this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="dark";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return o(i,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},o("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());n.style=s}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-86f204e8.system.js"],(function(e,r){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b;e("setNonce",r.s)}],execute:function(){var e=function(){var e=r.meta.url;var s={};if(e!==""){s.resourcesUrl=new URL(".",e).href}return t(s)};e().then((function(e){return s([["p-8e872f12.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as t,g as i}from"./p-
|
|
1
|
+
import{r,h as o,H as t,g as i}from"./p-d657b3ae.js";const a=class{constructor(o){r(this,o),this.stepsList=[],this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="dark",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return i(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};a.style="@tailwind utilities; :host{--background:rgb(var(--tone-neutral-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;width:100%;overflow:hidden;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-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:var(--background);border-radius:var(--radius);height:var(--thickness);min-width:var(--thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;width:var(--thickness);min-height:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--color:rgb(var(--tone-neutral-04));--background:rgb(var(--tone-neutral-08))}:host([variant=light]){--color:rgb(var(--tone-neutral));--background:rgb(var(--tone-neutral-05))}:host([variant=error]){--color:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--color:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--color:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--color:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--color:rgb(var(--brand-maggioli-03));--background:rgb(var(--tone-neutral-08))}";export{a as mds_progress}
|
|
File without changes
|