@maggioli-design-system/mds-stepper-bar
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-68a5a388.js'); | ||
const index = require('./index-f30194d7.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-68a5a388.js'); | ||
const index = require('./index-f30194d7.js'); | ||
@@ -8,0 +8,0 @@ const mdsStepperBarCss = ".fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.contents{display:contents}.hidden{display:none}.min-h-80{min-height:20rem}.items-center{-ms-flex-align:center;align-items:center}.justify-center{-ms-flex-pack:center;justify-content:center}.rounded-lg{border-radius:0.5rem}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgba(var(--label-amaranth-10), var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgba(var(--label-blue-10), var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgba(var(--label-green-10), var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgba(var(--label-orange-10), var(--tw-bg-opacity))}.bg-label-sky-10{--tw-bg-opacity:1;background-color:rgba(var(--label-sky-10), var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgba(var(--label-violet-10), var(--tw-bg-opacity))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgba(var(--label-amaranth-04), var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgba(var(--label-blue-04), var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgba(var(--label-green-04), var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgba(var(--label-orange-04), var(--tw-text-opacity))}.text-label-sky-04{--tw-text-opacity:1;color:rgba(var(--label-sky-04), var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgba(var(--label-violet-04), var(--tw-text-opacity))}.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{gap:1.5rem;display:grid;position:relative}.items{z-index:10;width:100%;gap:0px;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:auto;position:relative;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}:host([linear=\"true\"]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=\"false\"]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{width:100%;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([hydrated]) .contents{opacity:1}"; |
@@ -5,6 +5,6 @@ 'use strict'; | ||
const index = require('./index-68a5a388.js'); | ||
const index = require('./index-f30194d7.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:28:43", | ||
"timestamp": "2023-10-19T09:58:21", | ||
"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-1bcfc531.js";export{s as setNonce}from"./index-1bcfc531.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-stepper-bar",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],t)};export{defineCustomElements}; | ||
import{b as bootstrapLazy}from"./index-d3aca545.js";export{s as setNonce}from"./index-d3aca545.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-stepper-bar",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],t)};export{defineCustomElements}; |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1bcfc531.js";var mdsStepperBarCss='.fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.contents{display:contents}.hidden{display:none}.min-h-80{min-height:20rem}.items-center{-ms-flex-align:center;align-items:center}.justify-center{-ms-flex-pack:center;justify-content:center}.rounded-lg{border-radius:0.5rem}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgba(var(--label-amaranth-10), var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgba(var(--label-blue-10), var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgba(var(--label-green-10), var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgba(var(--label-orange-10), var(--tw-bg-opacity))}.bg-label-sky-10{--tw-bg-opacity:1;background-color:rgba(var(--label-sky-10), var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgba(var(--label-violet-10), var(--tw-bg-opacity))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgba(var(--label-amaranth-04), var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgba(var(--label-blue-04), var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgba(var(--label-green-04), var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgba(var(--label-orange-04), var(--tw-text-opacity))}.text-label-sky-04{--tw-text-opacity:1;color:rgba(var(--label-sky-04), var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgba(var(--label-violet-04), var(--tw-text-opacity))}.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{gap:1.5rem;display:grid;position:relative}.items{z-index:10;width:100%;gap:0px;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:auto;position:relative;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}:host([linear="true"]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear="false"]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{width:100%;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([hydrated]) .contents{opacity:1}';var MdsStepperBar=function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsStepperBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-stepper-bar-item")};this.queryContentItems=function(){return e.element.querySelectorAll("[slot=content]")};this.minmax=function(t,e,r){return Math.min(Math.max(t,e),r)};this.setCurrent=function(t){e.items=e.queryItems();e.currentItem=t-1;var r=new Array;e.items.forEach((function(t,o){t.done=false;if(o<e.currentItem){t.done=true;if(t.value){r.push(t.value)}}t.current=false;if(o===e.currentItem){t.current=true;e.currentItem=o}}));e.changedEvent.emit({value:r.toString(),step:e.currentItem});e.scrollItems();e.setCurrentContent()};this.setCurrentContent=function(){e.contentItems.forEach((function(t,r){t.classList.add("hidden");if(r===e.currentItem){t.classList.remove("hidden")}}))};this.scrollItems=function(){var t;var r=(t=e.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");var o=e.queryItems();var a=e.minmax(e.currentItem,0,e.items.length-1);if(!r)throw Error("No mds-stepper-bar-items found");if(a<=0){r.scrollLeft=0;return}if(a>=o.length){var n=o[o.length-1];r.scrollLeft=n.offsetLeft-r.offsetLeft;return}var i=o[a];r.scrollLeft=i.offsetLeft-r.offsetLeft-r.offsetWidth/2+i.offsetWidth/2};this.currentItem=0;this.itemsDone=1}t.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(t,e){t.id="mds-stepper-bar-item-".concat(e)}))};t.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};t.prototype.itemDone=function(t){this.setCurrent(t)};t.prototype.changeEventHandler=function(t){var e=this;this.items=this.queryItems();this.items.forEach((function(r,o){r.done=false;if("mds-stepper-bar-item-".concat(o)===t.detail){r.current=true;e.currentItem=o}}))};t.prototype.render=function(){return h(Host,null,h("div",{class:"items"},h("slot",null)),h("div",{class:"contents",part:"contents"},h("slot",{name:"content"})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{itemsDone:["itemDone"]}},enumerable:false,configurable:true});return t}();MdsStepperBar.style=mdsStepperBarCss;export{MdsStepperBar as mds_stepper_bar}; | ||
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-d3aca545.js";var mdsStepperBarCss='.fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.contents{display:contents}.hidden{display:none}.min-h-80{min-height:20rem}.items-center{-ms-flex-align:center;align-items:center}.justify-center{-ms-flex-pack:center;justify-content:center}.rounded-lg{border-radius:0.5rem}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgba(var(--label-amaranth-10), var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgba(var(--label-blue-10), var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgba(var(--label-green-10), var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgba(var(--label-orange-10), var(--tw-bg-opacity))}.bg-label-sky-10{--tw-bg-opacity:1;background-color:rgba(var(--label-sky-10), var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgba(var(--label-violet-10), var(--tw-bg-opacity))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgba(var(--label-amaranth-04), var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgba(var(--label-blue-04), var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgba(var(--label-green-04), var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgba(var(--label-orange-04), var(--tw-text-opacity))}.text-label-sky-04{--tw-text-opacity:1;color:rgba(var(--label-sky-04), var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgba(var(--label-violet-04), var(--tw-text-opacity))}.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{gap:1.5rem;display:grid;position:relative}.items{z-index:10;width:100%;gap:0px;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:auto;position:relative;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}:host([linear="true"]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear="false"]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{width:100%;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([hydrated]) .contents{opacity:1}';var MdsStepperBar=function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsStepperBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-stepper-bar-item")};this.queryContentItems=function(){return e.element.querySelectorAll("[slot=content]")};this.minmax=function(t,e,a){return Math.min(Math.max(t,e),a)};this.setCurrent=function(t){e.items=e.queryItems();e.currentItem=t-1;var a=new Array;e.items.forEach((function(t,r){t.done=false;if(r<e.currentItem){t.done=true;if(t.value){a.push(t.value)}}t.current=false;if(r===e.currentItem){t.current=true;e.currentItem=r}}));e.changedEvent.emit({value:a.toString(),step:e.currentItem});e.scrollItems();e.setCurrentContent()};this.setCurrentContent=function(){e.contentItems.forEach((function(t,a){t.classList.add("hidden");if(a===e.currentItem){t.classList.remove("hidden")}}))};this.scrollItems=function(){var t;var a=(t=e.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");var r=e.queryItems();var o=e.minmax(e.currentItem,0,e.items.length-1);if(!a)throw Error("No mds-stepper-bar-items found");if(o<=0){a.scrollLeft=0;return}if(o>=r.length){var i=r[r.length-1];a.scrollLeft=i.offsetLeft-a.offsetLeft;return}var n=r[o];a.scrollLeft=n.offsetLeft-a.offsetLeft-a.offsetWidth/2+n.offsetWidth/2};this.currentItem=0;this.itemsDone=1}t.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(t,e){t.id="mds-stepper-bar-item-".concat(e)}))};t.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};t.prototype.itemDone=function(t){this.setCurrent(t)};t.prototype.changeEventHandler=function(t){var e=this;this.items=this.queryItems();this.items.forEach((function(a,r){a.done=false;if("mds-stepper-bar-item-".concat(r)===t.detail){a.current=true;e.currentItem=r}}))};t.prototype.render=function(){return h(Host,null,h("div",{class:"items"},h("slot",null)),h("div",{class:"contents",part:"contents"},h("slot",{name:"content"})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{itemsDone:["itemDone"]}},enumerable:false,configurable:true});return t}();MdsStepperBar.style=mdsStepperBarCss;export{MdsStepperBar as mds_stepper_bar}; |
@@ -1,1 +0,1 @@ | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-1bcfc531.js";export{s as setNonce}from"./index-1bcfc531.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-stepper-bar",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e)})); | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-d3aca545.js";export{s as setNonce}from"./index-d3aca545.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-stepper-bar",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e)})); |
@@ -1,3 +0,3 @@ | ||
import { b as bootstrapLazy } from './index-1bcfc531.js'; | ||
export { s as setNonce } from './index-1bcfc531.js'; | ||
import { b as bootstrapLazy } from './index-d3aca545.js'; | ||
export { s as setNonce } from './index-d3aca545.js'; | ||
@@ -4,0 +4,0 @@ const defineCustomElements = (win, options) => { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1bcfc531.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d3aca545.js'; | ||
@@ -3,0 +3,0 @@ const mdsStepperBarCss = ".fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.contents{display:contents}.hidden{display:none}.min-h-80{min-height:20rem}.items-center{-ms-flex-align:center;align-items:center}.justify-center{-ms-flex-pack:center;justify-content:center}.rounded-lg{border-radius:0.5rem}.border{border-width:1px}.bg-label-amaranth-10{--tw-bg-opacity:1;background-color:rgba(var(--label-amaranth-10), var(--tw-bg-opacity))}.bg-label-blue-10{--tw-bg-opacity:1;background-color:rgba(var(--label-blue-10), var(--tw-bg-opacity))}.bg-label-green-10{--tw-bg-opacity:1;background-color:rgba(var(--label-green-10), var(--tw-bg-opacity))}.bg-label-orange-10{--tw-bg-opacity:1;background-color:rgba(var(--label-orange-10), var(--tw-bg-opacity))}.bg-label-sky-10{--tw-bg-opacity:1;background-color:rgba(var(--label-sky-10), var(--tw-bg-opacity))}.bg-label-violet-10{--tw-bg-opacity:1;background-color:rgba(var(--label-violet-10), var(--tw-bg-opacity))}.text-label-amaranth-04{--tw-text-opacity:1;color:rgba(var(--label-amaranth-04), var(--tw-text-opacity))}.text-label-blue-04{--tw-text-opacity:1;color:rgba(var(--label-blue-04), var(--tw-text-opacity))}.text-label-green-04{--tw-text-opacity:1;color:rgba(var(--label-green-04), var(--tw-text-opacity))}.text-label-orange-04{--tw-text-opacity:1;color:rgba(var(--label-orange-04), var(--tw-text-opacity))}.text-label-sky-04{--tw-text-opacity:1;color:rgba(var(--label-sky-04), var(--tw-text-opacity))}.text-label-violet-04{--tw-text-opacity:1;color:rgba(var(--label-violet-04), var(--tw-text-opacity))}.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{gap:1.5rem;display:grid;position:relative}.items{z-index:10;width:100%;gap:0px;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:auto;position:relative;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}:host([linear=\"true\"]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=\"false\"]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{width:100%;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([hydrated]) .contents{opacity:1}"; |
@@ -1,6 +0,6 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-1bcfc531.js'; | ||
export { s as setNonce } from './index-1bcfc531.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-d3aca545.js'; | ||
export { s as setNonce } from './index-d3aca545.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 t}from"./p-410c0bc6.js";export{s as setNonce}from"./p-410c0bc6.js";(()=>{const t=import.meta.url,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-90abb3b6",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e))); | ||
import{p as e,b as t}from"./p-5f5a55e8.js";export{s as setNonce}from"./p-5f5a55e8.js";(()=>{const t=import.meta.url,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-e89353e9",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e))); |
{ | ||
"timestamp": "2023-09-27T11:28:43", | ||
"timestamp": "2023-10-19T09:58:21", | ||
"compiler": { | ||
@@ -60,3 +60,3 @@ "name": "node", | ||
"generatedFiles": [ | ||
"./dist/cjs/index-68a5a388.js", | ||
"./dist/cjs/index-f30194d7.js", | ||
"./dist/cjs/index.cjs.js", | ||
@@ -66,3 +66,3 @@ "./dist/cjs/loader.cjs.js", | ||
"./dist/cjs/mds-stepper-bar.cjs.js", | ||
"./dist/esm-es5/index-1bcfc531.js", | ||
"./dist/esm-es5/index-d3aca545.js", | ||
"./dist/esm-es5/index.js", | ||
@@ -72,3 +72,3 @@ "./dist/esm-es5/loader.js", | ||
"./dist/esm-es5/mds-stepper-bar.js", | ||
"./dist/esm/index-1bcfc531.js", | ||
"./dist/esm/index-d3aca545.js", | ||
"./dist/esm/index.js", | ||
@@ -83,17 +83,17 @@ "./dist/esm/loader.js", | ||
"./dist/mds-stepper-bar/mds-stepper-bar.js", | ||
"./dist/mds-stepper-bar/p-410c0bc6.js", | ||
"./dist/mds-stepper-bar/p-3af14032.system.entry.js", | ||
"./dist/mds-stepper-bar/p-50ea2036.system.js", | ||
"./dist/mds-stepper-bar/p-52001d19.system.entry.js", | ||
"./dist/mds-stepper-bar/p-90abb3b6.entry.js", | ||
"./dist/mds-stepper-bar/p-e0e258ff.system.js", | ||
"./dist/mds-stepper-bar/p-fcb39514.system.js", | ||
"./dist/mds-stepper-bar/p-5f5a55e8.js", | ||
"./dist/mds-stepper-bar/p-737596ca.system.js", | ||
"./dist/mds-stepper-bar/p-e52ab7f2.system.js", | ||
"./dist/mds-stepper-bar/p-e89353e9.entry.js", | ||
"./www/build/index.esm.js", | ||
"./www/build/mds-stepper-bar.esm.js", | ||
"./www/build/mds-stepper-bar.js", | ||
"./www/build/p-410c0bc6.js", | ||
"./www/build/p-3af14032.system.entry.js", | ||
"./www/build/p-50ea2036.system.js", | ||
"./www/build/p-52001d19.system.entry.js", | ||
"./www/build/p-90abb3b6.entry.js", | ||
"./www/build/p-e0e258ff.system.js", | ||
"./www/build/p-fcb39514.system.js" | ||
"./www/build/p-5f5a55e8.js", | ||
"./www/build/p-737596ca.system.js", | ||
"./www/build/p-e52ab7f2.system.js", | ||
"./www/build/p-e89353e9.entry.js" | ||
] | ||
@@ -131,6 +131,6 @@ }, | ||
], | ||
"bundleId": "p-90abb3b6", | ||
"fileName": "p-90abb3b6.entry.js", | ||
"bundleId": "p-e89353e9", | ||
"fileName": "p-e89353e9.entry.js", | ||
"imports": [ | ||
"p-410c0bc6.js" | ||
"p-5f5a55e8.js" | ||
], | ||
@@ -149,3 +149,3 @@ "originalByteSize": 6351 | ||
"imports": [ | ||
"index-1bcfc531.js" | ||
"index-d3aca545.js" | ||
], | ||
@@ -164,3 +164,3 @@ "originalByteSize": 6355 | ||
"imports": [ | ||
"index-1bcfc531.js" | ||
"index-d3aca545.js" | ||
], | ||
@@ -176,6 +176,6 @@ "originalByteSize": 6355 | ||
], | ||
"bundleId": "p-52001d19.system", | ||
"fileName": "p-52001d19.system.entry.js", | ||
"bundleId": "p-3af14032.system", | ||
"fileName": "p-3af14032.system.entry.js", | ||
"imports": [ | ||
"p-e0e258ff.system.js" | ||
"p-e52ab7f2.system.js" | ||
], | ||
@@ -194,3 +194,3 @@ "originalByteSize": 7163 | ||
"imports": [ | ||
"index-68a5a388.js" | ||
"index-f30194d7.js" | ||
], | ||
@@ -298,2 +298,4 @@ "originalByteSize": 6420 | ||
{ | ||
"attachInternalsMemberName": null, | ||
"formAssociated": false, | ||
"tagName": "mds-stepper-bar", | ||
@@ -479,3 +481,3 @@ "excludeFromCollection": false, | ||
"sc-mds-stepper-bar": [ | ||
"p-410c0bc6.js" | ||
"p-5f5a55e8.js" | ||
] | ||
@@ -482,0 +484,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-stepper-bar", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "mds-stepper-bar 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.", | ||
@@ -26,4 +26,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@maggioli-design-system/mds-progress": "^2.6.1", | ||
"@maggioli-design-system/mds-stepper-bar-item": "^5.1.1", | ||
"@maggioli-design-system/mds-progress": "^2.6.2", | ||
"@maggioli-design-system/mds-stepper-bar-item": "^5.1.2", | ||
"@maggioli-design-system/styles": "^11.7.0", | ||
@@ -30,0 +30,0 @@ "@stencil/core": "^4.3.0" |
@@ -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 t}from"./p-410c0bc6.js";export{s as setNonce}from"./p-410c0bc6.js";(()=>{const t=import.meta.url,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-90abb3b6",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e))); | ||
import{p as e,b as t}from"./p-5f5a55e8.js";export{s as setNonce}from"./p-5f5a55e8.js";(()=>{const t=import.meta.url,r={};return""!==t&&(r.resourcesUrl=new URL(".",t).href),e(r)})().then((e=>t([["p-e89353e9",[[1,"mds-stepper-bar",{itemsDone:[2,"items-done"],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:["itemDone"]}]]]],e))); |
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
814790
11281