@maggioli-design-system/mds-progress 2.4.0 → 2.6.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 (82) hide show
  1. package/dist/cjs/{index-1d846f7a.js → index-8d1e9d2a.js} +172 -33
  2. package/dist/cjs/loader.cjs.js +2 -11
  3. package/dist/cjs/mds-progress.cjs.entry.js +4 -4
  4. package/dist/cjs/mds-progress.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +3 -3
  6. package/dist/collection/common/aria.js +4 -2
  7. package/dist/collection/common/keyboard-manager.js +1 -1
  8. package/dist/collection/common/unit.js +10 -0
  9. package/dist/collection/components/mds-progress/mds-progress.css +22 -22
  10. package/dist/collection/components/mds-progress/mds-progress.js +12 -10
  11. package/dist/collection/components/mds-progress/test/mds-progress.e2e.js +10 -0
  12. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +3 -3
  13. package/dist/collection/dictionary/button.js +5 -1
  14. package/dist/collection/dictionary/icon.js +2 -2
  15. package/dist/collection/dictionary/variant.js +9 -1
  16. package/dist/components/index.d.ts +5 -3
  17. package/dist/components/index.js +1 -2
  18. package/dist/components/mds-progress.js +4 -4
  19. package/dist/documentation.d.ts +421 -0
  20. package/dist/documentation.json +200 -0
  21. package/dist/esm/{index-b254472d.js → index-b34e0eee.js} +172 -33
  22. package/dist/esm/loader.js +3 -12
  23. package/dist/esm/mds-progress.entry.js +4 -4
  24. package/dist/esm/mds-progress.js +3 -3
  25. package/dist/esm-es5/index-b34e0eee.js +2 -0
  26. package/dist/esm-es5/loader.js +1 -1
  27. package/dist/esm-es5/mds-progress.entry.js +1 -1
  28. package/dist/esm-es5/mds-progress.js +1 -1
  29. package/dist/mds-progress/mds-progress.esm.js +1 -1
  30. package/dist/mds-progress/mds-progress.js +2 -6
  31. package/dist/mds-progress/p-1b808e2f.entry.js +1 -0
  32. package/dist/mds-progress/p-747d7cb5.system.js +2 -0
  33. package/dist/mds-progress/p-82d66bad.js +2 -0
  34. package/dist/mds-progress/p-b7abdcbf.system.entry.js +1 -0
  35. package/dist/mds-progress/{p-ae3a1868.system.js → p-da577edc.system.js} +1 -1
  36. package/dist/stats.json +54 -50
  37. package/dist/types/common/unit.d.ts +2 -0
  38. package/dist/types/components/mds-progress/mds-progress.d.ts +3 -3
  39. package/dist/types/components.d.ts +5 -3
  40. package/dist/types/dictionary/button.d.ts +2 -1
  41. package/dist/types/dictionary/variant.d.ts +2 -1
  42. package/dist/types/interface/input-value.d.ts +1 -1
  43. package/dist/types/stencil-public-runtime.d.ts +32 -17
  44. package/dist/types/type/button.d.ts +1 -0
  45. package/dist/types/type/variant.d.ts +1 -0
  46. package/documentation.json +545 -0
  47. package/loader/index.d.ts +2 -2
  48. package/package.json +10 -4
  49. package/readme.md +2 -2
  50. package/src/common/aria.ts +2 -2
  51. package/src/common/keyboard-manager.ts +1 -1
  52. package/src/common/unit.ts +14 -0
  53. package/src/components/mds-progress/css/mds-progress-variant.css +21 -21
  54. package/src/components/mds-progress/mds-progress.css +2 -2
  55. package/src/components/mds-progress/mds-progress.tsx +4 -4
  56. package/src/components/mds-progress/readme.md +2 -2
  57. package/src/components.d.ts +5 -3
  58. package/src/dictionary/button.ts +7 -1
  59. package/src/dictionary/variant.ts +10 -0
  60. package/src/fixtures/icons.json +40 -0
  61. package/src/fixtures/iconsauce.json +38 -0
  62. package/src/interface/input-value.ts +1 -1
  63. package/src/type/button.ts +4 -0
  64. package/src/type/variant.ts +9 -0
  65. package/www/build/mds-progress.esm.js +1 -1
  66. package/www/build/mds-progress.js +2 -6
  67. package/www/build/p-1b808e2f.entry.js +1 -0
  68. package/www/build/p-747d7cb5.system.js +2 -0
  69. package/www/build/p-82d66bad.js +2 -0
  70. package/www/build/p-b7abdcbf.system.entry.js +1 -0
  71. package/www/build/{p-ae3a1868.system.js → p-da577edc.system.js} +1 -1
  72. package/dist/esm/polyfills/css-shim.js +0 -1
  73. package/dist/esm-es5/index-b254472d.js +0 -2
  74. package/dist/mds-progress/p-86f204e8.system.js +0 -2
  75. package/dist/mds-progress/p-d657b3ae.js +0 -2
  76. package/dist/mds-progress/p-e2e4d70b.entry.js +0 -1
  77. package/dist/mds-progress/p-fc6f1e41.system.entry.js +0 -1
  78. package/src/components/mds-progress/test/mds-progress.spec.tsx +0 -19
  79. package/www/build/p-86f204e8.system.js +0 -2
  80. package/www/build/p-d657b3ae.js +0 -2
  81. package/www/build/p-e2e4d70b.entry.js +0 -1
  82. package/www/build/p-fc6f1e41.system.entry.js +0 -1
