@solid-design-system/components 4.7.0 → 4.7.1
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-versioned/chunks/chunk.DCDGE6J6.js → cdn/chunks/chunk.FLDQY4UM.js} +2 -2
- package/cdn/chunks/{chunk.S5PWVOWJ.js → chunk.HAWWEDGO.js} +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/custom-elements.json +5 -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/vscode.html-custom-data.json +1 -1
- package/cdn/web-types.json +2 -2
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2BEYKT3X.js +1 -1
- package/cdn-versioned/chunks/chunk.2GZQBUWX.js +1 -1
- package/cdn-versioned/chunks/chunk.2JRXOPGB.js +1 -1
- package/cdn-versioned/chunks/chunk.3PR6MYE2.js +1 -1
- package/cdn-versioned/chunks/chunk.3S7KED3Z.js +1 -1
- package/cdn-versioned/chunks/chunk.3SSTJFTR.js +1 -1
- package/cdn-versioned/chunks/chunk.4CZOKJXO.js +1 -1
- package/cdn-versioned/chunks/chunk.56ASCPGU.js +1 -1
- package/cdn-versioned/chunks/chunk.5GOJGEAL.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.6IBJ4LPU.js +1 -1
- package/cdn-versioned/chunks/chunk.6UW3LAUP.js +1 -1
- package/cdn-versioned/chunks/chunk.7U5C6WVV.js +1 -1
- package/cdn-versioned/chunks/chunk.AP6I7IAB.js +2 -2
- package/cdn-versioned/chunks/chunk.AP75SRP6.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CF7QMZGG.js +4 -4
- package/cdn-versioned/chunks/chunk.DGBQOHZV.js +1 -1
- package/cdn-versioned/chunks/chunk.DUVN4BB5.js +1 -1
- package/cdn-versioned/chunks/chunk.ESCK5DGC.js +1 -1
- package/cdn-versioned/chunks/chunk.FCTYPRGM.js +1 -1
- package/cdn-versioned/chunks/chunk.FFOMHI67.js +1 -1
- package/{cdn/chunks/chunk.DCDGE6J6.js → cdn-versioned/chunks/chunk.FLDQY4UM.js} +2 -2
- package/cdn-versioned/chunks/chunk.GECLTB6E.js +1 -1
- package/cdn-versioned/chunks/{chunk.S5PWVOWJ.js → chunk.HAWWEDGO.js} +1 -1
- package/cdn-versioned/chunks/chunk.JDS7HCF3.js +1 -1
- package/cdn-versioned/chunks/chunk.KJPI2HES.js +1 -1
- package/cdn-versioned/chunks/chunk.LEL4G5ST.js +1 -1
- package/cdn-versioned/chunks/chunk.LTIWLEJU.js +1 -1
- package/cdn-versioned/chunks/chunk.M6WF7N2R.js +1 -1
- package/cdn-versioned/chunks/chunk.MLKEOH5W.js +1 -1
- package/cdn-versioned/chunks/chunk.MZQN2324.js +1 -1
- package/cdn-versioned/chunks/chunk.NOBHILFZ.js +1 -1
- package/cdn-versioned/chunks/chunk.NZCSVNFI.js +1 -1
- package/cdn-versioned/chunks/chunk.ONQEU5ND.js +1 -1
- package/cdn-versioned/chunks/chunk.OU2RJMYW.js +3 -3
- package/cdn-versioned/chunks/chunk.PQU3RUZZ.js +4 -4
- package/cdn-versioned/chunks/chunk.QLWASQZE.js +1 -1
- package/cdn-versioned/chunks/chunk.RG3NFVUO.js +1 -1
- package/cdn-versioned/chunks/chunk.RHZS64IR.js +1 -1
- package/cdn-versioned/chunks/chunk.RIA5CING.js +1 -1
- package/cdn-versioned/chunks/chunk.S4HWDIQW.js +1 -1
- package/cdn-versioned/chunks/chunk.SLGZAF6X.js +2 -2
- package/cdn-versioned/chunks/chunk.TIY2EU4Y.js +1 -1
- package/cdn-versioned/chunks/chunk.VK3SP6IV.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WGZAXOSA.js +1 -1
- package/cdn-versioned/chunks/chunk.WKEOXWZV.js +1 -1
- package/cdn-versioned/chunks/chunk.WQFCEQZL.js +1 -1
- package/cdn-versioned/chunks/chunk.XL4DJGZN.js +1 -1
- package/cdn-versioned/chunks/chunk.YHMV4GRX.js +1 -1
- package/cdn-versioned/chunks/chunk.Z2EZ3YS4.js +1 -1
- package/cdn-versioned/chunks/chunk.Z4SDI2WY.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/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +215 -211
- 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 +81 -81
- package/cdn-versioned/web-types.json +138 -138
- package/dist/chunks/{chunk.ZGAYBN5D.js → chunk.4JMANJQA.js} +1 -1
- package/dist/chunks/{chunk.Z5JLAHEA.js → chunk.SUI2ZW2T.js} +1 -1
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/flipcard/flipcard.js +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/custom-elements.json +5 -1
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +2 -2
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.34ZYNTK2.js +2 -2
- package/dist-versioned/chunks/{chunk.ZGAYBN5D.js → chunk.4JMANJQA.js} +5 -5
- package/dist-versioned/chunks/chunk.52C5F7DJ.js +1 -1
- package/dist-versioned/chunks/chunk.56N3RSAE.js +2 -2
- package/dist-versioned/chunks/chunk.5JQXTFQP.js +5 -5
- package/dist-versioned/chunks/chunk.5U2SJOTV.js +26 -26
- package/dist-versioned/chunks/chunk.5WACQD2F.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6ZPX5OTF.js +1 -1
- package/dist-versioned/chunks/chunk.72UMKQ7O.js +1 -1
- package/dist-versioned/chunks/chunk.CFQBV5W2.js +1 -1
- package/dist-versioned/chunks/chunk.CO7QX2EW.js +5 -5
- package/dist-versioned/chunks/chunk.DHAZFPCB.js +1 -1
- package/dist-versioned/chunks/chunk.DO3SM5IZ.js +5 -5
- package/dist-versioned/chunks/chunk.DROA7RNH.js +11 -11
- package/dist-versioned/chunks/chunk.ESXXYVU6.js +2 -2
- package/dist-versioned/chunks/chunk.FJRN44TA.js +1 -1
- package/dist-versioned/chunks/chunk.FPGTELPD.js +6 -6
- package/dist-versioned/chunks/chunk.GLUFF74G.js +1 -1
- package/dist-versioned/chunks/chunk.IQ7IQWIB.js +1 -1
- package/dist-versioned/chunks/chunk.J7W7ZOQO.js +3 -3
- package/dist-versioned/chunks/chunk.JB2C7BEZ.js +1 -1
- package/dist-versioned/chunks/chunk.JMF35STD.js +24 -24
- package/dist-versioned/chunks/chunk.KALJB7Q2.js +2 -2
- package/dist-versioned/chunks/chunk.KL3FS5YT.js +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.M3MSH2U2.js +2 -2
- package/dist-versioned/chunks/chunk.M6SZ7ZI5.js +1 -1
- package/dist-versioned/chunks/chunk.NC3YA6W4.js +2 -2
- package/dist-versioned/chunks/chunk.O3HODN3U.js +14 -14
- package/dist-versioned/chunks/chunk.PP4HPJME.js +1 -1
- package/dist-versioned/chunks/chunk.QCKLKM6O.js +2 -2
- package/dist-versioned/chunks/chunk.QDMA3Q4K.js +2 -2
- package/dist-versioned/chunks/chunk.QWTYLITE.js +5 -5
- package/dist-versioned/chunks/chunk.RX6XKJHU.js +9 -9
- package/dist-versioned/chunks/{chunk.Z5JLAHEA.js → chunk.SUI2ZW2T.js} +6 -6
- package/dist-versioned/chunks/chunk.TBJ2K5CM.js +2 -2
- package/dist-versioned/chunks/chunk.TPVMHWEM.js +1 -1
- package/dist-versioned/chunks/chunk.U37W2B3U.js +2 -2
- package/dist-versioned/chunks/chunk.UHGWZDAA.js +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UOWEL76U.js +8 -8
- package/dist-versioned/chunks/chunk.VA6HEC7C.js +4 -4
- package/dist-versioned/chunks/chunk.VCPNOCNJ.js +2 -2
- package/dist-versioned/chunks/chunk.VEOF7FJ7.js +3 -3
- package/dist-versioned/chunks/chunk.VJXC54A5.js +2 -2
- package/dist-versioned/chunks/chunk.W4P6LQXL.js +1 -1
- package/dist-versioned/chunks/chunk.WAYFISPO.js +5 -5
- package/dist-versioned/chunks/chunk.WKOQPOCH.js +1 -1
- package/dist-versioned/chunks/chunk.WOR3YQDI.js +3 -3
- package/dist-versioned/chunks/chunk.XKPIO6ZK.js +13 -13
- package/dist-versioned/chunks/chunk.Z7FOHDKA.js +2 -2
- package/dist-versioned/chunks/chunk.ZLDJAXO4.js +3 -3
- 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/audio/audio.js +2 -2
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +215 -211
- 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 +81 -81
- package/dist-versioned/web-types.json +138 -138
- package/package.json +1 -1
|
@@ -180,7 +180,7 @@ var SdButton = class extends SolidElement {
|
|
|
180
180
|
cta: `text-white ${this.visuallyDisabled ? "bg-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "bg-accent-500"}
|
|
181
181
|
${!this.inverted ? "disabled:bg-neutral-500" : "disabled:bg-neutral-600"} disabled:text-white`
|
|
182
182
|
}[this.variant]
|
|
183
|
-
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div class="${cx(
|
|
183
|
+
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
184
184
|
"absolute inset-0 rounded-default -z-10 overflow-hidden pointer-events-none ",
|
|
185
185
|
(this.disabled || this.visuallyDisabled) && "hidden"
|
|
186
186
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
@@ -306,7 +306,7 @@ var SdAudio = class extends SolidElement {
|
|
|
306
306
|
};
|
|
307
307
|
SdAudio.styles = [
|
|
308
308
|
...SolidElement.styles,
|
|
309
|
-
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-button::part(label){align-items:center;display:flex;flex-grow:0}`
|
|
309
|
+
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-button::part(motion-wrapper){border-radius:var(--sd-border-radius-full,9999px)}sd-button::part(label){align-items:center;display:flex;flex-grow:0}`
|
|
310
310
|
];
|
|
311
311
|
__decorateClass([
|
|
312
312
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAudio
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.SUI2ZW2T.js";
|
|
4
|
+
import "../../chunks/chunk.4JMANJQA.js";
|
|
5
5
|
import "../../chunks/chunk.JB2C7BEZ.js";
|
|
6
6
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
7
7
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
@@ -6,7 +6,7 @@ import "../../chunks/chunk.XHCTCU2Q.js";
|
|
|
6
6
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
7
7
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
8
8
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.4JMANJQA.js";
|
|
10
10
|
import "../../chunks/chunk.JB2C7BEZ.js";
|
|
11
11
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
12
12
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
@@ -6,7 +6,7 @@ import "../../chunks/chunk.XHCTCU2Q.js";
|
|
|
6
6
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
7
7
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
8
8
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.4JMANJQA.js";
|
|
10
10
|
import "../../chunks/chunk.JB2C7BEZ.js";
|
|
11
11
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
12
12
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdFlipcard
|
|
3
3
|
} from "../../chunks/chunk.5JQXTFQP.js";
|
|
4
|
-
import "../../chunks/chunk.
|
|
4
|
+
import "../../chunks/chunk.4JMANJQA.js";
|
|
5
5
|
import "../../chunks/chunk.JB2C7BEZ.js";
|
|
6
6
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
7
7
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../../chunks/chunk.VA6HEC7C.js";
|
|
4
4
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
5
5
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.4JMANJQA.js";
|
|
7
7
|
import "../../chunks/chunk.JB2C7BEZ.js";
|
|
8
8
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
9
9
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
@@ -1966,6 +1966,10 @@
|
|
|
1966
1966
|
{
|
|
1967
1967
|
"description": "The container that wraps the right icon area.",
|
|
1968
1968
|
"name": "icon-right"
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"description": "The container that wraps the motion animation.",
|
|
1972
|
+
"name": "motion-wrapper"
|
|
1969
1973
|
}
|
|
1970
1974
|
],
|
|
1971
1975
|
"slots": [
|
|
@@ -18574,7 +18578,7 @@
|
|
|
18574
18578
|
"package": {
|
|
18575
18579
|
"name": "@solid-design-system/components",
|
|
18576
18580
|
"description": "Solid Design System: Components",
|
|
18577
|
-
"version": "4.7.
|
|
18581
|
+
"version": "4.7.1",
|
|
18578
18582
|
"author": "Union Investment",
|
|
18579
18583
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
18580
18584
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -149,10 +149,10 @@ import {
|
|
|
149
149
|
import "./chunks/chunk.TJOP7HQP.js";
|
|
150
150
|
import {
|
|
151
151
|
SdAudio
|
|
152
|
-
} from "./chunks/chunk.
|
|
152
|
+
} from "./chunks/chunk.SUI2ZW2T.js";
|
|
153
153
|
import {
|
|
154
154
|
SdButton
|
|
155
|
-
} from "./chunks/chunk.
|
|
155
|
+
} from "./chunks/chunk.4JMANJQA.js";
|
|
156
156
|
import {
|
|
157
157
|
SdSpinner
|
|
158
158
|
} from "./chunks/chunk.JB2C7BEZ.js";
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
"name": "sd-button",
|
|
271
|
-
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
271
|
+
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
272
272
|
"attributes": [
|
|
273
273
|
{ "name": "title", "values": [] },
|
|
274
274
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
637
|
"name": "sd-button",
|
|
638
|
-
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
638
|
+
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
639
639
|
"doc-url": "",
|
|
640
640
|
"attributes": [
|
|
641
641
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
|
32
32
|
if (item.type === 'checkbox') {
|
|
33
33
|
item.checked = !item.checked;
|
|
34
34
|
}
|
|
35
|
-
this.emit('sd-4-7-
|
|
35
|
+
this.emit('sd-4-7-1-select', { detail: { item } });
|
|
36
36
|
}
|
|
37
37
|
handleKeyDown(event) {
|
|
38
38
|
if (event.key === 'Enter') {
|
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
74
74
|
})}
|
|
75
75
|
>
|
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-4-7-
|
|
77
|
+
<sd-4-7-1-icon name="check" library="system" aria-hidden="true"></sd-4-7-1-icon>
|
|
78
78
|
</span>
|
|
79
79
|
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
85
|
|
|
86
86
|
<span class="menu-item__chevron">
|
|
87
|
-
<sd-4-7-
|
|
87
|
+
<sd-4-7-1-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-7-1-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -174,7 +174,7 @@ var SdDialog = class extends SolidElement {
|
|
|
174
174
|
)}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
175
175
|
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
176
176
|
this.open && "flex opacity-100"
|
|
177
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-7-
|
|
177
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-7-1-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-4-7-1-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-7-1-icon></sd-4-7-1-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
SdDialog.styles = [
|
|
@@ -203,7 +203,7 @@ __decorateClass([
|
|
|
203
203
|
watch("open", { waitUntilFirstUpdate: true })
|
|
204
204
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
205
205
|
SdDialog = __decorateClass([
|
|
206
|
-
customElement("sd-4-7-
|
|
206
|
+
customElement("sd-4-7-1-dialog")
|
|
207
207
|
], SdDialog);
|
|
208
208
|
setDefaultAnimation("dialog.show", {
|
|
209
209
|
keyframes: [
|
|
@@ -180,7 +180,7 @@ var SdButton = class extends SolidElement {
|
|
|
180
180
|
cta: `text-white ${this.visuallyDisabled ? "bg-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "bg-accent-500"}
|
|
181
181
|
${!this.inverted ? "disabled:bg-neutral-500" : "disabled:bg-neutral-600"} disabled:text-white`
|
|
182
182
|
}[this.variant]
|
|
183
|
-
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div class="${cx(
|
|
183
|
+
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
184
184
|
"absolute inset-0 rounded-default -z-10 overflow-hidden pointer-events-none ",
|
|
185
185
|
(this.disabled || this.visuallyDisabled) && "hidden"
|
|
186
186
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
@@ -221,7 +221,7 @@ var SdButton = class extends SolidElement {
|
|
|
221
221
|
md: "ml-2",
|
|
222
222
|
lg: "ml-2"
|
|
223
223
|
}[this.size]
|
|
224
|
-
)}"></slot>${this.loading ? html`<sd-4-7-
|
|
224
|
+
)}"></slot>${this.loading ? html`<sd-4-7-1-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-4-7-1-spinner>` : ""}</${tag}>`;
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
@@ -229,13 +229,13 @@ var SdButton = class extends SolidElement {
|
|
|
229
229
|
*/
|
|
230
230
|
SdButton.styles = [
|
|
231
231
|
...SolidElement.styles,
|
|
232
|
-
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-7-
|
|
232
|
+
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto)}sd-4-7-1-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-4-7-1-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-4-7-1-icon),sd-4-7-1-spinner{font-size:calc(var(--tw-varspacing)/2)}`
|
|
233
233
|
];
|
|
234
234
|
__decorateClass([
|
|
235
235
|
query("a, button")
|
|
236
236
|
], SdButton.prototype, "button", 2);
|
|
237
237
|
__decorateClass([
|
|
238
|
-
queryAssignedElements({ selector: "sd-4-7-
|
|
238
|
+
queryAssignedElements({ selector: "sd-4-7-1-icon" })
|
|
239
239
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
240
240
|
__decorateClass([
|
|
241
241
|
state()
|
|
@@ -301,7 +301,7 @@ __decorateClass([
|
|
|
301
301
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
302
302
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
303
303
|
SdButton = __decorateClass([
|
|
304
|
-
customElement("sd-4-7-
|
|
304
|
+
customElement("sd-4-7-1-button")
|
|
305
305
|
], SdButton);
|
|
306
306
|
|
|
307
307
|
export {
|
|
@@ -72,7 +72,7 @@ var SdExpandable = class extends SolidElement {
|
|
|
72
72
|
"sd-interactive sd-interactive--reset",
|
|
73
73
|
this.inverted && "sd-interactive--inverted",
|
|
74
74
|
!this.inverted ? "!focus-visible:focus-outline" : "!focus-visible:focus-outline-inverted"
|
|
75
|
-
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-7-
|
|
75
|
+
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-7-1-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-4-7-1-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-4-7-1-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-4-7-1-icon>${this.localize.term("showMore")}</slot>`}</div></button><details part="details" ?inert="${ifDefined(!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>`;
|
|
76
76
|
}
|
|
77
77
|
firstUpdated() {
|
|
78
78
|
this.cloneContentToLightDOM();
|
|
@@ -109,7 +109,7 @@ __decorateClass([
|
|
|
109
109
|
watch("open", { waitUntilFirstUpdate: true })
|
|
110
110
|
], SdExpandable.prototype, "onOpenChange", 1);
|
|
111
111
|
SdExpandable = __decorateClass([
|
|
112
|
-
customElement("sd-4-7-
|
|
112
|
+
customElement("sd-4-7-1-expandable")
|
|
113
113
|
], SdExpandable);
|
|
114
114
|
|
|
115
115
|
export {
|
|
@@ -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-4-7-
|
|
88
|
+
)}"></div><sd-4-7-1-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-4-7-
|
|
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-4-7-1-icon library="system" name="reload" label="Flip to Back"></sd-4-7-1-icon></sd-4-7-1-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-4-7-
|
|
131
|
+
)}"></div><sd-4-7-1-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-4-7-
|
|
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-4-7-1-icon library="system" name="reload" label="Flip to Front"></sd-4-7-1-icon></sd-4-7-1-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-4-7-
|
|
173
|
+
customElement("sd-4-7-1-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -44,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.formControlController = new FormControlController(this, {
|
|
47
|
-
assumeInteractionOn: ["sd-blur", "sd-4-7-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-4-7-1-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -77,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
77
77
|
this.styleOnValid = false;
|
|
78
78
|
this.hoist = false;
|
|
79
79
|
this.getTag = (option) => {
|
|
80
|
-
return html`<sd-4-7-
|
|
80
|
+
return html`<sd-4-7-1-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
81
81
|
base:tag__base,
|
|
82
82
|
content:tag__content,
|
|
83
83
|
removable-indicator:tag__removable-indicator,
|
|
84
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-7-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-7-1-tag>`;
|
|
85
85
|
};
|
|
86
86
|
this.handleDocumentFocusIn = (event) => {
|
|
87
87
|
const path = event.composedPath();
|
|
@@ -92,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
92
92
|
this.handleDocumentKeyDown = (event) => {
|
|
93
93
|
const target = event.target;
|
|
94
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
95
|
-
const isIconButton = target.closest("sd-4-7-
|
|
95
|
+
const isIconButton = target.closest("sd-4-7-1-icon-button") !== null;
|
|
96
96
|
if (isClearButton || isIconButton) {
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
@@ -227,8 +227,8 @@ var SdSelect = class extends SolidElement {
|
|
|
227
227
|
event.preventDefault();
|
|
228
228
|
event.stopPropagation();
|
|
229
229
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
230
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-7-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-7-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-7-1-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-7-1-tag");
|
|
232
232
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
233
233
|
this.updateComplete.then(() => {
|
|
234
234
|
if (nextTag) {
|
|
@@ -248,7 +248,7 @@ var SdSelect = class extends SolidElement {
|
|
|
248
248
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
249
249
|
this.updateComplete.then(() => {
|
|
250
250
|
var _a;
|
|
251
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-7-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-7-1-tag");
|
|
252
252
|
if (tags && tags.length > 0) {
|
|
253
253
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
254
254
|
} else {
|
|
@@ -294,7 +294,7 @@ var SdSelect = class extends SolidElement {
|
|
|
294
294
|
}
|
|
295
295
|
handleOptionClick(event) {
|
|
296
296
|
const target = event.target;
|
|
297
|
-
const option = target.closest("sd-4-7-
|
|
297
|
+
const option = target.closest("sd-4-7-1-option");
|
|
298
298
|
const oldValue = this.value;
|
|
299
299
|
if (option && !option.disabled) {
|
|
300
300
|
if (this.multiple) {
|
|
@@ -319,7 +319,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
319
|
const allOptions = this.getAllOptions();
|
|
320
320
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
321
321
|
const values = [];
|
|
322
|
-
if (customElements.get("sd-4-7-
|
|
322
|
+
if (customElements.get("sd-4-7-1-option")) {
|
|
323
323
|
allOptions.forEach((option) => {
|
|
324
324
|
if (this.multiple) {
|
|
325
325
|
option.checkbox = true;
|
|
@@ -328,7 +328,7 @@ var SdSelect = class extends SolidElement {
|
|
|
328
328
|
});
|
|
329
329
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
330
330
|
} else {
|
|
331
|
-
customElements.whenDefined("sd-4-7-
|
|
331
|
+
customElements.whenDefined("sd-4-7-1-option").then(() => this.handleDefaultSlotChange());
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
handleTagRemove(event, option) {
|
|
@@ -345,13 +345,13 @@ var SdSelect = class extends SolidElement {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
// Gets an array of all <sd-4-7-
|
|
348
|
+
// Gets an array of all <sd-4-7-1-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-4-7-
|
|
350
|
+
return [...this.querySelectorAll("sd-4-7-1-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-4-7-
|
|
352
|
+
// Gets the first <sd-4-7-1-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-4-7-
|
|
354
|
+
return this.querySelector("sd-4-7-1-option");
|
|
355
355
|
}
|
|
356
356
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
357
357
|
// option may be "current" at a time.
|
|
@@ -440,11 +440,11 @@ var SdSelect = class extends SolidElement {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
return [
|
|
443
|
-
html`<sd-4-7-
|
|
443
|
+
html`<sd-4-7-1-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
444
444
|
base:tag__base,
|
|
445
445
|
content:tag__content,
|
|
446
446
|
removable-indicator:tag__removable-indicator,
|
|
447
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-7-
|
|
447
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-7-1-tag>`
|
|
448
448
|
];
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -453,7 +453,7 @@ var SdSelect = class extends SolidElement {
|
|
|
453
453
|
this.formControlController.emitInvalidEvent(event);
|
|
454
454
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
455
455
|
}
|
|
456
|
-
/** Receives incoming event detail from sd-4-7-
|
|
456
|
+
/** Receives incoming event detail from sd-4-7-1-popup and updates local state for conditional styling. */
|
|
457
457
|
handleCurrentPlacement(e) {
|
|
458
458
|
const incomingPlacement = e.detail;
|
|
459
459
|
if (incomingPlacement) {
|
|
@@ -462,7 +462,7 @@ var SdSelect = class extends SolidElement {
|
|
|
462
462
|
}
|
|
463
463
|
handleUseTagsChange() {
|
|
464
464
|
const allOptions = this.getAllOptions();
|
|
465
|
-
if (customElements.get("sd-4-7-
|
|
465
|
+
if (customElements.get("sd-4-7-1-option")) {
|
|
466
466
|
allOptions.forEach((option) => {
|
|
467
467
|
option.checkbox = this.multiple;
|
|
468
468
|
});
|
|
@@ -598,7 +598,7 @@ var SdSelect = class extends SolidElement {
|
|
|
598
598
|
default: "border-neutral-800"
|
|
599
599
|
}[selectState],
|
|
600
600
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
601
|
-
)}"></div><sd-4-7-
|
|
601
|
+
)}"></div><sd-4-7-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
602
602
|
"inline-flex relative w-full",
|
|
603
603
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
604
604
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -621,12 +621,12 @@ var SdSelect = class extends SolidElement {
|
|
|
621
621
|
"select__clear flex justify-center",
|
|
622
622
|
iconMarginLeft,
|
|
623
623
|
this.value.length > 0 ? "visible" : "invisible"
|
|
624
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-7-
|
|
624
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-7-1-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="system" name="closing-round"></sd-4-7-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-7-1-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-7-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-7-1-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-7-1-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
625
625
|
"inline-flex ml-2 transition-all items-center transition-transform duration-medium ease-in-out",
|
|
626
626
|
this.open ? "rotate-180" : "rotate-0",
|
|
627
627
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
628
628
|
iconSize
|
|
629
|
-
)}"><sd-4-7-
|
|
629
|
+
)}"><sd-4-7-1-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-7-1-icon></slot></div><button part="combobox" class="${cx(
|
|
630
630
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
631
631
|
cursorStyles,
|
|
632
632
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -639,7 +639,7 @@ var SdSelect = class extends SolidElement {
|
|
|
639
639
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
640
640
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
641
641
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
|
|
642
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-7-
|
|
642
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-7-1-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
/**
|
|
@@ -647,13 +647,13 @@ var SdSelect = class extends SolidElement {
|
|
|
647
647
|
*/
|
|
648
648
|
SdSelect.styles = [
|
|
649
649
|
...SolidElement.styles,
|
|
650
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-4-7-
|
|
650
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-4-7-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-7-1-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-4-7-1-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-7-1-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-7-1-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`
|
|
651
651
|
];
|
|
652
652
|
__decorateClass([
|
|
653
|
-
queryAssignedElements({ selector: "sd-4-7-
|
|
653
|
+
queryAssignedElements({ selector: "sd-4-7-1-option" })
|
|
654
654
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
655
655
|
__decorateClass([
|
|
656
|
-
query("sd-4-7-
|
|
656
|
+
query("sd-4-7-1-popup")
|
|
657
657
|
], SdSelect.prototype, "popup", 2);
|
|
658
658
|
__decorateClass([
|
|
659
659
|
query('[part="combobox"]')
|
|
@@ -778,7 +778,7 @@ __decorateClass([
|
|
|
778
778
|
watch("value", { waitUntilFirstUpdate: true })
|
|
779
779
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
780
780
|
SdSelect = __decorateClass([
|
|
781
|
-
customElement("sd-4-7-
|
|
781
|
+
customElement("sd-4-7-1-select")
|
|
782
782
|
], SdSelect);
|
|
783
783
|
setDefaultAnimation("select.show", {
|
|
784
784
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -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-4-7-
|
|
21
|
+
this.componentId = `sd-4-7-1-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-4-7-
|
|
51
|
+
customElement("sd-4-7-1-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|