@solid-design-system/components 5.15.13 → 5.16.0
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.2PZOUYOE.js +1 -0
- package/cdn/chunks/{chunk.CODHT433.js → chunk.3ESZ3WNH.js} +1 -1
- package/cdn/chunks/{chunk.CWOKJQSQ.js → chunk.3W7E4S74.js} +1 -1
- package/cdn/chunks/{chunk.K7JNBY7N.js → chunk.4RDRTX5J.js} +1 -1
- package/cdn/chunks/{chunk.HX23UDYZ.js → chunk.4VSX7CKT.js} +1 -1
- package/cdn/chunks/{chunk.UXY3AL7C.js → chunk.4XAR32BD.js} +1 -1
- package/cdn/chunks/{chunk.CVNGM52W.js → chunk.4XYCXFIF.js} +1 -1
- package/cdn/chunks/{chunk.TL3K6WJI.js → chunk.5CX7ARQI.js} +1 -1
- package/cdn/chunks/{chunk.O4L5OULX.js → chunk.5DMZICSE.js} +1 -1
- package/cdn/chunks/{chunk.XEK5QKES.js → chunk.5FDFV46A.js} +1 -1
- package/cdn/chunks/{chunk.EGDPRSOF.js → chunk.5L2V6LAR.js} +1 -1
- package/cdn/chunks/chunk.635MGLIZ.js +1 -0
- package/cdn/chunks/{chunk.2KRS2HQF.js → chunk.6RNF7GSD.js} +1 -1
- package/cdn/chunks/{chunk.SGXM6Y2P.js → chunk.6ZGYHAEF.js} +1 -1
- package/cdn/chunks/{chunk.2YG34O7F.js → chunk.7MZ6EH36.js} +1 -1
- package/cdn/chunks/chunk.AIX2OQWK.js +1 -0
- package/cdn/chunks/{chunk.4RHXHQ7H.js → chunk.APG63PPE.js} +1 -1
- package/cdn/chunks/{chunk.FAPJVEMZ.js → chunk.B6WGHPWV.js} +1 -1
- package/cdn/chunks/{chunk.KOERGSAL.js → chunk.BGUTJQ53.js} +1 -1
- package/cdn/chunks/chunk.CIAY7P3F.js +1 -0
- package/cdn/chunks/{chunk.FSATHYQT.js → chunk.CIHK765X.js} +1 -1
- package/cdn/chunks/{chunk.ALSSHD3Q.js → chunk.CRNFW6EC.js} +1 -1
- package/cdn/chunks/{chunk.VFOVKA46.js → chunk.CT564FJN.js} +1 -1
- package/cdn/chunks/{chunk.YFGMDOCE.js → chunk.EIAAKAOJ.js} +1 -1
- package/cdn/chunks/{chunk.ET34FEK2.js → chunk.ESUSD633.js} +1 -1
- package/cdn/chunks/{chunk.ARYMSO7N.js → chunk.EVJSO3XI.js} +1 -1
- package/cdn/chunks/{chunk.35PQ7S2O.js → chunk.FBN2Z2EX.js} +1 -1
- package/cdn/chunks/{chunk.TUU3QZXR.js → chunk.GHTBLDQN.js} +1 -1
- package/cdn/chunks/{chunk.GEOVNECI.js → chunk.GRUVWXWT.js} +1 -1
- package/cdn/chunks/chunk.H2WXPNXQ.js +25 -0
- package/cdn/chunks/{chunk.RXMJRA5Q.js → chunk.ICG75KLF.js} +1 -1
- package/cdn/chunks/{chunk.UBEW2PY5.js → chunk.IKTF6FZI.js} +1 -1
- package/cdn/chunks/{chunk.PZC43SIH.js → chunk.K4D7L775.js} +1 -1
- package/cdn/chunks/{chunk.BZJ7O5ES.js → chunk.L3H6KE6C.js} +1 -1
- package/cdn/chunks/{chunk.Y7NVH75J.js → chunk.L6MCOH7T.js} +1 -1
- package/cdn/chunks/{chunk.SJLZKEAQ.js → chunk.LFJ3DAYO.js} +1 -1
- package/cdn/chunks/{chunk.ISZAAZUB.js → chunk.LLAJVJKR.js} +1 -1
- package/cdn/chunks/{chunk.QQ5HSBA6.js → chunk.LXHLWQH7.js} +1 -1
- package/cdn/chunks/{chunk.LUO6B5O2.js → chunk.MHPHKNZ5.js} +13 -3
- package/cdn/chunks/{chunk.SX2XEIQL.js → chunk.MQOTSNTG.js} +1 -1
- package/cdn/chunks/{chunk.JXQJUYEC.js → chunk.MRS22XQ4.js} +1 -1
- package/cdn/chunks/{chunk.3UAOIDF2.js → chunk.MWGT5EZP.js} +1 -1
- package/cdn/chunks/{chunk.3JOVDAJX.js → chunk.O3YP2BFR.js} +1 -1
- package/cdn/chunks/{chunk.2UNWLMKE.js → chunk.PAJL6SPD.js} +1 -1
- package/cdn/chunks/{chunk.MRAHMGRF.js → chunk.PFNXSCTA.js} +1 -1
- package/cdn/chunks/{chunk.OG46JDG7.js → chunk.PWANZ6S6.js} +1 -1
- package/cdn/chunks/{chunk.Y7AL7I2Z.js → chunk.PWTHZTXJ.js} +1 -1
- package/cdn/chunks/{chunk.P6QOQEIF.js → chunk.Q2DPVABQ.js} +1 -1
- package/cdn/chunks/{chunk.5CAMYQMD.js → chunk.QS3D3RGF.js} +1 -1
- package/cdn/chunks/{chunk.ZNWCIW62.js → chunk.QTMDJYVH.js} +1 -1
- package/cdn/chunks/{chunk.JCU3EXPE.js → chunk.RPJK4MP2.js} +1 -1
- package/cdn/chunks/{chunk.R3WH26GI.js → chunk.SMMTYBDL.js} +1 -1
- package/cdn/chunks/{chunk.5HQBAJ66.js → chunk.SMZOM26P.js} +1 -1
- package/cdn/chunks/{chunk.ZQBF4WJL.js → chunk.T4KDM5ZJ.js} +1 -1
- package/cdn/chunks/{chunk.ZA3AQWM7.js → chunk.TGKADWFV.js} +1 -1
- package/cdn/chunks/{chunk.AEVPJRUQ.js → chunk.TLLR2QA5.js} +1 -1
- package/cdn/chunks/{chunk.IWPBSEAW.js → chunk.TTONV6RN.js} +1 -1
- package/cdn/chunks/{chunk.CJ53PV6X.js → chunk.VGJLXC4F.js} +1 -1
- package/cdn/chunks/{chunk.YHHVM7YY.js → chunk.VHPLNFVZ.js} +1 -1
- package/cdn/chunks/{chunk.DKN2DIAH.js → chunk.VJ2MHYFS.js} +1 -1
- package/cdn/chunks/{chunk.R5PJYTZQ.js → chunk.XGWFWKYC.js} +1 -1
- package/cdn/chunks/{chunk.BFDYLZMG.js → chunk.Y65AGI4J.js} +1 -1
- package/cdn/chunks/{chunk.AVUZZRFT.js → chunk.Z6XZU4JK.js} +1 -1
- package/cdn/chunks/{chunk.HYCWRAJB.js → chunk.ZBGSUJVI.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +119 -0
- package/cdn/components/datepicker/datepicker.js +1 -0
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.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/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +4 -0
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/menu-item/menu-item.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/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.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/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +779 -2
- package/cdn/solid-components.bundle.js +29 -19
- package/cdn/solid-components.d.ts +1 -0
- package/cdn/solid-components.iife.js +29 -19
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/date.d.ts +9 -0
- package/cdn/utilities/date.js +1 -0
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.d.ts +14 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +133 -0
- package/cdn/web-types.json +373 -1
- package/cdn-versioned/chunks/chunk.2PZOUYOE.js +1 -0
- package/cdn-versioned/chunks/{chunk.CODHT433.js → chunk.3ESZ3WNH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CWOKJQSQ.js → chunk.3W7E4S74.js} +1 -1
- package/cdn-versioned/chunks/chunk.4RDRTX5J.js +1 -0
- package/cdn-versioned/chunks/{chunk.HX23UDYZ.js → chunk.4VSX7CKT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UXY3AL7C.js → chunk.4XAR32BD.js} +1 -1
- package/cdn-versioned/chunks/chunk.4XYCXFIF.js +1 -0
- package/cdn-versioned/chunks/{chunk.TL3K6WJI.js → chunk.5CX7ARQI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.O4L5OULX.js → chunk.5DMZICSE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XEK5QKES.js → chunk.5FDFV46A.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EGDPRSOF.js → chunk.5L2V6LAR.js} +2 -2
- package/cdn-versioned/chunks/chunk.635MGLIZ.js +1 -0
- package/cdn-versioned/chunks/{chunk.2KRS2HQF.js → chunk.6RNF7GSD.js} +1 -1
- package/cdn-versioned/chunks/chunk.6ZGYHAEF.js +1 -0
- package/cdn-versioned/chunks/chunk.7MZ6EH36.js +1 -0
- package/cdn-versioned/chunks/chunk.AIX2OQWK.js +1 -0
- package/cdn-versioned/chunks/{chunk.4RHXHQ7H.js → chunk.APG63PPE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FAPJVEMZ.js → chunk.B6WGHPWV.js} +1 -1
- package/cdn-versioned/chunks/chunk.BGUTJQ53.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CIAY7P3F.js +1 -0
- package/cdn-versioned/chunks/{chunk.FSATHYQT.js → chunk.CIHK765X.js} +1 -1
- package/cdn-versioned/chunks/chunk.CRNFW6EC.js +1 -0
- package/cdn-versioned/chunks/chunk.CT564FJN.js +1 -0
- package/cdn-versioned/chunks/{chunk.YFGMDOCE.js → chunk.EIAAKAOJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.ESUSD633.js +3 -0
- package/cdn-versioned/chunks/{chunk.ARYMSO7N.js → chunk.EVJSO3XI.js} +1 -1
- package/cdn-versioned/chunks/chunk.FBN2Z2EX.js +1 -0
- package/cdn-versioned/chunks/{chunk.TUU3QZXR.js → chunk.GHTBLDQN.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GEOVNECI.js → chunk.GRUVWXWT.js} +1 -1
- package/cdn-versioned/chunks/chunk.H2WXPNXQ.js +25 -0
- package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +1 -1
- package/cdn-versioned/chunks/{chunk.RXMJRA5Q.js → chunk.ICG75KLF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UBEW2PY5.js → chunk.IKTF6FZI.js} +1 -1
- package/cdn-versioned/chunks/chunk.K4D7L775.js +1 -0
- package/cdn-versioned/chunks/{chunk.BZJ7O5ES.js → chunk.L3H6KE6C.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y7NVH75J.js → chunk.L6MCOH7T.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SJLZKEAQ.js → chunk.LFJ3DAYO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ISZAAZUB.js → chunk.LLAJVJKR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QQ5HSBA6.js → chunk.LXHLWQH7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LUO6B5O2.js → chunk.MHPHKNZ5.js} +13 -3
- package/cdn-versioned/chunks/{chunk.SX2XEIQL.js → chunk.MQOTSNTG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JXQJUYEC.js → chunk.MRS22XQ4.js} +1 -1
- package/cdn-versioned/chunks/chunk.MWGT5EZP.js +11 -0
- package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -1
- package/cdn-versioned/chunks/chunk.O3YP2BFR.js +1 -0
- package/cdn-versioned/chunks/chunk.PAJL6SPD.js +1 -0
- package/cdn-versioned/chunks/{chunk.MRAHMGRF.js → chunk.PFNXSCTA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OG46JDG7.js → chunk.PWANZ6S6.js} +2 -2
- package/cdn-versioned/chunks/chunk.PWTHZTXJ.js +1 -0
- package/cdn-versioned/chunks/{chunk.P6QOQEIF.js → chunk.Q2DPVABQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.QS3D3RGF.js +1 -0
- package/cdn-versioned/chunks/{chunk.ZNWCIW62.js → chunk.QTMDJYVH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JCU3EXPE.js → chunk.RPJK4MP2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.R3WH26GI.js → chunk.SMMTYBDL.js} +1 -1
- package/cdn-versioned/chunks/chunk.SMZOM26P.js +1 -0
- package/cdn-versioned/chunks/{chunk.ZQBF4WJL.js → chunk.T4KDM5ZJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.TGKADWFV.js +11 -0
- package/cdn-versioned/chunks/chunk.TLLR2QA5.js +1 -0
- package/cdn-versioned/chunks/chunk.TTONV6RN.js +1 -0
- package/cdn-versioned/chunks/chunk.VGJLXC4F.js +1 -0
- package/cdn-versioned/chunks/{chunk.YHHVM7YY.js → chunk.VHPLNFVZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.VJ2MHYFS.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XGWFWKYC.js +11 -0
- package/cdn-versioned/chunks/{chunk.BFDYLZMG.js → chunk.Y65AGI4J.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AVUZZRFT.js → chunk.Z6XZU4JK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HYCWRAJB.js → chunk.ZBGSUJVI.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/animation/animation.js +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/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +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/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -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/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +119 -0
- package/cdn-versioned/components/datepicker/datepicker.js +1 -0
- 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/divider/divider.js +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/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +4 -0
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +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/link/link.js +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.js +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.js +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 +1 -1
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +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/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.js +1 -1
- 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 +1 -1
- 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/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +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/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +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 +1016 -239
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +29 -19
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.d.ts +1 -0
- package/cdn-versioned/solid-components.iife.js +29 -19
- 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/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/date.d.ts +9 -0
- package/cdn-versioned/utilities/date.js +1 -0
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +14 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +224 -91
- package/cdn-versioned/web-types.json +526 -154
- package/dist/chunks/{chunk.MBFZWG5H.js → chunk.24MGFJCN.js} +1 -1
- package/dist/chunks/{chunk.JM3YRKVA.js → chunk.2QFS5F7C.js} +1 -1
- package/dist/chunks/{chunk.DQ6G3W3V.js → chunk.37XRQIZW.js} +1 -1
- package/{dist-versioned/chunks/chunk.7VEM2IPR.js → dist/chunks/chunk.3S7EW72P.js} +14 -1
- package/dist/chunks/{chunk.QAJG6PYM.js → chunk.43XTYAXK.js} +1 -1
- package/dist/chunks/{chunk.5YOGUSPL.js → chunk.4DKQ5DUX.js} +1 -1
- package/dist/chunks/chunk.5YYD3XUK.js +1375 -0
- package/dist/chunks/{chunk.VMVBXZ2U.js → chunk.6OBEXEX2.js} +1 -1
- package/dist/chunks/{chunk.AKX7VXML.js → chunk.6UOJOJVF.js} +2 -2
- package/dist/chunks/{chunk.IAL4GVA4.js → chunk.7NMITUVG.js} +1 -1
- package/dist/chunks/{chunk.QDZS6M4T.js → chunk.AMBYSMYI.js} +1 -1
- package/dist/chunks/{chunk.S3BSVYPB.js → chunk.ANHOKJEV.js} +1 -1
- package/dist/chunks/{chunk.HOXI77KQ.js → chunk.AOIMBF2P.js} +1 -1
- package/dist/chunks/{chunk.HYPCYXQP.js → chunk.B4QMHIQU.js} +2 -2
- package/dist/chunks/{chunk.WWBNZDY7.js → chunk.CB3KJDCJ.js} +1 -1
- package/dist/chunks/chunk.CDM2I6O2.js +47 -0
- package/dist/chunks/{chunk.AKPCSVRG.js → chunk.CPHWIPH2.js} +1 -1
- package/dist/chunks/{chunk.RRNLIX2S.js → chunk.CRVR6VBF.js} +1 -1
- package/dist/chunks/{chunk.R735ROML.js → chunk.DGFZBND5.js} +1 -1
- package/dist/chunks/{chunk.NVXUSMMW.js → chunk.DZRWUZL3.js} +1 -1
- package/dist/chunks/{chunk.34OZXOJP.js → chunk.EC2EIUQN.js} +1 -1
- package/dist/chunks/{chunk.BUFXMACO.js → chunk.ELJG6ONZ.js} +1 -1
- package/dist/chunks/{chunk.4D3N4MVV.js → chunk.FBXO7EOO.js} +1 -1
- package/dist/chunks/{chunk.AYDMEA3C.js → chunk.G4KMETYR.js} +1 -1
- package/dist/chunks/{chunk.A2M7C3CD.js → chunk.G6YNGJXE.js} +1 -1
- package/dist/chunks/{chunk.SE4CTFYY.js → chunk.GM6L2JR4.js} +1 -1
- package/dist/chunks/{chunk.45BEUHRF.js → chunk.GS3K7X5A.js} +2 -2
- package/dist/chunks/{chunk.6ITI3HNP.js → chunk.I6JQ5KYH.js} +1 -1
- package/{dist-versioned/chunks/chunk.HIAKAB7R.js → dist/chunks/chunk.ID6DABAJ.js} +14 -1
- package/dist/chunks/{chunk.E57K3AFR.js → chunk.IE7OO2E4.js} +1 -1
- package/dist/chunks/{chunk.WZZP5YIS.js → chunk.II2J5YTZ.js} +1 -1
- package/dist/chunks/{chunk.Q44CB3ZY.js → chunk.ISE4B3UP.js} +1 -1
- package/dist/chunks/{chunk.DHRQZSXG.js → chunk.KBIB4MJU.js} +1 -1
- package/dist/chunks/{chunk.7UTPAUSQ.js → chunk.KBX2ADXN.js} +1 -1
- package/dist/chunks/{chunk.T2AOG5F2.js → chunk.KZKUV72U.js} +1 -1
- package/dist/chunks/{chunk.TIBLXIJV.js → chunk.METZLKQO.js} +1 -1
- package/dist/chunks/{chunk.QZBSHWMK.js → chunk.N4YJM52U.js} +1 -1
- package/dist/chunks/{chunk.23KFQ6DK.js → chunk.NQFBYJXY.js} +1 -1
- package/dist/chunks/{chunk.M5FO7PXK.js → chunk.NYNRID2W.js} +1 -1
- package/dist/chunks/{chunk.SDWNASDC.js → chunk.O6BPWUAI.js} +1 -1
- package/dist/chunks/chunk.OIQ2TZCT.js +82 -0
- package/dist/chunks/{chunk.IUS3S54L.js → chunk.OPE5GNB3.js} +1 -1
- package/dist/chunks/{chunk.UAVNEMEF.js → chunk.OVSM5TSF.js} +1 -1
- package/dist/chunks/{chunk.HP7WJYO4.js → chunk.PZM2MI2Z.js} +1 -1
- package/dist/chunks/{chunk.5SNCWTQU.js → chunk.QSQRQKYT.js} +14 -0
- package/dist/chunks/{chunk.6MHK4U6F.js → chunk.R3WIWFML.js} +2 -2
- package/dist/chunks/{chunk.PHHK74M7.js → chunk.RVAUDUOG.js} +1 -1
- package/dist/chunks/{chunk.RAYANOK2.js → chunk.S5NWG4DM.js} +1 -1
- package/dist/chunks/{chunk.SJPDNEHE.js → chunk.SRRTSVBT.js} +1 -1
- package/dist/chunks/{chunk.JOYITBGJ.js → chunk.TA3Q3RO5.js} +1 -1
- package/dist/chunks/{chunk.T6DXPJAI.js → chunk.TCY3KZFP.js} +1 -1
- package/dist/chunks/{chunk.PRTWW2BW.js → chunk.TJAH7CZZ.js} +1 -1
- package/dist/chunks/{chunk.PPVX563E.js → chunk.U4FKNEVJ.js} +1 -1
- package/dist/chunks/{chunk.TKJFMHFU.js → chunk.U7KIN2H4.js} +1 -1
- package/dist/chunks/{chunk.CFBWKOJD.js → chunk.UQ2FRZQO.js} +1 -1
- package/dist/chunks/{chunk.5FANE6X5.js → chunk.UVOGBJGP.js} +1 -1
- package/dist/chunks/{chunk.JMHQQHEP.js → chunk.UXR6K7WW.js} +1 -1
- package/dist/chunks/{chunk.Z2RQUXP5.js → chunk.UZJYHOUF.js} +1 -1
- package/dist/chunks/{chunk.TMWT3ROD.js → chunk.VYJ3FE2D.js} +1 -1
- package/dist/chunks/{chunk.I7VRBYGO.js → chunk.W6OLVW5U.js} +1 -1
- package/dist/chunks/{chunk.KVLD4JWK.js → chunk.XVU4LMYA.js} +1 -1
- package/dist/chunks/{chunk.JTKHYOJO.js → chunk.YCD37QIH.js} +1 -1
- package/dist/chunks/{chunk.PEAIITW7.js → chunk.YIYE5U7I.js} +1 -1
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/accordion-group/accordion-group.js +8 -8
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +10 -10
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +8 -8
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/datepicker/datepicker.d.ts +119 -0
- package/dist/components/datepicker/datepicker.js +16 -0
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/expandable/expandable.js +7 -7
- package/dist/components/flipcard/flipcard.js +9 -9
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.internal.d.ts +4 -0
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +7 -7
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +4 -4
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +4 -4
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +8 -8
- package/dist/components/notification/notification.js +9 -9
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.js +5 -5
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +8 -8
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.js +4 -4
- package/dist/components/range-tick/range-tick.js +4 -4
- package/dist/components/scrollable/scrollable.js +7 -7
- package/dist/components/select/select.js +9 -9
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/step/step.js +5 -5
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/tooltip/tooltip.js +8 -8
- package/dist/components/video/video.js +7 -7
- package/dist/custom-elements.json +779 -2
- package/dist/solid-components.d.ts +1 -0
- package/dist/solid-components.js +73 -68
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/utilities/date.d.ts +9 -0
- package/dist/utilities/date.js +7 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +14 -1
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +133 -0
- package/dist/web-types.json +373 -1
- package/dist-versioned/chunks/{chunk.MBFZWG5H.js → chunk.24MGFJCN.js} +4 -4
- package/dist-versioned/chunks/{chunk.JM3YRKVA.js → chunk.2QFS5F7C.js} +4 -4
- package/dist-versioned/chunks/{chunk.DQ6G3W3V.js → chunk.37XRQIZW.js} +3 -3
- package/{dist/chunks/chunk.7VEM2IPR.js → dist-versioned/chunks/chunk.3S7EW72P.js} +14 -1
- package/dist-versioned/chunks/{chunk.QAJG6PYM.js → chunk.43XTYAXK.js} +2 -2
- package/dist-versioned/chunks/{chunk.5YOGUSPL.js → chunk.4DKQ5DUX.js} +27 -27
- package/dist-versioned/chunks/chunk.5YYD3XUK.js +1375 -0
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.VMVBXZ2U.js → chunk.6OBEXEX2.js} +2 -2
- package/dist-versioned/chunks/{chunk.AKX7VXML.js → chunk.6UOJOJVF.js} +8 -8
- package/dist-versioned/chunks/{chunk.IAL4GVA4.js → chunk.7NMITUVG.js} +6 -6
- package/dist-versioned/chunks/{chunk.QDZS6M4T.js → chunk.AMBYSMYI.js} +4 -4
- package/dist-versioned/chunks/{chunk.S3BSVYPB.js → chunk.ANHOKJEV.js} +2 -2
- package/dist-versioned/chunks/{chunk.HOXI77KQ.js → chunk.AOIMBF2P.js} +4 -4
- package/dist-versioned/chunks/{chunk.HYPCYXQP.js → chunk.B4QMHIQU.js} +3 -3
- package/dist-versioned/chunks/{chunk.WWBNZDY7.js → chunk.CB3KJDCJ.js} +12 -12
- package/dist-versioned/chunks/chunk.CDM2I6O2.js +47 -0
- package/dist-versioned/chunks/{chunk.AKPCSVRG.js → chunk.CPHWIPH2.js} +2 -2
- package/dist-versioned/chunks/{chunk.RRNLIX2S.js → chunk.CRVR6VBF.js} +4 -4
- package/dist-versioned/chunks/{chunk.R735ROML.js → chunk.DGFZBND5.js} +2 -2
- package/dist-versioned/chunks/{chunk.NVXUSMMW.js → chunk.DZRWUZL3.js} +3 -3
- package/dist-versioned/chunks/{chunk.34OZXOJP.js → chunk.EC2EIUQN.js} +2 -2
- package/dist-versioned/chunks/{chunk.BUFXMACO.js → chunk.ELJG6ONZ.js} +3 -3
- package/dist-versioned/chunks/{chunk.4D3N4MVV.js → chunk.FBXO7EOO.js} +15 -15
- package/dist-versioned/chunks/{chunk.AYDMEA3C.js → chunk.G4KMETYR.js} +5 -5
- package/dist-versioned/chunks/{chunk.A2M7C3CD.js → chunk.G6YNGJXE.js} +2 -2
- package/dist-versioned/chunks/{chunk.SE4CTFYY.js → chunk.GM6L2JR4.js} +2 -2
- package/dist-versioned/chunks/{chunk.45BEUHRF.js → chunk.GS3K7X5A.js} +4 -4
- package/dist-versioned/chunks/{chunk.6ITI3HNP.js → chunk.I6JQ5KYH.js} +4 -4
- package/{dist/chunks/chunk.HIAKAB7R.js → dist-versioned/chunks/chunk.ID6DABAJ.js} +14 -1
- package/dist-versioned/chunks/{chunk.E57K3AFR.js → chunk.IE7OO2E4.js} +2 -2
- package/dist-versioned/chunks/{chunk.WZZP5YIS.js → chunk.II2J5YTZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.Q44CB3ZY.js → chunk.ISE4B3UP.js} +3 -3
- package/dist-versioned/chunks/{chunk.DHRQZSXG.js → chunk.KBIB4MJU.js} +9 -9
- package/dist-versioned/chunks/{chunk.7UTPAUSQ.js → chunk.KBX2ADXN.js} +3 -3
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.T2AOG5F2.js → chunk.KZKUV72U.js} +25 -25
- package/dist-versioned/chunks/{chunk.TIBLXIJV.js → chunk.METZLKQO.js} +7 -7
- package/dist-versioned/chunks/{chunk.QZBSHWMK.js → chunk.N4YJM52U.js} +6 -6
- package/dist-versioned/chunks/{chunk.23KFQ6DK.js → chunk.NQFBYJXY.js} +3 -3
- package/dist-versioned/chunks/{chunk.M5FO7PXK.js → chunk.NYNRID2W.js} +5 -5
- package/dist-versioned/chunks/{chunk.SDWNASDC.js → chunk.O6BPWUAI.js} +4 -4
- package/dist-versioned/chunks/chunk.OIQ2TZCT.js +82 -0
- package/dist-versioned/chunks/{chunk.IUS3S54L.js → chunk.OPE5GNB3.js} +3 -3
- package/dist-versioned/chunks/{chunk.UAVNEMEF.js → chunk.OVSM5TSF.js} +2 -2
- package/dist-versioned/chunks/{chunk.HP7WJYO4.js → chunk.PZM2MI2Z.js} +3 -3
- package/dist-versioned/chunks/{chunk.5SNCWTQU.js → chunk.QSQRQKYT.js} +14 -0
- package/dist-versioned/chunks/{chunk.6MHK4U6F.js → chunk.R3WIWFML.js} +14 -14
- package/dist-versioned/chunks/{chunk.PHHK74M7.js → chunk.RVAUDUOG.js} +7 -7
- package/dist-versioned/chunks/{chunk.RAYANOK2.js → chunk.S5NWG4DM.js} +5 -5
- package/dist-versioned/chunks/{chunk.SJPDNEHE.js → chunk.SRRTSVBT.js} +4 -4
- package/dist-versioned/chunks/{chunk.JOYITBGJ.js → chunk.TA3Q3RO5.js} +3 -3
- package/dist-versioned/chunks/{chunk.T6DXPJAI.js → chunk.TCY3KZFP.js} +2 -2
- package/dist-versioned/chunks/{chunk.PRTWW2BW.js → chunk.TJAH7CZZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.PPVX563E.js → chunk.U4FKNEVJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.TKJFMHFU.js → chunk.U7KIN2H4.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.CFBWKOJD.js → chunk.UQ2FRZQO.js} +2 -2
- package/dist-versioned/chunks/{chunk.5FANE6X5.js → chunk.UVOGBJGP.js} +1 -1
- package/dist-versioned/chunks/{chunk.JMHQQHEP.js → chunk.UXR6K7WW.js} +3 -3
- package/dist-versioned/chunks/{chunk.Z2RQUXP5.js → chunk.UZJYHOUF.js} +3 -3
- package/dist-versioned/chunks/{chunk.TMWT3ROD.js → chunk.VYJ3FE2D.js} +3 -3
- package/dist-versioned/chunks/{chunk.I7VRBYGO.js → chunk.W6OLVW5U.js} +3 -3
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/{chunk.KVLD4JWK.js → chunk.XVU4LMYA.js} +6 -6
- package/dist-versioned/chunks/{chunk.JTKHYOJO.js → chunk.YCD37QIH.js} +13 -13
- package/dist-versioned/chunks/{chunk.PEAIITW7.js → chunk.YIYE5U7I.js} +6 -6
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +7 -7
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +8 -8
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +10 -10
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +4 -4
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +5 -5
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +8 -8
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +5 -5
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +9 -9
- package/dist-versioned/components/datepicker/datepicker.d.ts +119 -0
- package/dist-versioned/components/datepicker/datepicker.js +16 -0
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +9 -9
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +9 -9
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +5 -5
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +7 -7
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +9 -9
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +4 -4
- package/dist-versioned/components/icon/library.internal.d.ts +4 -0
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +7 -7
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +4 -4
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +4 -4
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +8 -8
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +9 -9
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +5 -5
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +5 -5
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +8 -8
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +4 -4
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +4 -4
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +7 -7
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +9 -9
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +4 -4
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +5 -5
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +4 -4
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +7 -7
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +7 -7
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +5 -5
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +8 -8
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +7 -7
- package/dist-versioned/custom-elements.json +1016 -239
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.d.ts +1 -0
- package/dist-versioned/solid-components.js +73 -68
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/utilities/date.d.ts +9 -0
- package/dist-versioned/utilities/date.js +7 -0
- package/dist-versioned/utilities/icon-library.js +2 -2
- package/dist-versioned/utilities/localize.d.ts +14 -1
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +224 -91
- package/dist-versioned/web-types.json +526 -154
- package/package.json +3 -3
- package/cdn/chunks/chunk.D4Q335D6.js +0 -1
- package/cdn/chunks/chunk.QPJOKELG.js +0 -1
- package/cdn/chunks/chunk.TJ7ZA5LO.js +0 -25
- package/cdn-versioned/chunks/chunk.2UNWLMKE.js +0 -1
- package/cdn-versioned/chunks/chunk.2YG34O7F.js +0 -1
- package/cdn-versioned/chunks/chunk.35PQ7S2O.js +0 -1
- package/cdn-versioned/chunks/chunk.3JOVDAJX.js +0 -1
- package/cdn-versioned/chunks/chunk.3UAOIDF2.js +0 -11
- package/cdn-versioned/chunks/chunk.5CAMYQMD.js +0 -1
- package/cdn-versioned/chunks/chunk.5HQBAJ66.js +0 -1
- package/cdn-versioned/chunks/chunk.AEVPJRUQ.js +0 -1
- package/cdn-versioned/chunks/chunk.ALSSHD3Q.js +0 -1
- package/cdn-versioned/chunks/chunk.CJ53PV6X.js +0 -1
- package/cdn-versioned/chunks/chunk.CVNGM52W.js +0 -1
- package/cdn-versioned/chunks/chunk.D4Q335D6.js +0 -1
- package/cdn-versioned/chunks/chunk.DKN2DIAH.js +0 -1
- package/cdn-versioned/chunks/chunk.ET34FEK2.js +0 -3
- package/cdn-versioned/chunks/chunk.IWPBSEAW.js +0 -1
- package/cdn-versioned/chunks/chunk.K7JNBY7N.js +0 -1
- package/cdn-versioned/chunks/chunk.KOERGSAL.js +0 -1
- package/cdn-versioned/chunks/chunk.PZC43SIH.js +0 -1
- package/cdn-versioned/chunks/chunk.QPJOKELG.js +0 -1
- package/cdn-versioned/chunks/chunk.R5PJYTZQ.js +0 -11
- package/cdn-versioned/chunks/chunk.SGXM6Y2P.js +0 -1
- package/cdn-versioned/chunks/chunk.TJ7ZA5LO.js +0 -25
- package/cdn-versioned/chunks/chunk.VFOVKA46.js +0 -1
- package/cdn-versioned/chunks/chunk.Y7AL7I2Z.js +0 -1
- package/cdn-versioned/chunks/chunk.ZA3AQWM7.js +0 -11
- package/dist/chunks/chunk.IRZ3M2OA.js +0 -82
- package/dist-versioned/chunks/chunk.IRZ3M2OA.js +0 -82
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.16.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1933,6 +1933,378 @@
|
|
|
1933
1933
|
]
|
|
1934
1934
|
}
|
|
1935
1935
|
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "sd-datepicker",
|
|
1938
|
+
"description": "Used to enter or select a date or a range of dates using a calendar view.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the date selection changes.\n- **sd-range-select** - Emitted when the date range selection changes.\n- **sd-select** - Emitted when the date selection changes.\n- **sd-datepicker-close** - Emitted when the datepicker is closed.\n- **sd-focus** - Emitted when the datepicker is focused.\n- **sd-blur** - Emitted when the datepicker is blurred.\n- **sd-month-change** - Emitted when the month is changed.\n- **sd-month-year** - Emitted when the year is changed.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The label for the date input.\n- **help-text** - The help text, displayed below the input.\n- **tooltip** - The tooltip icon and content.\n\n### **CSS Parts:**\n - **datepicker** - The component's base wrapper.\n- **header** - The header containing the month/year and navigation buttons.\n- **prev-year-button** - The button to go to the previous year.\n- **prev-month-button** - The button to go to the previous month.\n- **month-label** - The month and year label.\n- **next-month-button** - The button to go to the next month.\n- **next-year-button** - The button to go to the next year.\n- **grid** - The calendar grid container.\n- **weekday** - Each weekday label in the calendar header.\n- **day** - Each day button in the calendar grid.\n- **form-control** - The form control wrapper around the input.\n- **form-control-label** - The label for the input.\n- **form-control-input** - The input element.\n- **border** - The border around the input.\n- **invalid-icon** - The icon shown when the input is invalid.\n- **valid-icon** - The icon shown when the input is valid.\n- **form-control-help-text** - The help text, displayed below the input.",
|
|
1939
|
+
"doc-url": "",
|
|
1940
|
+
"attributes": [
|
|
1941
|
+
{
|
|
1942
|
+
"name": "locale",
|
|
1943
|
+
"description": "Used for formatting and announcements (e.g., 'en-US', 'de-DE').",
|
|
1944
|
+
"value": { "type": "string", "default": "'en-US'" }
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "value",
|
|
1948
|
+
"description": "Selected date in local ISO format (YYYY-MM-DD) when not in range mode.",
|
|
1949
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"name": "range",
|
|
1953
|
+
"description": "Enables date range selection when true.",
|
|
1954
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "rangeStart",
|
|
1958
|
+
"description": "Range start date in local ISO format (YYYY-MM-DD).",
|
|
1959
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "rangeEnd",
|
|
1963
|
+
"description": "Range end date in local ISO format (YYYY-MM-DD).",
|
|
1964
|
+
"value": { "type": "string | null", "default": "null" }
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "allowSameDayRange",
|
|
1968
|
+
"description": "Allows selecting the same start and end date when true.",
|
|
1969
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "min",
|
|
1973
|
+
"description": "Minimum selectable date in local ISO format (YYYY-MM-DD).",
|
|
1974
|
+
"value": {
|
|
1975
|
+
"type": "string | number | Date | undefined",
|
|
1976
|
+
"default": "undefined"
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "max",
|
|
1981
|
+
"description": "Maximum selectable date in local ISO format (YYYY-MM-DD).",
|
|
1982
|
+
"value": {
|
|
1983
|
+
"type": "string | number | Date | undefined",
|
|
1984
|
+
"default": "undefined"
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"name": "firstDayOfWeek",
|
|
1989
|
+
"description": "First day of the week (0=Sun .. 6=Sat). If null, defaults to 1 (Monday).",
|
|
1990
|
+
"value": { "type": "number | null", "default": "null" }
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"name": "disabled-weekends",
|
|
1994
|
+
"description": "When true, weekends (Saturday/Sunday) are disabled.",
|
|
1995
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"name": "disabled-dates",
|
|
1999
|
+
"description": "List of disabled dates as local ISO strings. Accepts array or CSV/JSON string.",
|
|
2000
|
+
"value": { "type": "string[] | string", "default": "[]" }
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "size",
|
|
2004
|
+
"description": "Size of the input and calendar visuals.",
|
|
2005
|
+
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"name": "alignment",
|
|
2009
|
+
"description": "Horizontal alignment of the flyout relative to the input.",
|
|
2010
|
+
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "label",
|
|
2014
|
+
"description": "Text label for the input. Can be overridden with slot=\"label\".",
|
|
2015
|
+
"value": { "type": "string", "default": "''" }
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "help-text",
|
|
2019
|
+
"description": "Help text shown below the input. Can be overridden with slot=\"help-text\".",
|
|
2020
|
+
"value": { "type": "string", "default": "''" }
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"name": "disabled",
|
|
2024
|
+
"description": "Disables the control entirely when true.",
|
|
2025
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "visually-disabled",
|
|
2029
|
+
"description": "Makes the control non-interactive visually (like disabled) without disabling it functionally.",
|
|
2030
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "style-on-valid",
|
|
2034
|
+
"description": "When true, applies success styling for valid selections.",
|
|
2035
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"name": "readonly",
|
|
2039
|
+
"description": "Makes the input read-only (non-editable) when true.",
|
|
2040
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"name": "placement",
|
|
2044
|
+
"description": "Preferred placement of the flyout relative to the input (top|bottom).",
|
|
2045
|
+
"value": { "type": "'top' | 'bottom'", "default": "'bottom'" }
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"name": "placeholder",
|
|
2049
|
+
"value": { "type": "string", "default": "''" }
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"name": "name",
|
|
2053
|
+
"description": "The name of the datepicker, submitted as a name/value pair with form data.",
|
|
2054
|
+
"value": { "type": "string", "default": "''" }
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"name": "form",
|
|
2058
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form and associate it\nwith the form that has this `id`.",
|
|
2059
|
+
"value": { "type": "string", "default": "''" }
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "dir",
|
|
2063
|
+
"description": "The element's directionality.",
|
|
2064
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "lang",
|
|
2068
|
+
"description": "The element's language.",
|
|
2069
|
+
"value": { "type": "string" }
|
|
2070
|
+
}
|
|
2071
|
+
],
|
|
2072
|
+
"slots": [
|
|
2073
|
+
{ "name": "", "description": "The default slot." },
|
|
2074
|
+
{ "name": "label", "description": "The label for the date input." },
|
|
2075
|
+
{
|
|
2076
|
+
"name": "help-text",
|
|
2077
|
+
"description": "The help text, displayed below the input."
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"name": "tooltip",
|
|
2081
|
+
"description": "The tooltip icon and content."
|
|
2082
|
+
}
|
|
2083
|
+
],
|
|
2084
|
+
"events": [
|
|
2085
|
+
{
|
|
2086
|
+
"name": "sd-change",
|
|
2087
|
+
"description": "Emitted when the date selection changes."
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"name": "sd-range-select",
|
|
2091
|
+
"description": "Emitted when the date range selection changes."
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "sd-select",
|
|
2095
|
+
"description": "Emitted when the date selection changes."
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "sd-datepicker-close",
|
|
2099
|
+
"description": "Emitted when the datepicker is closed."
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"name": "sd-focus",
|
|
2103
|
+
"description": "Emitted when the datepicker is focused."
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"name": "sd-blur",
|
|
2107
|
+
"description": "Emitted when the datepicker is blurred."
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"name": "sd-month-change",
|
|
2111
|
+
"description": "Emitted when the month is changed."
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
"name": "sd-month-year",
|
|
2115
|
+
"description": "Emitted when the year is changed."
|
|
2116
|
+
}
|
|
2117
|
+
],
|
|
2118
|
+
"js": {
|
|
2119
|
+
"properties": [
|
|
2120
|
+
{
|
|
2121
|
+
"name": "localize",
|
|
2122
|
+
"description": "Localize controller used to fetch localized terms/labels."
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"name": "locale",
|
|
2126
|
+
"description": "Used for formatting and announcements (e.g., 'en-US', 'de-DE').",
|
|
2127
|
+
"type": "string"
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "value",
|
|
2131
|
+
"description": "Selected date in local ISO format (YYYY-MM-DD) when not in range mode.",
|
|
2132
|
+
"type": "string | null"
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"name": "range",
|
|
2136
|
+
"description": "Enables date range selection when true.",
|
|
2137
|
+
"type": "boolean"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"name": "rangeStart",
|
|
2141
|
+
"description": "Range start date in local ISO format (YYYY-MM-DD).",
|
|
2142
|
+
"type": "string | null"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "rangeEnd",
|
|
2146
|
+
"description": "Range end date in local ISO format (YYYY-MM-DD).",
|
|
2147
|
+
"type": "string | null"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"name": "allowSameDayRange",
|
|
2151
|
+
"description": "Allows selecting the same start and end date when true.",
|
|
2152
|
+
"type": "boolean"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"name": "min",
|
|
2156
|
+
"description": "Minimum selectable date in local ISO format (YYYY-MM-DD).",
|
|
2157
|
+
"type": "string | number | Date | undefined"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"name": "max",
|
|
2161
|
+
"description": "Maximum selectable date in local ISO format (YYYY-MM-DD).",
|
|
2162
|
+
"type": "string | number | Date | undefined"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"name": "firstDayOfWeek",
|
|
2166
|
+
"description": "First day of the week (0=Sun .. 6=Sat). If null, defaults to 1 (Monday).",
|
|
2167
|
+
"type": "number | null"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"name": "disabledWeekends",
|
|
2171
|
+
"description": "When true, weekends (Saturday/Sunday) are disabled.",
|
|
2172
|
+
"type": "boolean"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"name": "disabledDates",
|
|
2176
|
+
"description": "List of disabled dates as local ISO strings. Accepts array or CSV/JSON string.",
|
|
2177
|
+
"type": "string[] | string"
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "isDateDisabled",
|
|
2181
|
+
"description": "Custom predicate that can disable specific dates at runtime.",
|
|
2182
|
+
"type": "((d: Date) => boolean) | null"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"name": "size",
|
|
2186
|
+
"description": "Size of the input and calendar visuals.",
|
|
2187
|
+
"type": "'lg' | 'md' | 'sm'"
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
"name": "alignment",
|
|
2191
|
+
"description": "Horizontal alignment of the flyout relative to the input.",
|
|
2192
|
+
"type": "'left' | 'right'"
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"name": "label",
|
|
2196
|
+
"description": "Text label for the input. Can be overridden with slot=\"label\".",
|
|
2197
|
+
"type": "string"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"name": "helpText",
|
|
2201
|
+
"description": "Help text shown below the input. Can be overridden with slot=\"help-text\".",
|
|
2202
|
+
"type": "string"
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"name": "disabled",
|
|
2206
|
+
"description": "Disables the control entirely when true.",
|
|
2207
|
+
"type": "boolean"
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"name": "visuallyDisabled",
|
|
2211
|
+
"description": "Makes the control non-interactive visually (like disabled) without disabling it functionally.",
|
|
2212
|
+
"type": "boolean"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "styleOnValid",
|
|
2216
|
+
"description": "When true, applies success styling for valid selections.",
|
|
2217
|
+
"type": "boolean"
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "readonly",
|
|
2221
|
+
"description": "Makes the input read-only (non-editable) when true.",
|
|
2222
|
+
"type": "boolean"
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "placement",
|
|
2226
|
+
"description": "Preferred placement of the flyout relative to the input (top|bottom).",
|
|
2227
|
+
"type": "'top' | 'bottom'"
|
|
2228
|
+
},
|
|
2229
|
+
{ "name": "placeholder", "type": "string" },
|
|
2230
|
+
{
|
|
2231
|
+
"name": "name",
|
|
2232
|
+
"description": "The name of the datepicker, submitted as a name/value pair with form data.",
|
|
2233
|
+
"type": "string"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"name": "form",
|
|
2237
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form and associate it\nwith the form that has this `id`.",
|
|
2238
|
+
"type": "string"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"name": "hasFocus",
|
|
2242
|
+
"description": "True when the input or calendar has focus.",
|
|
2243
|
+
"type": "boolean"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"name": "showValidStyle",
|
|
2247
|
+
"description": "Whether to show the valid styling state.",
|
|
2248
|
+
"type": "boolean"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "showInvalidStyle",
|
|
2252
|
+
"description": "Whether to show the invalid styling state.",
|
|
2253
|
+
"type": "boolean"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "currentPlacement",
|
|
2257
|
+
"description": "Actual placement currently used by the flyout."
|
|
2258
|
+
},
|
|
2259
|
+
{ "name": "validity" },
|
|
2260
|
+
{ "name": "validationMessage" },
|
|
2261
|
+
{
|
|
2262
|
+
"name": "dir",
|
|
2263
|
+
"description": "The element's directionality.",
|
|
2264
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "lang",
|
|
2268
|
+
"description": "The element's language.",
|
|
2269
|
+
"type": "string"
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
"events": [
|
|
2273
|
+
{
|
|
2274
|
+
"name": "sd-change",
|
|
2275
|
+
"description": "Emitted when the date selection changes."
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"name": "sd-range-select",
|
|
2279
|
+
"description": "Emitted when the date range selection changes."
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "sd-select",
|
|
2283
|
+
"description": "Emitted when the date selection changes."
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"name": "sd-datepicker-close",
|
|
2287
|
+
"description": "Emitted when the datepicker is closed."
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "sd-focus",
|
|
2291
|
+
"description": "Emitted when the datepicker is focused."
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "sd-blur",
|
|
2295
|
+
"description": "Emitted when the datepicker is blurred."
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "sd-month-change",
|
|
2299
|
+
"description": "Emitted when the month is changed."
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "sd-month-year",
|
|
2303
|
+
"description": "Emitted when the year is changed."
|
|
2304
|
+
}
|
|
2305
|
+
]
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
1936
2308
|
{
|
|
1937
2309
|
"name": "sd-dialog",
|
|
1938
2310
|
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-button>` and `<sd-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk.HJGLYEWV.js";var t={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:e=>`Carousel has ${e} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",goToSlide:(e,a)=>`Go to slide ${e} of ${a}`,hidePassword:"Hide password",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numOptionsSelected:e=>e===0?"":`Options selected (${e})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:e=>`${e} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:e=>`${e} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:e=>`Slide ${e}`,startDateSelected:"Start date selected",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};o(t);var s=t;export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.
|
|
1
|
+
import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.H2WXPNXQ.js";import{b as c,e as d}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-16-0-animation")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.CHU57RUD.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as s,d as u,h as o}from"./chunk.
|
|
1
|
+
import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.CHU57RUD.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as s,d as u,h as o}from"./chunk.H2WXPNXQ.js";import{b as a,e as n}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r("inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"],this.standalone&&"flex items-start")}" href="${i(this.href||void 0)}" target="${i(this.target||void 0)}" download="${i(this.download)}" rel="${i(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...o.styles,a`::slotted(sd-5-16-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-5-16-0-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-5-16-0-icon){font-size:var(--sd-font-size-xl,1.5rem)}`],t([u("a")],e.prototype,"button",2),t([s({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([s({type:String,reflect:!0})],e.prototype,"href",2),t([s({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([s({type:String,reflect:!0})],e.prototype,"target",2),t([s({reflect:!0})],e.prototype,"download",2),e=t([h("sd-5-16-0-link")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.CHU57RUD.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as w}from"./chunk.L6MCOH7T.js";import{a as g,b as y,c as v,d as h,h as u}from"./chunk.H2WXPNXQ.js";import{b as m,e as d}from"./chunk.RZUTJ36B.js";import{a as p,e as l}from"./chunk.TJOCV4DC.js";var a=class extends u{constructor(){super(...arguments);this.localize=new w(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-5-16-0-tab"),customElements.whenDefined("sd-5-16-0-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(s=>{s.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),s.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var i;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((i=this.activeTab)!=null?i:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let s=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(s.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-5-16-0-tab"?e:e.querySelector("sd-5-16-0-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-5-16-0-tab":e.tagName.toLowerCase()==="sd-5-16-0-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-5-16-0-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-5-16-0-tab");(e==null?void 0:e.closest("sd-5-16-0-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-5-16-0-tab");if((e==null?void 0:e.closest("sd-5-16-0-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let i=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[i+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let i=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[i-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let i=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((i==null?void 0:i.tagName.toLowerCase())==="sd-5-16-0-tab"){let r=this.tabs.indexOf(i);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,s){if(s=p({emitEvents:!0,scrollBehavior:"auto"},s),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var i;return o.active=o.name===((i=this.activeTab)==null?void 0:i.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",s.scrollBehavior),s.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let s=this.panels.find(e=>e.name===t.panel);s&&t.setAttribute("aria-controls",s.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,s=this.indicator,e=this.tabsContainer;if(!t||!s||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=i.left+i.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-i.left;s.style.width=`${x}px`,s.style.transform=`translateX(${C}px)`}show(t){let s=this.tabs.find(e=>e.panel===t);s&&this.setActiveTab(s,{scrollBehavior:"smooth"})}render(){var s;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-5-16-0-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-16-0-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((s=this.activeTab)==null?void 0:s.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-5-16-0-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-16-0-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}::slotted(sd-5-16-0-tab-panel){--padding:1rem 0}::slotted(sd-5-16-0-tab-panel:focus-visible){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([y({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-5-16-0-tab-group")],a);export{a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk.CHU57RUD.js";import{a as o,b as l}from"./chunk.PVM2WKMA.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.
|
|
1
|
+
import{a as s}from"./chunk.CHU57RUD.js";import{a as o,b as l}from"./chunk.PVM2WKMA.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.L6MCOH7T.js";import{a as h,b as i,d as p,h as a}from"./chunk.H2WXPNXQ.js";import{b as m}from"./chunk.RZUTJ36B.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-16-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-16-0-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-5-16-0-tag")],e);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk.YEDQWNIV.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.
|
|
1
|
+
import{a}from"./chunk.YEDQWNIV.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.H2WXPNXQ.js";import{b as l,e as t}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white","border-white":"fill-transparent","border-primary":"fill-transparent",image:"fill-transparent"}[this.variant],"relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`:host{container-type:inline-size;display:block;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan)*var(--adjacent));--curve:calc((var(--opposite) - (var(--radius)/3))*0.5)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{border-radius:0 var(--radius);height:calc(100% - var(--curve)*2);left:var(--sd-spacing-0,0);margin-top:calc(var(--curve));position:absolute;top:var(--sd-spacing-0,0);transform:skewY(calc(var(--angle)*-1))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:calc(100% + var(--curve)*2)!important;-o-object-fit:cover;object-fit:cover;position:absolute!important;transform:translateY(calc(var(--curve)*-1)) skewY(var(--angle));width:100%}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{height:100%;margin-top:0;transform:unset}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:100%!important;transform:unset}}:host([variant=border-primary]){--internal-border-color:rgb(var(--sd-color-primary,0 53 142))}:host([variant=border-white]){--internal-border-color:var(--sd-color-white,#fff)}:host([variant^=border-]) [part=stylized-container]:before{border-color:var(--internal-border-color,#000);border-style:solid;border-width:2px;content:"";right:var(--sd-spacing-0,0)}`],i([v("[part=base]")],r.prototype,"containerElem",2),i([o({type:String,reflect:!0})],r.prototype,"variant",2),i([o({type:Array})],r.prototype,"shapes",2),i([d()],r.prototype,"componentBreakpoint",2),r=i([p("sd-5-16-0-brandshape")],r);export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as b}from"./chunk.L6MCOH7T.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as c,b as r,d as s,h as n}from"./chunk.H2WXPNXQ.js";import{b as d,e as o}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var v=0,t=class extends n{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-5-16-0-tab-${this.attrId}`;this.hasSlotController=new u(this,"left");this.localize=new b(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let i=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",i?"true":"false")}focus(i){this.tab.focus(i)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let i={left:this.hasSlotController.test("left")};return o`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"&&"tab-container-border bg-white rounded-[4px_4px_0_0]",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:bg-neutral-200",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(i.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?o`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-full")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b border-transparent group-hover:border-b-neutral-400 transition-[border] duration-fast ease-in-out")}"></div></div></div>`}};t.styles=[...n.styles,d`:host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){--tw-border-opacity:1;border-bottom-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity,1))}.tab-container-border:after{border-color:transparent;border-width:1px;--tw-content:""}.tab--active-container-border:after,.tab-container-border:after{content:var(--tw-content);height:100%;position:absolute;width:100%}.tab--active-container-border:after{border-width:1px;--tw-border-opacity:1;border-color:rgb(var(--sd-color-neutral-400,195 195 195)/var(--tw-border-opacity,1));transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:border;transition-timing-function:cubic-bezier(.4,0,.2,1);--tw-content:"";border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0;--tw-scale-y:0;opacity:var(--sd-opacity-0,0);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:var(--sd-duration-fast,.15s);transition:width 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([active]) [part=active-tab-indicator]{--tw-scale-x:1;--tw-scale-y:1;opacity:var(--sd-opacity-100,1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}`],e([s("[part=base]")],t.prototype,"tab",2),e([s("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([r({type:String,reflect:!0})],t.prototype,"variant",2),e([r({type:Boolean,reflect:!0})],t.prototype,"active",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([r({type:String,reflect:!0})],t.prototype,"panel",2),e([l("active")],t.prototype,"handleActiveChange",1),e([l(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-5-16-0-tab")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p,b as c,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.EJI65G6N.js";import{b as E}from"./chunk.NRBNWX7R.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as b}from"./chunk.CHU57RUD.js";import{a as m}from"./chunk.YEDQWNIV.js";import{a as w}from"./chunk.Y7NVH75J.js";import{a as C,b as h,d as f,e as D,h as T}from"./chunk.TJ7ZA5LO.js";import{b as I,e as v}from"./chunk.RZUTJ36B.js";import{e as n}from"./chunk.TJOCV4DC.js";var l=class extends T{constructor(){super();this.formControlController=new E(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.noTooltip=!1;this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(e){this._value=e?e.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(e){let t=this._value;this._value=Array.isArray(e)?e.slice().sort(p):e||[],c(t,this._value)&&this.requestUpdate("value",t.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value)}willUpdate(e){super.willUpdate(e),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let t=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});c(this._value,t)&&(this._value=t)}updated(e){super.updated(e);for(let t of this.thumbs){let i=+t.dataset.rangeId;this._rangeValues.has(i)&&this.moveThumb(t,this._rangeValues.get(i))}this.updateActiveTrack()}focus(e){let t=this.thumbs.item(0);t?t.focus(e):super.focus(e)}get validity(){return this.input.validity}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}updateTooltip(e){let t=+e.dataset.rangeId;if(!this._rangeValues.has(t))return;let i=this._rangeValues.get(t),a=e.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:e}=this;if(!e)return;if(this.min===this.max){e.style.insetInlineStart="0%",e.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",o=100*(this._value[0]-this.min)/(this.max-this.min);e.style.insetInlineStart=`min(${s}, ${o}%)`,e.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${o}%))`;return}let t=this._value.slice().sort(p),i=100*(t[0]-this.min)/(this.max-this.min),a=100*(t[t.length-1]-this.min)/(this.max-this.min);e.style.insetInlineStart=`${i}%`,e.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(e,t){e.setAttribute("aria-valuenow",t.toString()),e.setAttribute("aria-valuetext",this.tooltipFormatter(t));let i=(t-this.min)/(this.max-this.min);e.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(e)}movementBoundariesForThumb(e,t){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(e),o=i[s-1]||this.min,r=i[s+1]||this.max,u=t<o||t>r;return{finalValue:Math.max(o,Math.min(r,t)),isRestricted:u,nextValue:r,prevValue:o}}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}onClickTrack(e,t=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=e,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),o=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/o),u=a.reduce((g,x)=>{let V=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),$=Math.abs(V-r),k=Math.abs(L-r);return $===k?V<r?x:g:$<k?x:g}),d=+u.dataset.rangeId;if(!d)return;this._rangeValues.set(d,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),c(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",e);t&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(e){this.onClickTrack(e,!1)}async onClickThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target;this.updateTooltip(t),t.dataset.pointerId&&t.releasePointerCapture(+t.dataset.pointerId),t.dataset.pointerId=e.pointerId.toString(),t.setPointerCapture(e.pointerId),t.classList.add("grabbed"),await t.parentElement.show()}onDragThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target,i=+t.dataset.rangeId;if(!this._rangeValues.has(i)||(t.dataset.pointerId?+t.dataset.pointerId:null)!==e.pointerId)return;let s=_(this.inputWrapper,e.clientX),o=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/o);if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:r}}).defaultPrevented)return;let d=this.movementBoundariesForThumb(t,r);d.isRestricted?(r=d.finalValue,t.style.zIndex=(3+this.thumbs.length).toFixed(0)):t.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(t,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),c(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(e){let t=e.target;!t.dataset.pointerId||e.pointerId!==+t.dataset.pointerId||(t.classList.remove("grabbed"),t.releasePointerCapture(e.pointerId),delete t.dataset.pointerId,c(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),await t.parentElement.hide())}onKeyPress(e){let t=e.target,i=+t.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(e.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(t,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(t,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(t),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}e.preventDefault()}onBlur(e){var t;e.relatedTarget&&((t=this.shadowRoot)!=null&&t.contains(e.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(e){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let t=e.target;(i=t==null?void 0:t.dataset)!=null&&i.rangeId&&this.updateTooltip(t)}renderThumbs(e){let t=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let o=`thumb-${s}`,r="",u="";return t?(u=e?`label aria-label-hidden ${o}`:`aria-label-hidden ${o}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=e?"label aria-label-hidden":"",v`<sd-5-15-13-tooltip hoist trigger="focus" disabled="${b(this.disabled||this.visuallyDisabled||this.noTooltip?!0:void 0)}"><div id="${o}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${b(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${m("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"bg-neutral-500 outline-none":"bg-primary hover:bg-primary-500 cursor-pointer focus-visible:focus-outline")}"></div></sd-5-15-13-tooltip>`})}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},t=!!(this.label||e.label),i=!!(this.helpText||e.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${t?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${t?"false":"true"}" class="${m("w-full",t?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${m("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${b(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" class="${m("h-1 my-[6px]",this.disabled||this.visuallyDisabled?"bg-neutral-500":"bg-neutral-400")}"></div><div part="active-track" hidden="${b(this.noTrackBar?!0:void 0)}" class="${m("absolute top-0 h-1",this.disabled||this.visuallyDisabled?"bg-neutral-500":"bg-primary")}"></div></div>${this.renderThumbs(t)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${m("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,I`[part=base]{touch-action:none;-webkit-touch-callout:none}[part=thumb].grabbed{--tw-bg-opacity:1!important;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity,1))!important}`],n([f("#input")],l.prototype,"input",2),n([f('[part="active-track"]')],l.prototype,"activeTrack",2),n([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),n([D('[part="thumb"]')],l.prototype,"thumbs",2),n([h({attribute:!1})],l.prototype,"tooltipFormatter",2),n([h({type:String,reflect:!0})],l.prototype,"name",2),n([h({type:String,reflect:!0})],l.prototype,"label",2),n([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),n([h({type:Number,reflect:!0})],l.prototype,"min",2),n([h({type:Number,reflect:!0})],l.prototype,"max",2),n([h({type:Number,reflect:!0})],l.prototype,"step",2),n([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),n([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),n([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),n([h({attribute:"no-tooltip",type:Boolean,reflect:!0})],l.prototype,"noTooltip",2),n([A()],l.prototype,"defaultValue",2),n([h({type:String})],l.prototype,"value",1),l=n([C("sd-5-15-13-range")],l);export{l as a};
|
|
1
|
+
import{a as p,b as c,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.EJI65G6N.js";import{b as E}from"./chunk.NRBNWX7R.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as b}from"./chunk.CHU57RUD.js";import{a as m}from"./chunk.YEDQWNIV.js";import{a as w}from"./chunk.L6MCOH7T.js";import{a as C,b as h,d as f,e as D,h as T}from"./chunk.H2WXPNXQ.js";import{b as I,e as v}from"./chunk.RZUTJ36B.js";import{e as n}from"./chunk.TJOCV4DC.js";var l=class extends T{constructor(){super();this.formControlController=new E(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.noTooltip=!1;this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(e){this._value=e?e.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(e){let t=this._value;this._value=Array.isArray(e)?e.slice().sort(p):e||[],c(t,this._value)&&this.requestUpdate("value",t.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value)}willUpdate(e){super.willUpdate(e),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let t=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});c(this._value,t)&&(this._value=t)}updated(e){super.updated(e);for(let t of this.thumbs){let i=+t.dataset.rangeId;this._rangeValues.has(i)&&this.moveThumb(t,this._rangeValues.get(i))}this.updateActiveTrack()}focus(e){let t=this.thumbs.item(0);t?t.focus(e):super.focus(e)}get validity(){return this.input.validity}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}updateTooltip(e){let t=+e.dataset.rangeId;if(!this._rangeValues.has(t))return;let i=this._rangeValues.get(t),a=e.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:e}=this;if(!e)return;if(this.min===this.max){e.style.insetInlineStart="0%",e.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",o=100*(this._value[0]-this.min)/(this.max-this.min);e.style.insetInlineStart=`min(${s}, ${o}%)`,e.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${o}%))`;return}let t=this._value.slice().sort(p),i=100*(t[0]-this.min)/(this.max-this.min),a=100*(t[t.length-1]-this.min)/(this.max-this.min);e.style.insetInlineStart=`${i}%`,e.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(e,t){e.setAttribute("aria-valuenow",t.toString()),e.setAttribute("aria-valuetext",this.tooltipFormatter(t));let i=(t-this.min)/(this.max-this.min);e.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(e)}movementBoundariesForThumb(e,t){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(e),o=i[s-1]||this.min,r=i[s+1]||this.max,u=t<o||t>r;return{finalValue:Math.max(o,Math.min(r,t)),isRestricted:u,nextValue:r,prevValue:o}}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}onClickTrack(e,t=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=e,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),o=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/o),u=a.reduce((g,x)=>{let V=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),$=Math.abs(V-r),k=Math.abs(L-r);return $===k?V<r?x:g:$<k?x:g}),d=+u.dataset.rangeId;if(!d)return;this._rangeValues.set(d,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),c(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",e);t&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(e){this.onClickTrack(e,!1)}async onClickThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target;this.updateTooltip(t),t.dataset.pointerId&&t.releasePointerCapture(+t.dataset.pointerId),t.dataset.pointerId=e.pointerId.toString(),t.setPointerCapture(e.pointerId),t.classList.add("grabbed"),await t.parentElement.show()}onDragThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target,i=+t.dataset.rangeId;if(!this._rangeValues.has(i)||(t.dataset.pointerId?+t.dataset.pointerId:null)!==e.pointerId)return;let s=_(this.inputWrapper,e.clientX),o=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/o);if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:r}}).defaultPrevented)return;let d=this.movementBoundariesForThumb(t,r);d.isRestricted?(r=d.finalValue,t.style.zIndex=(3+this.thumbs.length).toFixed(0)):t.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(t,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),c(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(e){let t=e.target;!t.dataset.pointerId||e.pointerId!==+t.dataset.pointerId||(t.classList.remove("grabbed"),t.releasePointerCapture(e.pointerId),delete t.dataset.pointerId,c(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),await t.parentElement.hide())}onKeyPress(e){let t=e.target,i=+t.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(e.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(t,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(t,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(t),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}e.preventDefault()}onBlur(e){var t;e.relatedTarget&&((t=this.shadowRoot)!=null&&t.contains(e.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(e){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let t=e.target;(i=t==null?void 0:t.dataset)!=null&&i.rangeId&&this.updateTooltip(t)}renderThumbs(e){let t=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let o=`thumb-${s}`,r="",u="";return t?(u=e?`label aria-label-hidden ${o}`:`aria-label-hidden ${o}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=e?"label aria-label-hidden":"",v`<sd-5-16-0-tooltip hoist trigger="focus" disabled="${b(this.disabled||this.visuallyDisabled||this.noTooltip?!0:void 0)}"><div id="${o}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${b(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${m("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"bg-neutral-500 outline-none":"bg-primary hover:bg-primary-500 cursor-pointer focus-visible:focus-outline")}"></div></sd-5-16-0-tooltip>`})}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},t=!!(this.label||e.label),i=!!(this.helpText||e.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${t?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${t?"false":"true"}" class="${m("w-full",t?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${m("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${b(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" class="${m("h-1 my-[6px]",this.disabled||this.visuallyDisabled?"bg-neutral-500":"bg-neutral-400")}"></div><div part="active-track" hidden="${b(this.noTrackBar?!0:void 0)}" class="${m("absolute top-0 h-1",this.disabled||this.visuallyDisabled?"bg-neutral-500":"bg-primary")}"></div></div>${this.renderThumbs(t)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${m("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,I`[part=base]{touch-action:none;-webkit-touch-callout:none}[part=thumb].grabbed{--tw-bg-opacity:1!important;background-color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-bg-opacity,1))!important}`],n([f("#input")],l.prototype,"input",2),n([f('[part="active-track"]')],l.prototype,"activeTrack",2),n([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),n([D('[part="thumb"]')],l.prototype,"thumbs",2),n([h({attribute:!1})],l.prototype,"tooltipFormatter",2),n([h({type:String,reflect:!0})],l.prototype,"name",2),n([h({type:String,reflect:!0})],l.prototype,"label",2),n([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),n([h({type:Number,reflect:!0})],l.prototype,"min",2),n([h({type:Number,reflect:!0})],l.prototype,"max",2),n([h({type:Number,reflect:!0})],l.prototype,"step",2),n([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),n([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),n([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),n([h({attribute:"no-tooltip",type:Boolean,reflect:!0})],l.prototype,"noTooltip",2),n([A()],l.prototype,"defaultValue",2),n([h({type:String})],l.prototype,"value",1),l=n([C("sd-5-16-0-range")],l);export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,h as e}from"./chunk.
|
|
1
|
+
import{a as r,h as e}from"./chunk.H2WXPNXQ.js";import{b as l,e as o}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`],t=i([r("sd-5-16-0-carousel-item")],t);export{t as a};
|