@@ -1 +1 @@
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
+ import{b as bootstrapLazy}from"./index-b34e0eee.js";export{s as setNonce}from"./index-b34e0eee.js";var defineCustomElements=function(e,r){if(typeof window==="undefined")return undefined;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-b254472d.js";var mdsProgressCss="@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-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(--mds-progress-background);border-radius:var(--mds-progress-radius);height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness)}:host([direction=vertical]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-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
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-b34e0eee.js";var mdsProgressCss='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-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(--mds-progress-background);border-radius:var(--mds-progress-radius);height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness)}:host([direction="vertical"]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";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-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
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-b34e0eee.js";export{s as setNonce}from"./index-b34e0eee.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)}));
@@ -1 +1 @@
1
- import{p as e,b as r}from"./p-d657b3ae.js";export{s as setNonce}from"./p-d657b3ae.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),e(s)})().then((e=>r([["p-e2e4d70b",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)));
1
+ import{p as r,b as e}from"./p-82d66bad.js";export{s as setNonce}from"./p-82d66bad.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),r(e)})().then((r=>e([["p-1b808e2f",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],r)));
@@ -115,15 +115,11 @@ 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-ae3a1868.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-da577edc.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
122
- if (window.__cssshim) {
123
- window.__cssshim.i().then(start);
124
- } else {
125
- start();
126
- }
122
+ start();
127
123
 
128
124
  // Note: using .call(window) here because the self-executing function needs
