@solid-design-system/components 5.13.9 → 5.13.10
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.HLA3SRP7.js → chunk.45T4HDVU.js} +4 -4
- package/cdn/components/select/select.d.ts +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +5 -5
- package/cdn/solid-components.iife.js +9 -9
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2IRWQCRF.js +1 -1
- package/cdn-versioned/chunks/chunk.45T4HDVU.js +11 -0
- package/cdn-versioned/chunks/chunk.4G5K45OD.js +1 -1
- package/cdn-versioned/chunks/chunk.4YGHSZYG.js +1 -1
- package/cdn-versioned/chunks/chunk.5V7VV5QB.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.6U6DCUJY.js +1 -1
- package/cdn-versioned/chunks/chunk.6Z73BB5V.js +1 -1
- package/cdn-versioned/chunks/chunk.76ARSQLO.js +1 -1
- package/cdn-versioned/chunks/chunk.ANXPK3TU.js +1 -1
- package/cdn-versioned/chunks/chunk.BBD6RMZH.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DOIZO725.js +1 -1
- package/cdn-versioned/chunks/chunk.EYOFW6DA.js +1 -1
- package/cdn-versioned/chunks/chunk.FRD44MJU.js +1 -1
- package/cdn-versioned/chunks/chunk.FWIDWQST.js +1 -1
- package/cdn-versioned/chunks/chunk.G4GHS2AG.js +1 -1
- package/cdn-versioned/chunks/chunk.GGNESNM4.js +1 -1
- package/cdn-versioned/chunks/chunk.GOF4ZVCF.js +4 -4
- package/cdn-versioned/chunks/chunk.H254FIFJ.js +1 -1
- package/cdn-versioned/chunks/chunk.HQD5PMJ6.js +1 -1
- package/cdn-versioned/chunks/chunk.INLCQRRA.js +1 -1
- package/cdn-versioned/chunks/chunk.IRWI7GRR.js +1 -1
- package/cdn-versioned/chunks/chunk.J5O47B25.js +1 -1
- package/cdn-versioned/chunks/chunk.K4BO42UJ.js +1 -1
- package/cdn-versioned/chunks/chunk.K5HOAQJY.js +1 -1
- package/cdn-versioned/chunks/chunk.K6CGISQW.js +1 -1
- package/cdn-versioned/chunks/chunk.KMRAQBKA.js +1 -1
- package/cdn-versioned/chunks/chunk.LH5TWCSQ.js +1 -1
- package/cdn-versioned/chunks/chunk.LHEXO22N.js +1 -1
- package/cdn-versioned/chunks/chunk.LHYT7HFQ.js +1 -1
- package/cdn-versioned/chunks/chunk.MBID57NT.js +2 -2
- package/cdn-versioned/chunks/chunk.MTTULBJJ.js +1 -1
- package/cdn-versioned/chunks/chunk.MVLJOBJ3.js +1 -1
- package/cdn-versioned/chunks/chunk.N43BOWAM.js +1 -1
- package/cdn-versioned/chunks/chunk.N5CQJHZQ.js +1 -1
- package/cdn-versioned/chunks/chunk.OYYGJJPP.js +1 -1
- package/cdn-versioned/chunks/chunk.P7RMWM44.js +1 -1
- package/cdn-versioned/chunks/chunk.PBB3HNYR.js +1 -1
- package/cdn-versioned/chunks/chunk.PHEBYNEA.js +1 -1
- package/cdn-versioned/chunks/chunk.PK2BOC64.js +1 -1
- package/cdn-versioned/chunks/chunk.PYFKECFP.js +1 -1
- package/cdn-versioned/chunks/chunk.Q5MHHB4U.js +1 -1
- package/cdn-versioned/chunks/chunk.RHSPP6ZZ.js +1 -1
- package/cdn-versioned/chunks/chunk.SRKXQ6FG.js +1 -1
- package/cdn-versioned/chunks/chunk.SZNIL4KZ.js +1 -1
- package/cdn-versioned/chunks/chunk.T27666UD.js +1 -1
- package/cdn-versioned/chunks/chunk.T64D3FLT.js +1 -1
- package/cdn-versioned/chunks/chunk.TSX2YUC7.js +1 -1
- package/cdn-versioned/chunks/chunk.TUFRTO4T.js +1 -1
- package/cdn-versioned/chunks/chunk.U24DDUI7.js +1 -1
- package/cdn-versioned/chunks/chunk.UQHI5B2R.js +1 -1
- package/cdn-versioned/chunks/chunk.VIW3UATS.js +1 -1
- package/cdn-versioned/chunks/chunk.VPPELN6X.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XG62EPWD.js +1 -1
- package/cdn-versioned/chunks/chunk.YMSIMSMY.js +1 -1
- package/cdn-versioned/chunks/chunk.YRRYK5NI.js +1 -1
- package/cdn-versioned/chunks/chunk.Z4CNPMCB.js +1 -1
- package/cdn-versioned/chunks/chunk.ZA6VOBKL.js +1 -1
- package/cdn-versioned/chunks/chunk.ZKEBLFG4.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 +2 -2
- package/cdn-versioned/components/select/select.js +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 +238 -238
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +13 -13
- 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.ED45IL4A.js → chunk.OI362D7N.js} +17 -11
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.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.2LGZXRL4.js +1 -1
- package/dist-versioned/chunks/chunk.2LUZ5ADD.js +1 -1
- package/dist-versioned/chunks/chunk.2SWC2CD2.js +3 -3
- package/dist-versioned/chunks/chunk.3KHJBMC3.js +14 -14
- package/dist-versioned/chunks/chunk.3M4X7AEY.js +2 -2
- package/dist-versioned/chunks/chunk.3V55NXJN.js +4 -4
- package/dist-versioned/chunks/chunk.4WRDUSNG.js +2 -2
- package/dist-versioned/chunks/chunk.5IFTI3YX.js +11 -11
- package/dist-versioned/chunks/chunk.5WIXR2JN.js +6 -6
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6DQNB3SA.js +12 -12
- package/dist-versioned/chunks/chunk.77NSPIFM.js +3 -3
- package/dist-versioned/chunks/chunk.7EDAY5SR.js +5 -5
- package/dist-versioned/chunks/chunk.7RNERN6N.js +1 -1
- package/dist-versioned/chunks/chunk.7VTXJNYA.js +1 -1
- package/dist-versioned/chunks/chunk.7ZBLKJT5.js +1 -1
- package/dist-versioned/chunks/chunk.AAM4EQUJ.js +2 -2
- package/dist-versioned/chunks/chunk.BWILTNTK.js +1 -1
- package/dist-versioned/chunks/chunk.DHGVK7PH.js +1 -1
- package/dist-versioned/chunks/chunk.ELZAOG6X.js +2 -2
- package/dist-versioned/chunks/chunk.EV2J2MEU.js +1 -1
- package/dist-versioned/chunks/chunk.FFBPU23K.js +5 -5
- package/dist-versioned/chunks/chunk.HGH5QNIU.js +4 -4
- package/dist-versioned/chunks/chunk.HS7LHZQD.js +1 -1
- package/dist-versioned/chunks/chunk.IJFMUKNI.js +4 -4
- package/dist-versioned/chunks/chunk.JEZL6XOP.js +2 -2
- package/dist-versioned/chunks/chunk.JT54G5CA.js +5 -5
- package/dist-versioned/chunks/chunk.JW3IIMMD.js +2 -2
- package/dist-versioned/chunks/chunk.K3X5P6CZ.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KMZJOXPV.js +1 -1
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LG4F5X4T.js +2 -2
- package/dist-versioned/chunks/chunk.LH6QPA5C.js +3 -3
- package/dist-versioned/chunks/chunk.LJ3YEQTI.js +3 -3
- package/dist-versioned/chunks/chunk.MOXWYOS4.js +1 -1
- package/dist-versioned/chunks/chunk.MUJYVT7H.js +3 -3
- package/dist-versioned/chunks/chunk.NGFE3KFR.js +1 -1
- package/dist-versioned/chunks/chunk.NTFOK2AA.js +1 -1
- package/dist-versioned/chunks/{chunk.ED45IL4A.js → chunk.OI362D7N.js} +43 -37
- package/dist-versioned/chunks/chunk.OSOEO2ZC.js +5 -5
- package/dist-versioned/chunks/chunk.OWWOKHLM.js +3 -3
- package/dist-versioned/chunks/chunk.QI2AW6AQ.js +1 -1
- package/dist-versioned/chunks/chunk.QUGFVQCM.js +8 -8
- package/dist-versioned/chunks/chunk.QVXVVXID.js +2 -2
- package/dist-versioned/chunks/chunk.S7SZ7PIX.js +2 -2
- package/dist-versioned/chunks/chunk.UERVAUNW.js +1 -1
- package/dist-versioned/chunks/chunk.UGN3I35T.js +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.V34O6IDJ.js +2 -2
- package/dist-versioned/chunks/chunk.VE7RWFMR.js +2 -2
- package/dist-versioned/chunks/chunk.VSDARV47.js +2 -2
- package/dist-versioned/chunks/chunk.W77IAZZL.js +2 -2
- package/dist-versioned/chunks/chunk.WI2LQTA7.js +2 -2
- package/dist-versioned/chunks/chunk.WNXSYKQB.js +24 -24
- package/dist-versioned/chunks/chunk.X5J22XAO.js +3 -3
- package/dist-versioned/chunks/chunk.X6XICQDG.js +6 -6
- package/dist-versioned/chunks/chunk.XHPPN7XW.js +12 -12
- package/dist-versioned/chunks/chunk.YCDY43E5.js +1 -1
- package/dist-versioned/chunks/chunk.YGOB765P.js +6 -6
- package/dist-versioned/chunks/chunk.ZEI4OKHM.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 +2 -2
- package/dist-versioned/components/select/select.js +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 +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 +2 -2
- package/cdn-versioned/chunks/chunk.HLA3SRP7.js +0 -11
|
@@ -85,7 +85,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
85
85
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
86
86
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
87
87
|
}[this.frontVariant]
|
|
88
|
-
)}"></div><sd-5-13-
|
|
88
|
+
)}"></div><sd-5-13-10-button part="front-button" size="md" variant="${{
|
|
89
89
|
primary: "tertiary",
|
|
90
90
|
"primary-100": "tertiary",
|
|
91
91
|
"gradient-light": "primary",
|
|
@@ -95,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
95
95
|
"primary-100": false,
|
|
96
96
|
"gradient-light": true,
|
|
97
97
|
"gradient-dark": true
|
|
98
|
-
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-13-
|
|
98
|
+
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-13-10-icon library="_internal" name="reload" label="Flip to Back"></sd-5-13-10-icon></sd-5-13-10-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
99
99
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
100
100
|
"flex focus-visible:focus-outline",
|
|
101
101
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -128,7 +128,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
128
128
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
129
129
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
130
130
|
}[this.backVariant]
|
|
131
|
-
)}"></div><sd-5-13-
|
|
131
|
+
)}"></div><sd-5-13-10-button size="md" part="back-button" variant="${{
|
|
132
132
|
primary: "tertiary",
|
|
133
133
|
"primary-100": "tertiary",
|
|
134
134
|
"gradient-light": "primary",
|
|
@@ -138,7 +138,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
138
138
|
"primary-100": false,
|
|
139
139
|
"gradient-light": true,
|
|
140
140
|
"gradient-dark": true
|
|
141
|
-
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-13-
|
|
141
|
+
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-13-10-icon library="_internal" name="reload" label="Flip to Front"></sd-5-13-10-icon></sd-5-13-10-button></div></div>`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
state()
|
|
171
171
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
172
172
|
SdFlipcard = __decorateClass([
|
|
173
|
-
customElement("sd-5-13-
|
|
173
|
+
customElement("sd-5-13-10-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-5-13-
|
|
326
|
+
customElement("sd-5-13-10-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -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-13-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-13-10-icon id="default-play-icon" library="_internal" name="start"></sd-5-13-10-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-13-
|
|
118
|
+
customElement("sd-5-13-10-video")
|
|
119
119
|
], SdVideo);
|
|
120
120
|
|
|
121
121
|
export {
|
|
@@ -80,7 +80,7 @@ var SdTag = class extends SolidElement {
|
|
|
80
80
|
!this.removable ? "hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500" : "has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500"
|
|
81
81
|
) : "bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500",
|
|
82
82
|
this.disabled && !isLink && "cursor-not-allowed"
|
|
83
|
-
)}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-13-
|
|
83
|
+
)}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-13-10-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-13-10-icon></slot></button>` : ""}</${tag}>`;
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SdTag.styles = [
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
property({ reflect: true })
|
|
116
116
|
], SdTag.prototype, "download", 2);
|
|
117
117
|
SdTag = __decorateClass([
|
|
118
|
-
customElement("sd-5-13-
|
|
118
|
+
customElement("sd-5-13-10-tag")
|
|
119
119
|
], SdTag);
|
|
120
120
|
|
|
121
121
|
export {
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-5-13-
|
|
211
|
+
customElement("sd-5-13-10-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -117,16 +117,16 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
117
117
|
slots["description"] && "pt-3",
|
|
118
118
|
slots["description"] || this.separated ? "pb-1" : horizontalPadding,
|
|
119
119
|
this.calculatePaddingX
|
|
120
|
-
)}">${this.divider && this.vertical ? html`<sd-5-13-
|
|
120
|
+
)}">${this.divider && this.vertical ? html`<sd-5-13-10-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-5-13-10-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
|
|
121
121
|
"mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",
|
|
122
122
|
!slots["description"] && "py-4"
|
|
123
|
-
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline-flex"></slot></a>` : html`<slot part="content" class="inline-flex"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-13-
|
|
123
|
+
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline-flex"></slot></a>` : html`<slot part="content" class="inline-flex"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-13-10-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
124
124
|
"m-4 h-6 w-6 transition-all",
|
|
125
125
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
126
|
-
)}"></sd-5-13-
|
|
126
|
+
)}"></sd-5-13-10-icon></button>` : html`<sd-5-13-10-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
127
127
|
"h-6 w-6 ml-2 transition-all",
|
|
128
128
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
129
|
-
)}"></sd-5-13-
|
|
129
|
+
)}"></sd-5-13-10-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
|
|
130
130
|
"inline-block text-sm text-left text-black pb-3",
|
|
131
131
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
132
132
|
this.separated ? "px-4" : this.calculatePaddingX
|
|
@@ -190,7 +190,7 @@ __decorateClass([
|
|
|
190
190
|
property({ type: Boolean, reflect: true })
|
|
191
191
|
], SdNavigationItem.prototype, "separated", 2);
|
|
192
192
|
SdNavigationItem = __decorateClass([
|
|
193
|
-
customElement("sd-5-13-
|
|
193
|
+
customElement("sd-5-13-10-navigation-item")
|
|
194
194
|
], SdNavigationItem);
|
|
195
195
|
|
|
196
196
|
export {
|
|
@@ -25,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Syncs the disabled prop for all slotted sd-5-13-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-5-13-10-options when it is triggered
|
|
29
29
|
*/
|
|
30
30
|
handleDisableOptions() {
|
|
31
31
|
const { disabled } = this;
|
|
32
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-13-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-13-10-option").forEach((opt) => {
|
|
33
33
|
opt.disabled = disabled;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var SdOptgroup = class extends SolidElement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const { disabled } = this;
|
|
41
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-13-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-13-10-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-13-10-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdOptgroup.styles = [
|
|
@@ -58,7 +58,7 @@ __decorateClass([
|
|
|
58
58
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
59
59
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
60
60
|
SdOptgroup = __decorateClass([
|
|
61
|
-
customElement("sd-5-13-
|
|
61
|
+
customElement("sd-5-13-10-optgroup")
|
|
62
62
|
], SdOptgroup);
|
|
63
63
|
|
|
64
64
|
export {
|
|
@@ -210,15 +210,15 @@ var SdNotification = class extends SolidElement {
|
|
|
210
210
|
warning: "bg-warning",
|
|
211
211
|
error: "bg-error"
|
|
212
212
|
}[this.variant]
|
|
213
|
-
)}"><sd-5-13-
|
|
213
|
+
)}"><sd-5-13-10-icon name="${{
|
|
214
214
|
info: "info-circle",
|
|
215
215
|
success: "confirm-circle",
|
|
216
216
|
warning: "exclamation-circle",
|
|
217
217
|
error: "warning"
|
|
218
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-13-
|
|
218
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-13-10-icon></slot><div part="content" class="${cx(
|
|
219
219
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
220
220
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
221
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-13-
|
|
221
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-13-10-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-13-10-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-13-10-icon></sd-5-13-10-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
@@ -262,7 +262,7 @@ __decorateClass([
|
|
|
262
262
|
watch("duration")
|
|
263
263
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
264
264
|
SdNotification = __decorateClass([
|
|
265
|
-
customElement("sd-5-13-
|
|
265
|
+
customElement("sd-5-13-10-notification")
|
|
266
266
|
], SdNotification);
|
|
267
267
|
setDefaultAnimation("notification.show", {
|
|
268
268
|
keyframes: [
|
|
@@ -24,7 +24,7 @@ var SdTab = class extends SolidElement {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.attrId = ++id;
|
|
27
|
-
this.componentId = `sd-5-13-
|
|
27
|
+
this.componentId = `sd-5-13-10-tab-${this.attrId}`;
|
|
28
28
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
29
29
|
this.localize = new LocalizeController(this);
|
|
30
30
|
this.variant = "default";
|
|
@@ -107,7 +107,7 @@ __decorateClass([
|
|
|
107
107
|
watch(["disabled", "visually-disabled"])
|
|
108
108
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
109
109
|
SdTab = __decorateClass([
|
|
110
|
-
customElement("sd-5-13-
|
|
110
|
+
customElement("sd-5-13-10-tab")
|
|
111
111
|
], SdTab);
|
|
112
112
|
|
|
113
113
|
export {
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-5-13-
|
|
29
|
+
return [...this.querySelectorAll("sd-5-13-10-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-5-13-
|
|
42
|
+
if (customElements.get("sd-5-13-10-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-5-13-
|
|
45
|
+
customElements.whenDefined("sd-5-13-10-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-13-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-13-10-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-13-10-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-13-10-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-13-10-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-13-10-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-13-10-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-5-13-
|
|
103
|
+
customElement("sd-5-13-10-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-5-13-
|
|
74
|
+
"sd-5-13-10-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -127,7 +127,7 @@ __decorateClass([
|
|
|
127
127
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
128
128
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
129
129
|
SdRadio = __decorateClass([
|
|
130
|
-
customElement("sd-5-13-
|
|
130
|
+
customElement("sd-5-13-10-radio")
|
|
131
131
|
], SdRadio);
|
|
132
132
|
|
|
133
133
|
export {
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-5-13-
|
|
21
|
+
this.componentId = `sd-5-13-10-tab-panel-${this.attrId}`;
|
|
22
22
|
this.name = "";
|
|
23
23
|
this.active = false;
|
|
24
24
|
}
|
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
|
48
48
|
watch("active")
|
|
49
49
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
|
50
50
|
SdTabPanel = __decorateClass([
|
|
51
|
-
customElement("sd-5-13-
|
|
51
|
+
customElement("sd-5-13-10-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|
|
@@ -48,7 +48,7 @@ var SubmenuController = class {
|
|
|
48
48
|
if (event.target === this.host) {
|
|
49
49
|
event.preventDefault();
|
|
50
50
|
event.stopPropagation();
|
|
51
|
-
} else if (event.target instanceof Element && (event.target.tagName === "sd-5-13-
|
|
51
|
+
} else if (event.target instanceof Element && (event.target.tagName === "sd-5-13-10-menu-item" || ((_a = event.target.role) == null ? void 0 : _a.startsWith("menuitem")))) {
|
|
52
52
|
const type = event.target.getAttribute("type");
|
|
53
53
|
if (type !== "checkbox") {
|
|
54
54
|
this.disableSubmenu();
|
|
@@ -69,7 +69,7 @@ var SubmenuController = class {
|
|
|
69
69
|
// Set the safe triangle values for the submenu when the position changes
|
|
70
70
|
this.handlePopupReposition = () => {
|
|
71
71
|
const submenuSlot = this.host.renderRoot.querySelector("slot[name='submenu']");
|
|
72
|
-
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-5-13-
|
|
72
|
+
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-5-13-10-menu")[0];
|
|
73
73
|
const isRtl = getComputedStyle(this.host).direction === "rtl";
|
|
74
74
|
if (!menu) {
|
|
75
75
|
return;
|
|
@@ -141,7 +141,7 @@ var SubmenuController = class {
|
|
|
141
141
|
}
|
|
142
142
|
let menuItems = null;
|
|
143
143
|
for (const elt of submenuSlot.assignedElements()) {
|
|
144
|
-
menuItems = elt.querySelectorAll("sd-5-13-
|
|
144
|
+
menuItems = elt.querySelectorAll("sd-5-13-10-menu-item, [role^='menuitem']");
|
|
145
145
|
if (menuItems.length !== 0) {
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
@@ -220,7 +220,7 @@ var SubmenuController = class {
|
|
|
220
220
|
if (!this.isConnected) {
|
|
221
221
|
return html`<slot name="submenu" hidden></slot>`;
|
|
222
222
|
}
|
|
223
|
-
return html`<sd-5-13-
|
|
223
|
+
return html`<sd-5-13-10-popup ${ref(this.popupRef)} placement="${isRtl ? "left-start" : "right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-5-13-10-popup>`;
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|
|
@@ -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-13-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-5-13-10-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-13-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-5-13-10-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-13-
|
|
91
|
+
assumeInteractionOn: ["sd-5-13-10-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -35,7 +35,7 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
35
35
|
"flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",
|
|
36
36
|
this.open && "rotate-180",
|
|
37
37
|
!this.expandable && "hidden"
|
|
38
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-
|
|
38
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-10-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-13-10-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-13-10-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-13-10-icon></slot></span></${header}><div part="content" id="content" class="${cx("overflow-hidden", !this.expandable && "hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${base}>`;
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
SdQuickfact.styles = [
|
|
@@ -46,7 +46,7 @@ __decorateClass([
|
|
|
46
46
|
property({ type: Boolean, reflect: true })
|
|
47
47
|
], SdQuickfact.prototype, "expandable", 2);
|
|
48
48
|
SdQuickfact = __decorateClass([
|
|
49
|
-
customElement("sd-5-13-
|
|
49
|
+
customElement("sd-5-13-10-quickfact")
|
|
50
50
|
], SdQuickfact);
|
|
51
51
|
setDefaultAnimation("quickfact.show", {
|
|
52
52
|
keyframes: [{ height: "0" }, { height: "auto" }],
|
|
@@ -107,12 +107,12 @@ var SdMenuItem = class extends SolidElement {
|
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-5-13-
|
|
110
|
+
)}"><sd-5-13-10-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-13-10-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-5-13-10-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-13-10-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
|
-
css`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-13-
|
|
115
|
+
css`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-13-10-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded:after{bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);position:fixed;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:calc(var(z-dropdown) - 1);--tw-content:"";clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));content:var(--tw-content)}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1));outline:2px solid transparent;outline-offset:2px}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:-2px;outline-style:solid;outline-width:2px}:host(:hover) [part=base]{outline:2px solid transparent;outline-offset:2px}sd-5-13-10-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));margin-left:var(--submenu-offset)}::slotted(sd-5-13-10-menu){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important}`
|
|
116
116
|
];
|
|
117
117
|
__decorateClass([
|
|
118
118
|
query("slot:not([name])")
|
|
@@ -145,7 +145,7 @@ __decorateClass([
|
|
|
145
145
|
watch("type")
|
|
146
146
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
147
147
|
SdMenuItem = __decorateClass([
|
|
148
|
-
customElement("sd-5-13-
|
|
148
|
+
customElement("sd-5-13-10-menu-item")
|
|
149
149
|
], SdMenuItem);
|
|
150
150
|
|
|
151
151
|
export {
|
|
@@ -97,7 +97,7 @@ var SdMenu = class extends SolidElement {
|
|
|
97
97
|
}
|
|
98
98
|
isMenuItem(item) {
|
|
99
99
|
var _a;
|
|
100
|
-
return item.tagName.toLowerCase() === "sd-5-13-
|
|
100
|
+
return item.tagName.toLowerCase() === "sd-5-13-10-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
101
101
|
}
|
|
102
102
|
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
103
103
|
getAllItems() {
|
|
@@ -131,13 +131,13 @@ var SdMenu = class extends SolidElement {
|
|
|
131
131
|
};
|
|
132
132
|
SdMenu.styles = [
|
|
133
133
|
...SolidElement.styles,
|
|
134
|
-
css`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-13-
|
|
134
|
+
css`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-13-10-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`
|
|
135
135
|
];
|
|
136
136
|
__decorateClass([
|
|
137
137
|
query("slot")
|
|
138
138
|
], SdMenu.prototype, "defaultSlot", 2);
|
|
139
139
|
SdMenu = __decorateClass([
|
|
140
|
-
customElement("sd-5-13-
|
|
140
|
+
customElement("sd-5-13-10-menu")
|
|
141
141
|
], SdMenu);
|
|
142
142
|
|
|
143
143
|
export {
|