@solid-design-system/components 5.13.4 → 5.13.6
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.2HJAPXID.js +1 -0
- package/cdn/chunks/chunk.PS5Q6QLR.js +1 -0
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +2 -0
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/custom-elements.json +186 -186
- package/cdn/solid-components.bundle.js +14 -14
- package/cdn/solid-components.iife.js +13 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2AESCEHJ.js +1 -1
- package/cdn-versioned/chunks/chunk.2HJAPXID.js +1 -0
- package/cdn-versioned/chunks/chunk.2IXCDCBI.js +1 -1
- package/cdn-versioned/chunks/chunk.2KNDUWBP.js +1 -1
- package/cdn-versioned/chunks/chunk.3ED5FZPY.js +1 -1
- package/cdn-versioned/chunks/chunk.3O5CSFK6.js +1 -1
- package/cdn-versioned/chunks/chunk.54FIHRIN.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.6XXF5G5C.js +1 -1
- package/cdn-versioned/chunks/chunk.6YBQX3MQ.js +1 -1
- package/cdn-versioned/chunks/chunk.7HYHC4VH.js +1 -1
- package/cdn-versioned/chunks/chunk.7IH2NLBX.js +1 -1
- package/cdn-versioned/chunks/chunk.7INMWOUZ.js +1 -1
- package/cdn-versioned/chunks/chunk.7JI2ZUD5.js +1 -1
- package/cdn-versioned/chunks/chunk.7WMTV6I4.js +1 -1
- package/cdn-versioned/chunks/chunk.A25LJOFY.js +1 -1
- package/cdn-versioned/chunks/chunk.BBD6RMZH.js +1 -1
- package/cdn-versioned/chunks/chunk.BUD2EAST.js +1 -1
- package/cdn-versioned/chunks/chunk.C5W6LZD4.js +1 -1
- package/cdn-versioned/chunks/chunk.C6JGWWSD.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CQ4QBZ5J.js +4 -4
- package/cdn-versioned/chunks/chunk.CQYFUSYG.js +1 -1
- package/cdn-versioned/chunks/chunk.CSSD2EF7.js +1 -1
- package/cdn-versioned/chunks/chunk.CZIBZYQR.js +1 -1
- package/cdn-versioned/chunks/chunk.DX3YFLMK.js +1 -1
- package/cdn-versioned/chunks/chunk.EAYWBCE7.js +1 -1
- package/cdn-versioned/chunks/chunk.EIYIMNPT.js +1 -1
- package/cdn-versioned/chunks/chunk.ENZOPZGC.js +1 -1
- package/cdn-versioned/chunks/chunk.F6VUPTBP.js +1 -1
- package/cdn-versioned/chunks/chunk.FZHHVY6Y.js +1 -1
- package/cdn-versioned/chunks/chunk.HAL2ARMM.js +1 -1
- package/cdn-versioned/chunks/chunk.HLGRDYA3.js +1 -1
- package/cdn-versioned/chunks/chunk.IP26UT3O.js +1 -1
- package/cdn-versioned/chunks/chunk.ITMQUAG2.js +1 -1
- package/cdn-versioned/chunks/chunk.IUTS4ODJ.js +1 -1
- package/cdn-versioned/chunks/chunk.IXHLVTCE.js +1 -1
- package/cdn-versioned/chunks/chunk.JEBG27AS.js +1 -1
- package/cdn-versioned/chunks/chunk.LD75GZVE.js +1 -1
- package/cdn-versioned/chunks/chunk.LOVOZACS.js +1 -1
- package/cdn-versioned/chunks/chunk.NHN2NTOB.js +1 -1
- package/cdn-versioned/chunks/chunk.NS75T6AP.js +1 -1
- package/cdn-versioned/chunks/chunk.OAVL5PS2.js +1 -1
- package/cdn-versioned/chunks/chunk.OQTFQZQD.js +1 -1
- package/cdn-versioned/chunks/chunk.OTZWFXC6.js +1 -1
- package/cdn-versioned/chunks/chunk.PEJM3PLJ.js +1 -1
- package/cdn-versioned/chunks/chunk.PJZCF7M2.js +1 -1
- package/cdn-versioned/chunks/chunk.PS5Q6QLR.js +1 -0
- package/cdn-versioned/chunks/chunk.RRVZNEFJ.js +1 -1
- package/cdn-versioned/chunks/chunk.RU2MXVG3.js +1 -1
- package/cdn-versioned/chunks/chunk.SM5KISBS.js +1 -1
- package/cdn-versioned/chunks/chunk.STQUP635.js +1 -1
- package/cdn-versioned/chunks/chunk.UBO3W67S.js +1 -1
- package/cdn-versioned/chunks/chunk.VMPJQLWX.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WQU7XRRP.js +1 -1
- package/cdn-versioned/chunks/chunk.XGXHVRYA.js +1 -1
- package/cdn-versioned/chunks/chunk.Y77KMBSV.js +4 -4
- package/cdn-versioned/chunks/chunk.YGTSBRUS.js +1 -1
- package/cdn-versioned/chunks/chunk.YI3Y536X.js +1 -1
- package/cdn-versioned/chunks/chunk.ZWO2DZQK.js +2 -2
- 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/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.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/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +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/expandable/expandable.js +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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.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 +1 -1
- 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 +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- 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 +3 -1
- package/cdn-versioned/components/tab-group/tab-group.js +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 +420 -420
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +91 -91
- package/cdn-versioned/web-types.json +154 -154
- package/dist/chunks/{chunk.3SBJ5LD6.js → chunk.VPU4YXCW.js} +1 -1
- package/dist/chunks/{chunk.SLDPP5NU.js → chunk.WJAVDZC4.js} +24 -2
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/components/tab-group/tab-group.d.ts +2 -0
- package/dist/components/tab-group/tab-group.js +2 -1
- package/dist/custom-elements.json +186 -186
- package/dist/solid-components.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.22XVLL4U.js +1 -1
- package/dist-versioned/chunks/chunk.2CWYTGUF.js +26 -26
- package/dist-versioned/chunks/chunk.2USKLT7E.js +6 -6
- package/dist-versioned/chunks/chunk.33JOPIXE.js +24 -24
- package/dist-versioned/chunks/chunk.3H34BS4K.js +1 -1
- package/dist-versioned/chunks/chunk.3HHT2OQH.js +12 -12
- package/dist-versioned/chunks/chunk.3IWFEPZF.js +4 -4
- package/dist-versioned/chunks/chunk.3P4CWN6B.js +3 -3
- package/dist-versioned/chunks/chunk.4GOBDXSS.js +1 -1
- package/dist-versioned/chunks/chunk.4JS6YQGE.js +3 -3
- package/dist-versioned/chunks/chunk.5DBXOC2V.js +1 -1
- package/dist-versioned/chunks/chunk.5PBRPBRT.js +5 -5
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6P3RKSUO.js +1 -1
- package/dist-versioned/chunks/chunk.7AKLVTJJ.js +3 -3
- package/dist-versioned/chunks/chunk.7L25CLNU.js +2 -2
- package/dist-versioned/chunks/chunk.A5Z4VKXC.js +2 -2
- package/dist-versioned/chunks/chunk.COXPSVWJ.js +3 -3
- package/dist-versioned/chunks/chunk.CURD6RBZ.js +6 -6
- package/dist-versioned/chunks/chunk.CZOZQ3VO.js +1 -1
- package/dist-versioned/chunks/chunk.CZXEOVSI.js +4 -4
- package/dist-versioned/chunks/chunk.D4DTFLNK.js +1 -1
- package/dist-versioned/chunks/chunk.DG2EQDME.js +2 -2
- package/dist-versioned/chunks/chunk.E3JOKBV7.js +2 -2
- package/dist-versioned/chunks/chunk.EQ6ES4D4.js +2 -2
- package/dist-versioned/chunks/chunk.HDOXCV5R.js +2 -2
- package/dist-versioned/chunks/chunk.I34ENUW2.js +2 -2
- package/dist-versioned/chunks/chunk.I55X5D52.js +2 -2
- package/dist-versioned/chunks/chunk.K2A6FAQM.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KGO6SGAI.js +2 -2
- package/dist-versioned/chunks/chunk.KTW4YKIN.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.L3CJJWQH.js +5 -5
- package/dist-versioned/chunks/chunk.LJGEETGS.js +2 -2
- package/dist-versioned/chunks/chunk.LVKMRGF7.js +2 -2
- package/dist-versioned/chunks/chunk.NIOP54NF.js +1 -1
- package/dist-versioned/chunks/chunk.NIVOUKTJ.js +5 -5
- package/dist-versioned/chunks/chunk.OKJADCUF.js +3 -3
- package/dist-versioned/chunks/chunk.PMP3SJSG.js +4 -4
- package/dist-versioned/chunks/chunk.R6QYQOQJ.js +1 -1
- package/dist-versioned/chunks/chunk.R7SUBHGP.js +1 -1
- package/dist-versioned/chunks/chunk.S4BMH7I6.js +3 -3
- package/dist-versioned/chunks/chunk.S4W23ZFB.js +2 -2
- package/dist-versioned/chunks/chunk.SGY6Q5FM.js +1 -1
- package/dist-versioned/chunks/chunk.SVC3IWAA.js +2 -2
- package/dist-versioned/chunks/chunk.TB76LMSK.js +11 -11
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UMJTGYQ7.js +3 -3
- package/dist-versioned/chunks/chunk.VEBQYO6P.js +1 -1
- package/dist-versioned/chunks/chunk.VISHTUP5.js +1 -1
- package/dist-versioned/chunks/chunk.VNGVFWX6.js +1 -1
- package/dist-versioned/chunks/chunk.VPTCQBGB.js +5 -5
- package/dist-versioned/chunks/{chunk.3SBJ5LD6.js → chunk.VPU4YXCW.js} +3 -3
- package/dist-versioned/chunks/chunk.W2L2LAQR.js +12 -12
- package/dist-versioned/chunks/{chunk.SLDPP5NU.js → chunk.WJAVDZC4.js} +37 -15
- package/dist-versioned/chunks/chunk.WMLESPZB.js +8 -8
- package/dist-versioned/chunks/chunk.XHOP5USY.js +1 -1
- package/dist-versioned/chunks/chunk.YGJNZUTI.js +3 -3
- package/dist-versioned/chunks/chunk.YTLWADMX.js +1 -1
- package/dist-versioned/chunks/chunk.ZSG33GER.js +6 -6
- 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/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.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/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +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/expandable/expandable.js +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/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.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 +1 -1
- 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 +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- 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 +3 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -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 +420 -420
- 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 +91 -91
- package/dist-versioned/web-types.json +154 -154
- package/package.json +2 -2
- package/cdn/chunks/chunk.4Y2JE5PV.js +0 -1
- package/cdn/chunks/chunk.JECBERJ6.js +0 -1
- package/cdn-versioned/chunks/chunk.4Y2JE5PV.js +0 -1
- package/cdn-versioned/chunks/chunk.JECBERJ6.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b}from"./chunk.YTG5BN3U.js";import{a as h,c as p}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.26V4EXHB.js";import{a as y}from"./chunk.GHC63SXL.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as f,b as a,d as n,h as c}from"./chunk.PJZCF7M2.js";import{b as g,e as u}from"./chunk.UWPDCU52.js";import{b as r,e as l,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var s;let e=(s=this.contentPreview)==null?void 0:s.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(x=>{let w=x.cloneNode(!0);e.appendChild(w)}),this.appendChild(e)}};t.styles=[...c.styles,g`:host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start,hsla(0,0%,100%,0)) 0%,var(--gradient-color-end,#fff) 80%,var(--gradient-color-end,#fff) 100%;display:inline-block;position:relative;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content:after{background:linear-gradient(180deg,var(--gradient));bottom:var(--sd-spacing-0,0);content:" ";display:block;height:var(--gradient-height);left:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);position:absolute;transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}:host([inverted]){--color-primary-rgb:0,53,142;--gradient-color-start:rgba(var(--color-primary-rgb),0);--gradient-color-end:rgba(var(--color-primary-rgb),1)}:host([inverted]) .content:after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content:after{opacity:var(--sd-opacity-100,1)}`],i([n(".content-preview")],t.prototype,"contentPreview",2),i([n("details")],t.prototype,"details",2),i([n('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([f("sd-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as u}from"./chunk.YTG5BN3U.js";import{a as c}from"./chunk.26V4EXHB.js";import{a as w}from"./chunk.GHC63SXL.js";import{a as g,b as y,c as v,d as h,h as f}from"./chunk.PJZCF7M2.js";import{b as m,e as d}from"./chunk.UWPDCU52.js";import{a as p,e as l}from"./chunk.TJOCV4DC.js";var a=class extends f{constructor(){super(...arguments);this.localize=new w(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-tab"),customElements.whenDefined("sd-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(s=>{s.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),s.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.handleScroll(),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var i;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((i=this.activeTab)!=null?i:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let s=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(s.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-tab"?e:e.querySelector("sd-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-tab":e.tagName.toLowerCase()==="sd-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-tab");(e==null?void 0:e.closest("sd-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-tab");if((e==null?void 0:e.closest("sd-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let i=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[i+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let i=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[i-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let i=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((i==null?void 0:i.tagName.toLowerCase())==="sd-tab"){let r=this.tabs.indexOf(i);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,s){if(s=p({emitEvents:!0,scrollBehavior:"auto"},s),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var i;return o.active=o.name===((i=this.activeTab)==null?void 0:i.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",s.scrollBehavior),s.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let s=this.panels.find(e=>e.name===t.panel);s&&t.setAttribute("aria-controls",s.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,s=this.indicator,e=this.tabsContainer;if(!t||!s||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=i.left+i.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-i.left;s.style.width=`${x}px`,s.style.transform=`translateX(${C}px)`}show(t){let s=this.tabs.find(e=>e.panel===t);s&&this.setActiveTab(s,{scrollBehavior:"smooth"})}render(){var s;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${u(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((s=this.activeTab)==null?void 0:s.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${u(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...f.styles,m`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}::slotted(sd-tab-panel){--padding:1rem 0}::slotted(sd-tab-panel:focus-visible){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([y({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-tab-group")],a);export{a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.2HJAPXID.js";import"../../chunks/chunk.YTG5BN3U.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.7JI2ZUD5.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.PJZCF7M2.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
|
|
@@ -15,6 +15,7 @@ export default class SdTabGroup extends SolidElement {
|
|
|
15
15
|
private tabsContainer;
|
|
16
16
|
hasScrollControls: boolean;
|
|
17
17
|
variant: string;
|
|
18
|
+
private canScroll;
|
|
18
19
|
activation: 'auto' | 'manual';
|
|
19
20
|
connectedCallback(): void;
|
|
20
21
|
disconnectedCallback(): void;
|
|
@@ -23,6 +24,7 @@ export default class SdTabGroup extends SolidElement {
|
|
|
23
24
|
private getActiveTab;
|
|
24
25
|
private handleClick;
|
|
25
26
|
private handleKeyDown;
|
|
27
|
+
private handleScroll;
|
|
26
28
|
private handleScrollToStart;
|
|
27
29
|
private handleScrollToEnd;
|
|
28
30
|
private setActiveTab;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.PS5Q6QLR.js";import"../../chunks/chunk.MHWW3RZB.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.YTG5BN3U.js";import"../../chunks/chunk.7JI2ZUD5.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.PJZCF7M2.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
|
package/cdn/custom-elements.json
CHANGED
|
@@ -3003,6 +3003,191 @@
|
|
|
3003
3003
|
}
|
|
3004
3004
|
]
|
|
3005
3005
|
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "javascript-module",
|
|
3008
|
+
"path": "components/button-group/button-group.js",
|
|
3009
|
+
"declarations": [
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "class",
|
|
3012
|
+
"description": "",
|
|
3013
|
+
"name": "SdButtonGroup",
|
|
3014
|
+
"cssParts": [
|
|
3015
|
+
{
|
|
3016
|
+
"description": "The component's base wrapper.",
|
|
3017
|
+
"name": "base"
|
|
3018
|
+
}
|
|
3019
|
+
],
|
|
3020
|
+
"slots": [
|
|
3021
|
+
{
|
|
3022
|
+
"description": "One or more `<sd-button>` elements to display in the button group.",
|
|
3023
|
+
"name": ""
|
|
3024
|
+
}
|
|
3025
|
+
],
|
|
3026
|
+
"members": [
|
|
3027
|
+
{
|
|
3028
|
+
"kind": "field",
|
|
3029
|
+
"name": "disableRole",
|
|
3030
|
+
"type": {
|
|
3031
|
+
"text": "boolean"
|
|
3032
|
+
},
|
|
3033
|
+
"default": "false"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"kind": "field",
|
|
3037
|
+
"name": "label",
|
|
3038
|
+
"type": {
|
|
3039
|
+
"text": "string"
|
|
3040
|
+
},
|
|
3041
|
+
"default": "''",
|
|
3042
|
+
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
3043
|
+
"attribute": "label",
|
|
3044
|
+
"reflects": true
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"kind": "field",
|
|
3048
|
+
"name": "dir",
|
|
3049
|
+
"type": {
|
|
3050
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
3051
|
+
},
|
|
3052
|
+
"description": "The element's directionality.",
|
|
3053
|
+
"attribute": "dir",
|
|
3054
|
+
"inheritedFrom": {
|
|
3055
|
+
"name": "SolidElement",
|
|
3056
|
+
"module": "internal/solid-element.js"
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"kind": "field",
|
|
3061
|
+
"name": "lang",
|
|
3062
|
+
"type": {
|
|
3063
|
+
"text": "string"
|
|
3064
|
+
},
|
|
3065
|
+
"description": "The element's language.",
|
|
3066
|
+
"attribute": "lang",
|
|
3067
|
+
"inheritedFrom": {
|
|
3068
|
+
"name": "SolidElement",
|
|
3069
|
+
"module": "internal/solid-element.js"
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "method",
|
|
3074
|
+
"name": "emit",
|
|
3075
|
+
"parameters": [
|
|
3076
|
+
{
|
|
3077
|
+
"name": "name",
|
|
3078
|
+
"type": {
|
|
3079
|
+
"text": "string"
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "options",
|
|
3084
|
+
"optional": true,
|
|
3085
|
+
"type": {
|
|
3086
|
+
"text": "CustomEventInit"
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
],
|
|
3090
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
3091
|
+
"inheritedFrom": {
|
|
3092
|
+
"name": "SolidElement",
|
|
3093
|
+
"module": "internal/solid-element.js"
|
|
3094
|
+
}
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"kind": "method",
|
|
3098
|
+
"name": "token",
|
|
3099
|
+
"return": {
|
|
3100
|
+
"type": {
|
|
3101
|
+
"text": "T"
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
"parameters": [
|
|
3105
|
+
{
|
|
3106
|
+
"name": "name",
|
|
3107
|
+
"type": {
|
|
3108
|
+
"text": "string"
|
|
3109
|
+
}
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"name": "fallback",
|
|
3113
|
+
"type": {
|
|
3114
|
+
"text": "T"
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"description": "Retrieves the value of a css variable token.",
|
|
3119
|
+
"inheritedFrom": {
|
|
3120
|
+
"name": "SolidElement",
|
|
3121
|
+
"module": "internal/solid-element.js"
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
],
|
|
3125
|
+
"attributes": [
|
|
3126
|
+
{
|
|
3127
|
+
"name": "label",
|
|
3128
|
+
"type": {
|
|
3129
|
+
"text": "string"
|
|
3130
|
+
},
|
|
3131
|
+
"default": "''",
|
|
3132
|
+
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
3133
|
+
"fieldName": "label"
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"name": "dir",
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "'ltr' | 'rtl' | 'auto'"
|
|
3139
|
+
},
|
|
3140
|
+
"description": "The element's directionality.",
|
|
3141
|
+
"fieldName": "dir",
|
|
3142
|
+
"inheritedFrom": {
|
|
3143
|
+
"name": "SolidElement",
|
|
3144
|
+
"module": "src/internal/solid-element.ts"
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"name": "lang",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "string"
|
|
3151
|
+
},
|
|
3152
|
+
"description": "The element's language.",
|
|
3153
|
+
"fieldName": "lang",
|
|
3154
|
+
"inheritedFrom": {
|
|
3155
|
+
"name": "SolidElement",
|
|
3156
|
+
"module": "src/internal/solid-element.ts"
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
],
|
|
3160
|
+
"superclass": {
|
|
3161
|
+
"name": "SolidElement",
|
|
3162
|
+
"module": "/src/internal/solid-element"
|
|
3163
|
+
},
|
|
3164
|
+
"summary": "Button groups can be used to group related buttons into sections.",
|
|
3165
|
+
"documentation": "https://solid.union-investment.com/[storybook-link]/button-group",
|
|
3166
|
+
"status": "stable",
|
|
3167
|
+
"since": "1.0",
|
|
3168
|
+
"tagName": "sd-button-group",
|
|
3169
|
+
"customElement": true
|
|
3170
|
+
}
|
|
3171
|
+
],
|
|
3172
|
+
"exports": [
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "js",
|
|
3175
|
+
"name": "default",
|
|
3176
|
+
"declaration": {
|
|
3177
|
+
"name": "SdButtonGroup",
|
|
3178
|
+
"module": "components/button-group/button-group.js"
|
|
3179
|
+
}
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "custom-element-definition",
|
|
3183
|
+
"name": "sd-button-group",
|
|
3184
|
+
"declaration": {
|
|
3185
|
+
"name": "SdButtonGroup",
|
|
3186
|
+
"module": "components/button-group/button-group.js"
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3189
|
+
]
|
|
3190
|
+
},
|
|
3006
3191
|
{
|
|
3007
3192
|
"kind": "javascript-module",
|
|
3008
3193
|
"path": "components/carousel/autoplay-controller.js",
|
|
@@ -11625,191 +11810,6 @@
|
|
|
11625
11810
|
}
|
|
11626
11811
|
]
|
|
11627
11812
|
},
|
|
11628
|
-
{
|
|
11629
|
-
"kind": "javascript-module",
|
|
11630
|
-
"path": "components/button-group/button-group.js",
|
|
11631
|
-
"declarations": [
|
|
11632
|
-
{
|
|
11633
|
-
"kind": "class",
|
|
11634
|
-
"description": "",
|
|
11635
|
-
"name": "SdButtonGroup",
|
|
11636
|
-
"cssParts": [
|
|
11637
|
-
{
|
|
11638
|
-
"description": "The component's base wrapper.",
|
|
11639
|
-
"name": "base"
|
|
11640
|
-
}
|
|
11641
|
-
],
|
|
11642
|
-
"slots": [
|
|
11643
|
-
{
|
|
11644
|
-
"description": "One or more `<sd-button>` elements to display in the button group.",
|
|
11645
|
-
"name": ""
|
|
11646
|
-
}
|
|
11647
|
-
],
|
|
11648
|
-
"members": [
|
|
11649
|
-
{
|
|
11650
|
-
"kind": "field",
|
|
11651
|
-
"name": "disableRole",
|
|
11652
|
-
"type": {
|
|
11653
|
-
"text": "boolean"
|
|
11654
|
-
},
|
|
11655
|
-
"default": "false"
|
|
11656
|
-
},
|
|
11657
|
-
{
|
|
11658
|
-
"kind": "field",
|
|
11659
|
-
"name": "label",
|
|
11660
|
-
"type": {
|
|
11661
|
-
"text": "string"
|
|
11662
|
-
},
|
|
11663
|
-
"default": "''",
|
|
11664
|
-
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
11665
|
-
"attribute": "label",
|
|
11666
|
-
"reflects": true
|
|
11667
|
-
},
|
|
11668
|
-
{
|
|
11669
|
-
"kind": "field",
|
|
11670
|
-
"name": "dir",
|
|
11671
|
-
"type": {
|
|
11672
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
11673
|
-
},
|
|
11674
|
-
"description": "The element's directionality.",
|
|
11675
|
-
"attribute": "dir",
|
|
11676
|
-
"inheritedFrom": {
|
|
11677
|
-
"name": "SolidElement",
|
|
11678
|
-
"module": "internal/solid-element.js"
|
|
11679
|
-
}
|
|
11680
|
-
},
|
|
11681
|
-
{
|
|
11682
|
-
"kind": "field",
|
|
11683
|
-
"name": "lang",
|
|
11684
|
-
"type": {
|
|
11685
|
-
"text": "string"
|
|
11686
|
-
},
|
|
11687
|
-
"description": "The element's language.",
|
|
11688
|
-
"attribute": "lang",
|
|
11689
|
-
"inheritedFrom": {
|
|
11690
|
-
"name": "SolidElement",
|
|
11691
|
-
"module": "internal/solid-element.js"
|
|
11692
|
-
}
|
|
11693
|
-
},
|
|
11694
|
-
{
|
|
11695
|
-
"kind": "method",
|
|
11696
|
-
"name": "emit",
|
|
11697
|
-
"parameters": [
|
|
11698
|
-
{
|
|
11699
|
-
"name": "name",
|
|
11700
|
-
"type": {
|
|
11701
|
-
"text": "string"
|
|
11702
|
-
}
|
|
11703
|
-
},
|
|
11704
|
-
{
|
|
11705
|
-
"name": "options",
|
|
11706
|
-
"optional": true,
|
|
11707
|
-
"type": {
|
|
11708
|
-
"text": "CustomEventInit"
|
|
11709
|
-
}
|
|
11710
|
-
}
|
|
11711
|
-
],
|
|
11712
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
11713
|
-
"inheritedFrom": {
|
|
11714
|
-
"name": "SolidElement",
|
|
11715
|
-
"module": "internal/solid-element.js"
|
|
11716
|
-
}
|
|
11717
|
-
},
|
|
11718
|
-
{
|
|
11719
|
-
"kind": "method",
|
|
11720
|
-
"name": "token",
|
|
11721
|
-
"return": {
|
|
11722
|
-
"type": {
|
|
11723
|
-
"text": "T"
|
|
11724
|
-
}
|
|
11725
|
-
},
|
|
11726
|
-
"parameters": [
|
|
11727
|
-
{
|
|
11728
|
-
"name": "name",
|
|
11729
|
-
"type": {
|
|
11730
|
-
"text": "string"
|
|
11731
|
-
}
|
|
11732
|
-
},
|
|
11733
|
-
{
|
|
11734
|
-
"name": "fallback",
|
|
11735
|
-
"type": {
|
|
11736
|
-
"text": "T"
|
|
11737
|
-
}
|
|
11738
|
-
}
|
|
11739
|
-
],
|
|
11740
|
-
"description": "Retrieves the value of a css variable token.",
|
|
11741
|
-
"inheritedFrom": {
|
|
11742
|
-
"name": "SolidElement",
|
|
11743
|
-
"module": "internal/solid-element.js"
|
|
11744
|
-
}
|
|
11745
|
-
}
|
|
11746
|
-
],
|
|
11747
|
-
"attributes": [
|
|
11748
|
-
{
|
|
11749
|
-
"name": "label",
|
|
11750
|
-
"type": {
|
|
11751
|
-
"text": "string"
|
|
11752
|
-
},
|
|
11753
|
-
"default": "''",
|
|
11754
|
-
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
11755
|
-
"fieldName": "label"
|
|
11756
|
-
},
|
|
11757
|
-
{
|
|
11758
|
-
"name": "dir",
|
|
11759
|
-
"type": {
|
|
11760
|
-
"text": "'ltr' | 'rtl' | 'auto'"
|
|
11761
|
-
},
|
|
11762
|
-
"description": "The element's directionality.",
|
|
11763
|
-
"fieldName": "dir",
|
|
11764
|
-
"inheritedFrom": {
|
|
11765
|
-
"name": "SolidElement",
|
|
11766
|
-
"module": "src/internal/solid-element.ts"
|
|
11767
|
-
}
|
|
11768
|
-
},
|
|
11769
|
-
{
|
|
11770
|
-
"name": "lang",
|
|
11771
|
-
"type": {
|
|
11772
|
-
"text": "string"
|
|
11773
|
-
},
|
|
11774
|
-
"description": "The element's language.",
|
|
11775
|
-
"fieldName": "lang",
|
|
11776
|
-
"inheritedFrom": {
|
|
11777
|
-
"name": "SolidElement",
|
|
11778
|
-
"module": "src/internal/solid-element.ts"
|
|
11779
|
-
}
|
|
11780
|
-
}
|
|
11781
|
-
],
|
|
11782
|
-
"superclass": {
|
|
11783
|
-
"name": "SolidElement",
|
|
11784
|
-
"module": "/src/internal/solid-element"
|
|
11785
|
-
},
|
|
11786
|
-
"summary": "Button groups can be used to group related buttons into sections.",
|
|
11787
|
-
"documentation": "https://solid.union-investment.com/[storybook-link]/button-group",
|
|
11788
|
-
"status": "stable",
|
|
11789
|
-
"since": "1.0",
|
|
11790
|
-
"tagName": "sd-button-group",
|
|
11791
|
-
"customElement": true
|
|
11792
|
-
}
|
|
11793
|
-
],
|
|
11794
|
-
"exports": [
|
|
11795
|
-
{
|
|
11796
|
-
"kind": "js",
|
|
11797
|
-
"name": "default",
|
|
11798
|
-
"declaration": {
|
|
11799
|
-
"name": "SdButtonGroup",
|
|
11800
|
-
"module": "components/button-group/button-group.js"
|
|
11801
|
-
}
|
|
11802
|
-
},
|
|
11803
|
-
{
|
|
11804
|
-
"kind": "custom-element-definition",
|
|
11805
|
-
"name": "sd-button-group",
|
|
11806
|
-
"declaration": {
|
|
11807
|
-
"name": "SdButtonGroup",
|
|
11808
|
-
"module": "components/button-group/button-group.js"
|
|
11809
|
-
}
|
|
11810
|
-
}
|
|
11811
|
-
]
|
|
11812
|
-
},
|
|
11813
11813
|
{
|
|
11814
11814
|
"kind": "javascript-module",
|
|
11815
11815
|
"path": "components/optgroup/optgroup.js",
|
|
@@ -20577,7 +20577,7 @@
|
|
|
20577
20577
|
"package": {
|
|
20578
20578
|
"name": "@solid-design-system/components",
|
|
20579
20579
|
"description": "Solid Design System: Components",
|
|
20580
|
-
"version": "5.13.
|
|
20580
|
+
"version": "5.13.6",
|
|
20581
20581
|
"author": "Union Investment",
|
|
20582
20582
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
20583
20583
|
"license": "MIT"
|