@maggioli-design-system/mds-accordion-item
Advanced tools
Comparing version 5.1.2 to 5.1.3
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-37800da1.js'); | ||
const index = require('./index-2ebea6d6.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-37800da1.js'); | ||
const index = require('./index-2ebea6d6.js'); | ||
@@ -8,0 +8,0 @@ const miBaselineKeyboardArrowUp = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"/></svg>`; |
@@ -5,6 +5,6 @@ 'use strict'; | ||
const index = require('./index-37800da1.js'); | ||
const index = require('./index-2ebea6d6.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:16:38", | ||
"timestamp": "2023-10-19T09:48:23", | ||
"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-42e793a1.js";export{s as setNonce}from"./index-42e793a1.js";var defineCustomElements=function(e,o){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-accordion-item",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],o)};export{defineCustomElements}; | ||
import{b as bootstrapLazy}from"./index-2c704dc6.js";export{s as setNonce}from"./index-2c704dc6.js";var defineCustomElements=function(e,o){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-accordion-item",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],o)};export{defineCustomElements}; |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-42e793a1.js";var miBaselineKeyboardArrowUp='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"/></svg>';var mdsAccordionItemCss="@tailwind components; .focus-off,.focusable,.focusable-light,.focusable-light-off{-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform}.focus-on,.focusable-light:focus-visible,.focusable:focus-visible{--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}.svg{display:-ms-flexbox;display:flex}.svg svg{aspect-ratio:1 / 1;height:100%;width:100%}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.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{--mds-accordion-item-border-color:var(--mds-accordion-border-color, rgb(var(--tone-neutral-08)));--mds-accordion-item-border-width:var(--mds-accordion-border-width, 2px);--mds-accordion-item-color:var(--mds-accordion-color, rgb(var(--tone-neutral-03)));--mds-accordion-item-description-color:var(--mds-accordion-description-color, rgb(var(--tone-neutral-02)));--mds-accordion-item-duration:var(--mds-accordion-duration, 300ms);--mds-accordion-item-padding-selected:var(--mds-accordion-padding-selected, 1rem 0 2rem 0);--mds-accordion-item-padding-unselected:var(--mds-accordion-padding-unselected, 1rem 0 1rem 0);-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-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:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);border-bottom:solid var(--mds-accordion-item-border-width) transparent;border-top:solid var(--mds-accordion-item-border-width) transparent;color:var(--mds-accordion-item-color);display:grid;fill:var(--mds-accordion-item-color);margin-top:calc(-1 * var(--mds-accordion-item-border-width));padding:var(--mds-accordion-item-padding-unselected);position:relative}:host(:first-child){margin-top:0}:host([selected]){padding:var(--mds-accordion-item-padding-selected);border-bottom:solid var(--mds-accordion-item-border-width) var(--mds-accordion-item-border-color);border-top:solid var(--mds-accordion-item-border-width) var(--mds-accordion-item-border-color)}:host([selected]:first-child){margin-top:0px;border-top-color:transparent}:host([selected]:last-child){margin-bottom:0px;border-bottom-color:transparent}.action{gap:1rem;border-radius:0.5rem;background-color:transparent;border:0;color:var(--mds-accordion-item-description-color);cursor:pointer;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-template-columns:auto 24px;padding:0;text-align:left}.icon-button{font-weight:400;display:block}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-item-duration);transition-duration:var(--mds-accordion-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;grid-template-rows:1fr;opacity:1}.icon{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-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:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);fill:var(--mds-accordion-item-color);-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([selected]) .icon{-webkit-transform:rotate(0deg);transform:rotate(0deg)}";var MdsAccordionItem=function(){function t(t){var o=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsAccordionItemSelect",7);this.unselectedEvent=createEvent(this,"mdsAccordionItemUnselect",7);this.changedEvent=createEvent(this,"mdsAccordionItemChange",7);this.toggle=function(){o.selected=!o.selected;o.changedEvent.emit({id:o.element.id,selected:o.selected});if(o.selected){o.selectedEvent.emit({id:o.element.id,selected:o.selected});return}o.unselectedEvent.emit({id:o.element.id,selected:o.selected})};this.typography="h5";this.selected=undefined;this.label=undefined}t.prototype.render=function(){return h(Host,null,h("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focusable",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},h("mds-text",{part:"label",typography:this.typography},this.label),h("mds-text",{"aria-hidden":"true",class:"icon-button",typography:this.typography},h("i",{class:"svg icon",innerHTML:miBaselineKeyboardArrowUp}))),h("div",{class:"contents",id:"contents"},h("div",{"aria-labelledby":"action",class:"contents-expander",part:"contents",role:"region"},h("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsAccordionItem.style=mdsAccordionItemCss;export{MdsAccordionItem as mds_accordion_item}; | ||
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-2c704dc6.js";var miBaselineKeyboardArrowUp='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"/></svg>';var mdsAccordionItemCss="@tailwind components; .focus-off,.focusable,.focusable-light,.focusable-light-off{-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform}.focus-on,.focusable-light:focus-visible,.focusable:focus-visible{--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}.svg{display:-ms-flexbox;display:flex}.svg svg{aspect-ratio:1 / 1;height:100%;width:100%}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.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{--mds-accordion-item-border-color:var(--mds-accordion-border-color, rgb(var(--tone-neutral-08)));--mds-accordion-item-border-width:var(--mds-accordion-border-width, 2px);--mds-accordion-item-color:var(--mds-accordion-color, rgb(var(--tone-neutral-03)));--mds-accordion-item-description-color:var(--mds-accordion-description-color, rgb(var(--tone-neutral-02)));--mds-accordion-item-duration:var(--mds-accordion-duration, 300ms);--mds-accordion-item-padding-selected:var(--mds-accordion-padding-selected, 1rem 0 2rem 0);--mds-accordion-item-padding-unselected:var(--mds-accordion-padding-unselected, 1rem 0 1rem 0);-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-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:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);border-bottom:solid var(--mds-accordion-item-border-width) transparent;border-top:solid var(--mds-accordion-item-border-width) transparent;color:var(--mds-accordion-item-color);display:grid;fill:var(--mds-accordion-item-color);margin-top:calc(-1 * var(--mds-accordion-item-border-width));padding:var(--mds-accordion-item-padding-unselected);position:relative}:host(:first-child){margin-top:0}:host([selected]){padding:var(--mds-accordion-item-padding-selected);border-bottom:solid var(--mds-accordion-item-border-width) var(--mds-accordion-item-border-color);border-top:solid var(--mds-accordion-item-border-width) var(--mds-accordion-item-border-color)}:host([selected]:first-child){margin-top:0px;border-top-color:transparent}:host([selected]:last-child){margin-bottom:0px;border-bottom-color:transparent}.action{gap:1rem;border-radius:0.5rem;background-color:transparent;border:0;color:var(--mds-accordion-item-description-color);cursor:pointer;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-template-columns:auto 24px;padding:0;text-align:left}.icon-button{font-weight:400;display:block}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-item-duration);transition-duration:var(--mds-accordion-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;grid-template-rows:1fr;opacity:1}.icon{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-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:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);fill:var(--mds-accordion-item-color);-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([selected]) .icon{-webkit-transform:rotate(0deg);transform:rotate(0deg)}";var MdsAccordionItem=function(){function o(o){var t=this;registerInstance(this,o);this.selectedEvent=createEvent(this,"mdsAccordionItemSelect",7);this.unselectedEvent=createEvent(this,"mdsAccordionItemUnselect",7);this.changedEvent=createEvent(this,"mdsAccordionItemChange",7);this.toggle=function(){t.selected=!t.selected;t.changedEvent.emit({id:t.element.id,selected:t.selected});if(t.selected){t.selectedEvent.emit({id:t.element.id,selected:t.selected});return}t.unselectedEvent.emit({id:t.element.id,selected:t.selected})};this.typography="h5";this.selected=undefined;this.label=undefined}o.prototype.render=function(){return h(Host,null,h("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focusable",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},h("mds-text",{part:"label",typography:this.typography},this.label),h("mds-text",{"aria-hidden":"true",class:"icon-button",typography:this.typography},h("i",{class:"svg icon",innerHTML:miBaselineKeyboardArrowUp}))),h("div",{class:"contents",id:"contents"},h("div",{"aria-labelledby":"action",class:"contents-expander",part:"contents",role:"region"},h("slot",null))))};Object.defineProperty(o.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();MdsAccordionItem.style=mdsAccordionItemCss;export{MdsAccordionItem as mds_accordion_item}; |
@@ -1,1 +0,1 @@ | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-42e793a1.js";export{s as setNonce}from"./index-42e793a1.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-accordion-item",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],e)})); | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-2c704dc6.js";export{s as setNonce}from"./index-2c704dc6.js";var patchBrowser=function(){var e=import.meta.url;var o={};if(e!==""){o.resourcesUrl=new URL(".",e).href}return promiseResolve(o)};patchBrowser().then((function(e){return bootstrapLazy([["mds-accordion-item",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],e)})); |
@@ -1,3 +0,3 @@ | ||
import { b as bootstrapLazy } from './index-42e793a1.js'; | ||
export { s as setNonce } from './index-42e793a1.js'; | ||
import { b as bootstrapLazy } from './index-2c704dc6.js'; | ||
export { s as setNonce } from './index-2c704dc6.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-42e793a1.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2c704dc6.js'; | ||
@@ -3,0 +3,0 @@ const miBaselineKeyboardArrowUp = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"/></svg>`; |
@@ -1,6 +0,6 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-42e793a1.js'; | ||
export { s as setNonce } from './index-42e793a1.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-2c704dc6.js'; | ||
export { s as setNonce } from './index-2c704dc6.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 o}from"./p-d81525a6.js";export{s as setNonce}from"./p-d81525a6.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-3c0b5e96",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],e))); | ||
import{p as e,b as o}from"./p-3b6d9c97.js";export{s as setNonce}from"./p-3b6d9c97.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-590535f0",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],e))); |
{ | ||
"timestamp": "2023-09-27T11:16:38", | ||
"timestamp": "2023-10-19T09:48:23", | ||
"compiler": { | ||
@@ -61,3 +61,3 @@ "name": "node", | ||
"generatedFiles": [ | ||
"./dist/cjs/index-37800da1.js", | ||
"./dist/cjs/index-2ebea6d6.js", | ||
"./dist/cjs/index.cjs.js", | ||
@@ -67,3 +67,3 @@ "./dist/cjs/loader.cjs.js", | ||
"./dist/cjs/mds-accordion-item.cjs.js", | ||
"./dist/esm-es5/index-42e793a1.js", | ||
"./dist/esm-es5/index-2c704dc6.js", | ||
"./dist/esm-es5/index.js", | ||
@@ -73,3 +73,3 @@ "./dist/esm-es5/loader.js", | ||
"./dist/esm-es5/mds-accordion-item.js", | ||
"./dist/esm/index-42e793a1.js", | ||
"./dist/esm/index-2c704dc6.js", | ||
"./dist/esm/index.js", | ||
@@ -84,17 +84,17 @@ "./dist/esm/loader.js", | ||
"./dist/mds-accordion-item/mds-accordion-item.js", | ||
"./dist/mds-accordion-item/p-3c0b5e96.entry.js", | ||
"./dist/mds-accordion-item/p-0bb1c9be.system.js", | ||
"./dist/mds-accordion-item/p-3b6d9c97.js", | ||
"./dist/mds-accordion-item/p-50ea2036.system.js", | ||
"./dist/mds-accordion-item/p-5769c7d6.system.js", | ||
"./dist/mds-accordion-item/p-d81525a6.js", | ||
"./dist/mds-accordion-item/p-f133259d.system.js", | ||
"./dist/mds-accordion-item/p-fe72067f.system.entry.js", | ||
"./dist/mds-accordion-item/p-590535f0.entry.js", | ||
"./dist/mds-accordion-item/p-67ac7ae5.system.entry.js", | ||
"./dist/mds-accordion-item/p-9c3fdcb2.system.js", | ||
"./www/build/index.esm.js", | ||
"./www/build/mds-accordion-item.esm.js", | ||
"./www/build/mds-accordion-item.js", | ||
"./www/build/p-3c0b5e96.entry.js", | ||
"./www/build/p-0bb1c9be.system.js", | ||
"./www/build/p-3b6d9c97.js", | ||
"./www/build/p-50ea2036.system.js", | ||
"./www/build/p-5769c7d6.system.js", | ||
"./www/build/p-d81525a6.js", | ||
"./www/build/p-f133259d.system.js", | ||
"./www/build/p-fe72067f.system.entry.js" | ||
"./www/build/p-590535f0.entry.js", | ||
"./www/build/p-67ac7ae5.system.entry.js", | ||
"./www/build/p-9c3fdcb2.system.js" | ||
] | ||
@@ -132,6 +132,6 @@ }, | ||
], | ||
"bundleId": "p-3c0b5e96", | ||
"fileName": "p-3c0b5e96.entry.js", | ||
"bundleId": "p-590535f0", | ||
"fileName": "p-590535f0.entry.js", | ||
"imports": [ | ||
"p-d81525a6.js" | ||
"p-3b6d9c97.js" | ||
], | ||
@@ -150,3 +150,3 @@ "originalByteSize": 7459 | ||
"imports": [ | ||
"index-42e793a1.js" | ||
"index-2c704dc6.js" | ||
], | ||
@@ -165,3 +165,3 @@ "originalByteSize": 7463 | ||
"imports": [ | ||
"index-42e793a1.js" | ||
"index-2c704dc6.js" | ||
], | ||
@@ -177,6 +177,6 @@ "originalByteSize": 7463 | ||
], | ||
"bundleId": "p-fe72067f.system", | ||
"fileName": "p-fe72067f.system.entry.js", | ||
"bundleId": "p-67ac7ae5.system", | ||
"fileName": "p-67ac7ae5.system.entry.js", | ||
"imports": [ | ||
"p-f133259d.system.js" | ||
"p-0bb1c9be.system.js" | ||
], | ||
@@ -195,3 +195,3 @@ "originalByteSize": 7866 | ||
"imports": [ | ||
"index-37800da1.js" | ||
"index-2ebea6d6.js" | ||
], | ||
@@ -376,2 +376,4 @@ "originalByteSize": 7558 | ||
{ | ||
"attachInternalsMemberName": null, | ||
"formAssociated": false, | ||
"tagName": "mds-accordion-item", | ||
@@ -678,3 +680,3 @@ "excludeFromCollection": false, | ||
"sc-mds-accordion-item": [ | ||
"p-d81525a6.js" | ||
"p-3b6d9c97.js" | ||
] | ||
@@ -681,0 +683,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-accordion-item", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "mds-accordion-item 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.", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@maggioli-design-system/mds-text": "^3.4.2", | ||
"@maggioli-design-system/mds-text": "^3.4.3", | ||
"@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 o}from"./p-d81525a6.js";export{s as setNonce}from"./p-d81525a6.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-3c0b5e96",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],e))); | ||
import{p as e,b as o}from"./p-3b6d9c97.js";export{s as setNonce}from"./p-3b6d9c97.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-590535f0",[[1,"mds-accordion-item",{typography:[1],selected:[1540],label:[1]}]]]],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
849117
11646