@solid-design-system/components 5.15.11 → 5.15.13
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.HAL7R4WT.js +1 -0
- package/cdn/chunks/chunk.K7JNBY7N.js +1 -0
- package/cdn/chunks/chunk.US3OB3XU.js +1 -0
- package/cdn/components/tab-group/tab-group.d.ts +1 -0
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2KRS2HQF.js +1 -1
- package/cdn-versioned/chunks/chunk.2UNWLMKE.js +1 -1
- package/cdn-versioned/chunks/chunk.2YG34O7F.js +1 -1
- package/cdn-versioned/chunks/chunk.35PQ7S2O.js +1 -1
- package/cdn-versioned/chunks/chunk.3JOVDAJX.js +1 -1
- package/cdn-versioned/chunks/chunk.3UAOIDF2.js +1 -1
- package/cdn-versioned/chunks/chunk.4RHXHQ7H.js +1 -1
- package/cdn-versioned/chunks/chunk.5CAMYQMD.js +1 -1
- package/cdn-versioned/chunks/chunk.5HQBAJ66.js +1 -1
- package/cdn-versioned/chunks/chunk.AEVPJRUQ.js +1 -1
- package/cdn-versioned/chunks/chunk.ALSSHD3Q.js +1 -1
- package/cdn-versioned/chunks/chunk.ARYMSO7N.js +1 -1
- package/cdn-versioned/chunks/chunk.AVUZZRFT.js +1 -1
- package/cdn-versioned/chunks/chunk.BFDYLZMG.js +1 -1
- package/cdn-versioned/chunks/chunk.BZJ7O5ES.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CJ53PV6X.js +1 -1
- package/cdn-versioned/chunks/chunk.CODHT433.js +1 -1
- package/cdn-versioned/chunks/chunk.CVNGM52W.js +1 -1
- package/cdn-versioned/chunks/chunk.CWOKJQSQ.js +1 -1
- package/cdn-versioned/chunks/chunk.DKN2DIAH.js +1 -1
- package/cdn-versioned/chunks/chunk.EGDPRSOF.js +1 -1
- package/cdn-versioned/chunks/chunk.ET34FEK2.js +2 -2
- package/cdn-versioned/chunks/chunk.FAPJVEMZ.js +1 -1
- package/cdn-versioned/chunks/chunk.FSATHYQT.js +1 -1
- package/cdn-versioned/chunks/chunk.GEOVNECI.js +1 -1
- package/cdn-versioned/chunks/chunk.HAL7R4WT.js +1 -0
- package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +1 -1
- package/cdn-versioned/chunks/chunk.HX23UDYZ.js +1 -1
- package/cdn-versioned/chunks/chunk.HYCWRAJB.js +1 -1
- package/cdn-versioned/chunks/chunk.ISZAAZUB.js +1 -1
- package/cdn-versioned/chunks/chunk.IWPBSEAW.js +1 -1
- package/cdn-versioned/chunks/chunk.JCU3EXPE.js +1 -1
- package/cdn-versioned/chunks/chunk.JXQJUYEC.js +1 -1
- package/cdn-versioned/chunks/chunk.K7JNBY7N.js +1 -0
- package/cdn-versioned/chunks/chunk.KOERGSAL.js +1 -1
- package/cdn-versioned/chunks/chunk.MRAHMGRF.js +1 -1
- package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -1
- package/cdn-versioned/chunks/chunk.O4L5OULX.js +1 -1
- package/cdn-versioned/chunks/chunk.OG46JDG7.js +2 -2
- package/cdn-versioned/chunks/chunk.P6QOQEIF.js +1 -1
- package/cdn-versioned/chunks/chunk.PZC43SIH.js +1 -1
- package/cdn-versioned/chunks/chunk.R3WH26GI.js +1 -1
- package/cdn-versioned/chunks/chunk.R5PJYTZQ.js +4 -4
- package/cdn-versioned/chunks/chunk.RXMJRA5Q.js +1 -1
- package/cdn-versioned/chunks/chunk.SGXM6Y2P.js +1 -1
- package/cdn-versioned/chunks/chunk.SJLZKEAQ.js +1 -1
- package/cdn-versioned/chunks/chunk.SX2XEIQL.js +1 -1
- package/cdn-versioned/chunks/chunk.TJ7ZA5LO.js +1 -1
- package/cdn-versioned/chunks/chunk.TL3K6WJI.js +1 -1
- package/cdn-versioned/chunks/chunk.TUU3QZXR.js +1 -1
- package/cdn-versioned/chunks/chunk.UBEW2PY5.js +1 -1
- package/cdn-versioned/chunks/chunk.US3OB3XU.js +1 -0
- package/cdn-versioned/chunks/chunk.UXY3AL7C.js +1 -1
- package/cdn-versioned/chunks/chunk.VFOVKA46.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XEK5QKES.js +1 -1
- package/cdn-versioned/chunks/chunk.Y7AL7I2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.YFGMDOCE.js +1 -1
- package/cdn-versioned/chunks/chunk.YHHVM7YY.js +1 -1
- package/cdn-versioned/chunks/chunk.ZA3AQWM7.js +4 -4
- package/cdn-versioned/chunks/chunk.ZNWCIW62.js +1 -1
- package/cdn-versioned/chunks/chunk.ZQBF4WJL.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/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/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 +2 -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 +238 -238
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +14 -14
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +14 -14
- 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.U6R2MYFD.js → chunk.4D3N4MVV.js} +6 -1
- package/dist/chunks/chunk.HAL7R4WT.js +1 -0
- package/dist/components/tab-group/tab-group.d.ts +1 -0
- package/dist/components/tab-group/tab-group.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.23KFQ6DK.js +2 -2
- package/dist-versioned/chunks/chunk.34OZXOJP.js +1 -1
- package/dist-versioned/chunks/chunk.45BEUHRF.js +2 -2
- package/dist-versioned/chunks/{chunk.U6R2MYFD.js → chunk.4D3N4MVV.js} +20 -15
- package/dist-versioned/chunks/chunk.5YOGUSPL.js +26 -26
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6ITI3HNP.js +3 -3
- package/dist-versioned/chunks/chunk.6MHK4U6F.js +12 -12
- package/dist-versioned/chunks/chunk.7UTPAUSQ.js +2 -2
- package/dist-versioned/chunks/chunk.A2M7C3CD.js +1 -1
- package/dist-versioned/chunks/chunk.AKPCSVRG.js +1 -1
- package/dist-versioned/chunks/chunk.AKX7VXML.js +6 -6
- package/dist-versioned/chunks/chunk.AYDMEA3C.js +4 -4
- package/dist-versioned/chunks/chunk.BUFXMACO.js +2 -2
- package/dist-versioned/chunks/chunk.CFBWKOJD.js +1 -1
- package/dist-versioned/chunks/chunk.DHRQZSXG.js +8 -8
- package/dist-versioned/chunks/chunk.DQ6G3W3V.js +2 -2
- package/dist-versioned/chunks/chunk.E57K3AFR.js +1 -1
- package/dist-versioned/chunks/chunk.HAL7R4WT.js +1 -0
- package/dist-versioned/chunks/chunk.HOXI77KQ.js +3 -3
- package/dist-versioned/chunks/chunk.HP7WJYO4.js +2 -2
- package/dist-versioned/chunks/chunk.HYPCYXQP.js +1 -1
- package/dist-versioned/chunks/chunk.I7VRBYGO.js +2 -2
- package/dist-versioned/chunks/chunk.IAL4GVA4.js +5 -5
- package/dist-versioned/chunks/chunk.IRZ3M2OA.js +1 -1
- package/dist-versioned/chunks/chunk.IUS3S54L.js +2 -2
- package/dist-versioned/chunks/chunk.JM3YRKVA.js +3 -3
- package/dist-versioned/chunks/chunk.JMHQQHEP.js +2 -2
- package/dist-versioned/chunks/chunk.JOYITBGJ.js +2 -2
- package/dist-versioned/chunks/chunk.JTKHYOJO.js +12 -12
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KVLD4JWK.js +5 -5
- package/dist-versioned/chunks/chunk.M5FO7PXK.js +4 -4
- package/dist-versioned/chunks/chunk.MBFZWG5H.js +3 -3
- package/dist-versioned/chunks/chunk.NVXUSMMW.js +2 -2
- package/dist-versioned/chunks/chunk.PEAIITW7.js +5 -5
- package/dist-versioned/chunks/chunk.PHHK74M7.js +6 -6
- package/dist-versioned/chunks/chunk.PPVX563E.js +2 -2
- package/dist-versioned/chunks/chunk.PRTWW2BW.js +1 -1
- package/dist-versioned/chunks/chunk.Q44CB3ZY.js +2 -2
- package/dist-versioned/chunks/chunk.QAJG6PYM.js +1 -1
- package/dist-versioned/chunks/chunk.QDZS6M4T.js +3 -3
- package/dist-versioned/chunks/chunk.QZBSHWMK.js +5 -5
- package/dist-versioned/chunks/chunk.R735ROML.js +1 -1
- package/dist-versioned/chunks/chunk.RAYANOK2.js +4 -4
- package/dist-versioned/chunks/chunk.RRNLIX2S.js +3 -3
- package/dist-versioned/chunks/chunk.S3BSVYPB.js +1 -1
- package/dist-versioned/chunks/chunk.SDWNASDC.js +3 -3
- package/dist-versioned/chunks/chunk.SE4CTFYY.js +1 -1
- package/dist-versioned/chunks/chunk.SJPDNEHE.js +3 -3
- package/dist-versioned/chunks/chunk.T2AOG5F2.js +24 -24
- package/dist-versioned/chunks/chunk.T6DXPJAI.js +1 -1
- package/dist-versioned/chunks/chunk.TIBLXIJV.js +6 -6
- package/dist-versioned/chunks/chunk.TKJFMHFU.js +2 -2
- package/dist-versioned/chunks/chunk.TMWT3ROD.js +2 -2
- package/dist-versioned/chunks/chunk.UAVNEMEF.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.VMVBXZ2U.js +1 -1
- package/dist-versioned/chunks/chunk.WWBNZDY7.js +11 -11
- package/dist-versioned/chunks/chunk.WZZP5YIS.js +1 -1
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/chunk.Z2RQUXP5.js +2 -2
- 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/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 +2 -1
- package/dist-versioned/components/tab-group/tab-group.js +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 +238 -238
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +91 -91
- package/dist-versioned/web-types.json +154 -154
- package/package.json +1 -1
- package/cdn/chunks/chunk.ON26SYWV.js +0 -1
- package/cdn-versioned/chunks/chunk.ON26SYWV.js +0 -1
|
@@ -53,7 +53,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
53
53
|
}
|
|
54
54
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
55
55
|
const element = node;
|
|
56
|
-
return element.tagName.toLowerCase() === "sd-5-15-
|
|
56
|
+
return element.tagName.toLowerCase() === "sd-5-15-13-icon";
|
|
57
57
|
}
|
|
58
58
|
return false;
|
|
59
59
|
});
|
|
@@ -143,19 +143,19 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
143
143
|
slots["description"] && "pt-3",
|
|
144
144
|
!slots["description"] && !this.separated && horizontalPadding,
|
|
145
145
|
this.calculatePaddingX
|
|
146
|
-
)}">${this.divider && this.vertical ? html`<sd-5-15-
|
|
146
|
+
)}">${this.divider && this.vertical ? html`<sd-5-15-13-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-5-15-13-divider>` : ""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-5-15-13-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
147
147
|
"h-6 w-6 ml-2 transition-all",
|
|
148
148
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
149
|
-
)}"></sd-5-15-
|
|
149
|
+
)}"></sd-5-15-13-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot id="description" name="description" part="description" class="${cx(
|
|
150
150
|
"inline-block text-sm text-left font-normal text-black pb-3",
|
|
151
151
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
152
152
|
this.calculatePaddingX
|
|
153
153
|
)}"></slot>` : ""}</div></${tag}>`;
|
|
154
154
|
if (this.separated) {
|
|
155
|
-
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-5-15-
|
|
155
|
+
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-5-15-13-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
156
156
|
"m-4 h-6 w-6 transition-all",
|
|
157
157
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
158
|
-
)}"></sd-5-15-
|
|
158
|
+
)}"></sd-5-15-13-icon></button>` : ""}</div>${this.open ? html`<slot name="children"></slot>` : ""}</div>`;
|
|
159
159
|
}
|
|
160
160
|
if (isAccordion) {
|
|
161
161
|
return html`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${root}<slot name="children"></slot></details>`;
|
|
@@ -216,7 +216,7 @@ __decorateClass([
|
|
|
216
216
|
property({ type: Boolean, reflect: true })
|
|
217
217
|
], SdNavigationItem.prototype, "separated", 2);
|
|
218
218
|
SdNavigationItem = __decorateClass([
|
|
219
|
-
customElement("sd-5-15-
|
|
219
|
+
customElement("sd-5-15-13-navigation-item")
|
|
220
220
|
], SdNavigationItem);
|
|
221
221
|
|
|
222
222
|
export {
|
|
@@ -105,7 +105,7 @@ var SdStep = class extends SolidElement {
|
|
|
105
105
|
"text-lg",
|
|
106
106
|
!this.disabled && !this.current && !this.notInteractive && !this.waiting && "text-primary hover:text-primary-500 hover:fill-primary-500",
|
|
107
107
|
this.notInteractive && "text-primary"
|
|
108
|
-
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting ? html`<sd-5-15-
|
|
108
|
+
)}">${!this.disabled && !this.current && !this.notInteractive && !this.waiting ? html`<sd-5-15-13-icon name="status-check" library="_internal" class="${cx(this.size === "sm" && "text-sm")}"></sd-5-15-13-icon>` : html`${this.index}`}</slot></${tag}>${isHorizontalInline ? html`<div class="${cx(!this.noTail && "flex-1", "flex flex-col gap-1")}"><div class="${cx(
|
|
109
109
|
"flex w-full",
|
|
110
110
|
hasLabel && "gap-2",
|
|
111
111
|
this.size === "sm" && !hasDescription ? "mt-1" : "mt-3"
|
|
@@ -195,7 +195,7 @@ __decorateClass([
|
|
|
195
195
|
watch("notInteractive")
|
|
196
196
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
197
197
|
SdStep = __decorateClass([
|
|
198
|
-
customElement("sd-5-15-
|
|
198
|
+
customElement("sd-5-15-13-step")
|
|
199
199
|
], SdStep);
|
|
200
200
|
|
|
201
201
|
export {
|
|
@@ -208,7 +208,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
208
208
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
209
209
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
210
210
|
}[this.placement]
|
|
211
|
-
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><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 ms-4 absolute top-2 end-2"><sd-5-15-
|
|
211
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><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 ms-4 absolute top-2 end-2"><sd-5-15-13-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-5-15-13-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-13-icon></sd-5-15-13-button></div></header>` : html`<sd-5-15-13-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-5-15-13-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-13-icon></sd-5-15-13-button>`}<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="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
SdDrawer.styles = [
|
|
@@ -249,7 +249,7 @@ __decorateClass([
|
|
|
249
249
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
250
250
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
251
251
|
SdDrawer = __decorateClass([
|
|
252
|
-
customElement("sd-5-15-
|
|
252
|
+
customElement("sd-5-15-13-drawer")
|
|
253
253
|
], SdDrawer);
|
|
254
254
|
setDefaultAnimation("drawer.showStart", {
|
|
255
255
|
keyframes: [
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-5-15-
|
|
211
|
+
customElement("sd-5-15-13-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-15-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-15-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-15-13-option" ? item : Array.from(item.querySelectorAll(":scope > sd-5-15-13-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-15-13-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-5-15-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-5-15-13-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-5-15-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-5-15-13-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-5-15-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-5-15-13-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-5-15-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-5-15-13-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-5-15-
|
|
41
|
-
button.classList.toggle("sd-5-15-
|
|
42
|
-
button.classList.toggle("sd-5-15-
|
|
43
|
-
button.classList.toggle("sd-5-15-
|
|
44
|
-
button.classList.toggle("sd-5-15-
|
|
40
|
+
button.classList.add("sd-5-15-13-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-5-15-13-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-5-15-13-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-5-15-13-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-5-15-13-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-15-13-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-5-15-
|
|
66
|
+
customElement("sd-5-15-13-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-5-15-
|
|
70
|
+
const selector = "sd-5-15-13-button, sd-5-15-13-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-5-15-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-5-15-13-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-5-15-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-5-15-13-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -88,7 +88,7 @@ var FormControlController = class {
|
|
|
88
88
|
},
|
|
89
89
|
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
|
90
90
|
setValue: (input, value) => input.value = value,
|
|
91
|
-
assumeInteractionOn: ["sd-5-15-
|
|
91
|
+
assumeInteractionOn: ["sd-5-15-13-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -98,7 +98,7 @@ var SdVideo = class extends SolidElement {
|
|
|
98
98
|
this.playing ? "opacity-0" : "opacity-100",
|
|
99
99
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
100
100
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
101
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-15-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-15-13-icon id="default-play-icon" library="_internal" name="start"></sd-5-15-13-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdVideo.styles = [
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
property({ type: Boolean })
|
|
116
116
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
117
117
|
SdVideo = __decorateClass([
|
|
118
|
-
customElement("sd-5-15-
|
|
118
|
+
customElement("sd-5-15-13-video")
|
|
119
119
|
], SdVideo);
|
|
120
120
|
|
|
121
121
|
export {
|