@solid-design-system/components 4.6.9 → 4.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.3KR2M5X4.js +1 -0
- package/cdn/chunks/chunk.HWNGDZXC.js +1 -0
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/custom-elements.json +193 -193
- package/cdn/solid-components.bundle.js +16 -16
- package/cdn/solid-components.iife.js +16 -16
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +44 -44
- package/cdn/web-types.json +67 -67
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.3KR2M5X4.js +1 -0
- package/cdn-versioned/chunks/chunk.42FSKXEZ.js +1 -1
- package/cdn-versioned/chunks/chunk.473LHNMV.js +1 -1
- package/cdn-versioned/chunks/chunk.5YA6WG7I.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6Q37IBDM.js +1 -1
- package/cdn-versioned/chunks/chunk.6XTSQUSU.js +1 -1
- package/cdn-versioned/chunks/chunk.7BBRZSXJ.js +1 -1
- package/cdn-versioned/chunks/chunk.7HKFHNAX.js +1 -1
- package/cdn-versioned/chunks/chunk.AG6PE353.js +1 -1
- package/cdn-versioned/chunks/chunk.AMCTYKOD.js +1 -1
- package/cdn-versioned/chunks/chunk.BIMWLALI.js +1 -1
- package/cdn-versioned/chunks/chunk.BNX6LX2P.js +1 -1
- package/cdn-versioned/chunks/chunk.BQZXDBME.js +1 -1
- package/cdn-versioned/chunks/chunk.C5D2DMXR.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DH7VYHZC.js +1 -1
- package/cdn-versioned/chunks/chunk.E2R73Z3A.js +1 -1
- package/cdn-versioned/chunks/chunk.F4LOXTZD.js +1 -1
- package/cdn-versioned/chunks/chunk.FZLK25RZ.js +1 -1
- package/cdn-versioned/chunks/chunk.FZVQZMTE.js +1 -1
- package/cdn-versioned/chunks/chunk.HWNGDZXC.js +1 -0
- package/cdn-versioned/chunks/chunk.I4DEROU2.js +1 -1
- package/cdn-versioned/chunks/chunk.ILF7UZDH.js +1 -1
- package/cdn-versioned/chunks/chunk.ILRYHVN7.js +1 -1
- package/cdn-versioned/chunks/chunk.JXBK7LTF.js +1 -1
- package/cdn-versioned/chunks/chunk.KG4OKUP5.js +1 -1
- package/cdn-versioned/chunks/chunk.L47VLLL4.js +1 -1
- package/cdn-versioned/chunks/chunk.L7GN7UBE.js +2 -2
- package/cdn-versioned/chunks/chunk.MJBA5E3M.js +1 -1
- package/cdn-versioned/chunks/chunk.OJY2KFGF.js +1 -1
- package/cdn-versioned/chunks/chunk.OOWV6VHF.js +1 -1
- package/cdn-versioned/chunks/chunk.OZ6M4CAW.js +4 -4
- package/cdn-versioned/chunks/chunk.PEIJ5QII.js +1 -1
- package/cdn-versioned/chunks/chunk.PEYEID7E.js +1 -1
- package/cdn-versioned/chunks/chunk.PTJJRTHX.js +1 -1
- package/cdn-versioned/chunks/chunk.QKA4RHJ4.js +1 -1
- package/cdn-versioned/chunks/chunk.S2O3QV7N.js +3 -3
- package/cdn-versioned/chunks/chunk.SCGOQGTJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SITFYVDG.js +1 -1
- package/cdn-versioned/chunks/chunk.SWPBMHJJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SWRY3APF.js +1 -1
- package/cdn-versioned/chunks/chunk.TEZ7TMHP.js +1 -1
- package/cdn-versioned/chunks/chunk.TNG3FY3U.js +1 -1
- package/cdn-versioned/chunks/chunk.TYH3DD3Z.js +1 -1
- package/cdn-versioned/chunks/chunk.UW24BDXV.js +1 -1
- package/cdn-versioned/chunks/chunk.VCJR4I23.js +2 -2
- package/cdn-versioned/chunks/chunk.VWR74OA4.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUSKJM2J.js +4 -4
- package/cdn-versioned/chunks/chunk.XIALW4QW.js +1 -1
- package/cdn-versioned/chunks/chunk.Y2ZOHPE6.js +1 -1
- package/cdn-versioned/chunks/chunk.YYZEOF4B.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +401 -401
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +21 -21
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +21 -21
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +123 -123
- package/cdn-versioned/web-types.json +202 -202
- package/dist/chunks/{chunk.7PDAG24K.js → chunk.G2S4374K.js} +2 -2
- package/dist/chunks/{chunk.IOAEHG5C.js → chunk.VLYSJHBZ.js} +2 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/custom-elements.json +193 -193
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +44 -44
- package/dist/web-types.json +67 -67
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.35D7BDRG.js +2 -2
- package/dist-versioned/chunks/chunk.3ORZT34X.js +1 -1
- package/dist-versioned/chunks/chunk.4FJAHWKR.js +2 -2
- package/dist-versioned/chunks/chunk.5NUL7XZO.js +2 -2
- package/dist-versioned/chunks/chunk.64DOW5GT.js +5 -5
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6KFGIUGJ.js +9 -9
- package/dist-versioned/chunks/chunk.6VCNAVH4.js +3 -3
- package/dist-versioned/chunks/chunk.6W262L3F.js +8 -8
- package/dist-versioned/chunks/chunk.7GIAGNCP.js +5 -5
- package/dist-versioned/chunks/chunk.7T42VK6H.js +1 -1
- package/dist-versioned/chunks/chunk.A4FCES75.js +2 -2
- package/dist-versioned/chunks/chunk.AOWIHO7B.js +1 -1
- package/dist-versioned/chunks/chunk.BALWGQRW.js +2 -2
- package/dist-versioned/chunks/chunk.BO6G26AO.js +6 -6
- package/dist-versioned/chunks/chunk.CJL7IBJC.js +2 -2
- package/dist-versioned/chunks/chunk.CKKINYND.js +1 -1
- package/dist-versioned/chunks/chunk.CTZX4JSW.js +1 -1
- package/dist-versioned/chunks/chunk.DHGILA5W.js +2 -2
- package/dist-versioned/chunks/chunk.EZKDJFKX.js +2 -2
- package/dist-versioned/chunks/{chunk.7PDAG24K.js → chunk.G2S4374K.js} +3 -3
- package/dist-versioned/chunks/chunk.HP5TMUCE.js +11 -11
- package/dist-versioned/chunks/chunk.IFVMGJPH.js +14 -14
- package/dist-versioned/chunks/chunk.JEZFJKCR.js +2 -2
- package/dist-versioned/chunks/chunk.JH33Y6NI.js +3 -3
- package/dist-versioned/chunks/chunk.JVH7QA7V.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KXI7DQT7.js +5 -5
- package/dist-versioned/chunks/chunk.LA5LTAEA.js +1 -1
- package/dist-versioned/chunks/chunk.LY4LB7WU.js +5 -5
- package/dist-versioned/chunks/chunk.MWFRUUKN.js +2 -2
- package/dist-versioned/chunks/chunk.OJPVJA2S.js +1 -1
- package/dist-versioned/chunks/chunk.OXCJX3LE.js +6 -6
- package/dist-versioned/chunks/chunk.PS2S6VDP.js +1 -1
- package/dist-versioned/chunks/chunk.Q7SDLREI.js +3 -3
- package/dist-versioned/chunks/chunk.QWW7D2EF.js +3 -3
- package/dist-versioned/chunks/chunk.SWZ7YNPJ.js +2 -2
- package/dist-versioned/chunks/chunk.TK6PTMFF.js +1 -1
- package/dist-versioned/chunks/chunk.TPRFXGPO.js +26 -26
- package/dist-versioned/chunks/chunk.TXYWAHFM.js +1 -1
- package/dist-versioned/chunks/chunk.TYYOT3JJ.js +13 -13
- package/dist-versioned/chunks/chunk.TZPIUQJ5.js +1 -1
- package/dist-versioned/chunks/chunk.UHYIMTVH.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.IOAEHG5C.js → chunk.VLYSJHBZ.js} +3 -2
- package/dist-versioned/chunks/chunk.W5XT73TK.js +2 -2
- package/dist-versioned/chunks/chunk.XHFS2AN7.js +23 -23
- package/dist-versioned/chunks/chunk.XLKZYB73.js +1 -1
- package/dist-versioned/chunks/chunk.YKFNELUH.js +1 -1
- package/dist-versioned/chunks/chunk.ZDKRIMUK.js +5 -5
- package/dist-versioned/chunks/chunk.ZE3C43AX.js +4 -4
- package/dist-versioned/chunks/chunk.ZEC66JCL.js +2 -2
- package/dist-versioned/chunks/chunk.ZQJKVTOP.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +401 -401
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +123 -123
- package/dist-versioned/web-types.json +202 -202
- package/package.json +1 -1
- package/cdn/chunks/chunk.BXA5EEMV.js +0 -1
- package/cdn/chunks/chunk.NXW6WUG6.js +0 -1
- package/cdn-versioned/chunks/chunk.BXA5EEMV.js +0 -1
- package/cdn-versioned/chunks/chunk.NXW6WUG6.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C,b as E}from"./chunk.I6OYJBJI.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as l,c as r}from"./chunk.A3DKF5BY.js";import{a,d}from"./chunk.RQYP7MH5.js";import{a as f}from"./chunk.KLRPP4NQ.js";import{a as u}from"./chunk.HE2LNCWW.js";import{a as k}from"./chunk.6HO6CE4A.js";import{a as x}from"./chunk.DEXOQON7.js";import{a as c}from"./chunk.26V4EXHB.js";import{a as w}from"./chunk.E2DRD2OX.js";import{a as g,b as h,d as p,h as m}from"./chunk.FZLK25RZ.js";import{b,e as n}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new E(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=r(this,"dialog.denyClose",{dir:this.localize.dir()});a(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=C(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let s=r(this,"dialog.show",{dir:this.localize.dir()}),i=r(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([a(this.panel,s.keyframes,s.options),a(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=r(this,"dialog.hide",{dir:this.localize.dir()}),s=r(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([a(this.overlay,s.keyframes,s.options).then(()=>{this.overlay.hidden=!0}),a(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&setTimeout(()=>i.focus()),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,f(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,f(this,"sd-after-hide")}render(){return n`<div part="base" class="${c("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${c("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${u(this.headline?this.headline:void 0)}" aria-labelledby="${u(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${c("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...m.styles,b`:host{--width:662px}[part=panel]{max-height:80vh;width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([p('[part="base"]')],t.prototype,"dialog",2),o([p('[part="panel"]')],t.prototype,"panel",2),o([p('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([w("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([g("sd-dialog")],t);l("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});l("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});l("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});l("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});l("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as L,b as z}from"./chunk.I6OYJBJI.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as o,c as l}from"./chunk.A3DKF5BY.js";import{a as n,d as h}from"./chunk.RQYP7MH5.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as E}from"./chunk.6HO6CE4A.js";import{a as A}from"./chunk.DEXOQON7.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as C,b as r,d as c,h as w}from"./chunk.FZLK25RZ.js";import{b as x,e as u}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";function k(y){return y.charAt(0).toUpperCase()+y.slice(1)}var t=class extends w{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new A(this);this.modal=new z(this);this.open=!1;this.label="";this.placement="end";this.contained=!1;this.noHeader=!1;this.handleDocumentKeyDown=e=>{this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),m(this)))}disconnectedCallback(){super.disconnectedCallback(),f(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let a=l(this,"drawer.denyClose",{dir:this.localize.dir()});n(this.panel,a.keyframes,a.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var v;let e=(v=this.closeButton.shadowRoot)==null?void 0:v.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=L(),this.contained||(this.modal.activate(),m(this));let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()});let d=l(this,`drawer.show${k(this.placement)}`,{dir:this.localize.dir()}),s=l(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,d.keyframes,d.options),n(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),f(this)),await Promise.all([h(this.drawer),h(this.overlay)]);let a=l(this,`drawer.hide${k(this.placement)}`,{dir:this.localize.dir()}),d=l(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,a.keyframes,a.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.drawer.setAttribute("inert",""),this.overlay.hidden=!1,this.panel.hidden=!1;let s=this.originalTrigger;typeof(s==null?void 0:s.focus)=="function"&&setTimeout(()=>s.focus()),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),m(this)),this.open&&this.contained&&(this.modal.deactivate(),f(this))}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}render(){return u`<section id="drawer" part="base" class="${p("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}" aria-label="${this.label}"><div part="overlay" class="${p("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${p("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${this.noHeader?u`<sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${p(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></section>`}};t.styles=[...w.styles,x`:host{--width:25rem;display:contents}:host([contained]){z-index:auto}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],i([c("[part=base]")],t.prototype,"drawer",2),i([c("[part=panel]")],t.prototype,"panel",2),i([c("[part=overlay]")],t.prototype,"overlay",2),i([c("[part=close-button]")],t.prototype,"closeButton",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"placement",2),i([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),i([r({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([b("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=i([C("sd-drawer")],t);o("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.3KR2M5X4.js";import"../../chunks/chunk.I6OYJBJI.js";import"../../chunks/chunk.64UNKF45.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.A3DKF5BY.js";import"../../chunks/chunk.RQYP7MH5.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.DH7VYHZC.js";import"../../chunks/chunk.YYZEOF4B.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.5YA6WG7I.js";import"../../chunks/chunk.SPDB3L7V.js";import"../../chunks/chunk.SNS2IHBI.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.EFLL7VXU.js";import"../../chunks/chunk.DEXOQON7.js";import"../../chunks/chunk.LMCE4KKJ.js";import"../../chunks/chunk.HEYSBISE.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.FZLK25RZ.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.HWNGDZXC.js";import"../../chunks/chunk.I6OYJBJI.js";import"../../chunks/chunk.64UNKF45.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.A3DKF5BY.js";import"../../chunks/chunk.RQYP7MH5.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.DH7VYHZC.js";import"../../chunks/chunk.YYZEOF4B.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.5YA6WG7I.js";import"../../chunks/chunk.SPDB3L7V.js";import"../../chunks/chunk.SNS2IHBI.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.EFLL7VXU.js";import"../../chunks/chunk.DEXOQON7.js";import"../../chunks/chunk.LMCE4KKJ.js";import"../../chunks/chunk.HEYSBISE.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.FZLK25RZ.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
|
package/cdn/custom-elements.json
CHANGED
|
@@ -1582,6 +1582,198 @@
|
|
|
1582
1582
|
}
|
|
1583
1583
|
]
|
|
1584
1584
|
},
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "javascript-module",
|
|
1587
|
+
"path": "components/brandshape/brandshape.js",
|
|
1588
|
+
"declarations": [
|
|
1589
|
+
{
|
|
1590
|
+
"kind": "class",
|
|
1591
|
+
"description": "",
|
|
1592
|
+
"name": "SdBrandshape",
|
|
1593
|
+
"cssParts": [
|
|
1594
|
+
{
|
|
1595
|
+
"description": "The component's base wrapper.",
|
|
1596
|
+
"name": "base"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"description": "Middle content wrapper.",
|
|
1600
|
+
"name": "content"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"description": "Top shape.",
|
|
1604
|
+
"name": "shape-top"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"description": "Middle shape.",
|
|
1608
|
+
"name": "shape-middle"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"description": "Bottom shape.",
|
|
1612
|
+
"name": "shape-bottom"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"description": "Container for border and image variant.",
|
|
1616
|
+
"name": "stylized-container"
|
|
1617
|
+
}
|
|
1618
|
+
],
|
|
1619
|
+
"slots": [
|
|
1620
|
+
{
|
|
1621
|
+
"description": "The content inside the brandshape.",
|
|
1622
|
+
"name": ""
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"description": "The image slot for the 'image' variant.",
|
|
1626
|
+
"name": "image"
|
|
1627
|
+
}
|
|
1628
|
+
],
|
|
1629
|
+
"members": [
|
|
1630
|
+
{
|
|
1631
|
+
"kind": "field",
|
|
1632
|
+
"name": "variant",
|
|
1633
|
+
"type": {
|
|
1634
|
+
"text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
1635
|
+
},
|
|
1636
|
+
"default": "'primary'",
|
|
1637
|
+
"description": "The brandshape's theme variant.",
|
|
1638
|
+
"attribute": "variant",
|
|
1639
|
+
"reflects": true
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"kind": "field",
|
|
1643
|
+
"name": "shapes",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "('top' | 'middle' | 'bottom')[]"
|
|
1646
|
+
},
|
|
1647
|
+
"default": "['top', 'middle', 'bottom']",
|
|
1648
|
+
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
1649
|
+
"attribute": "shapes"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"kind": "field",
|
|
1653
|
+
"name": "dir",
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
1656
|
+
},
|
|
1657
|
+
"description": "The element's directionality.",
|
|
1658
|
+
"attribute": "dir",
|
|
1659
|
+
"inheritedFrom": {
|
|
1660
|
+
"name": "SolidElement",
|
|
1661
|
+
"module": "internal/solid-element.js"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"kind": "field",
|
|
1666
|
+
"name": "lang",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "string"
|
|
1669
|
+
},
|
|
1670
|
+
"description": "The element's language.",
|
|
1671
|
+
"attribute": "lang",
|
|
1672
|
+
"inheritedFrom": {
|
|
1673
|
+
"name": "SolidElement",
|
|
1674
|
+
"module": "internal/solid-element.js"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"kind": "method",
|
|
1679
|
+
"name": "emit",
|
|
1680
|
+
"parameters": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "name",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "string"
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "options",
|
|
1689
|
+
"optional": true,
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "CustomEventInit"
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
],
|
|
1695
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
1696
|
+
"inheritedFrom": {
|
|
1697
|
+
"name": "SolidElement",
|
|
1698
|
+
"module": "internal/solid-element.js"
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
],
|
|
1702
|
+
"attributes": [
|
|
1703
|
+
{
|
|
1704
|
+
"name": "variant",
|
|
1705
|
+
"type": {
|
|
1706
|
+
"text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
1707
|
+
},
|
|
1708
|
+
"default": "'primary'",
|
|
1709
|
+
"description": "The brandshape's theme variant.",
|
|
1710
|
+
"fieldName": "variant"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "shapes",
|
|
1714
|
+
"type": {
|
|
1715
|
+
"text": "('top' | 'middle' | 'bottom')[]"
|
|
1716
|
+
},
|
|
1717
|
+
"default": "['top', 'middle', 'bottom']",
|
|
1718
|
+
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
1719
|
+
"fieldName": "shapes"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"name": "dir",
|
|
1723
|
+
"type": {
|
|
1724
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
1725
|
+
},
|
|
1726
|
+
"description": "The element's directionality.",
|
|
1727
|
+
"fieldName": "dir",
|
|
1728
|
+
"inheritedFrom": {
|
|
1729
|
+
"name": "SolidElement",
|
|
1730
|
+
"module": "src/internal/solid-element.ts"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"name": "lang",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "string"
|
|
1737
|
+
},
|
|
1738
|
+
"description": "The element's language.",
|
|
1739
|
+
"fieldName": "lang",
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "SolidElement",
|
|
1742
|
+
"module": "src/internal/solid-element.ts"
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
"superclass": {
|
|
1747
|
+
"name": "SolidElement",
|
|
1748
|
+
"module": "/src/internal/solid-element"
|
|
1749
|
+
},
|
|
1750
|
+
"summary": "The Brandshape highlights a piece of content.",
|
|
1751
|
+
"documentation": "https://solid.union-investment.com/[storybook-brandshape]/brandshape",
|
|
1752
|
+
"status": "stable",
|
|
1753
|
+
"since": "1.4",
|
|
1754
|
+
"tagName": "sd-brandshape",
|
|
1755
|
+
"customElement": true
|
|
1756
|
+
}
|
|
1757
|
+
],
|
|
1758
|
+
"exports": [
|
|
1759
|
+
{
|
|
1760
|
+
"kind": "js",
|
|
1761
|
+
"name": "default",
|
|
1762
|
+
"declaration": {
|
|
1763
|
+
"name": "SdBrandshape",
|
|
1764
|
+
"module": "components/brandshape/brandshape.js"
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"kind": "custom-element-definition",
|
|
1769
|
+
"name": "sd-brandshape",
|
|
1770
|
+
"declaration": {
|
|
1771
|
+
"name": "SdBrandshape",
|
|
1772
|
+
"module": "components/brandshape/brandshape.js"
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
]
|
|
1776
|
+
},
|
|
1585
1777
|
{
|
|
1586
1778
|
"kind": "javascript-module",
|
|
1587
1779
|
"path": "components/button/button.js",
|
|
@@ -15443,198 +15635,6 @@
|
|
|
15443
15635
|
}
|
|
15444
15636
|
]
|
|
15445
15637
|
},
|
|
15446
|
-
{
|
|
15447
|
-
"kind": "javascript-module",
|
|
15448
|
-
"path": "components/brandshape/brandshape.js",
|
|
15449
|
-
"declarations": [
|
|
15450
|
-
{
|
|
15451
|
-
"kind": "class",
|
|
15452
|
-
"description": "",
|
|
15453
|
-
"name": "SdBrandshape",
|
|
15454
|
-
"cssParts": [
|
|
15455
|
-
{
|
|
15456
|
-
"description": "The component's base wrapper.",
|
|
15457
|
-
"name": "base"
|
|
15458
|
-
},
|
|
15459
|
-
{
|
|
15460
|
-
"description": "Middle content wrapper.",
|
|
15461
|
-
"name": "content"
|
|
15462
|
-
},
|
|
15463
|
-
{
|
|
15464
|
-
"description": "Top shape.",
|
|
15465
|
-
"name": "shape-top"
|
|
15466
|
-
},
|
|
15467
|
-
{
|
|
15468
|
-
"description": "Middle shape.",
|
|
15469
|
-
"name": "shape-middle"
|
|
15470
|
-
},
|
|
15471
|
-
{
|
|
15472
|
-
"description": "Bottom shape.",
|
|
15473
|
-
"name": "shape-bottom"
|
|
15474
|
-
},
|
|
15475
|
-
{
|
|
15476
|
-
"description": "Container for border and image variant.",
|
|
15477
|
-
"name": "stylized-container"
|
|
15478
|
-
}
|
|
15479
|
-
],
|
|
15480
|
-
"slots": [
|
|
15481
|
-
{
|
|
15482
|
-
"description": "The content inside the brandshape.",
|
|
15483
|
-
"name": ""
|
|
15484
|
-
},
|
|
15485
|
-
{
|
|
15486
|
-
"description": "The image slot for the 'image' variant.",
|
|
15487
|
-
"name": "image"
|
|
15488
|
-
}
|
|
15489
|
-
],
|
|
15490
|
-
"members": [
|
|
15491
|
-
{
|
|
15492
|
-
"kind": "field",
|
|
15493
|
-
"name": "variant",
|
|
15494
|
-
"type": {
|
|
15495
|
-
"text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
15496
|
-
},
|
|
15497
|
-
"default": "'primary'",
|
|
15498
|
-
"description": "The brandshape's theme variant.",
|
|
15499
|
-
"attribute": "variant",
|
|
15500
|
-
"reflects": true
|
|
15501
|
-
},
|
|
15502
|
-
{
|
|
15503
|
-
"kind": "field",
|
|
15504
|
-
"name": "shapes",
|
|
15505
|
-
"type": {
|
|
15506
|
-
"text": "('top' | 'middle' | 'bottom')[]"
|
|
15507
|
-
},
|
|
15508
|
-
"default": "['top', 'middle', 'bottom']",
|
|
15509
|
-
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
15510
|
-
"attribute": "shapes"
|
|
15511
|
-
},
|
|
15512
|
-
{
|
|
15513
|
-
"kind": "field",
|
|
15514
|
-
"name": "dir",
|
|
15515
|
-
"type": {
|
|
15516
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
15517
|
-
},
|
|
15518
|
-
"description": "The element's directionality.",
|
|
15519
|
-
"attribute": "dir",
|
|
15520
|
-
"inheritedFrom": {
|
|
15521
|
-
"name": "SolidElement",
|
|
15522
|
-
"module": "internal/solid-element.js"
|
|
15523
|
-
}
|
|
15524
|
-
},
|
|
15525
|
-
{
|
|
15526
|
-
"kind": "field",
|
|
15527
|
-
"name": "lang",
|
|
15528
|
-
"type": {
|
|
15529
|
-
"text": "string"
|
|
15530
|
-
},
|
|
15531
|
-
"description": "The element's language.",
|
|
15532
|
-
"attribute": "lang",
|
|
15533
|
-
"inheritedFrom": {
|
|
15534
|
-
"name": "SolidElement",
|
|
15535
|
-
"module": "internal/solid-element.js"
|
|
15536
|
-
}
|
|
15537
|
-
},
|
|
15538
|
-
{
|
|
15539
|
-
"kind": "method",
|
|
15540
|
-
"name": "emit",
|
|
15541
|
-
"parameters": [
|
|
15542
|
-
{
|
|
15543
|
-
"name": "name",
|
|
15544
|
-
"type": {
|
|
15545
|
-
"text": "string"
|
|
15546
|
-
}
|
|
15547
|
-
},
|
|
15548
|
-
{
|
|
15549
|
-
"name": "options",
|
|
15550
|
-
"optional": true,
|
|
15551
|
-
"type": {
|
|
15552
|
-
"text": "CustomEventInit"
|
|
15553
|
-
}
|
|
15554
|
-
}
|
|
15555
|
-
],
|
|
15556
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
15557
|
-
"inheritedFrom": {
|
|
15558
|
-
"name": "SolidElement",
|
|
15559
|
-
"module": "internal/solid-element.js"
|
|
15560
|
-
}
|
|
15561
|
-
}
|
|
15562
|
-
],
|
|
15563
|
-
"attributes": [
|
|
15564
|
-
{
|
|
15565
|
-
"name": "variant",
|
|
15566
|
-
"type": {
|
|
15567
|
-
"text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
15568
|
-
},
|
|
15569
|
-
"default": "'primary'",
|
|
15570
|
-
"description": "The brandshape's theme variant.",
|
|
15571
|
-
"fieldName": "variant"
|
|
15572
|
-
},
|
|
15573
|
-
{
|
|
15574
|
-
"name": "shapes",
|
|
15575
|
-
"type": {
|
|
15576
|
-
"text": "('top' | 'middle' | 'bottom')[]"
|
|
15577
|
-
},
|
|
15578
|
-
"default": "['top', 'middle', 'bottom']",
|
|
15579
|
-
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
15580
|
-
"fieldName": "shapes"
|
|
15581
|
-
},
|
|
15582
|
-
{
|
|
15583
|
-
"name": "dir",
|
|
15584
|
-
"type": {
|
|
15585
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
15586
|
-
},
|
|
15587
|
-
"description": "The element's directionality.",
|
|
15588
|
-
"fieldName": "dir",
|
|
15589
|
-
"inheritedFrom": {
|
|
15590
|
-
"name": "SolidElement",
|
|
15591
|
-
"module": "src/internal/solid-element.ts"
|
|
15592
|
-
}
|
|
15593
|
-
},
|
|
15594
|
-
{
|
|
15595
|
-
"name": "lang",
|
|
15596
|
-
"type": {
|
|
15597
|
-
"text": "string"
|
|
15598
|
-
},
|
|
15599
|
-
"description": "The element's language.",
|
|
15600
|
-
"fieldName": "lang",
|
|
15601
|
-
"inheritedFrom": {
|
|
15602
|
-
"name": "SolidElement",
|
|
15603
|
-
"module": "src/internal/solid-element.ts"
|
|
15604
|
-
}
|
|
15605
|
-
}
|
|
15606
|
-
],
|
|
15607
|
-
"superclass": {
|
|
15608
|
-
"name": "SolidElement",
|
|
15609
|
-
"module": "/src/internal/solid-element"
|
|
15610
|
-
},
|
|
15611
|
-
"summary": "The Brandshape highlights a piece of content.",
|
|
15612
|
-
"documentation": "https://solid.union-investment.com/[storybook-brandshape]/brandshape",
|
|
15613
|
-
"status": "stable",
|
|
15614
|
-
"since": "1.4",
|
|
15615
|
-
"tagName": "sd-brandshape",
|
|
15616
|
-
"customElement": true
|
|
15617
|
-
}
|
|
15618
|
-
],
|
|
15619
|
-
"exports": [
|
|
15620
|
-
{
|
|
15621
|
-
"kind": "js",
|
|
15622
|
-
"name": "default",
|
|
15623
|
-
"declaration": {
|
|
15624
|
-
"name": "SdBrandshape",
|
|
15625
|
-
"module": "components/brandshape/brandshape.js"
|
|
15626
|
-
}
|
|
15627
|
-
},
|
|
15628
|
-
{
|
|
15629
|
-
"kind": "custom-element-definition",
|
|
15630
|
-
"name": "sd-brandshape",
|
|
15631
|
-
"declaration": {
|
|
15632
|
-
"name": "SdBrandshape",
|
|
15633
|
-
"module": "components/brandshape/brandshape.js"
|
|
15634
|
-
}
|
|
15635
|
-
}
|
|
15636
|
-
]
|
|
15637
|
-
},
|
|
15638
15638
|
{
|
|
15639
15639
|
"kind": "javascript-module",
|
|
15640
15640
|
"path": "components/teaser-media/teaser-media.js",
|
|
@@ -17168,7 +17168,7 @@
|
|
|
17168
17168
|
"package": {
|
|
17169
17169
|
"name": "@solid-design-system/components",
|
|
17170
17170
|
"description": "Solid Design System: Components",
|
|
17171
|
-
"version": "4.6.
|
|
17171
|
+
"version": "4.6.11",
|
|
17172
17172
|
"author": "Union Investment",
|
|
17173
17173
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
17174
17174
|
"license": "MIT"
|