129
125
  // to be scoped to the window object for the ES6Promise polyfill to work
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s,g as t}from"./p-82d66bad.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",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(s,{"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 t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-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(--mds-progress-background);border-radius:var(--mds-progress-radius);height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness)}:host([direction="vertical"]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,l)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(r=0)),r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="mds-progress";var a;var i;var o=false;var l=false;var s=function(e,t){if(t===void 0){t=""}{return function(){return}}};var u=function(e,t){{return function(){return}}};var f="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var $=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var o=false;var l=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?p(null,a):a)}o=i}}};s(r);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var f=p(e,null);f.$attrs$=t;if(l.length>0){f.$children$=l}return f}));var p=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var m=e("H",{});var y=function(e){return e&&e.$tag$===m};var g=function(e,t){if(e!=null&&!v(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var b=e("g",(function(e){return oe(e).$hostElement$}));var w=function(e,t,r){var n=pe.ce(t,r);e.dispatchEvent(n);return n};var _=new WeakMap;var S=function(e,t,r){var n=ve.get(e);if(ye&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}ve.set(e,n)};var R=function(e,t,r){var n;var a=P(t);var i=ve.get(a);e=e.nodeType===11?e:he;if(i){if(typeof i==="string"){e=e.head||e;var o=_.get(e);var l=void 0;if(!o){_.set(e,o=new Set)}if(!o.has(a)){{l=he.createElement("style");l.innerHTML=i;var s=(n=pe.$nonce$)!==null&&n!==void 0?n:d(he);if(s!=null){l.setAttribute("nonce",s)}e.insertBefore(l,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var N=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=s("attachStyles",t.$tagName$);var i=R(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var P=function(e,t){return"sc-"+e.$tagName$};var A=function(e,t,r,n,a,i){if(r!==n){var o=ue(e,t);t.toLowerCase();if(t==="class"){var l=e.classList;var s=j(r);var u=j(n);l.remove.apply(l,s.filter((function(e){return e&&!u.includes(e)})));l.add.apply(l,u.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var f in r){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!r||n[f]!==r[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else{var c=v(n);if((o||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var E=/\s/;var j=function(e){return!e?[]:e.split(E)};var C=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||c;var o=t.$attrs$||c;{for(n in i){if(!(n in o)){A(a,n,i[n],undefined,r,t.$flags$)}}}for(n in o){A(a,n,i[n],o[n],r,t.$flags$)}};var x=function(e,t,r,n){var i=t.$children$[r];var l=0;var s;var u;{s=i.$elm$=he.createElement(i.$tag$);{C(null,i,o)}if($(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){u=x(e,i,l);if(u){s.appendChild(u)}}}}return s};var M=function(e,t,r,n,a,o){var l=e;var s;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(n[a]){s=x(null,r,a);if(s){n[a].$elm$=s;l.insertBefore(s,t)}}}};var k=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.$elm$;if(i){i.remove()}}}};var O=function(e,t,r,n){var a=0;var i=0;var o=t.length-1;var l=t[0];var s=t[o];var u=n.length-1;var f=n[0];var c=n[u];var $;while(a<=o&&i<=u){if(l==null){l=t[++a]}else if(s==null){s=t[--o]}else if(f==null){f=n[++i]}else if(c==null){c=n[--u]}else if(T(l,f)){L(l,f);l=t[++a];f=n[++i]}else if(T(s,c)){L(s,c);s=t[--o];c=n[--u]}else if(T(l,c)){L(l,c);e.insertBefore(l.$elm$,s.$elm$.nextSibling);l=t[++a];c=n[--u]}else if(T(s,f)){L(s,f);e.insertBefore(s.$elm$,l.$elm$);s=t[--o];f=n[++i]}else{{$=x(t&&t[i],r,i);f=n[++i]}if($){{l.$elm$.parentNode.insertBefore($,l.$elm$)}}}}if(a>o){M(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){k(t,a,o)}};var T=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var L=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{C(e,t,o)}}if(n!==null&&a!==null){O(r,n,t,a)}else if(a!==null){M(r,null,t,a,0,a.length-1)}else if(n!==null){k(n,0,n.length-1)}}};var I=function(e,t,r){if(r===void 0){r=false}var n=e.$hostElement$;var o=e.$cmpMeta$;var l=e.$vnode$||p(null,null);var s=y(t)?t:h(null,null,t);i=n.tagName;if(o.$attrsToReflect$){s.$attrs$=s.$attrs$||{};o.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return s.$attrs$[r]=n[t]}))}if(r&&s.$attrs$){for(var u=0,f=Object.keys(s.$attrs$);u<f.length;u++){var c=f[u];if(n.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){s.$attrs$[c]=n[c]}}}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}L(l,s)};var B=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var z=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}B(e,e.$ancestorComponent$);var r=function(){return U(e,t)};return Ne(r)};var U=function(e,t){var r=s("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{a=D(n,"componentWillLoad")}}r();return q(a,(function(){return V(e,n,t)}))};var q=function(e,t){return H(e)?e.then(t):t()};var H=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var V=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,o,l,u,f;return __generator(this,(function(c){a=e.$hostElement$;i=s("update",e.$cmpMeta$.$tagName$);o=a["s-rc"];if(n){N(e)}l=s("render",e.$cmpMeta$.$tagName$);{W(e,t,a,n)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{u=(r=a["s-p"])!==null&&r!==void 0?r:[];f=function(){return F(e)};if(u.length===0){f()}else{Promise.all(u).then(f);e.$flags$|=4;u.length=0}}return[2]}))}))};var W=function(e,t,r,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t,n)}}}}catch(t){fe(t,e.$hostElement$)}return null};var F=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=s("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(r)}n();{e.$onReadyResolve$(r);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Re((function(){return z(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(he.documentElement)}Re((function(){return w(de,"appload",{detail:{namespace:n}})}))};var D=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){fe(e)}}return undefined};var J=function(e){return e.setAttribute("hydrated","")};var K=function(e,t){return oe(e).$instanceValues$.get(t)};var Q=function(e,t,r,n){var a=oe(e);var i=a.$hostElement$;var o=a.$instanceValues$.get(t);var l=a.$flags$;var s=a.$lazyInstance$;r=g(r,n.$members$[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===undefined)&&f){a.$instanceValues$.set(t,r);if(s){if(n.$watchers$&&l&128){var c=n.$watchers$[t];if(c){c.map((function(e){try{s[e](r,o,t)}catch(e){fe(e,i)}}))}}if((l&(2|16))===2){z(a,false)}}}};var X=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return K(this,n)},set:function(e){Q(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;pe.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Y=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,o,l,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=$e(n);if(!i.then)return[3,2];e=u();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}X(i,n,2);i.isProxied=true}r=s("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){fe(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;o=P(n);if(!ve.has(o)){l=s("registerStyles",n.$tagName$);S(o,a,!!(n.$flags$&1));l()}}$.label=3;case 3:f=t.$ancestorComponent$;c=function(){return z(t,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(e){};var ee=function(e){if((pe.$flags$&1)===0){var t=oe(e);var r=t.$cmpMeta$;var n=s("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){B(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Y(e,t,r)}}else{if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return Z()}))}}n()}};var te=function(e){};var re=function(e){return __awaiter(r,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((pe.$flags$&1)===0){t=oe(e);if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return te()}))}}return[2]}))}))};var ne=e("b",(function(e,t){if(t===void 0){t={}}var r;var n=s();var a=[];var i=t.exclude||[];var o=de.customElements;var l=he.head;var u=l.querySelector("meta[charset]");var c=he.createElement("style");var $=[];var v;var h=true;Object.assign(pe,t);pe.$resourcesUrl$=new URL(t.resourcesUrl||"./",he.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var n=r.$tagName$;var l=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;se(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(h){$.push(this)}else{pe.jmp((function(){return ee(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;pe.jmp((function(){return re(e)}))};t.prototype.componentOnReady=function(){return oe(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!i.includes(n)&&!o.get(n)){a.push(n);o.define(n,X(l,r,1))}}))}));{c.innerHTML=a+f;c.setAttribute("data-styles","");var p=(r=pe.$nonce$)!==null&&r!==void 0?r:d(he);if(p!=null){c.setAttribute("nonce",p)}l.insertBefore(c,u?u.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{pe.jmp((function(){return v=setTimeout(G,30)}))}}n()}));var ae=e("s",(function(e){return pe.$nonce$=e}));var ie=new WeakMap;var oe=function(e){return ie.get(e)};var le=e("r",(function(e,t){return ie.set(t.$lazyInstance$=e,t)}));var se=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ie.set(e,r)};var ue=function(e,t){return t in e};var fe=function(e,t){return(0,console.error)(e,t)};var ce=new Map;var $e=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=ce.get(i);if(o){return o[a]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{ce.set(i,e)}return e[a]}),fe)};var ve=new Map;var de=typeof window!=="undefined"?window:{};var he=de.document||{head:{}};var pe={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var me=e("p",(function(e){return Promise.resolve(e)}));var ye=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ge=[];var be=[];var we=function(e,t){return function(r){e.push(r);if(!l){l=true;if(t&&pe.$flags$&4){Re(Se)}else{pe.raf(Se)}}}};var _e=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){fe(e)}}e.length=0};var Se=function(){_e(ge);{_e(be);if(l=ge.length>0){pe.raf(Se)}}};var Re=function(e){return me().then(e)};var Ne=we(be,true)}}}));
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=n=>F(n).p,a=new WeakMap,f=n=>"sc-"+n.$,d=(n,t,e,l,s,i)=>{if(e!==l){let c=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=h(e),s=h(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||s)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||d(s,o,i[o],void 0,e,t.i);for(o in c)d(s,o,i[o],c[o],e,t.i)},$=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.h=D.createElement(o.u),p(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=$(t,o,c),i&&s.appendChild(i);return s},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},b=(n,t)=>n.u===t.u,w=(n,t)=>{const e=t.h=n.h,l=n.o,o=t.o;p(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:b(r,f)?(w(r,f),r=t[++s],f=l[++i]):b(u,d)?(w(u,d),u=t[--c],d=l[--a]):b(r,d)?(w(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):b(u,f)?(w(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=$(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?m(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(e,l,t,o):null!==o?m(e,null,t,o,0,o.length-1):null!==l&&v(l,0,l.length-1)},g=(n,t)=>{t&&!n.m&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.m=t)))},S=(n,t)=>{if(n.i|=16,!(4&n.i))return g(n,n.v),tn((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.g;let l;return t&&(l=E(e,"componentWillLoad")),M(l,(()=>O(n,e,t)))},M=(n,t)=>k(n)?n.then(t):t(),k=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,O=async(n,t,e)=>{var l;const o=n.p,i=o["s-rc"];e&&(n=>{const t=n.S,e=n.p,l=t.i,o=((n,t)=>{var e;const l=f(t),o=z.get(l);if(n=11===n.nodeType?n:D,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=D.createElement("style"),t.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);C(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>P(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},C=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.p,u=e.S,a=e.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,u.k&&(f.l=f.l||{},u.k.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],w(a,f)})(e,l,s)}catch(n){q(n,e.p)}return null},P=n=>{const t=n.p,e=n.v;64&n.i||(n.i|=64,L(t),n.O(t),e||x()),n.m&&(n.m(),n.m=void 0),512&n.i&&nn((()=>S(n,!1))),n.i&=-517},x=()=>{L(D.documentElement),nn((()=>(n=>{const t=G.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(B)))},E=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){q(n)}},L=n=>n.setAttribute("hydrated",""),N=(n,t,e)=>{if(t.C){n.watchers&&(t.P=n.watchers);const l=Object.entries(t.C),s=n.prototype;if(l.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>F(this).L.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.p,c=s.L.get(t),r=s.i,u=s.g;if(e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(s.L.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){q(n,i)}}))}2==(18&r)&&S(s,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,t,l){G.jmp((()=>{const t=e.get(n);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},n.observedAttributes=l.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.k.push([n,o]),o}))}}return n},T=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=B.customElements,c=D.head,r=c.querySelector("meta[charset]"),u=D.createElement("style"),a=[];let d,y=!0;Object.assign(G,t),G.N=new URL(t.resourcesUrl||"./",D.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],$:t[1],C:t[2],T:t[3]};e.C=t[2],e.k=[],e.P={};const s=e.$,c=class extends HTMLElement{constructor(n){super(n),R(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):G.jmp((()=>(n=>{if(0==(1&G.i)){const t=F(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.g)||(null==t?void 0:t.W)&&t.W.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){g(t,t.v=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e,l,o)=>{if(0==(32&t.i)){t.i|=32;{if((o=_(e)).then){const n=()=>{};o=await o,n()}o.isProxied||(e.P=o.watchers,N(o,e,2),o.isProxied=!0);const n=()=>{};t.i|=8;try{new o(t)}catch(n){q(n)}t.i&=-9,t.i|=128,n()}if(o.style){let n=o.style;const t=f(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,z.set(n,l)})(t,n,!!(1&e.i)),l()}}}const s=t.v,i=()=>S(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.i)){const n=F(this);(null==n?void 0:n.g)||(null==n?void 0:n.W)&&n.W.then((()=>{}))}})()))}componentOnReady(){return F(this).W}};e.A=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,N(c,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=G.j)&&void 0!==e?e:s(D);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}y=!1,a.length?a.map((n=>n.connectedCallback())):G.jmp((()=>d=setTimeout(x,30)))},W=n=>G.j=n,A=new WeakMap,F=n=>A.get(n),H=(n,t)=>A.set(t.g=n,t),R=(n,t)=>{const e={i:0,p:n,S:t,L:new Map};return e.W=new Promise((n=>e.O=n)),n["s-p"]=[],n["s-rc"]=[],A.set(n,e)},U=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.$.replace(/-/g,"_"),e=n.A,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),q)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},I=n=>Promise.resolve(n),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),K=[],Q=[],X=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&G.i?nn(Z):G.raf(Z))},Y=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},nn=n=>I().then(n),tn=X(Q,!0);export{r as H,T as b,u as g,i as h,I as p,H as r,W as s}
@@ -0,0 +1 @@
1
+ System.register(["./p-747d7cb5.system.js"],(function(r){"use strict";var o,s,t,e;return{setters:[function(r){o=r.r;s=r.h;t=r.H;e=r.g}],execute:function(){var i='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-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(--mds-progress-background);border-radius:var(--mds-progress-radius);height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness)}:host([direction="vertical"]){height:100%;width:auto;-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var n=r("mds_progress",function(){function r(r){o(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";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 s(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},s("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=i}}}));
@@ -1 +1 @@
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-fc6f1e41.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)}))}}}));
1
+ System.register(["./p-747d7cb5.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-b7abdcbf.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]}]]]],e)}))}}}));
package/dist/stats.json CHANGED
@@ -1,25 +1,27 @@
1
1
  {
2
- "timestamp": "2023-03-09T10:55:16",
2
+ "timestamp": "2023-09-18T09:19:14",
3
3
  "compiler": {
4
4
  "name": "node",
5
- "version": "18.3.0"
5
+ "version": "18.12.1"
6
6
  },
7
7
  "app": {
8
8
  "namespace": "MdsProgress",
9
9
  "fsNamespace": "mds-progress",
10
10
  "components": 1,
11
11
  "entries": 1,
12
- "bundles": 67,
12
+ "bundles": 69,
13
13
  "outputs": [
14
14
  {
15
15
  "name": "dist-collection",
16
- "files": 26,
16
+ "files": 28,
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
19
  "./dist/collection/common/keyboard-manager.js",
20
+ "./dist/collection/common/unit.js",
20
21
  "./dist/collection/components/mds-progress/mds-progress.js",
21
22
  "./dist/collection/components/mds-progress/meta/dictionary.js",
22
23
  "./dist/collection/components/mds-progress/meta/types.js",
24
+ "./dist/collection/components/mds-progress/test/mds-progress.e2e.js",
23
25
  "./dist/collection/components/mds-progress/test/mds-progress.stories.js",
24
26
  "./dist/collection/dictionary/autocomplete.js",
25
27
  "./dist/collection/dictionary/button.js",
@@ -57,17 +59,17 @@
57
59
  "name": "dist-lazy",
58
60
  "files": 35,
59
61
  "generatedFiles": [
60
- "./dist/cjs/index-1d846f7a.js",
62
+ "./dist/cjs/index-8d1e9d2a.js",
61
63
  "./dist/cjs/index.cjs.js",
62
64
  "./dist/cjs/loader.cjs.js",
63
65
  "./dist/cjs/mds-progress.cjs.entry.js",
64
66
  "./dist/cjs/mds-progress.cjs.js",
65
- "./dist/esm-es5/index-b254472d.js",
67
+ "./dist/esm-es5/index-b34e0eee.js",
66
68
  "./dist/esm-es5/index.js",
67
69
  "./dist/esm-es5/loader.js",
68
70
  "./dist/esm-es5/mds-progress.entry.js",
69
71
  "./dist/esm-es5/mds-progress.js",
70
- "./dist/esm/index-b254472d.js",
72
+ "./dist/esm/index-b34e0eee.js",
71
73
  "./dist/esm/index.js",
72
74
  "./dist/esm/loader.js",
73
75
  "./dist/esm/mds-progress.entry.js",
@@ -77,21 +79,21 @@
77
79
  "./dist/mds-progress/index.esm.js",
78
80
  "./dist/mds-progress/mds-progress.esm.js",
79
81
  "./dist/mds-progress/mds-progress.js",
82
+ "./dist/mds-progress/p-1b808e2f.entry.js",
80
83
  "./dist/mds-progress/p-50ea2036.system.js",
81
- "./dist/mds-progress/p-86f204e8.system.js",
82
- "./dist/mds-progress/p-ae3a1868.system.js",
83
- "./dist/mds-progress/p-d657b3ae.js",
84
- "./dist/mds-progress/p-e2e4d70b.entry.js",
85
- "./dist/mds-progress/p-fc6f1e41.system.entry.js",
84
+ "./dist/mds-progress/p-747d7cb5.system.js",
85
+ "./dist/mds-progress/p-82d66bad.js",
86
+ "./dist/mds-progress/p-b7abdcbf.system.entry.js",
87
+ "./dist/mds-progress/p-da577edc.system.js",
86
88
  "./www/build/index.esm.js",
87
89
  "./www/build/mds-progress.esm.js",
88
90
  "./www/build/mds-progress.js",
91
+ "./www/build/p-1b808e2f.entry.js",
89
92
  "./www/build/p-50ea2036.system.js",
90
- "./www/build/p-86f204e8.system.js",
91
- "./www/build/p-ae3a1868.system.js",
92
- "./www/build/p-d657b3ae.js",
93
- "./www/build/p-e2e4d70b.entry.js",
94
- "./www/build/p-fc6f1e41.system.entry.js"
93
+ "./www/build/p-747d7cb5.system.js",
94
+ "./www/build/p-82d66bad.js",
95
+ "./www/build/p-b7abdcbf.system.entry.js",
96
+ "./www/build/p-da577edc.system.js"
95
97
  ]
96
98
  },
97
99
  {
@@ -124,12 +126,12 @@
124
126
  "components": [
125
127
  "mds-progress"
126
128
  ],
127
- "bundleId": "p-e2e4d70b",
128
- "fileName": "p-e2e4d70b.entry.js",
129
+ "bundleId": "p-1b808e2f",
130
+ "fileName": "p-1b808e2f.entry.js",
129
131
  "imports": [
130
- "p-d657b3ae.js"
132
+ "p-82d66bad.js"
131
133
  ],
132
- "originalByteSize": 4366
134
+ "originalByteSize": 4592
133
135
  }
134
136
  ],
135
137
  "esm": [
@@ -141,9 +143,9 @@
141
143
  "bundleId": "mds-progress",
142
144
  "fileName": "mds-progress.entry.js",
143
145
  "imports": [
144
- "index-b254472d.js"
146
+ "index-b34e0eee.js"
145
147
  ],
146
- "originalByteSize": 4370
148
+ "originalByteSize": 4596
147
149
  }
148
150
  ],
149
151
  "es5": [
@@ -155,9 +157,9 @@
155
157
  "bundleId": "mds-progress",
156
158
  "fileName": "mds-progress.entry.js",
157
159
  "imports": [
158
- "index-b254472d.js"
160
+ "index-b34e0eee.js"
159
161
  ],
160
- "originalByteSize": 4370
162
+ "originalByteSize": 4596
161
163
  }
162
164
  ],
163
165
  "system": [
@@ -166,12 +168,12 @@
166
168
  "components": [
167
169
  "mds-progress"
168
170
  ],
169
- "bundleId": "p-fc6f1e41.system",
170
- "fileName": "p-fc6f1e41.system.entry.js",
171
+ "bundleId": "p-b7abdcbf.system",
172
+ "fileName": "p-b7abdcbf.system.entry.js",
171
173
  "imports": [
172
- "p-86f204e8.system.js"
174
+ "p-747d7cb5.system.js"
173
175
  ],
174
- "originalByteSize": 4825
176
+ "originalByteSize": 5051
175
177
  }
176
178
  ],
177
179
  "commonjs": [
@@ -183,9 +185,9 @@
183
185
  "bundleId": "mds-progress.cjs",
184
186
  "fileName": "mds-progress.cjs.entry.js",
185
187
  "imports": [
186
- "index-1d846f7a.js"
188
+ "index-8d1e9d2a.js"
187
189
  ],
188
- "originalByteSize": 4429
190
+ "originalByteSize": 4655
189
191
  }
190
192
  ]
