@maggioli-design-system/mds-progress
Advanced tools
Comparing version 2.6.1 to 2.6.2
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-91e137c8.js'); | ||
const index = require('./index-4c39a7df.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-91e137c8.js'); | ||
const index = require('./index-4c39a7df.js'); | ||
@@ -8,0 +8,0 @@ const 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;-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);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-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))}"; |
@@ -5,6 +5,6 @@ 'use strict'; | ||
const index = require('./index-91e137c8.js'); | ||
const index = require('./index-4c39a7df.js'); | ||
/* | ||
Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -11,0 +11,0 @@ const patchBrowser = () => { |
@@ -7,4 +7,4 @@ { | ||
"name": "@stencil/core", | ||
"version": "4.3.0", | ||
"typescriptVersion": "5.1.6" | ||
"version": "4.5.0", | ||
"typescriptVersion": "5.2.2" | ||
}, | ||
@@ -11,0 +11,0 @@ "collections": [], |
@@ -29,3 +29,3 @@ export class KeyboardManager { | ||
this.escapeCallback = callBack; | ||
if (typeof window !== undefined) { | ||
if (window !== undefined) { | ||
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this)); | ||
@@ -36,3 +36,3 @@ } | ||
this.escapeCallback = () => { return; }; | ||
if (typeof window !== undefined) { | ||
if (window !== undefined) { | ||
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this)); | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"timestamp": "2023-09-27T11:27:42", | ||
"timestamp": "2023-10-19T09:57:20", | ||
"compiler": { | ||
"name": "@stencil/core", | ||
"version": "4.3.0", | ||
"typescriptVersion": "5.1.6" | ||
"version": "4.5.0", | ||
"typescriptVersion": "5.2.2" | ||
}, | ||
@@ -8,0 +8,0 @@ "components": [ |
@@ -1,1 +0,1 @@ | ||
import{b as bootstrapLazy}from"./index-fbed50ee.js";export{s as setNonce}from"./index-fbed50ee.js";var defineCustomElements=function(e,s){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)};export{defineCustomElements}; | ||
import{b as bootstrapLazy}from"./index-84dce283.js";export{s as setNonce}from"./index-84dce283.js";var defineCustomElements=function(e,s){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)};export{defineCustomElements}; |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,h,H as Host,g as getElement}from"./index-fbed50ee.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;-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);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-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}; | ||
import{r as registerInstance,h,H as Host,g as getElement}from"./index-84dce283.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;-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);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-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 +0,1 @@ | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-fbed50ee.js";export{s as setNonce}from"./index-fbed50ee.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]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)})); | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-84dce283.js";export{s as setNonce}from"./index-84dce283.js";var patchBrowser=function(){var r=import.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return promiseResolve(s)};patchBrowser().then((function(r){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],r)})); |
@@ -1,3 +0,3 @@ | ||
import { b as bootstrapLazy } from './index-fbed50ee.js'; | ||
export { s as setNonce } from './index-fbed50ee.js'; | ||
import { b as bootstrapLazy } from './index-84dce283.js'; | ||
export { s as setNonce } from './index-84dce283.js'; | ||
@@ -4,0 +4,0 @@ const defineCustomElements = (win, options) => { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-fbed50ee.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-84dce283.js'; | ||
@@ -3,0 +3,0 @@ const 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;-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);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-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))}"; |
@@ -1,6 +0,6 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-fbed50ee.js'; | ||
export { s as setNonce } from './index-fbed50ee.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-84dce283.js'; | ||
export { s as setNonce } from './index-84dce283.js'; | ||
/* | ||
Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com | ||
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
@@ -7,0 +7,0 @@ const patchBrowser = () => { |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as r}from"./p-83f968eb.js";export{s as setNonce}from"./p-83f968eb.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-0f4e300d",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))); | ||
import{p as e,b as r}from"./p-576b3fa7.js";export{s as setNonce}from"./p-576b3fa7.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-1ab5e470",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))); |
{ | ||
"timestamp": "2023-09-27T11:27:42", | ||
"timestamp": "2023-10-19T09:57:20", | ||
"compiler": { | ||
@@ -62,3 +62,3 @@ "name": "node", | ||
"generatedFiles": [ | ||
"./dist/cjs/index-91e137c8.js", | ||
"./dist/cjs/index-4c39a7df.js", | ||
"./dist/cjs/index.cjs.js", | ||
@@ -68,3 +68,3 @@ "./dist/cjs/loader.cjs.js", | ||
"./dist/cjs/mds-progress.cjs.js", | ||
"./dist/esm-es5/index-fbed50ee.js", | ||
"./dist/esm-es5/index-84dce283.js", | ||
"./dist/esm-es5/index.js", | ||
@@ -74,3 +74,3 @@ "./dist/esm-es5/loader.js", | ||
"./dist/esm-es5/mds-progress.js", | ||
"./dist/esm/index-fbed50ee.js", | ||
"./dist/esm/index-84dce283.js", | ||
"./dist/esm/index.js", | ||
@@ -85,17 +85,17 @@ "./dist/esm/loader.js", | ||
"./dist/mds-progress/mds-progress.js", | ||
"./dist/mds-progress/p-0f4e300d.entry.js", | ||
"./dist/mds-progress/p-1ab5e470.entry.js", | ||
"./dist/mds-progress/p-50ea2036.system.js", | ||
"./dist/mds-progress/p-83f968eb.js", | ||
"./dist/mds-progress/p-bce00c63.system.entry.js", | ||
"./dist/mds-progress/p-e8e08781.system.js", | ||
"./dist/mds-progress/p-fdd5b8c4.system.js", | ||
"./dist/mds-progress/p-576b3fa7.js", | ||
"./dist/mds-progress/p-a257dbdb.system.js", | ||
"./dist/mds-progress/p-aeb5044e.system.entry.js", | ||
"./dist/mds-progress/p-f0741149.system.js", | ||
"./www/build/index.esm.js", | ||
"./www/build/mds-progress.esm.js", | ||
"./www/build/mds-progress.js", | ||
"./www/build/p-0f4e300d.entry.js", | ||
"./www/build/p-1ab5e470.entry.js", | ||
"./www/build/p-50ea2036.system.js", | ||
"./www/build/p-83f968eb.js", | ||
"./www/build/p-bce00c63.system.entry.js", | ||
"./www/build/p-e8e08781.system.js", | ||
"./www/build/p-fdd5b8c4.system.js" | ||
"./www/build/p-576b3fa7.js", | ||
"./www/build/p-a257dbdb.system.js", | ||
"./www/build/p-aeb5044e.system.entry.js", | ||
"./www/build/p-f0741149.system.js" | ||
] | ||
@@ -133,6 +133,6 @@ }, | ||
], | ||
"bundleId": "p-0f4e300d", | ||
"fileName": "p-0f4e300d.entry.js", | ||
"bundleId": "p-1ab5e470", | ||
"fileName": "p-1ab5e470.entry.js", | ||
"imports": [ | ||
"p-83f968eb.js" | ||
"p-576b3fa7.js" | ||
], | ||
@@ -151,3 +151,3 @@ "originalByteSize": 4569 | ||
"imports": [ | ||
"index-fbed50ee.js" | ||
"index-84dce283.js" | ||
], | ||
@@ -166,3 +166,3 @@ "originalByteSize": 4573 | ||
"imports": [ | ||
"index-fbed50ee.js" | ||
"index-84dce283.js" | ||
], | ||
@@ -178,6 +178,6 @@ "originalByteSize": 4573 | ||
], | ||
"bundleId": "p-bce00c63.system", | ||
"fileName": "p-bce00c63.system.entry.js", | ||
"bundleId": "p-aeb5044e.system", | ||
"fileName": "p-aeb5044e.system.entry.js", | ||
"imports": [ | ||
"p-e8e08781.system.js" | ||
"p-a257dbdb.system.js" | ||
], | ||
@@ -196,3 +196,3 @@ "originalByteSize": 5028 | ||
"imports": [ | ||
"index-91e137c8.js" | ||
"index-4c39a7df.js" | ||
], | ||
@@ -332,2 +332,4 @@ "originalByteSize": 4632 | ||
{ | ||
"attachInternalsMemberName": null, | ||
"formAssociated": false, | ||
"tagName": "mds-progress", | ||
@@ -575,3 +577,3 @@ "excludeFromCollection": false, | ||
"sc-mds-progress": [ | ||
"p-83f968eb.js" | ||
"p-576b3fa7.js" | ||
] | ||
@@ -578,0 +580,0 @@ }, |
@@ -7,2 +7,12 @@ declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void; | ||
/** | ||
* When set to `true` this component will be form-associated. See | ||
* https://stenciljs.com/docs/next/form-associated documentation on how to | ||
* build form-associated Stencil components that integrate into forms like | ||
* native browser elements such as `<input>` and `<textarea>`. | ||
* | ||
* The {@link AttachInternals} decorator allows for access to the | ||
* `ElementInternals` object to modify the associated form. | ||
*/ | ||
formAssociated?: boolean; | ||
/** | ||
* Tag name of the web component. Ideally, the tag name must be globally unique, | ||
@@ -111,2 +121,5 @@ * so it's recommended to choose an unique prefix for all your components within the same collection. | ||
} | ||
export interface AttachInternalsDecorator { | ||
(): PropertyDecorator; | ||
} | ||
export interface ListenDecorator { | ||
@@ -181,2 +194,8 @@ (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>; | ||
/** | ||
* If the `formAssociated` option is set in options passed to the | ||
* `@Component()` decorator then this decorator may be used to get access to the | ||
* `ElementInternals` instance associated with the component. | ||
*/ | ||
export declare const AttachInternals: AttachInternalsDecorator; | ||
/** | ||
* The `Listen()` decorator is for listening DOM events, including the ones | ||
@@ -183,0 +202,0 @@ * dispatched from `@Events()`. |
{ | ||
"timestamp": "2023-09-27T10:36:27", | ||
"timestamp": "2023-10-19T09:23:19", | ||
"compiler": { | ||
"name": "@stencil/core", | ||
"version": "4.3.0", | ||
"typescriptVersion": "5.1.6" | ||
"version": "4.5.0", | ||
"typescriptVersion": "5.2.2" | ||
}, | ||
@@ -8,0 +8,0 @@ "components": [ |
{ | ||
"name": "@maggioli-design-system/mds-progress", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"description": "mds-progress is a web-component from Magma Design System, 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,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -35,3 +35,3 @@ export class KeyboardManager { | ||
this.escapeCallback = callBack | ||
if (typeof window !== undefined) { | ||
if (window !== undefined) { | ||
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this)) | ||
@@ -43,3 +43,3 @@ } | ||
this.escapeCallback = () => {return} | ||
if (typeof window !== undefined) { | ||
if (window !== undefined) { | ||
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this)) | ||
@@ -46,0 +46,0 @@ } |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as r}from"./p-83f968eb.js";export{s as setNonce}from"./p-83f968eb.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-0f4e300d",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))); | ||
import{p as e,b as r}from"./p-576b3fa7.js";export{s as setNonce}from"./p-576b3fa7.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-1ab5e470",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
810209
11349