@solid-design-system/components 7.0.0-next.8 → 7.0.0-next.9
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/custom-elements.json +184 -184
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +27 -27
- package/cdn/web-types.json +53 -53
- package/cdn-versioned/chunks/chunk.2XFIFYRX.js +2 -2
- package/cdn-versioned/chunks/chunk.3RDG7HQT.js +2 -2
- package/cdn-versioned/chunks/chunk.3VTWQPQB.js +2 -2
- package/cdn-versioned/chunks/chunk.55B57RXL.js +2 -2
- package/cdn-versioned/chunks/chunk.5B33ZALC.js +1 -1
- package/cdn-versioned/chunks/chunk.6A2XPA27.js +2 -2
- package/cdn-versioned/chunks/chunk.6JKZ63QX.js +2 -2
- package/cdn-versioned/chunks/chunk.7O3WO7T4.js +1 -1
- package/cdn-versioned/chunks/chunk.7USKB2GO.js +2 -2
- package/cdn-versioned/chunks/chunk.ARA5JW32.js +2 -2
- package/cdn-versioned/chunks/chunk.B4BAFEZE.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.CQI2RS2L.js +2 -2
- package/cdn-versioned/chunks/chunk.CVB6PQL3.js +5 -5
- package/cdn-versioned/chunks/chunk.CWRWVUT3.js +2 -2
- package/cdn-versioned/chunks/chunk.DEC3VKXA.js +2 -2
- package/cdn-versioned/chunks/chunk.DFCHDZDG.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.FCBNIOWP.js +2 -2
- package/cdn-versioned/chunks/chunk.FPC4KJUF.js +1 -1
- package/cdn-versioned/chunks/chunk.GX5EMWG2.js +2 -2
- package/cdn-versioned/chunks/chunk.H5ODW4DI.js +2 -2
- package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +2 -2
- package/cdn-versioned/chunks/chunk.J663MKB4.js +2 -2
- package/cdn-versioned/chunks/chunk.J7SSJXR3.js +1 -1
- package/cdn-versioned/chunks/chunk.JTBZGOCE.js +2 -2
- package/cdn-versioned/chunks/chunk.KDTVJE37.js +2 -2
- package/cdn-versioned/chunks/chunk.KITZT7MU.js +1 -1
- package/cdn-versioned/chunks/chunk.KZLMAANO.js +1 -1
- package/cdn-versioned/chunks/chunk.LM5SJXYL.js +2 -2
- package/cdn-versioned/chunks/chunk.LPOPOGGB.js +2 -2
- package/cdn-versioned/chunks/chunk.LYJX2BW7.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MIROXJW4.js +2 -2
- package/cdn-versioned/chunks/chunk.N2PGOHWH.js +2 -2
- package/cdn-versioned/chunks/chunk.NISL6W7W.js +2 -2
- package/cdn-versioned/chunks/chunk.NOW64QHB.js +2 -2
- package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +3 -3
- package/cdn-versioned/chunks/chunk.OFLEA353.js +10 -10
- package/cdn-versioned/chunks/chunk.OKAUTL3G.js +2 -2
- package/cdn-versioned/chunks/chunk.OR64TDYE.js +2 -2
- package/cdn-versioned/chunks/chunk.OYCIMCNH.js +2 -2
- package/cdn-versioned/chunks/chunk.PUC7BGPD.js +2 -2
- package/cdn-versioned/chunks/chunk.QXTQ4QBZ.js +5 -5
- package/cdn-versioned/chunks/chunk.RFVQLD5K.js +2 -2
- package/cdn-versioned/chunks/chunk.RGSF2XLM.js +2 -2
- package/cdn-versioned/chunks/chunk.RJIOLFBG.js +2 -2
- package/cdn-versioned/chunks/chunk.RSP57JUX.js +2 -2
- package/cdn-versioned/chunks/chunk.S63R2AXT.js +3 -3
- package/cdn-versioned/chunks/chunk.SVZV3YHZ.js +1 -1
- package/cdn-versioned/chunks/chunk.TS6S25HT.js +2 -2
- package/cdn-versioned/chunks/chunk.U2TVO27N.js +2 -2
- package/cdn-versioned/chunks/chunk.U3X6ZYRC.js +2 -2
- package/cdn-versioned/chunks/chunk.UFWE6XC3.js +2 -2
- package/cdn-versioned/chunks/chunk.UPV2DLDG.js +2 -2
- package/cdn-versioned/chunks/chunk.V3TQLJF2.js +1 -1
- package/cdn-versioned/chunks/chunk.VAQE66S7.js +2 -2
- package/cdn-versioned/chunks/chunk.VSIBCI2V.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WHDOGCAD.js +1 -1
- package/cdn-versioned/chunks/chunk.WIAQ2X73.js +2 -2
- package/cdn-versioned/chunks/chunk.WWHH2NDP.js +2 -2
- package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +2 -2
- package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +2 -2
- package/cdn-versioned/chunks/chunk.YAT66EQJ.js +3 -3
- 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/datepicker/datepicker.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/file-selector/file-selector.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/progress-bar/progress-bar.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.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/theme-listener/theme-listener.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 +447 -447
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +81 -81
- package/cdn-versioned/solid-components.css +3 -3
- package/cdn-versioned/solid-components.iife.js +81 -81
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +141 -141
- package/cdn-versioned/web-types.json +224 -224
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +7 -7
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.266V4W27.js +11 -11
- package/dist-versioned/chunks/chunk.2ZO5TQLM.js +4 -4
- package/dist-versioned/chunks/chunk.33KST4RJ.js +1 -1
- package/dist-versioned/chunks/chunk.3JGMLVGL.js +3 -3
- package/dist-versioned/chunks/chunk.3MGF33VU.js +2 -2
- package/dist-versioned/chunks/chunk.3Y3V2LY4.js +5 -5
- package/dist-versioned/chunks/chunk.4BB4LNMY.js +8 -8
- package/dist-versioned/chunks/chunk.4USTQEWG.js +12 -12
- package/dist-versioned/chunks/chunk.52XEAMVX.js +6 -6
- package/dist-versioned/chunks/chunk.5R5MY3VD.js +11 -11
- package/dist-versioned/chunks/chunk.5VCVDFRJ.js +1 -1
- package/dist-versioned/chunks/chunk.6A4DHVDL.js +2 -2
- package/dist-versioned/chunks/chunk.6MSQDSJK.js +4 -4
- package/dist-versioned/chunks/chunk.6OYBQ6CO.js +4 -4
- package/dist-versioned/chunks/chunk.77CINHAJ.js +1 -1
- package/dist-versioned/chunks/chunk.7ZKBKOS5.js +10 -10
- package/dist-versioned/chunks/chunk.AFD4FHYM.js +10 -10
- package/dist-versioned/chunks/chunk.AJVSDITF.js +3 -3
- package/dist-versioned/chunks/chunk.BZO3OLK2.js +5 -5
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.C4RJM5BO.js +1 -1
- package/dist-versioned/chunks/chunk.CQTEYWVJ.js +10 -10
- package/dist-versioned/chunks/chunk.D5JLEZPO.js +1 -1
- package/dist-versioned/chunks/chunk.DJJN4MJ4.js +1 -1
- package/dist-versioned/chunks/chunk.DKN5SHQ2.js +5 -5
- package/dist-versioned/chunks/chunk.EVGV2PWW.js +2 -2
- package/dist-versioned/chunks/chunk.F3C76UKB.js +2 -2
- package/dist-versioned/chunks/chunk.FQJPWM4Z.js +25 -25
- package/dist-versioned/chunks/chunk.G7M7XYS3.js +6 -6
- package/dist-versioned/chunks/chunk.GBB73ZFE.js +3 -3
- package/dist-versioned/chunks/chunk.GHWO5PUG.js +14 -14
- package/dist-versioned/chunks/chunk.GOZXDQTL.js +5 -5
- package/dist-versioned/chunks/chunk.GRRHK6BP.js +2 -2
- package/dist-versioned/chunks/chunk.HIR2MKW6.js +2 -2
- package/dist-versioned/chunks/chunk.I57THEU4.js +7 -7
- package/dist-versioned/chunks/chunk.INSUQDO7.js +5 -5
- package/dist-versioned/chunks/chunk.IXJGPE6X.js +11 -11
- package/dist-versioned/chunks/chunk.JAPL7DQX.js +5 -5
- package/dist-versioned/chunks/chunk.JHSA2DI2.js +2 -2
- package/dist-versioned/chunks/chunk.KAWDESCC.js +6 -6
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.LIPCVYL3.js +3 -3
- package/dist-versioned/chunks/chunk.LJ5ONJGL.js +42 -42
- package/dist-versioned/chunks/chunk.OUFMMO37.js +6 -6
- package/dist-versioned/chunks/chunk.P5V6KORX.js +23 -23
- package/dist-versioned/chunks/chunk.PCB2BA7U.js +13 -13
- package/dist-versioned/chunks/chunk.PMM3MDLE.js +3 -3
- package/dist-versioned/chunks/chunk.QD2ZQPDB.js +2 -2
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.QOIO3YAP.js +7 -7
- package/dist-versioned/chunks/chunk.RGVIOXPM.js +3 -3
- package/dist-versioned/chunks/chunk.SVAL7V6Q.js +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UOMFY7RY.js +1 -1
- package/dist-versioned/chunks/chunk.UTW3WRV2.js +5 -5
- package/dist-versioned/chunks/chunk.UYQP3VDT.js +2 -2
- package/dist-versioned/chunks/chunk.VHQQB75I.js +3 -3
- package/dist-versioned/chunks/chunk.WVSKCZ63.js +4 -4
- package/dist-versioned/chunks/chunk.WXT5HYGA.js +12 -12
- package/dist-versioned/chunks/chunk.WYS3OZYO.js +5 -5
- package/dist-versioned/chunks/chunk.WZOVHSGU.js +6 -6
- package/dist-versioned/chunks/chunk.Y4XJY6Y4.js +5 -5
- package/dist-versioned/chunks/chunk.Y6QQUPB5.js +4 -4
- package/dist-versioned/chunks/chunk.Z462LBEB.js +7 -7
- package/dist-versioned/chunks/chunk.ZCG43UX7.js +10 -10
- 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/datepicker/datepicker.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/file-selector/file-selector.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/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.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/theme-listener/theme-listener.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 +447 -447
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +3 -3
- package/dist-versioned/solid-components.js +7 -7
- package/dist-versioned/vscode.html-custom-data.json +141 -141
- package/dist-versioned/web-types.json +224 -224
- package/package.json +1 -1
|
@@ -237,7 +237,7 @@ var SdFileSelector = class extends SolidElement {
|
|
|
237
237
|
)}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${cx(
|
|
238
238
|
"droparea__icon inline-flex h-18",
|
|
239
239
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
|
|
240
|
-
)}"><sd-7-0-0-next-
|
|
240
|
+
)}"><sd-7-0-0-next-9-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-0-next-9-icon></div><p part="droparea-value"><span class="${cx(
|
|
241
241
|
"block text-lg font-semibold",
|
|
242
242
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
|
|
243
243
|
)}">${this.localize.term(
|
|
@@ -251,7 +251,7 @@ var SdFileSelector = class extends SolidElement {
|
|
|
251
251
|
return html`<div part="button-wrapper" class="${cx(
|
|
252
252
|
"button__wrapper flex flex-row items-center gap-4",
|
|
253
253
|
this.disabled || this.visuallyDisabled ? "cursor-not-allowed" : "cursor-default"
|
|
254
|
-
)}"><sd-7-0-0-next-
|
|
254
|
+
)}"><sd-7-0-0-next-9-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle ? "true" : "false"}">${buttonText}</sd-7-0-0-next-9-button>${this.renderValue()}</div>`;
|
|
255
255
|
}
|
|
256
256
|
render() {
|
|
257
257
|
const slots = {
|
|
@@ -269,7 +269,7 @@ var SdFileSelector = class extends SolidElement {
|
|
|
269
269
|
"text-sm mt-2",
|
|
270
270
|
hasHelpText ? "block" : "hidden",
|
|
271
271
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-neutral-700"
|
|
272
|
-
)}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${ifDefined(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${ifDefined(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-7-0-0-next-
|
|
272
|
+
)}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${ifDefined(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${ifDefined(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-7-0-0-next-9-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-9-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
/**
|
|
@@ -365,7 +365,7 @@ __decorateClass([
|
|
|
365
365
|
watch("value", { waitUntilFirstUpdate: true })
|
|
366
366
|
], SdFileSelector.prototype, "handleValueChange", 1);
|
|
367
367
|
SdFileSelector = __decorateClass([
|
|
368
|
-
customElement("sd-7-0-0-next-
|
|
368
|
+
customElement("sd-7-0-0-next-9-file-selector")
|
|
369
369
|
], SdFileSelector);
|
|
370
370
|
|
|
371
371
|
export {
|
|
@@ -64,7 +64,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
64
64
|
if (!this.isFocused) this.next();
|
|
65
65
|
});
|
|
66
66
|
this.scrollController = new ScrollController(this);
|
|
67
|
-
this.slides = this.getElementsByTagName("sd-7-0-0-next-
|
|
67
|
+
this.slides = this.getElementsByTagName("sd-7-0-0-next-9-carousel-item");
|
|
68
68
|
// determines which slide is displayed
|
|
69
69
|
// A map containing the state of all the slides
|
|
70
70
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -476,7 +476,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
476
476
|
if (e.detail) {
|
|
477
477
|
this.autoplayControls.blur();
|
|
478
478
|
}
|
|
479
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-
|
|
479
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-9-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-7-0-0-next-9-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-9-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-7-0-0-next-9-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay || this.pausedAutoplay || this.isFocused ? "polite" : "off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${cx(
|
|
480
480
|
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
481
481
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
482
482
|
this.fade ? "relative overflow-hidden" : `grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden`
|
|
@@ -490,7 +490,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
490
490
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
491
491
|
this.previous();
|
|
492
492
|
this.unblockAutoplay(e, this.previousButton);
|
|
493
|
-
} : null}"><slot name="previous-icon"><sd-7-0-0-next-
|
|
493
|
+
} : null}"><slot name="previous-icon"><sd-7-0-0-next-9-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-7-0-0-next-9-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
494
494
|
const isActive = index + 1 === currentPage;
|
|
495
495
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
496
496
|
"carousel__pagination-item",
|
|
@@ -501,14 +501,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
501
501
|
this.goToSlide(index * slidesPerMove);
|
|
502
502
|
this.unblockAutoplay(e, this.paginationItems[index]);
|
|
503
503
|
}}"><span class="${cx(
|
|
504
|
-
"h-4 w-4 block border sd-7-0-0-next-
|
|
505
|
-
this.inverted ? "sd-7-0-0-next-
|
|
504
|
+
"h-4 w-4 block border sd-7-0-0-next-9-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",
|
|
505
|
+
this.inverted ? "sd-7-0-0-next-9-carousel__pager-dot--inverted-border hover:border-primary-200" : "border-primary hover:border-primary-500",
|
|
506
506
|
isActive && "border-none",
|
|
507
|
-
isActive ? this.inverted ? "sd-7-0-0-next-
|
|
507
|
+
isActive ? this.inverted ? "sd-7-0-0-next-9-carousel__pager-dot--inverted-background hover:sd-7-0-0-next-9-carousel__pager-dot--inverted--hovered-background" : "sd-7-0-0-next-9-carousel__pager-dot-background hover:bg-accent-550" : ""
|
|
508
508
|
)}"></span></button>`;
|
|
509
509
|
})}</div>` : html`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${cx(
|
|
510
510
|
"w-5 text-center border-b-2",
|
|
511
|
-
this.inverted ? "text-white sd-7-0-0-next-
|
|
511
|
+
this.inverted ? "text-white sd-7-0-0-next-9-carousel--active--inverted-color-border" : "text-black sd-7-0-0-next-9-carousel--active-color-border"
|
|
512
512
|
)}">${currentPage}</span> <span part="pagination-divider" class="${cx("scale-y-[1.5]", "text-center", this.inverted ? "text-white" : "text-black")}">/</span> <span part="pagination-item" class="${cx("w-5 text-center", this.inverted ? "text-white" : "text-black")}">${pagesCount}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!nextEnabled ? true : false}" class="${cx(
|
|
513
513
|
"!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
514
514
|
!nextEnabled && "sd-interactive--disabled",
|
|
@@ -516,13 +516,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
516
516
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
517
517
|
this.next();
|
|
518
518
|
this.unblockAutoplay(e, this.nextButton);
|
|
519
|
-
} : null}"><slot name="next-icon"><sd-7-0-0-next-
|
|
519
|
+
} : null}"><slot name="next-icon"><sd-7-0-0-next-9-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-7-0-0-next-9-icon></slot></button></div></div></div>`;
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
SdCarousel.styles = [
|
|
523
523
|
...SolidElement.styles,
|
|
524
524
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
525
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-0-next-
|
|
525
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-0-next-9-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`
|
|
526
526
|
];
|
|
527
527
|
__decorateClass([
|
|
528
528
|
query('[part~="autoplay-controls"]')
|
|
@@ -607,7 +607,7 @@ __decorateClass([
|
|
|
607
607
|
watch("autoplayInterval")
|
|
608
608
|
], SdCarousel.prototype, "handleautoplayIntervalChange", 1);
|
|
609
609
|
SdCarousel = __decorateClass([
|
|
610
|
-
customElement("sd-7-0-0-next-
|
|
610
|
+
customElement("sd-7-0-0-next-9-carousel")
|
|
611
611
|
], SdCarousel);
|
|
612
612
|
|
|
613
613
|
export {
|
|
@@ -54,7 +54,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
56
56
|
const element = node;
|
|
57
|
-
return element.tagName.toLowerCase() === "sd-7-0-0-next-
|
|
57
|
+
return element.tagName.toLowerCase() === "sd-7-0-0-next-9-icon";
|
|
58
58
|
}
|
|
59
59
|
return false;
|
|
60
60
|
});
|
|
@@ -130,8 +130,8 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
130
130
|
const root = html`<${tag} part="base" class="${cx(
|
|
131
131
|
"flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",
|
|
132
132
|
this.isStackedHorizontal ? "text-xs leading-4.5" : { md: "navigable-font-size", lg: "text-lg", sm: "text-[14px]" }[this.size],
|
|
133
|
-
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-7-0-0-next-
|
|
134
|
-
this.current && !this.disabled && "sd-7-0-0-next-
|
|
133
|
+
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-7-0-0-next-9-navigation-item--default-color-text",
|
|
134
|
+
this.current && !this.disabled && "sd-7-0-0-next-9-navigation-item--current-color-text",
|
|
135
135
|
this.current && !this.isStackedHorizontal && "font-bold",
|
|
136
136
|
!this.current && !this.isStackedHorizontal && "choice-control-font-weight",
|
|
137
137
|
!isAccordion && "w-full",
|
|
@@ -154,7 +154,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
154
154
|
slots["description"] && "pt-3",
|
|
155
155
|
!slots["description"] && !this.separated && horizontalPadding,
|
|
156
156
|
this.calculatePaddingX
|
|
157
|
-
)}">${this.divider && this.vertical ? html`<sd-7-0-0-next-
|
|
157
|
+
)}">${this.divider && this.vertical ? html`<sd-7-0-0-next-9-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-7-0-0-next-9-divider>` : ""} <span id="content" part="content-container" class="${cx(
|
|
158
158
|
"inline-flex items-center",
|
|
159
159
|
this.vertical ? "flex-auto gap-2" : this.isStackedHorizontal ? "relative text-center pb-1" : "flex-auto flex-col justify-center gap-1 text-center"
|
|
160
160
|
)}"><slot part="content" class="${cx(
|
|
@@ -163,19 +163,19 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
163
163
|
)}"></slot>${this.isStackedHorizontal ? html`<span part="current-indicator" aria-hidden="true" class="${cx(
|
|
164
164
|
"absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",
|
|
165
165
|
this.disabled && "bg-neutral-500"
|
|
166
|
-
)}"></span>` : ""} </span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-7-0-0-next-
|
|
166
|
+
)}"></span>` : ""} </span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-7-0-0-next-9-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
167
167
|
"h-6 w-6 ml-2 transition-all",
|
|
168
168
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
169
|
-
)}"></sd-7-0-0-next-
|
|
169
|
+
)}"></sd-7-0-0-next-9-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot id="description" name="description" part="description" class="${cx(
|
|
170
170
|
"inline-block text-sm text-left font-normal text-black pb-3",
|
|
171
171
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
172
172
|
this.calculatePaddingX
|
|
173
173
|
)}"></slot>` : ""}</div></${tag}>`;
|
|
174
174
|
if (this.separated) {
|
|
175
|
-
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-7-0-0-next-
|
|
175
|
+
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-7-0-0-next-9-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
176
176
|
"m-4 h-6 w-6 transition-all",
|
|
177
177
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
178
|
-
)}"></sd-7-0-0-next-
|
|
178
|
+
)}"></sd-7-0-0-next-9-icon></button>` : ""}</div>${this.open ? html`<slot name="children"></slot>` : ""}</div>`;
|
|
179
179
|
}
|
|
180
180
|
if (isAccordion) {
|
|
181
181
|
return html`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${root}<slot name="children"></slot></details>`;
|
|
@@ -189,7 +189,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
189
189
|
SdNavigationItem.styles = [
|
|
190
190
|
...SolidElement.styles,
|
|
191
191
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
192
|
-
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-7-0-0-next-
|
|
192
|
+
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-7-0-0-next-9-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}.sd-7-0-0-next-9-navigation-item--current-color-text{color:rgb(var(--sd-navigation-item--current-color-text,var(--sd-navigation-item-color-text)))}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`
|
|
193
193
|
];
|
|
194
194
|
__decorateClass([
|
|
195
195
|
query('[part="base"]')
|
|
@@ -240,7 +240,7 @@ __decorateClass([
|
|
|
240
240
|
property({ type: Boolean, reflect: true })
|
|
241
241
|
], SdNavigationItem.prototype, "separated", 2);
|
|
242
242
|
SdNavigationItem = __decorateClass([
|
|
243
|
-
customElement("sd-7-0-0-next-
|
|
243
|
+
customElement("sd-7-0-0-next-9-navigation-item")
|
|
244
244
|
], SdNavigationItem);
|
|
245
245
|
|
|
246
246
|
export {
|
|
@@ -42,16 +42,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
44
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
45
|
-
:host{display:block}::slotted(sd-7-0-0-next-
|
|
45
|
+
:host{display:block}::slotted(sd-7-0-0-next-9-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`
|
|
46
46
|
];
|
|
47
47
|
__decorateClass([
|
|
48
|
-
queryAssignedElements({ selector: "sd-7-0-0-next-
|
|
48
|
+
queryAssignedElements({ selector: "sd-7-0-0-next-9-accordion" })
|
|
49
49
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
50
50
|
__decorateClass([
|
|
51
51
|
property({ attribute: "close-others", type: Boolean, reflect: true })
|
|
52
52
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
53
53
|
SdAccordionGroup = __decorateClass([
|
|
54
|
-
customElement("sd-7-0-0-next-
|
|
54
|
+
customElement("sd-7-0-0-next-9-accordion-group")
|
|
55
55
|
], SdAccordionGroup);
|
|
56
56
|
|
|
57
57
|
export {
|
|
@@ -84,7 +84,7 @@ var SdRange = class extends SolidElement {
|
|
|
84
84
|
var _a, _b;
|
|
85
85
|
const tooltip = thumb.parentElement;
|
|
86
86
|
await tooltip.updateComplete;
|
|
87
|
-
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-
|
|
87
|
+
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-7-0-0-next-9-popup")) == null ? void 0 : _b.setAttribute("distance", "14");
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
willUpdate(changedProperties) {
|
|
@@ -260,7 +260,7 @@ var SdRange = class extends SolidElement {
|
|
|
260
260
|
_preventTextSelection() {
|
|
261
261
|
if (!this._dragStyleElement) {
|
|
262
262
|
const style = document.createElement("style");
|
|
263
|
-
style.setAttribute("data-sd-7-0-0-next-
|
|
263
|
+
style.setAttribute("data-sd-7-0-0-next-9-range-drag", "");
|
|
264
264
|
style.textContent = "*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }";
|
|
265
265
|
document.head.appendChild(style);
|
|
266
266
|
this._dragStyleElement = style;
|
|
@@ -445,10 +445,10 @@ var SdRange = class extends SolidElement {
|
|
|
445
445
|
ariaLabel = this.tooltipFormatter(value);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
return html`<sd-7-0-0-next-
|
|
448
|
+
return html`<sd-7-0-0-next-9-tooltip trigger="${this.tooltip === "on-interaction" ? "focus" : "manual"}" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.tooltip === "hidden" ? true : void 0)}"><div id="${id}" part="thumb" role="slider" tabindex="${this.disabled || this.visuallyDisabled ? -1 : 0}" aria-disabled="${ifDefined(this.disabled || this.visuallyDisabled ? "true" : void 0)}" aria-labelledby="${ariaLabeledBy}" aria-label="${ariaLabel}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${value}" aria-valuetext="${this.tooltipFormatter(value)}" data-range-id="${rangeId}" data-disabled="${ifDefined(this.disabled || this.visuallyDisabled || void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
|
|
449
449
|
"rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",
|
|
450
450
|
this.disabled || this.visuallyDisabled ? "outline-none" : "cursor-pointer focus-visible:focus-outline"
|
|
451
|
-
)}"></div></sd-7-0-0-next-
|
|
451
|
+
)}"></div></sd-7-0-0-next-9-tooltip>`;
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
render() {
|
|
@@ -518,7 +518,7 @@ __decorateClass([
|
|
|
518
518
|
property({ type: String })
|
|
519
519
|
], SdRange.prototype, "value", 1);
|
|
520
520
|
SdRange = __decorateClass([
|
|
521
|
-
customElement("sd-7-0-0-next-
|
|
521
|
+
customElement("sd-7-0-0-next-9-range")
|
|
522
522
|
], SdRange);
|
|
523
523
|
|
|
524
524
|
export {
|
|
@@ -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-7-0-0-next-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-7-0-0-next-9-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-7-0-0-next-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-7-0-0-next-9-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -324,7 +324,7 @@ __decorateClass([
|
|
|
324
324
|
property({ attribute: "auto-size-padding", type: Number })
|
|
325
325
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
326
326
|
SdPopup = __decorateClass([
|
|
327
|
-
customElement("sd-7-0-0-next-
|
|
327
|
+
customElement("sd-7-0-0-next-9-popup")
|
|
328
328
|
], SdPopup);
|
|
329
329
|
|
|
330
330
|
export {
|
|
@@ -1246,7 +1246,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1246
1246
|
this.open ? "block shadow-listbox" : "hidden",
|
|
1247
1247
|
((_b = this.currentPlacement) == null ? void 0 : _b.startsWith("bottom")) ? "border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius" : "border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius",
|
|
1248
1248
|
"border-primary"
|
|
1249
|
-
)}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="${cx("nav prev w-6 h-6 hover:cursor-pointer", iconColor)}" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-7-0-0-next-
|
|
1249
|
+
)}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="${cx("nav prev w-6 h-6 hover:cursor-pointer", iconColor)}" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-7-0-0-next-9-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-7-0-0-next-9-icon></button> <button type="button" tabindex="0" class="${cx("nav prev w-6 h-6 hover:cursor-pointer", iconColor)}" part="prev-month-button" @click="${() => this.setMonth(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", -1, false)}" aria-label="${this.localize.term("previousMonth")}"><sd-7-0-0-next-9-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-7-0-0-next-9-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base" part="month-label" aria-live="polite">${monthLabel}</div><div class="flex items-center"><button type="button" tabindex="0" class="${cx("nav next w-6 h-6 hover:cursor-pointer", iconColor)}" part="next-month-button" @click="${() => this.setMonth(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", 1, false)}" aria-label="${this.localize.term("nextMonth")}"><sd-7-0-0-next-9-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-7-0-0-next-9-icon></button> <button type="button" tabindex="0" class="${cx("nav next w-6 h-6 hover:cursor-pointer", iconColor)}" part="next-year-button" @click="${() => this.setYear(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", 1, true)}" aria-label="${this.localize.term("nextYear")}"><sd-7-0-0-next-9-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-7-0-0-next-9-icon></button></div></div><sd-7-0-0-next-9-divider></sd-7-0-0-next-9-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${monthLabel}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${() => {
|
|
1250
1250
|
this.tabbingIntoGrid = false;
|
|
1251
1251
|
}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${weekdays.map(
|
|
1252
1252
|
(w, colIndex) => html`<div role="columnheader" aria-colindex="${colIndex + 1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${w}" title="${w}" id="${"col-" + (colIndex + 1)}">${w}</div>`
|
|
@@ -1279,14 +1279,14 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1279
1279
|
return html`<button type="button" part="day" class="${cx(
|
|
1280
1280
|
"cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded w-[36px]",
|
|
1281
1281
|
this.size === "sm" ? "text-sm h-6" : "text-base h-8",
|
|
1282
|
-
isRangeStart || isRangeEnd ? !isFocused ? "outline-none sd-7-0-0-next-
|
|
1283
|
-
!isRangeStart && !isRangeEnd && !inSelectedRange && "hover:sd-7-0-0-next-
|
|
1284
|
-
isSelectedSingle ? "selected outline-none border-primary sd-7-0-0-next-
|
|
1282
|
+
isRangeStart || isRangeEnd ? !isFocused ? "outline-none sd-7-0-0-next-9-datepicker__date-item--selected-color-background sd-7-0-0-next-9-datepicker__date-item--selected-color-text hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-background hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-text" : "outline-none sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-background sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-text" : "hover:sd-7-0-0-next-9-datepicker__date-item--hover--default-color-text",
|
|
1283
|
+
!isRangeStart && !isRangeEnd && !inSelectedRange && "hover:sd-7-0-0-next-9-datepicker__date-item--hover--default-color-background",
|
|
1284
|
+
isSelectedSingle ? "selected outline-none border-primary sd-7-0-0-next-9-datepicker__date-item--selected-color-background sd-7-0-0-next-9-datepicker__date-item--selected-color-text hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-text hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-background" : !inMonth ? this.disabledWeekends && isWeekendDay ? "out-month weekend-day text-neutral-500" : isWeekendDay ? "out-month weekend-day text-neutral-700" : "out-month text-neutral-700 hover:sd-7-0-0-next-9-datepicker__date-item--hover--prev-next-color-text hover:sd-7-0-0-next-9-datepicker__date-item--hover--prev-next-color-background" : this.isInDisabledDates(day) || !this.inMinMax(day) ? "out-month text-neutral-500" : this.disabledWeekends && isWeekendDay ? "weekend-day text-neutral-500" : "in-month sd-7-0-0-next-9-datepicker__date-item--default-color-text",
|
|
1285
1285
|
isRangeStart ? "rounded-l-md rounded-r-none" : "",
|
|
1286
1286
|
isRangeEnd ? "range-end rounded-r-md rounded-l-none" : "",
|
|
1287
|
-
inSelectedRange && !isRangeStart && !isRangeEnd ? "in-range selected sd-7-0-0-next-
|
|
1287
|
+
inSelectedRange && !isRangeStart && !isRangeEnd ? "in-range selected sd-7-0-0-next-9-datepicker__date-item--range-color-background rounded-none hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-background hover:sd-7-0-0-next-9-datepicker__date-item--selected--hover-color-text" : "",
|
|
1288
1288
|
!inSelectedRange && inPreviewRange && !isRangeStart && !isRangeEnd ? "in-preview-range bg-primary-100 text-primary-500 rounded-none" : "",
|
|
1289
|
-
isToday && !isSelectedSingle && !isRangeStart && !isRangeEnd && isFocused ? "today border-[1px] border-primary sd-7-0-0-next-
|
|
1289
|
+
isToday && !isSelectedSingle && !isRangeStart && !isRangeEnd && isFocused ? "today border-[1px] border-primary sd-7-0-0-next-9-datepicker__date-item--current-font-weight" : "",
|
|
1290
1290
|
disabled ? "disabled cursor-not-allowed hover:bg-transparent" : "cursor-pointer",
|
|
1291
1291
|
isFocused && !isToday ? "focused outline outline-2 outline-primary" : ""
|
|
1292
1292
|
)}" role="gridcell" aria-colindex="${colIndex + 1}" aria-labelledby="${"col-" + (colIndex + 1)}" .tabIndex="${tabIndex}" ?disabled="${disabled || this.disabled || this.readonly}" aria-disabled="${disabled || this.visuallyDisabled || this.disabled || this.readonly ? "true" : "false"}" aria-selected="${isSelectedSingle || inSelectedRange || isRangeStart || isRangeEnd ? "true" : "false"}" aria-current="${isToday ? "date" : nothing}" aria-label="${label}" aria-roledescription="${roleDesc != null ? roleDesc : nothing}" @focus="${() => this.focusedDate = DateUtils.startOfDayLocal(day)}" @mouseenter="${() => this.onDayMouseEnter(day)}" @keydown="${this.onKeyDown}" @click="${() => {
|
|
@@ -1348,7 +1348,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1348
1348
|
"absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",
|
|
1349
1349
|
borderColor,
|
|
1350
1350
|
this.open && (((_a = this.currentPlacement) == null ? void 0 : _a.startsWith("bottom")) ? this.open && this.alignment === "left" ? "rounded-bl-none" : "rounded-br-none" : this.open && this.alignment === "left" ? "rounded-tl-none" : "rounded-tr-none")
|
|
1351
|
-
)}"></div><sd-7-0-0-next-
|
|
1351
|
+
)}"></div><sd-7-0-0-next-9-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
1352
1352
|
"inline-flex relative w-full",
|
|
1353
1353
|
((_b = this.currentPlacement) == null ? void 0 : _b.startsWith("bottom")) ? "origin-top" : "origin-bottom"
|
|
1354
1354
|
)}" placement="${this.alignment === "left" ? `${this.placement}-start` : `${this.placement}-end`}" flip shift auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${cx(
|
|
@@ -1364,7 +1364,7 @@ var SdDatepicker = class extends SolidElement {
|
|
|
1364
1364
|
{ sm: "h-8", md: "h-10", lg: "h-12" }[this.size],
|
|
1365
1365
|
textSize,
|
|
1366
1366
|
this.floatingLabel && "mt-4"
|
|
1367
|
-
)}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel || isFloatingLabelActive ? this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder") : ""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly || this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-7-0-0-next-
|
|
1367
|
+
)}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel || isFloatingLabelActive ? this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder") : ""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly || this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-7-0-0-next-9-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-7-0-0-next-9-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-7-0-0-next-9-icon class="${cx("text-success shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-next-9-icon>` : ""}<sd-7-0-0-next-9-icon class="${cx(iconColor, iconMarginLeft, iconSize, "hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.show}"></sd-7-0-0-next-9-icon></div>${this.renderCalendar()}</sd-7-0-0-next-9-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
|
|
1368
1368
|
"text-sm mt-1",
|
|
1369
1369
|
hasHelpText ? "block" : "hidden",
|
|
1370
1370
|
this.visuallyDisabled || this.disabled ? "text-neutral-500" : "text-neutral-700"
|
|
@@ -1494,7 +1494,7 @@ __decorateClass([
|
|
|
1494
1494
|
state()
|
|
1495
1495
|
], SdDatepicker.prototype, "inputValue", 2);
|
|
1496
1496
|
__decorateClass([
|
|
1497
|
-
query("sd-7-0-0-next-
|
|
1497
|
+
query("sd-7-0-0-next-9-popup")
|
|
1498
1498
|
], SdDatepicker.prototype, "popup", 2);
|
|
1499
1499
|
__decorateClass([
|
|
1500
1500
|
query("#invalid-message")
|
|
@@ -1528,7 +1528,7 @@ __decorateClass([
|
|
|
1528
1528
|
watch(["size", "floatingLabel"])
|
|
1529
1529
|
], SdDatepicker.prototype, "handleSizeChange", 1);
|
|
1530
1530
|
SdDatepicker = __decorateClass([
|
|
1531
|
-
customElement("sd-7-0-0-next-
|
|
1531
|
+
customElement("sd-7-0-0-next-9-datepicker")
|
|
1532
1532
|
], SdDatepicker);
|
|
1533
1533
|
|
|
1534
1534
|
export {
|
|
@@ -209,7 +209,7 @@ __decorateClass([
|
|
|
209
209
|
watch("playbackRate")
|
|
210
210
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
211
211
|
SdAnimation = __decorateClass([
|
|
212
|
-
customElement("sd-7-0-0-next-
|
|
212
|
+
customElement("sd-7-0-0-next-9-animation")
|
|
213
213
|
], SdAnimation);
|
|
214
214
|
|
|
215
215
|
export {
|