@solid-design-system/components 4.6.5 → 4.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.5JN6H4TK.js +1 -0
- package/cdn/chunks/chunk.6WEI5RCQ.js +1 -0
- package/cdn/chunks/chunk.TQZIVKL4.js +19 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.d.ts +2 -0
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +144 -144
- package/cdn/solid-components.bundle.js +11 -11
- package/cdn/solid-components.iife.js +10 -10
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/web-types.json +1 -1
- 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.2SG334MY.js +1 -1
- package/cdn-versioned/chunks/chunk.32KEEMOU.js +1 -1
- package/cdn-versioned/chunks/chunk.57KIR2AM.js +1 -1
- package/cdn-versioned/chunks/chunk.5DQOJ2LD.js +1 -1
- package/cdn-versioned/chunks/chunk.5JN6H4TK.js +1 -0
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.67W46R6V.js +1 -1
- package/cdn-versioned/chunks/chunk.6WEI5RCQ.js +1 -0
- package/cdn-versioned/chunks/chunk.73KGRP4P.js +1 -1
- package/cdn-versioned/chunks/chunk.7RPQAJG6.js +1 -1
- package/cdn-versioned/chunks/chunk.7YQSXBTR.js +1 -1
- package/cdn-versioned/chunks/chunk.A7Y7Y2BP.js +3 -3
- package/cdn-versioned/chunks/chunk.ACSEXVQL.js +1 -1
- package/cdn-versioned/chunks/chunk.AHRLBIYH.js +1 -1
- package/cdn-versioned/chunks/chunk.B3NPQAAV.js +1 -1
- package/cdn-versioned/chunks/chunk.B4LGTBDQ.js +1 -1
- package/cdn-versioned/chunks/chunk.BDDTFQPH.js +1 -1
- package/cdn-versioned/chunks/chunk.BSSIW3MR.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CSEIFVHU.js +1 -1
- package/cdn-versioned/chunks/chunk.DL5WIKKT.js +1 -1
- package/cdn-versioned/chunks/chunk.DMJTTTI2.js +1 -1
- package/cdn-versioned/chunks/chunk.ERUNVSKC.js +1 -1
- package/cdn-versioned/chunks/chunk.H6CJA7ZL.js +1 -1
- package/cdn-versioned/chunks/chunk.HHZ6OAXB.js +1 -1
- package/cdn-versioned/chunks/chunk.HOTN3GDX.js +1 -1
- package/cdn-versioned/chunks/chunk.HWIW4DH4.js +1 -1
- package/cdn-versioned/chunks/chunk.I72FHNAP.js +1 -1
- package/cdn-versioned/chunks/chunk.IBKJG5A2.js +1 -1
- package/cdn-versioned/chunks/chunk.JE7OXV4O.js +1 -1
- package/cdn-versioned/chunks/chunk.KY7U2GCF.js +1 -1
- package/cdn-versioned/chunks/chunk.MFAV4DKW.js +1 -1
- package/cdn-versioned/chunks/chunk.MFY56HCX.js +1 -1
- package/cdn-versioned/chunks/chunk.MVWUR3SU.js +4 -4
- package/cdn-versioned/chunks/chunk.OAEJLWOW.js +2 -2
- package/cdn-versioned/chunks/chunk.OGYKMLQC.js +1 -1
- package/cdn-versioned/chunks/chunk.P2AZQ6JJ.js +1 -1
- package/cdn-versioned/chunks/chunk.P4X3LV4O.js +1 -1
- package/cdn-versioned/chunks/chunk.PAHTHIDK.js +1 -1
- package/cdn-versioned/chunks/chunk.PK56IKYB.js +1 -1
- package/cdn-versioned/chunks/chunk.S4DMUGJP.js +1 -1
- package/cdn-versioned/chunks/chunk.TQZIVKL4.js +19 -0
- package/cdn-versioned/chunks/chunk.TVLGMXOA.js +1 -1
- package/cdn-versioned/chunks/chunk.TVNBSYXH.js +1 -1
- package/cdn-versioned/chunks/chunk.U53TTUE5.js +1 -1
- package/cdn-versioned/chunks/chunk.UAYM7ZNJ.js +1 -1
- package/cdn-versioned/chunks/chunk.UI23RBCA.js +1 -1
- package/cdn-versioned/chunks/chunk.W4JRKKKL.js +4 -4
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XEK2EZZP.js +1 -1
- package/cdn-versioned/chunks/chunk.XYNG6CL3.js +1 -1
- package/cdn-versioned/chunks/chunk.Z5M7HN6L.js +1 -1
- package/cdn-versioned/chunks/chunk.ZJKOT4UF.js +1 -1
- package/cdn-versioned/chunks/chunk.ZSX2NODY.js +1 -1
- package/cdn-versioned/chunks/chunk.ZURN25GW.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +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 +3 -1
- package/cdn-versioned/components/carousel/carousel.js +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 +4 -4
- package/cdn-versioned/components/combobox/combobox.js +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/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/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/input/input.js +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/navigation-item/navigation-item.js +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/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +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/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +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-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +343 -343
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +17 -17
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +1 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.RKJFMBWX.js → chunk.CX3GTFZI.js} +1 -0
- package/dist/chunks/{chunk.45UIKPTU.js → chunk.RZ3E76KV.js} +13 -3
- package/dist/chunks/{chunk.CVDUBNIZ.js → chunk.Y3TGDH7A.js} +1 -0
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +3 -3
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/optgroup/optgroup.js +2 -2
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/video/video.js +2 -2
- package/dist/custom-elements.json +144 -144
- package/dist/solid-components.js +3 -3
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/web-types.json +1 -1
- 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.4XX7HM5J.js +2 -2
- package/dist-versioned/chunks/chunk.52AA4ZI7.js +1 -1
- package/dist-versioned/chunks/chunk.5EXPOZYT.js +3 -3
- package/dist-versioned/chunks/chunk.64AQEEU6.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7EZP47DO.js +5 -5
- package/dist-versioned/chunks/chunk.7LJJ3FL5.js +5 -5
- package/dist-versioned/chunks/chunk.7OMCERFC.js +1 -1
- package/dist-versioned/chunks/chunk.AE7KY76S.js +2 -2
- package/dist-versioned/chunks/chunk.AKUPBYMC.js +1 -1
- package/dist-versioned/chunks/chunk.BRX25BL4.js +1 -1
- package/dist-versioned/chunks/chunk.BZQIZT43.js +3 -3
- package/dist-versioned/chunks/chunk.CAJZPZNE.js +1 -1
- package/dist-versioned/chunks/chunk.CMP4BAXF.js +2 -2
- package/dist-versioned/chunks/chunk.CSBLXELN.js +1 -1
- package/dist-versioned/chunks/{chunk.RKJFMBWX.js → chunk.CX3GTFZI.js} +1 -0
- package/dist-versioned/chunks/chunk.E7YUNGJR.js +29 -29
- package/dist-versioned/chunks/chunk.EBZNAZNX.js +5 -5
- package/dist-versioned/chunks/chunk.EUSRDE4F.js +1 -1
- package/dist-versioned/chunks/chunk.EZJWJNU4.js +2 -2
- package/dist-versioned/chunks/chunk.FGRAKZHX.js +3 -3
- package/dist-versioned/chunks/chunk.FP7OUGE5.js +6 -6
- package/dist-versioned/chunks/chunk.GNR27ZJZ.js +5 -5
- package/dist-versioned/chunks/chunk.HBJMJ2WP.js +2 -2
- package/dist-versioned/chunks/chunk.HCUF4DYK.js +1 -1
- package/dist-versioned/chunks/chunk.I4XTOEGU.js +2 -2
- package/dist-versioned/chunks/chunk.I7E7S32P.js +2 -2
- package/dist-versioned/chunks/chunk.IV4SON4G.js +2 -2
- package/dist-versioned/chunks/chunk.IZ4Z4LUM.js +2 -2
- package/dist-versioned/chunks/chunk.J3RQA6TF.js +1 -1
- package/dist-versioned/chunks/chunk.K65IEKDH.js +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KYNXDWDX.js +2 -2
- package/dist-versioned/chunks/chunk.LLSVGPM2.js +1 -1
- package/dist-versioned/chunks/chunk.LVUPM2UK.js +2 -2
- package/dist-versioned/chunks/chunk.NGVEOWER.js +3 -3
- package/dist-versioned/chunks/chunk.O27A57VP.js +1 -1
- package/dist-versioned/chunks/chunk.P7ANANFF.js +2 -2
- package/dist-versioned/chunks/chunk.PJRFKYNK.js +13 -13
- package/dist-versioned/chunks/chunk.PTGF6MPV.js +2 -2
- package/dist-versioned/chunks/chunk.Q6EB7NKM.js +2 -2
- package/dist-versioned/chunks/chunk.QSTI27SQ.js +9 -9
- package/dist-versioned/chunks/{chunk.45UIKPTU.js → chunk.RZ3E76KV.js} +19 -9
- package/dist-versioned/chunks/chunk.TX5LNUI7.js +26 -26
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UVCMAMU5.js +5 -5
- package/dist-versioned/chunks/chunk.UWHQMADG.js +4 -4
- package/dist-versioned/chunks/chunk.VFCTC43F.js +1 -1
- package/dist-versioned/chunks/chunk.VFXEX6KC.js +11 -11
- package/dist-versioned/chunks/chunk.VUARIZJD.js +13 -13
- package/dist-versioned/chunks/chunk.WQNN2PQR.js +5 -5
- package/dist-versioned/chunks/chunk.XB5JCL6J.js +1 -1
- package/dist-versioned/chunks/{chunk.CVDUBNIZ.js → chunk.Y3TGDH7A.js} +1 -0
- package/dist-versioned/chunks/chunk.YZAMSOBJ.js +2 -2
- package/dist-versioned/chunks/chunk.ZFX4I3IE.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- 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 +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +3 -1
- package/dist-versioned/components/carousel/carousel.js +3 -3
- 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 +4 -4
- package/dist-versioned/components/combobox/combobox.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- 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 +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- 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/input/input.js +2 -2
- 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/navigation-item/navigation-item.js +2 -2
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.js +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/quickfact/quickfact.js +2 -2
- 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/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- 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-group/tab-group.js +2 -2
- 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/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +2 -2
- package/dist-versioned/custom-elements.json +343 -343
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/localize.d.ts +1 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.AIGSJB67.js +0 -1
- package/cdn/chunks/chunk.AXKAVMBL.js +0 -1
- package/cdn/chunks/chunk.GBGNZI5N.js +0 -19
- package/cdn-versioned/chunks/chunk.AIGSJB67.js +0 -1
- package/cdn-versioned/chunks/chunk.AXKAVMBL.js +0 -1
- package/cdn-versioned/chunks/chunk.GBGNZI5N.js +0 -19
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
170
170
|
SdSwitch = __decorateClass([
|
|
171
|
-
customElement("sd-4-6-
|
|
171
|
+
customElement("sd-4-6-6-switch")
|
|
172
172
|
], SdSwitch);
|
|
173
173
|
|
|
174
174
|
export {
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<label part="base" class="${cx(
|
|
121
|
-
"sd-4-6-
|
|
121
|
+
"sd-4-6-6-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
144
144
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
145
145
|
default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
146
146
|
}[checkboxState]
|
|
147
|
-
)}">${this.checked ? html`<sd-4-6-
|
|
147
|
+
)}">${this.checked ? html`<sd-4-6-6-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-6-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-6-6-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-6-6-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
148
148
|
"select-none inline-block ml-2",
|
|
149
149
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
150
150
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -206,7 +206,7 @@ __decorateClass([
|
|
|
206
206
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
207
207
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
208
208
|
SdCheckbox = __decorateClass([
|
|
209
|
-
customElement("sd-4-6-
|
|
209
|
+
customElement("sd-4-6-6-checkbox")
|
|
210
210
|
], SdCheckbox);
|
|
211
211
|
|
|
212
212
|
export {
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-4-6-
|
|
21
|
+
this.componentId = `sd-4-6-6-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-6-
|
|
51
|
+
customElement("sd-4-6-6-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|
|
@@ -7,6 +7,7 @@ var translation = {
|
|
|
7
7
|
audioPlayer: "Audio Player",
|
|
8
8
|
autoplay: "Autoplay",
|
|
9
9
|
carousel: "Carousel",
|
|
10
|
+
carouselContainer: (count) => `Carousel has ${count} slides`,
|
|
10
11
|
clearEntry: "Clear entry",
|
|
11
12
|
close: "Close",
|
|
12
13
|
collapseNavigationItem: "Collapse navigation item",
|
|
@@ -53,7 +53,7 @@ var SdSelect = class extends SolidElement {
|
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments);
|
|
55
55
|
this.formControlController = new FormControlController(this, {
|
|
56
|
-
assumeInteractionOn: ["sd-blur", "sd-4-6-
|
|
56
|
+
assumeInteractionOn: ["sd-blur", "sd-4-6-6-input"]
|
|
57
57
|
});
|
|
58
58
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
59
59
|
this.localize = new LocalizeController(this);
|
|
@@ -86,11 +86,11 @@ var SdSelect = class extends SolidElement {
|
|
|
86
86
|
this.styleOnValid = false;
|
|
87
87
|
this.hoist = false;
|
|
88
88
|
this.getTag = (option) => {
|
|
89
|
-
return html`<sd-4-6-
|
|
89
|
+
return html`<sd-4-6-6-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
90
90
|
base:tag__base,
|
|
91
91
|
content:tag__content,
|
|
92
92
|
removable-indicator:tag__removable-indicator,
|
|
93
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-6-
|
|
93
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-6-6-tag>`;
|
|
94
94
|
};
|
|
95
95
|
this.handleDocumentFocusIn = (event) => {
|
|
96
96
|
const path = event.composedPath();
|
|
@@ -101,7 +101,7 @@ var SdSelect = class extends SolidElement {
|
|
|
101
101
|
this.handleDocumentKeyDown = (event) => {
|
|
102
102
|
const target = event.target;
|
|
103
103
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
104
|
-
const isIconButton = target.closest("sd-4-6-
|
|
104
|
+
const isIconButton = target.closest("sd-4-6-6-icon-button") !== null;
|
|
105
105
|
if (isClearButton || isIconButton) {
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
@@ -235,8 +235,8 @@ var SdSelect = class extends SolidElement {
|
|
|
235
235
|
event.preventDefault();
|
|
236
236
|
event.stopPropagation();
|
|
237
237
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
238
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-6-
|
|
239
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-6-
|
|
238
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-6-6-tag");
|
|
239
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-6-6-tag");
|
|
240
240
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
241
241
|
this.updateComplete.then(() => {
|
|
242
242
|
if (nextTag) {
|
|
@@ -256,7 +256,7 @@ var SdSelect = class extends SolidElement {
|
|
|
256
256
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
257
257
|
this.updateComplete.then(() => {
|
|
258
258
|
var _a;
|
|
259
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-6-
|
|
259
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-6-6-tag");
|
|
260
260
|
if (tags && tags.length > 0) {
|
|
261
261
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
262
262
|
} else {
|
|
@@ -301,7 +301,7 @@ var SdSelect = class extends SolidElement {
|
|
|
301
301
|
}
|
|
302
302
|
handleOptionClick(event) {
|
|
303
303
|
const target = event.target;
|
|
304
|
-
const option = target.closest("sd-4-6-
|
|
304
|
+
const option = target.closest("sd-4-6-6-option");
|
|
305
305
|
const oldValue = this.value;
|
|
306
306
|
if (option && !option.disabled) {
|
|
307
307
|
if (this.multiple) {
|
|
@@ -326,7 +326,7 @@ var SdSelect = class extends SolidElement {
|
|
|
326
326
|
const allOptions = this.getAllOptions();
|
|
327
327
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
328
328
|
const values = [];
|
|
329
|
-
if (customElements.get("sd-4-6-
|
|
329
|
+
if (customElements.get("sd-4-6-6-option")) {
|
|
330
330
|
allOptions.forEach((option) => {
|
|
331
331
|
if (this.multiple) {
|
|
332
332
|
option.checkbox = true;
|
|
@@ -335,7 +335,7 @@ var SdSelect = class extends SolidElement {
|
|
|
335
335
|
});
|
|
336
336
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
337
337
|
} else {
|
|
338
|
-
customElements.whenDefined("sd-4-6-
|
|
338
|
+
customElements.whenDefined("sd-4-6-6-option").then(() => this.handleDefaultSlotChange());
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
handleTagRemove(event, option) {
|
|
@@ -352,13 +352,13 @@ var SdSelect = class extends SolidElement {
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
// Gets an array of all <sd-4-6-
|
|
355
|
+
// Gets an array of all <sd-4-6-6-option> elements
|
|
356
356
|
getAllOptions() {
|
|
357
|
-
return [...this.querySelectorAll("sd-4-6-
|
|
357
|
+
return [...this.querySelectorAll("sd-4-6-6-option")];
|
|
358
358
|
}
|
|
359
|
-
// Gets the first <sd-4-6-
|
|
359
|
+
// Gets the first <sd-4-6-6-option> element
|
|
360
360
|
getFirstOption() {
|
|
361
|
-
return this.querySelector("sd-4-6-
|
|
361
|
+
return this.querySelector("sd-4-6-6-option");
|
|
362
362
|
}
|
|
363
363
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
364
364
|
// option may be "current" at a time.
|
|
@@ -441,11 +441,11 @@ var SdSelect = class extends SolidElement {
|
|
|
441
441
|
});
|
|
442
442
|
} else {
|
|
443
443
|
return [
|
|
444
|
-
html`<sd-4-6-
|
|
444
|
+
html`<sd-4-6-6-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
445
445
|
base:tag__base,
|
|
446
446
|
content:tag__content,
|
|
447
447
|
removable-indicator:tag__removable-indicator,
|
|
448
|
-
" 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-6-
|
|
448
|
+
" 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-6-6-tag>`
|
|
449
449
|
];
|
|
450
450
|
}
|
|
451
451
|
}
|
|
@@ -454,7 +454,7 @@ var SdSelect = class extends SolidElement {
|
|
|
454
454
|
this.formControlController.emitInvalidEvent(event);
|
|
455
455
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
456
456
|
}
|
|
457
|
-
/** Receives incoming event detail from sd-4-6-
|
|
457
|
+
/** Receives incoming event detail from sd-4-6-6-popup and updates local state for conditional styling. */
|
|
458
458
|
handleCurrentPlacement(e) {
|
|
459
459
|
const incomingPlacement = e.detail;
|
|
460
460
|
if (incomingPlacement) {
|
|
@@ -463,7 +463,7 @@ var SdSelect = class extends SolidElement {
|
|
|
463
463
|
}
|
|
464
464
|
handleUseTagsChange() {
|
|
465
465
|
const allOptions = this.getAllOptions();
|
|
466
|
-
if (customElements.get("sd-4-6-
|
|
466
|
+
if (customElements.get("sd-4-6-6-option")) {
|
|
467
467
|
allOptions.forEach((option) => {
|
|
468
468
|
option.checkbox = this.multiple;
|
|
469
469
|
});
|
|
@@ -599,7 +599,7 @@ var SdSelect = class extends SolidElement {
|
|
|
599
599
|
default: "border-neutral-800"
|
|
600
600
|
}[selectState],
|
|
601
601
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
602
|
-
)}"></div><sd-4-6-
|
|
602
|
+
)}"></div><sd-4-6-6-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
603
603
|
"inline-flex relative w-full",
|
|
604
604
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
605
605
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -622,12 +622,12 @@ var SdSelect = class extends SolidElement {
|
|
|
622
622
|
"select__clear flex justify-center",
|
|
623
623
|
iconMarginLeft,
|
|
624
624
|
this.value.length > 0 ? "visible" : "invisible"
|
|
625
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-
|
|
625
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-6-icon class="${cx("text-icon-fill-neutral-800 z-10", iconSize)}" library="system" name="closing-round"></sd-4-6-6-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-6-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-6-6-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-6-6-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-6-6-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
626
626
|
"inline-flex ml-2 transition-all items-center",
|
|
627
627
|
this.open ? "rotate-180" : "rotate-0",
|
|
628
628
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
629
629
|
iconSize
|
|
630
|
-
)}"><sd-4-6-
|
|
630
|
+
)}"><sd-4-6-6-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-6-6-icon></slot></div><button part="combobox" class="${cx(
|
|
631
631
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
632
632
|
cursorStyles,
|
|
633
633
|
this.open && "shadow",
|
|
@@ -640,26 +640,26 @@ var SdSelect = class extends SolidElement {
|
|
|
640
640
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
641
641
|
this.open && "shadow",
|
|
642
642
|
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"
|
|
643
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-6-
|
|
643
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-6-6-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()}`;
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
SdSelect.dependencies = {
|
|
647
|
-
"sd-4-6-
|
|
648
|
-
"sd-4-6-
|
|
649
|
-
"sd-4-6-
|
|
647
|
+
"sd-4-6-6-icon": SdIcon,
|
|
648
|
+
"sd-4-6-6-popup": SdPopup,
|
|
649
|
+
"sd-4-6-6-tag": SdTag
|
|
650
650
|
};
|
|
651
651
|
/**
|
|
652
652
|
* Inherits global stylesheet including TailwindCSS
|
|
653
653
|
*/
|
|
654
654
|
SdSelect.styles = [
|
|
655
655
|
...SolidElement.styles,
|
|
656
|
-
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-6-
|
|
656
|
+
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-6-6-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-6-6-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-6-6-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-6-6-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-6-6-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))}`
|
|
657
657
|
];
|
|
658
658
|
__decorateClass([
|
|
659
|
-
queryAssignedElements({ selector: "sd-4-6-
|
|
659
|
+
queryAssignedElements({ selector: "sd-4-6-6-option" })
|
|
660
660
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
661
661
|
__decorateClass([
|
|
662
|
-
query("sd-4-6-
|
|
662
|
+
query("sd-4-6-6-popup")
|
|
663
663
|
], SdSelect.prototype, "popup", 2);
|
|
664
664
|
__decorateClass([
|
|
665
665
|
query('[part="combobox"]')
|
|
@@ -784,7 +784,7 @@ __decorateClass([
|
|
|
784
784
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
785
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
786
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-4-6-
|
|
787
|
+
customElement("sd-4-6-6-select")
|
|
788
788
|
], SdSelect);
|
|
789
789
|
setDefaultAnimation("select.show", {
|
|
790
790
|
keyframes: [
|
|
@@ -182,7 +182,7 @@ var SdNotification = class extends SolidElement {
|
|
|
182
182
|
() => {
|
|
183
183
|
toastStack.removeChild(this);
|
|
184
184
|
resolve();
|
|
185
|
-
if (toastStack.querySelector("sd-4-6-
|
|
185
|
+
if (toastStack.querySelector("sd-4-6-6-notification") === null) {
|
|
186
186
|
toastStack.remove();
|
|
187
187
|
}
|
|
188
188
|
},
|
|
@@ -199,15 +199,15 @@ var SdNotification = class extends SolidElement {
|
|
|
199
199
|
warning: "bg-warning",
|
|
200
200
|
error: "bg-error"
|
|
201
201
|
}[this.variant]
|
|
202
|
-
)}"><sd-4-6-
|
|
202
|
+
)}"><sd-4-6-6-icon name="${{
|
|
203
203
|
info: "info-circle",
|
|
204
204
|
success: "confirm-circle",
|
|
205
205
|
warning: "exclamation-circle",
|
|
206
206
|
error: "warning"
|
|
207
|
-
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-
|
|
207
|
+
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-6-icon></slot><div part="content" class="${cx(
|
|
208
208
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
209
209
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
210
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-
|
|
210
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-6-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-6-6-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-6-6-icon></sd-4-6-6-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
/**
|
|
@@ -248,7 +248,7 @@ __decorateClass([
|
|
|
248
248
|
watch("duration")
|
|
249
249
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
250
250
|
SdNotification = __decorateClass([
|
|
251
|
-
customElement("sd-4-6-
|
|
251
|
+
customElement("sd-4-6-6-notification")
|
|
252
252
|
], SdNotification);
|
|
253
253
|
setDefaultAnimation("notification.show", {
|
|
254
254
|
keyframes: [
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-4-6-
|
|
211
|
+
customElement("sd-4-6-6-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -209,7 +209,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
209
209
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
210
210
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
211
211
|
}[this.placement]
|
|
212
|
-
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-6-
|
|
212
|
+
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-6-6-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-6-6-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-6-icon></sd-4-6-6-button></div></header>` : html`<sd-4-6-6-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-6-6-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-6-icon></sd-4-6-6-button>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdDrawer.styles = [
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-4-6-
|
|
253
|
+
customElement("sd-4-6-6-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|
|
@@ -378,7 +378,7 @@ var SdInput = class extends SolidElement {
|
|
|
378
378
|
this.size === "sm" ? "h-6" : "h-8",
|
|
379
379
|
textSize,
|
|
380
380
|
this.visuallyDisabled && "cursor-not-allowed"
|
|
381
|
-
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-
|
|
381
|
+
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-6-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-6-6-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-6-6-icon class="${cx(iconColor, iconSize)}" library="system" name="eye"></sd-4-6-6-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-6-6-icon class="${cx(iconColor, iconSize)}" library="system" name="eye-crossed-out"></sd-4-6-6-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-6-6-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-6-6-icon>` : ""} ${this.type === "time" ? html`<sd-4-6-6-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-6-6-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-4-6-6-icon class="${cx(iconColor, iconSize)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-4-6-6-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-6-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-6-6-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-6-6-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-6-6-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-6-6-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-6-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-6-6-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-6-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
/**
|
|
@@ -386,7 +386,7 @@ var SdInput = class extends SolidElement {
|
|
|
386
386
|
*/
|
|
387
387
|
SdInput.styles = [
|
|
388
388
|
...SolidElement.styles,
|
|
389
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-6-
|
|
389
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-6-6-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
390
390
|
];
|
|
391
391
|
__decorateClass([
|
|
392
392
|
query("#input")
|
|
@@ -516,7 +516,7 @@ __decorateClass([
|
|
|
516
516
|
watch("value", { waitUntilFirstUpdate: true })
|
|
517
517
|
], SdInput.prototype, "handleValueChange", 1);
|
|
518
518
|
SdInput = __decorateClass([
|
|
519
|
-
customElement("sd-4-6-
|
|
519
|
+
customElement("sd-4-6-6-input")
|
|
520
520
|
], SdInput);
|
|
521
521
|
|
|
522
522
|
export {
|
|
@@ -288,10 +288,10 @@ var SdAudio = class extends SolidElement {
|
|
|
288
288
|
)}" part="audio-controls"><button class="${cx(
|
|
289
289
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
290
290
|
this.inverted && "sd-interactive--inverted"
|
|
291
|
-
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-6-
|
|
291
|
+
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-6-6-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying ? html`<slot name="pause-icon"><sd-4-6-6-icon class="text-3xl" name="pause" library="system"></sd-4-6-6-icon></slot>` : html`<slot name="play-icon"><sd-4-6-6-icon class="text-3xl" name="start" library="system"></sd-4-6-6-icon></slot>`}</sd-4-6-6-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx(
|
|
292
292
|
"mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",
|
|
293
293
|
this.inverted && "sd-interactive--inverted"
|
|
294
|
-
)}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0" part="transcript"><sd-4-6-
|
|
294
|
+
)}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0" part="transcript"><sd-4-6-6-icon class="w-6 h-6" name="transcript" library="system"></sd-4-6-6-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" tabindex="0" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-4-6-6-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="system"></sd-4-6-6-icon></button></div></div>`;
|
|
295
295
|
const renderTimestamps = html`<div class="${cx(
|
|
296
296
|
"w-full flex justify-between",
|
|
297
297
|
this.reversedLayout ? "mb-2" : "mt-2",
|
|
@@ -301,12 +301,12 @@ var SdAudio = class extends SolidElement {
|
|
|
301
301
|
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null} <input class="${cx(
|
|
302
302
|
"progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",
|
|
303
303
|
this.inverted && "sd-interactive--inverted"
|
|
304
|
-
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-6-
|
|
304
|
+
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-6-6-drawer><slot name="transcript"></slot></sd-4-6-6-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div>`;
|
|
305
305
|
}
|
|
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-4-6-
|
|
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-4-6-6-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-4-6-6-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" })
|
|
@@ -348,13 +348,13 @@ __decorateClass([
|
|
|
348
348
|
query('[part="audio-player"]')
|
|
349
349
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
350
350
|
__decorateClass([
|
|
351
|
-
query("sd-4-6-
|
|
351
|
+
query("sd-4-6-6-drawer")
|
|
352
352
|
], SdAudio.prototype, "drawer", 2);
|
|
353
353
|
__decorateClass([
|
|
354
354
|
query("canvas")
|
|
355
355
|
], SdAudio.prototype, "canvas", 2);
|
|
356
356
|
SdAudio = __decorateClass([
|
|
357
|
-
customElement("sd-4-6-
|
|
357
|
+
customElement("sd-4-6-6-audio")
|
|
358
358
|
], SdAudio);
|
|
359
359
|
|
|
360
360
|
export {
|
|
@@ -192,15 +192,15 @@ var SdTooltip = class extends SolidElement {
|
|
|
192
192
|
render() {
|
|
193
193
|
const isStart = this.placement.endsWith("-start");
|
|
194
194
|
const isEnd = this.placement.endsWith("-end");
|
|
195
|
-
return html`<sd-4-6-
|
|
195
|
+
return html`<sd-4-6-6-popup part="base" exportparts="
|
|
196
196
|
popup:base__popup,
|
|
197
197
|
arrow:base__arrow
|
|
198
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" class="${cx(this.size === "lg" ? "text-xl" : "text-base")}"><button aria-describedby="tooltip" class="flex sd-interactive rounded-full" ?disabled="${this.disabled}"><sd-4-6-
|
|
198
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" class="${cx(this.size === "lg" ? "text-xl" : "text-base")}"><button aria-describedby="tooltip" class="flex sd-interactive rounded-full" ?disabled="${this.disabled}"><sd-4-6-6-icon library="system" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-4-6-6-icon></button></slot><slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="Tooltip" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-4-6-6-popup>`;
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
SdTooltip.styles = [
|
|
202
202
|
...SolidElement.styles,
|
|
203
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-4-6-
|
|
203
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-4-6-6-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-4-6-6-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-6-6-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-6-6-popup[placement^=top]::part(popup){transform-origin:bottom}sd-4-6-6-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
|
|
204
204
|
];
|
|
205
205
|
__decorateClass([
|
|
206
206
|
query("slot:not([name])")
|
|
@@ -209,7 +209,7 @@ __decorateClass([
|
|
|
209
209
|
query("#tooltip")
|
|
210
210
|
], SdTooltip.prototype, "body", 2);
|
|
211
211
|
__decorateClass([
|
|
212
|
-
query("sd-4-6-
|
|
212
|
+
query("sd-4-6-6-popup")
|
|
213
213
|
], SdTooltip.prototype, "popup", 2);
|
|
214
214
|
__decorateClass([
|
|
215
215
|
property({ type: String, reflect: true })
|
|
@@ -242,7 +242,7 @@ __decorateClass([
|
|
|
242
242
|
watch("disabled")
|
|
243
243
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
244
244
|
SdTooltip = __decorateClass([
|
|
245
|
-
customElement("sd-4-6-
|
|
245
|
+
customElement("sd-4-6-6-tooltip")
|
|
246
246
|
], SdTooltip);
|
|
247
247
|
setDefaultAnimation("tooltip.show", {
|
|
248
248
|
keyframes: [
|
|
@@ -103,7 +103,7 @@ var SdVideo = class extends SolidElement {
|
|
|
103
103
|
this.playing ? "opacity-0" : "opacity-100",
|
|
104
104
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
105
105
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
106
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-
|
|
106
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-6-icon id="default-play-icon" library="system" name="start"></sd-4-6-6-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<slot></slot></div>`;
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdVideo.styles = [
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
property({ type: Boolean })
|
|
121
121
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
122
122
|
SdVideo = __decorateClass([
|
|
123
|
-
customElement("sd-4-6-
|
|
123
|
+
customElement("sd-4-6-6-video")
|
|
124
124
|
], SdVideo);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -91,7 +91,7 @@ var SdOption = class extends SolidElement {
|
|
|
91
91
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
92
92
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
93
93
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
|
|
94
|
-
)}">${this.selected ? html`<sd-4-6-
|
|
94
|
+
)}">${this.selected ? html`<sd-4-6-6-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-6-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
@@ -135,7 +135,7 @@ __decorateClass([
|
|
|
135
135
|
watch("value")
|
|
136
136
|
], SdOption.prototype, "handleValueChange", 1);
|
|
137
137
|
SdOption = __decorateClass([
|
|
138
|
-
customElement("sd-4-6-
|
|
138
|
+
customElement("sd-4-6-6-option")
|
|
139
139
|
], SdOption);
|
|
140
140
|
|
|
141
141
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-6-divider[orientation=horizontal]){display:block}:host(sd-4-6-6-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-6-
|
|
44
|
+
customElement("sd-4-6-6-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|