191
193
  },
@@ -209,8 +211,6 @@
209
211
  "excludeFromCollection": false,
210
212
  "events": [],
211
213
  "internal": false,
212
- "legacyConnect": [],
213
- "legacyContext": [],
214
214
  "listeners": [],
215
215
  "methods": [],
216
216
  "potentialCmpRefs": [],
@@ -222,7 +222,7 @@
222
222
  "reflect": false,
223
223
  "mutable": false,
224
224
  "required": false,
225
- "optional": true,
225
+ "optional": false,
226
226
  "defaultValue": "0",
227
227
  "complexType": {
228
228
  "original": "number",
@@ -246,11 +246,12 @@
246
246
  "defaultValue": "'horizontal'",
247
247
  "complexType": {
248
248
  "original": "DirectionType",
249
- "resolved": "\"horizontal\" | \"vertical\"",
249
+ "resolved": "\"horizontal\" | \"vertical\" | undefined",
250
250
  "references": {
251
251
  "DirectionType": {
252
252
  "location": "import",
253
- "path": "./meta/types"
253
+ "path": "./meta/types",
254
+ "id": "src/components/mds-progress/meta/types.ts::DirectionType"
254
255
  }
255
256
  }
256
257
  },
@@ -267,15 +268,16 @@
267
268
  "reflect": true,
268
269
  "mutable": false,
269
270
  "required": false,
270
- "optional": true,
271
- "defaultValue": "'dark'",
271
+ "optional": false,
272
+ "defaultValue": "'primary'",
272
273
  "complexType": {
273
274
  "original": "ThemeVariantType",
274
275
  "resolved": "\"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
275
276
  "references": {
276
277
  "ThemeVariantType": {
277
278
  "location": "import",
278
- "path": "@type/variant"
279
+ "path": "@type/variant",
280
+ "id": "src/type/variant.ts::ThemeVariantType"
279
281
  }
280
282
  }
281
283
  },
@@ -292,7 +294,7 @@
292
294
  "reflect": false,
293
295
  "mutable": false,
294
296
  "required": false,
295
- "optional": true,
297
+ "optional": false,
296
298
  "defaultValue": "'Inizio,Un quarto,Metà,Tre quarti,Fine'",
297
299
  "complexType": {
298
300
  "original": "string",
@@ -333,7 +335,7 @@
333
335
  "reflect": false,
334
336
  "mutable": false,
335
337
  "required": false,
336
- "optional": true,
338
+ "optional": false,
337
339
  "defaultValue": "0",
338
340
  "complexType": {
339
341
  "original": "number",
@@ -357,11 +359,12 @@
357
359
  "defaultValue": "'horizontal'",
358
360
  "complexType": {
359
361
  "original": "DirectionType",
360
- "resolved": "\"horizontal\" | \"vertical\"",
362
+ "resolved": "\"horizontal\" | \"vertical\" | undefined",
361
363
  "references": {
362
364
  "DirectionType": {
363
365
  "location": "import",
364
- "path": "./meta/types"
366
+ "path": "./meta/types",
367
+ "id": "src/components/mds-progress/meta/types.ts::DirectionType"
365
368
  }
366
369
  }
367
370
  },
@@ -378,15 +381,16 @@
378
381
  "reflect": true,
379
382
  "mutable": false,
380
383
  "required": false,
381
- "optional": true,
382
- "defaultValue": "'dark'",
384
+ "optional": false,
385
+ "defaultValue": "'primary'",
383
386
  "complexType": {
384
387
  "original": "ThemeVariantType",
385
388
  "resolved": "\"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
386
389
  "references": {
387
390
  "ThemeVariantType": {
388
391
  "location": "import",
389
- "path": "@type/variant"
392
+ "path": "@type/variant",
393
+ "id": "src/type/variant.ts::ThemeVariantType"
390
394
  }
391
395
  }
392
396
  },
@@ -403,7 +407,7 @@
403
407
  "reflect": false,
404
408
  "mutable": false,
405
409
  "required": false,
406
- "optional": true,
410
+ "optional": false,
407
411
  "defaultValue": "'Inizio,Un quarto,Metà,Tre quarti,Fine'",
408
412
  "complexType": {
409
413
  "original": "string",
@@ -451,8 +455,6 @@
451
455
  ]
452
456
  }
453
457
  ],
454
- "legacyConnect": [],
455
- "legacyContext": [],
456
458
  "internal": false,
457
459
  "assetsDirs": [],
458
460
  "styleDocs": [
@@ -560,15 +562,17 @@
560
562
  ],
561
563
  "componentGraph": {
562
564
  "sc-mds-progress": [
563
- "p-d657b3ae.js"
565
+ "p-82d66bad.js"
564
566
  ]
565
567
  },
566
568
  "sourceGraph": {
567
569
  "./src/common/aria.ts": [],
568
570
  "./src/common/keyboard-manager.ts": [],
571
+ "./src/common/unit.ts": [],
569
572
  "./src/components/mds-progress/mds-progress.tsx": [],
570
573
  "./src/components/mds-progress/meta/dictionary.ts": [],
571
574
  "./src/components/mds-progress/meta/types.ts": [],
575
+ "./src/components/mds-progress/test/mds-progress.e2e.ts": [],
572
576
  "./src/components/mds-progress/test/mds-progress.stories.tsx": [
573
577
  "./src/components/mds-progress/meta/dictionary"
574
578
  ],
@@ -0,0 +1,2 @@
1
+ declare const cssDurationToMilliseconds: (duration: string, defaultValue?: number) => number;
2
+ export { cssDurationToMilliseconds, };
@@ -7,7 +7,7 @@ export declare class MdsProgress {
7
7
  /**
8
8
  * A value between 0 and 1 that rapresents the status progress
9
9
  */
10
- readonly progress?: number;
10
+ readonly progress: number;
11
11
  /**
12
12
  * Specifies the direction of the progress bar, if horizonatl or vertical
13
13
  */
@@ -15,11 +15,11 @@ export declare class MdsProgress {
15
15
  /**
16
16
  * Sets the theme variant colors
17
17
  */
18
- readonly variant?: ThemeVariantType;
18
+ readonly variant: ThemeVariantType;
19
19
  /**
20
20
  * Sets the steps that can be pronounced by accessibility technologies
21
21
  */
22
- readonly steps?: string;
22
+ readonly steps: string;
23
23
  componentWillLoad(): void;
24
24
  private setProgress;
25
25
  progressChanged(progress: number): void;
@@ -7,6 +7,8 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { DirectionType } from "./components/mds-progress/meta/types";
9
9
  import { ThemeVariantType } from "@type/variant";
10
+ export { DirectionType } from "./components/mds-progress/meta/types";
11
+ export { ThemeVariantType } from "@type/variant";
10
12
  export namespace Components {
11
13
  interface MdsProgress {
12
14
  /**
@@ -16,15 +18,15 @@ export namespace Components {
16
18
  /**
17
19
  * A value between 0 and 1 that rapresents the status progress
18
20
  */
19
- "progress"?: number;
21
+ "progress": number;
20
22
  /**
21
23
  * Sets the steps that can be pronounced by accessibility technologies
22
24
  */
23
- "steps"?: string;
25
+ "steps": string;
24
26
  /**
25
27
  * Sets the theme variant colors
26
28
  */
27
- "variant"?: ThemeVariantType;
29
+ "variant": ThemeVariantType;
28
30
  }
29
31
  }
30
32
  declare global {
@@ -1,5 +1,6 @@
1
1
  declare const buttonVariantDictionary: string[];
2
2
  declare const buttonToneVariantDictionary: string[];
3
+ declare const buttonTargetDictionary: string[];
3
4
  declare const buttonSizeDictionary: string[];
4
5
  declare const buttonIconPositionDictionary: string[];
5
- export { buttonSizeDictionary, buttonToneVariantDictionary, buttonVariantDictionary, buttonIconPositionDictionary, };
6
+ export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
@@ -4,6 +4,7 @@ declare const themeStatusVariantDictionary: string[];
4
4
  declare const themeFullVariantDictionary: string[];
5
5
  declare const themeLabelVariantDictionary: string[];
6
6
  declare const toneVariantDictionary: string[];
7
+ declare const toneActionVariantDictionary: string[];
7
8
  declare const toneSimpleVariantDictionary: string[];
8
9
  declare const toneMinimalVariantDictionary: string[];
9
- export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
10
+ export { themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
@@ -1,4 +1,4 @@
1
- import { InputValueType } from '../types/input-value-type';
1
+ import { InputValueType } from '@type/input-value-type';
2
2
  export interface InputValue {
3
3
  value: InputValueType;
4
4
  }