@solid-design-system/components 5.16.2-next.1 → 5.17.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.23JJBCLW.js +1 -0
- package/cdn/chunks/chunk.2D3B6W4C.js +1 -0
- package/cdn/chunks/{chunk.5G7ZOEWT.js → chunk.2RPN4LHN.js} +3 -4
- package/cdn/chunks/{chunk.MWU6TZ4N.js → chunk.2YMJV2KL.js} +1 -2
- package/cdn/chunks/chunk.3PTWVC7K.js +11 -0
- package/cdn/chunks/chunk.4HEDUSC5.js +1 -0
- package/cdn/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
- package/cdn/chunks/chunk.4THKQ4PC.js +1 -0
- package/cdn/chunks/{chunk.YL7YHMIF.js → chunk.4USO2EJG.js} +2 -3
- package/{cdn-versioned/chunks/chunk.IQUVFHYA.js → cdn/chunks/chunk.5GPPZUNF.js} +1 -2
- package/cdn/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
- package/cdn/chunks/{chunk.KL3CEU6E.js → chunk.6QNQMWSQ.js} +2 -3
- package/cdn/chunks/{chunk.XHDZVSCR.js → chunk.6XOV6LQS.js} +1 -2
- package/{cdn-versioned/chunks/chunk.RJVGGY3Q.js → cdn/chunks/chunk.72JQHJ3G.js} +1 -2
- package/cdn/chunks/chunk.75UMJKQC.js +1 -0
- package/cdn/chunks/chunk.7FMD6ZWC.js +1 -0
- package/cdn/chunks/chunk.7NHEEBDB.js +1 -0
- package/cdn/chunks/{chunk.6Q6FRPBQ.js → chunk.7SJXKLVN.js} +1 -2
- package/{cdn-versioned/chunks/chunk.HO5NN73W.js → cdn/chunks/chunk.ADTHFKFC.js} +1 -2
- package/cdn/chunks/chunk.AKJ7U3Y3.js +1 -0
- package/{cdn-versioned/chunks/chunk.MP6XEXRW.js → cdn/chunks/chunk.BOIDC3L5.js} +1 -1
- package/cdn/chunks/chunk.BV42CEWL.js +1 -0
- package/cdn/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
- package/cdn/chunks/chunk.CARQ25VA.js +1 -0
- package/cdn/chunks/chunk.CEVVDV52.js +1 -0
- package/{cdn-versioned/chunks/chunk.PV6UYBMY.js → cdn/chunks/chunk.CHU57RUD.js} +1 -1
- package/cdn/chunks/{chunk.HWXFA3JT.js → chunk.CTOV3B4T.js} +1 -2
- package/cdn/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
- package/cdn/chunks/chunk.EIGW4PKE.js +1 -0
- package/cdn/chunks/chunk.EIRHQEOO.js +1 -0
- package/cdn/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
- package/cdn/chunks/chunk.FYOUHXBZ.js +1 -0
- package/cdn/chunks/chunk.H3W4J4F4.js +1 -0
- package/cdn/chunks/chunk.H7I6O5HE.js +1 -0
- package/cdn/chunks/{chunk.CDP46OS4.js → chunk.HJ4O4XQA.js} +1 -1
- package/cdn/chunks/chunk.HXUQZXCZ.js +1 -0
- package/cdn/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
- package/cdn/chunks/{chunk.EIG3V7LV.js → chunk.KVJJEMOI.js} +1 -2
- package/cdn/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
- package/{cdn-versioned/chunks/chunk.VYBQ3X2B.js → cdn/chunks/chunk.LIO6LMTQ.js} +1 -1
- package/cdn/chunks/{chunk.Q36WGVZ7.js → chunk.LLJ2OCGM.js} +4 -5
- package/cdn/chunks/chunk.LXHLWQH7.js +1 -0
- package/cdn/chunks/chunk.M6XINJ52.js +25 -0
- package/cdn/chunks/chunk.MGCXOSRH.js +1 -0
- package/cdn/chunks/chunk.MHPHKNZ5.js +83 -0
- package/cdn/chunks/chunk.MMM4IMJD.js +1 -0
- package/cdn/chunks/chunk.N4RSYGAV.js +1 -0
- package/cdn/chunks/{chunk.JS2HQ2N4.js → chunk.NRBNWX7R.js} +1 -1
- package/cdn/chunks/{chunk.AZC2MB6N.js → chunk.NTP4LLF3.js} +1 -2
- package/cdn/chunks/chunk.NZFGKV2I.js +1 -0
- package/cdn/chunks/chunk.OCIA2UJP.js +1 -0
- package/cdn/chunks/chunk.OIOXSZHI.js +1 -0
- package/cdn/chunks/{chunk.CINQCAVV.js → chunk.OPMX2Q3A.js} +1 -2
- package/cdn/chunks/chunk.OQSPWMNR.js +1 -0
- package/cdn/chunks/chunk.PCAKJGIV.js +1 -0
- package/{cdn-versioned/chunks/chunk.BTMWUMPI.js → cdn/chunks/chunk.PIAYQI7K.js} +1 -2
- package/{cdn-versioned/chunks/chunk.PJ7JCMQF.js → cdn/chunks/chunk.PVM2WKMA.js} +1 -1
- package/{cdn-versioned/chunks/chunk.66LOVPZM.js → cdn/chunks/chunk.QJAN6R4E.js} +1 -2
- package/cdn/chunks/chunk.QJFZKBPG.js +1 -0
- package/cdn/chunks/chunk.QJVPLDR4.js +1 -0
- package/cdn/chunks/chunk.RCMXIAQV.js +10 -0
- package/cdn/chunks/{chunk.UVDP4CO5.js → chunk.RIOXBQBC.js} +1 -2
- package/cdn/chunks/chunk.ROIKKEJQ.js +1 -0
- package/{cdn-versioned/chunks/chunk.763RLJEK.js → cdn/chunks/chunk.RZUTJ36B.js} +2 -2
- package/cdn/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
- package/cdn/chunks/chunk.SQ7OLI7Q.js +1 -0
- package/cdn/chunks/chunk.TDRPE2QQ.js +1 -0
- package/{cdn-versioned/chunks/chunk.P3QDLITO.js → cdn/chunks/chunk.TFKNNQ5S.js} +1 -2
- package/cdn/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn/chunks/chunk.TTG6Y6QJ.js +1 -0
- package/cdn/chunks/chunk.W2JKI6K3.js +1 -0
- package/cdn/chunks/chunk.XAIFQKHV.js +1 -0
- package/{cdn-versioned/chunks/chunk.D4E5ZIRW.js → cdn/chunks/chunk.XR2KNB36.js} +1 -1
- package/cdn/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
- package/cdn/chunks/chunk.YMTUR575.js +1 -0
- package/cdn/chunks/chunk.YVU7BES7.js +3 -0
- package/{cdn-versioned/chunks/chunk.E7DVDO4P.js → cdn/chunks/chunk.Z4V7WPTW.js} +1 -4
- package/cdn/chunks/chunk.ZENM3WVO.js +1 -0
- package/cdn/chunks/chunk.ZKBX734R.js +1 -0
- package/cdn/chunks/chunk.ZZAPDP7V.js +1 -0
- 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/animation/animations.js +1 -1
- package/cdn/components/audio/audio.d.ts +0 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/audio/base64Audio.js +1 -1
- package/cdn/components/audio/wave.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/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel/fade-controller.js +1 -1
- package/cdn/components/carousel/scroll-controller.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/combobox/option-renderer.js +1 -1
- package/cdn/components/combobox/utils.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +2 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- 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.d.ts +0 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.d.ts +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +0 -2
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.status.js +1 -1
- package/cdn/components/icon/request.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/include/request.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/menu-item/submenu-controller.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/utils.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/skeleton/skeleton.d.ts +11 -0
- package/cdn/components/skeleton/skeleton.js +1 -0
- 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 +183 -452
- package/cdn/internal/longpress.d.ts +1 -1
- package/cdn/internal/solid-element.d.ts +0 -5
- package/cdn/internal/solid-element.js +11 -61
- package/cdn/solid-components.bundle.js +61 -192
- package/cdn/solid-components.css +32 -118
- package/cdn/solid-components.d.ts +1 -1
- package/cdn/solid-components.iife.js +61 -192
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/animation-registry.js +1 -1
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/form.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +44 -39
- package/cdn/web-types.json +71 -62
- package/cdn-versioned/chunks/chunk.23JJBCLW.js +1 -0
- package/cdn-versioned/chunks/chunk.2D3B6W4C.js +1 -0
- package/cdn-versioned/chunks/chunk.2RPN4LHN.js +11 -0
- package/cdn-versioned/chunks/chunk.2YMJV2KL.js +1 -0
- package/cdn-versioned/chunks/chunk.3PTWVC7K.js +11 -0
- package/cdn-versioned/chunks/chunk.4HEDUSC5.js +1 -0
- package/cdn-versioned/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.4THKQ4PC.js +1 -0
- package/cdn-versioned/chunks/chunk.4USO2EJG.js +3 -0
- package/{cdn/chunks/chunk.IQUVFHYA.js → cdn-versioned/chunks/chunk.5GPPZUNF.js} +1 -2
- package/cdn-versioned/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
- package/cdn-versioned/chunks/chunk.6QNQMWSQ.js +4 -0
- package/cdn-versioned/chunks/chunk.6XOV6LQS.js +1 -0
- package/{cdn/chunks/chunk.RJVGGY3Q.js → cdn-versioned/chunks/chunk.72JQHJ3G.js} +1 -2
- package/cdn-versioned/chunks/chunk.75UMJKQC.js +1 -0
- package/cdn-versioned/chunks/chunk.7FMD6ZWC.js +1 -0
- package/cdn-versioned/chunks/chunk.7NHEEBDB.js +1 -0
- package/cdn-versioned/chunks/chunk.7SJXKLVN.js +1 -0
- package/{cdn/chunks/chunk.HO5NN73W.js → cdn-versioned/chunks/chunk.ADTHFKFC.js} +1 -2
- package/cdn-versioned/chunks/chunk.AKJ7U3Y3.js +1 -0
- package/{cdn/chunks/chunk.MP6XEXRW.js → cdn-versioned/chunks/chunk.BOIDC3L5.js} +1 -1
- package/cdn-versioned/chunks/chunk.BV42CEWL.js +1 -0
- package/cdn-versioned/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
- package/cdn-versioned/chunks/chunk.CARQ25VA.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -0
- package/{cdn/chunks/chunk.PV6UYBMY.js → cdn-versioned/chunks/chunk.CHU57RUD.js} +1 -1
- package/cdn-versioned/chunks/chunk.CTOV3B4T.js +1 -0
- package/cdn-versioned/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
- package/cdn-versioned/chunks/chunk.EIGW4PKE.js +1 -0
- package/cdn-versioned/chunks/chunk.EIRHQEOO.js +1 -0
- package/cdn-versioned/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
- package/cdn-versioned/chunks/chunk.FYOUHXBZ.js +1 -0
- package/cdn-versioned/chunks/chunk.H3W4J4F4.js +1 -0
- package/cdn-versioned/chunks/chunk.H7I6O5HE.js +1 -0
- package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +10 -0
- package/cdn-versioned/chunks/chunk.HXUQZXCZ.js +1 -0
- package/cdn-versioned/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.KVJJEMOI.js +1 -0
- package/cdn-versioned/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
- package/{cdn/chunks/chunk.VYBQ3X2B.js → cdn-versioned/chunks/chunk.LIO6LMTQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.LLJ2OCGM.js +11 -0
- package/cdn-versioned/chunks/chunk.LXHLWQH7.js +1 -0
- package/cdn-versioned/chunks/chunk.M6XINJ52.js +25 -0
- package/cdn-versioned/chunks/chunk.MGCXOSRH.js +1 -0
- package/cdn-versioned/chunks/chunk.MHPHKNZ5.js +83 -0
- package/cdn-versioned/chunks/chunk.MMM4IMJD.js +1 -0
- package/cdn-versioned/chunks/chunk.N4RSYGAV.js +1 -0
- package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -0
- package/cdn-versioned/chunks/chunk.NTP4LLF3.js +11 -0
- package/cdn-versioned/chunks/chunk.NZFGKV2I.js +1 -0
- package/cdn-versioned/chunks/chunk.OCIA2UJP.js +1 -0
- package/cdn-versioned/chunks/chunk.OIOXSZHI.js +1 -0
- package/cdn-versioned/chunks/chunk.OPMX2Q3A.js +1 -0
- package/cdn-versioned/chunks/chunk.OQSPWMNR.js +1 -0
- package/cdn-versioned/chunks/chunk.PCAKJGIV.js +1 -0
- package/{cdn/chunks/chunk.BTMWUMPI.js → cdn-versioned/chunks/chunk.PIAYQI7K.js} +1 -2
- package/{cdn/chunks/chunk.PJ7JCMQF.js → cdn-versioned/chunks/chunk.PVM2WKMA.js} +1 -1
- package/{cdn/chunks/chunk.66LOVPZM.js → cdn-versioned/chunks/chunk.QJAN6R4E.js} +1 -2
- package/cdn-versioned/chunks/chunk.QJFZKBPG.js +1 -0
- package/cdn-versioned/chunks/chunk.QJVPLDR4.js +1 -0
- package/cdn-versioned/chunks/chunk.RCMXIAQV.js +10 -0
- package/cdn-versioned/chunks/chunk.RIOXBQBC.js +1 -0
- package/cdn-versioned/chunks/chunk.ROIKKEJQ.js +1 -0
- package/{cdn/chunks/chunk.763RLJEK.js → cdn-versioned/chunks/chunk.RZUTJ36B.js} +2 -2
- package/cdn-versioned/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
- package/cdn-versioned/chunks/chunk.SQ7OLI7Q.js +1 -0
- package/cdn-versioned/chunks/chunk.TDRPE2QQ.js +1 -0
- package/{cdn/chunks/chunk.P3QDLITO.js → cdn-versioned/chunks/chunk.TFKNNQ5S.js} +1 -2
- package/cdn-versioned/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn-versioned/chunks/chunk.TTG6Y6QJ.js +1 -0
- package/cdn-versioned/chunks/chunk.W2JKI6K3.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XAIFQKHV.js +1 -0
- package/{cdn/chunks/chunk.D4E5ZIRW.js → cdn-versioned/chunks/chunk.XR2KNB36.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
- package/cdn-versioned/chunks/chunk.YMTUR575.js +1 -0
- package/cdn-versioned/chunks/chunk.YVU7BES7.js +3 -0
- package/{cdn/chunks/chunk.E7DVDO4P.js → cdn-versioned/chunks/chunk.Z4V7WPTW.js} +1 -4
- package/cdn-versioned/chunks/chunk.ZENM3WVO.js +1 -0
- package/cdn-versioned/chunks/chunk.ZKBX734R.js +1 -0
- package/cdn-versioned/chunks/chunk.ZZAPDP7V.js +1 -0
- 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/animation/animations.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -2
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/audio/base64Audio.js +1 -1
- package/cdn-versioned/components/audio/wave.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/autoplay-controller.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/fade-controller.js +1 -1
- package/cdn-versioned/components/carousel/scroll-controller.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/combobox/option-renderer.js +1 -1
- package/cdn-versioned/components/combobox/utils.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +3 -2
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/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 -2
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.d.ts +1 -1
- package/cdn-versioned/components/icon/library.default.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +0 -2
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.status.js +1 -1
- package/cdn-versioned/components/icon/request.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/include/request.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/menu-item/submenu-controller.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/utils.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/skeleton/skeleton.d.ts +11 -0
- package/cdn-versioned/components/skeleton/skeleton.js +1 -0
- 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 +428 -697
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/internal/longpress.d.ts +1 -1
- package/cdn-versioned/internal/solid-element.d.ts +0 -5
- package/cdn-versioned/internal/solid-element.js +11 -61
- package/cdn-versioned/solid-components.bundle.js +61 -192
- package/cdn-versioned/solid-components.css +32 -118
- package/cdn-versioned/solid-components.d.ts +1 -1
- package/cdn-versioned/solid-components.iife.js +61 -192
- 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/animation-registry.js +1 -1
- package/cdn-versioned/utilities/animation.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/base-path.js +1 -1
- package/cdn-versioned/utilities/date.js +1 -1
- package/cdn-versioned/utilities/form.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +129 -124
- package/cdn-versioned/web-types.json +224 -215
- package/dist/chunks/{chunk.QJ2PELD5.js → chunk.22DM7THN.js} +2 -3
- package/dist/chunks/{chunk.2ER4MXZC.js → chunk.246LUIGB.js} +4 -5
- package/dist/chunks/{chunk.NCZBBZOR.js → chunk.2EN4CJ2E.js} +2 -3
- package/dist/chunks/{chunk.ZBAABZKL.js → chunk.3CUXBZXY.js} +2 -3
- package/dist/chunks/{chunk.NKPJM2WV.js → chunk.3FCBHDPH.js} +51 -23
- package/dist/chunks/{chunk.YBIM4TC7.js → chunk.4D5SPJ27.js} +2 -3
- package/dist/chunks/{chunk.QHUH3UZT.js → chunk.4VSYGWIQ.js} +2 -7
- package/dist/chunks/{chunk.WTFF4KWO.js → chunk.5L52M55A.js} +5 -6
- package/dist/chunks/{chunk.VN6V46I7.js → chunk.63D5DO3S.js} +4 -5
- package/dist/chunks/{chunk.AAY5JRCW.js → chunk.6DKXZWRN.js} +1 -2
- package/dist/chunks/{chunk.WSRHW32L.js → chunk.6KCL3YWT.js} +2 -3
- package/dist/chunks/{chunk.ANYT6TR4.js → chunk.6OGLZOU3.js} +4 -8
- package/{dist-versioned/chunks/chunk.KPAQRMCC.js → dist/chunks/chunk.7VPFFNHR.js} +2 -2
- package/dist/chunks/{chunk.ZXOKRAZP.js → chunk.A5GKQZGQ.js} +5 -8
- package/dist/chunks/{chunk.ZRJRFFVA.js → chunk.AAK5STGD.js} +3 -4
- package/dist/chunks/{chunk.RIWKWSAL.js → chunk.ATKLZZWE.js} +5 -6
- package/dist/chunks/{chunk.DJ3WYVWV.js → chunk.AUMWRORX.js} +8 -9
- package/dist/chunks/{chunk.SIUXYHUU.js → chunk.AWVURKQ3.js} +2 -3
- package/dist/chunks/{chunk.TIOVWVCD.js → chunk.AZ5YCFXX.js} +6 -6
- package/dist/chunks/{chunk.O6OCXI2L.js → chunk.DOGMVREV.js} +6 -7
- package/dist/chunks/{chunk.5WAWAUSM.js → chunk.E4O3LVAZ.js} +3 -4
- package/dist/chunks/{chunk.FMSAUZWF.js → chunk.FPIRMH7R.js} +2 -3
- package/dist/chunks/{chunk.WSXDUNN7.js → chunk.FWDG6KMC.js} +2 -3
- package/dist/chunks/{chunk.CR5C6OL5.js → chunk.HTEXYS4A.js} +5 -6
- package/dist/chunks/{chunk.5D7C4MXB.js → chunk.IKDVBWFR.js} +5 -6
- package/dist/chunks/{chunk.NK5K5MMW.js → chunk.J2MPIUT5.js} +2 -3
- package/dist/chunks/{chunk.PJOYWTXL.js → chunk.JUZY76ML.js} +2 -3
- package/dist/chunks/{chunk.RZGUWSF6.js → chunk.KHS7FSFX.js} +2 -3
- package/dist/chunks/{chunk.PF4UKMOY.js → chunk.KMU4KABG.js} +5 -6
- package/dist/chunks/{chunk.4CD5TTGT.js → chunk.MCUIYSD6.js} +5 -6
- package/dist/chunks/{chunk.N5XK43AK.js → chunk.NBHVDDUK.js} +18 -25
- package/dist/chunks/chunk.NYOWE72U.js +72 -0
- package/dist/chunks/{chunk.SZDLCBRQ.js → chunk.OH3W4PGL.js} +5 -6
- package/dist/chunks/{chunk.FPMNMEXR.js → chunk.OWYDTY46.js} +2 -3
- package/dist/chunks/{chunk.7XXRAMBH.js → chunk.P2JBJQH6.js} +13 -6
- package/dist/chunks/{chunk.5H7CWETG.js → chunk.PKG3F2KC.js} +4 -11
- package/dist/chunks/{chunk.E7L2RBML.js → chunk.Q4HWX7FF.js} +5 -11
- package/dist/chunks/chunk.QP27BG3Y.js +41 -0
- package/dist/chunks/{chunk.UIXXR3N5.js → chunk.QPBHKXL6.js} +2 -3
- package/dist/chunks/{chunk.662O4CMZ.js → chunk.QPBJEOPN.js} +3 -4
- package/dist/chunks/chunk.QSQRQKYT.js +129 -0
- package/dist/chunks/{chunk.3BVNSUFD.js → chunk.QTQEKSJS.js} +2 -3
- package/dist/chunks/{chunk.HB45IF2T.js → chunk.QVNC3EJB.js} +2 -3
- package/dist/chunks/chunk.RZLBIMEH.js +82 -0
- package/dist/chunks/{chunk.BFDY2E6R.js → chunk.S253T7LE.js} +2 -3
- package/dist/chunks/{chunk.AEFLWSEK.js → chunk.SJZCQ5SU.js} +3 -4
- package/dist/chunks/{chunk.OBQTYYBW.js → chunk.TD5EDBVC.js} +4 -5
- package/dist/chunks/{chunk.7RSL7EOY.js → chunk.TMJN75ST.js} +2 -3
- package/dist/chunks/{chunk.U7ASTWXS.js → chunk.U5L4ZATG.js} +2 -3
- package/dist/chunks/{chunk.MFE2NCVX.js → chunk.URTB3C7J.js} +3 -4
- package/dist/chunks/{chunk.GYXMDYGY.js → chunk.UVOGBJGP.js} +2 -2
- package/dist/chunks/{chunk.5ZRRM6UH.js → chunk.VDSIXERI.js} +2 -3
- package/dist/chunks/{chunk.XNEWFPWE.js → chunk.VUTMPKYK.js} +8 -6
- package/dist/chunks/{chunk.F4A7G427.js → chunk.W6RMEFFR.js} +5 -6
- package/dist/chunks/{chunk.A3YMYTLW.js → chunk.WRP3NGPP.js} +2 -3
- package/dist/chunks/{chunk.CT4BIUEI.js → chunk.WTG2WY6X.js} +11 -14
- package/dist/chunks/{chunk.DFQ2QJI5.js → chunk.WUB4VSXU.js} +2 -3
- package/dist/chunks/{chunk.M5EPD6OZ.js → chunk.XRKSJCLQ.js} +3 -4
- package/dist/chunks/{chunk.TXNCIVE5.js → chunk.YBAAPYHP.js} +3 -4
- package/dist/chunks/{chunk.4FY6QRJ7.js → chunk.YGHO5R3O.js} +2 -3
- package/dist/chunks/{chunk.YLQNXR3G.js → chunk.ZAQS4XFO.js} +3 -4
- package/dist/chunks/{chunk.OK3VBJRJ.js → chunk.ZBDFCFOP.js} +3 -4
- package/dist/chunks/{chunk.MB47FVBP.js → chunk.ZUL25WD4.js} +2 -3
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/accordion-group/accordion-group.js +7 -7
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.d.ts +0 -1
- package/dist/components/audio/audio.js +9 -9
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +7 -7
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/combobox/combobox.js +8 -8
- package/dist/components/datepicker/datepicker.d.ts +2 -1
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/flipcard/flipcard.js +8 -8
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.d.ts +0 -1
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.d.ts +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.internal.d.ts +0 -2
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +6 -6
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +7 -7
- package/dist/components/notification/notification.js +8 -8
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +7 -7
- 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 +2 -2
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +6 -6
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.d.ts +11 -0
- package/dist/components/skeleton/skeleton.js +9 -0
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +6 -6
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.js +7 -7
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +183 -452
- package/dist/internal/longpress.d.ts +1 -1
- package/dist/internal/solid-element.d.ts +0 -5
- package/dist/internal/solid-element.js +11 -61
- package/dist/solid-components.css +32 -118
- package/dist/solid-components.d.ts +1 -1
- package/dist/solid-components.js +70 -70
- package/dist/utilities/autocomplete-config.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/vscode.html-custom-data.json +44 -39
- package/dist/web-types.json +71 -62
- package/dist-versioned/chunks/{chunk.QJ2PELD5.js → chunk.22DM7THN.js} +4 -5
- package/dist-versioned/chunks/{chunk.2ER4MXZC.js → chunk.246LUIGB.js} +5 -6
- package/dist-versioned/chunks/{chunk.NCZBBZOR.js → chunk.2EN4CJ2E.js} +3 -4
- package/dist-versioned/chunks/{chunk.ZBAABZKL.js → chunk.3CUXBZXY.js} +3 -4
- package/dist-versioned/chunks/{chunk.NKPJM2WV.js → chunk.3FCBHDPH.js} +55 -27
- package/dist-versioned/chunks/{chunk.YBIM4TC7.js → chunk.4D5SPJ27.js} +3 -4
- package/dist-versioned/chunks/{chunk.QHUH3UZT.js → chunk.4VSYGWIQ.js} +4 -9
- package/dist-versioned/chunks/{chunk.WTFF4KWO.js → chunk.5L52M55A.js} +7 -8
- package/dist-versioned/chunks/{chunk.VN6V46I7.js → chunk.63D5DO3S.js} +5 -6
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +69 -0
- package/dist-versioned/chunks/{chunk.WSRHW32L.js → chunk.6KCL3YWT.js} +4 -5
- package/dist-versioned/chunks/{chunk.ANYT6TR4.js → chunk.6OGLZOU3.js} +5 -9
- package/{dist/chunks/chunk.KPAQRMCC.js → dist-versioned/chunks/chunk.7VPFFNHR.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZXOKRAZP.js → chunk.A5GKQZGQ.js} +7 -10
- package/dist-versioned/chunks/{chunk.ZRJRFFVA.js → chunk.AAK5STGD.js} +4 -5
- package/dist-versioned/chunks/{chunk.RIWKWSAL.js → chunk.ATKLZZWE.js} +7 -8
- package/dist-versioned/chunks/{chunk.DJ3WYVWV.js → chunk.AUMWRORX.js} +14 -15
- package/dist-versioned/chunks/{chunk.SIUXYHUU.js → chunk.AWVURKQ3.js} +9 -10
- package/dist-versioned/chunks/{chunk.TIOVWVCD.js → chunk.AZ5YCFXX.js} +7 -7
- package/dist-versioned/chunks/{chunk.O6OCXI2L.js → chunk.DOGMVREV.js} +7 -8
- package/dist-versioned/chunks/{chunk.5WAWAUSM.js → chunk.E4O3LVAZ.js} +4 -5
- package/dist-versioned/chunks/{chunk.FMSAUZWF.js → chunk.FPIRMH7R.js} +6 -7
- package/dist-versioned/chunks/{chunk.WSXDUNN7.js → chunk.FWDG6KMC.js} +3 -4
- package/dist-versioned/chunks/{chunk.CR5C6OL5.js → chunk.HTEXYS4A.js} +30 -31
- package/dist-versioned/chunks/{chunk.5D7C4MXB.js → chunk.IKDVBWFR.js} +7 -8
- package/dist-versioned/chunks/{chunk.NK5K5MMW.js → chunk.J2MPIUT5.js} +3 -4
- package/dist-versioned/chunks/{chunk.PJOYWTXL.js → chunk.JUZY76ML.js} +3 -4
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.RZGUWSF6.js → chunk.KHS7FSFX.js} +6 -7
- package/dist-versioned/chunks/{chunk.PF4UKMOY.js → chunk.KMU4KABG.js} +7 -8
- package/dist-versioned/chunks/{chunk.4CD5TTGT.js → chunk.MCUIYSD6.js} +7 -8
- package/dist-versioned/chunks/{chunk.N5XK43AK.js → chunk.NBHVDDUK.js} +21 -28
- package/dist-versioned/chunks/chunk.NYOWE72U.js +72 -0
- package/dist-versioned/chunks/{chunk.SZDLCBRQ.js → chunk.OH3W4PGL.js} +28 -29
- package/dist-versioned/chunks/{chunk.FPMNMEXR.js → chunk.OWYDTY46.js} +3 -4
- package/dist-versioned/chunks/{chunk.7XXRAMBH.js → chunk.P2JBJQH6.js} +14 -7
- package/dist-versioned/chunks/{chunk.5H7CWETG.js → chunk.PKG3F2KC.js} +5 -12
- package/dist-versioned/chunks/{chunk.E7L2RBML.js → chunk.Q4HWX7FF.js} +10 -16
- package/dist-versioned/chunks/chunk.QP27BG3Y.js +41 -0
- package/dist-versioned/chunks/{chunk.UIXXR3N5.js → chunk.QPBHKXL6.js} +4 -5
- package/dist-versioned/chunks/{chunk.662O4CMZ.js → chunk.QPBJEOPN.js} +15 -16
- package/dist-versioned/chunks/chunk.QSQRQKYT.js +129 -0
- package/dist-versioned/chunks/{chunk.3BVNSUFD.js → chunk.QTQEKSJS.js} +3 -4
- package/dist-versioned/chunks/{chunk.HB45IF2T.js → chunk.QVNC3EJB.js} +3 -4
- package/dist-versioned/chunks/chunk.RZLBIMEH.js +82 -0
- package/dist-versioned/chunks/{chunk.BFDY2E6R.js → chunk.S253T7LE.js} +13 -14
- package/dist-versioned/chunks/{chunk.AEFLWSEK.js → chunk.SJZCQ5SU.js} +14 -15
- package/dist-versioned/chunks/{chunk.OBQTYYBW.js → chunk.TD5EDBVC.js} +6 -7
- package/dist-versioned/chunks/{chunk.7RSL7EOY.js → chunk.TMJN75ST.js} +7 -8
- package/dist-versioned/chunks/{chunk.U7ASTWXS.js → chunk.U5L4ZATG.js} +6 -7
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.MFE2NCVX.js → chunk.URTB3C7J.js} +5 -6
- package/dist-versioned/chunks/{chunk.GYXMDYGY.js → chunk.UVOGBJGP.js} +2 -2
- package/dist-versioned/chunks/{chunk.5ZRRM6UH.js → chunk.VDSIXERI.js} +4 -5
- package/dist-versioned/chunks/{chunk.XNEWFPWE.js → chunk.VUTMPKYK.js} +10 -8
- package/dist-versioned/chunks/{chunk.F4A7G427.js → chunk.W6RMEFFR.js} +7 -8
- package/dist-versioned/chunks/{chunk.A3YMYTLW.js → chunk.WRP3NGPP.js} +6 -7
- package/dist-versioned/chunks/{chunk.CT4BIUEI.js → chunk.WTG2WY6X.js} +14 -17
- package/dist-versioned/chunks/{chunk.DFQ2QJI5.js → chunk.WUB4VSXU.js} +4 -5
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/{chunk.M5EPD6OZ.js → chunk.XRKSJCLQ.js} +8 -9
- package/dist-versioned/chunks/{chunk.TXNCIVE5.js → chunk.YBAAPYHP.js} +15 -16
- package/dist-versioned/chunks/{chunk.4FY6QRJ7.js → chunk.YGHO5R3O.js} +4 -5
- package/dist-versioned/chunks/{chunk.YLQNXR3G.js → chunk.ZAQS4XFO.js} +5 -6
- package/dist-versioned/chunks/{chunk.OK3VBJRJ.js → chunk.ZBDFCFOP.js} +6 -7
- package/dist-versioned/chunks/{chunk.MB47FVBP.js → chunk.ZUL25WD4.js} +3 -4
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +6 -6
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
- 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 -2
- package/dist-versioned/components/audio/audio.js +9 -9
- 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 +2 -2
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- 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 +7 -7
- 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 +6 -6
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +8 -8
- package/dist-versioned/components/datepicker/datepicker.d.ts +3 -2
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +8 -8
- 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 +8 -8
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +8 -8
- 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 -2
- package/dist-versioned/components/icon/icon.js +5 -5
- package/dist-versioned/components/icon/library.d.ts +1 -1
- package/dist-versioned/components/icon/library.default.js +1 -1
- package/dist-versioned/components/icon/library.internal.d.ts +0 -2
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +3 -3
- 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 +6 -6
- 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 +2 -2
- 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 +2 -2
- 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 +7 -7
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +8 -8
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +6 -6
- 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 +7 -7
- 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 +2 -2
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +6 -6
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +8 -8
- package/dist-versioned/components/skeleton/skeleton.d.ts +11 -0
- package/dist-versioned/components/skeleton/skeleton.js +9 -0
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +6 -6
- 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 +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +6 -6
- 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 +6 -6
- 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 +6 -6
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +7 -7
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +6 -6
- package/dist-versioned/custom-elements.json +428 -697
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/internal/longpress.d.ts +1 -1
- package/dist-versioned/internal/solid-element.d.ts +0 -5
- package/dist-versioned/internal/solid-element.js +11 -61
- package/dist-versioned/solid-components.css +32 -118
- package/dist-versioned/solid-components.d.ts +1 -1
- package/dist-versioned/solid-components.js +70 -70
- package/dist-versioned/utilities/autocomplete-config.js +3 -3
- package/dist-versioned/utilities/icon-library.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +129 -124
- package/dist-versioned/web-types.json +224 -215
- package/package.json +5 -13
- package/cdn/chunks/chunk.3DB2ELEL.js +0 -2
- package/cdn/chunks/chunk.3KWSM3HE.js +0 -131
- package/cdn/chunks/chunk.3ZRUHOGI.js +0 -11
- package/cdn/chunks/chunk.5PA35WD2.js +0 -2
- package/cdn/chunks/chunk.5TUC644H.js +0 -2
- package/cdn/chunks/chunk.5ZPLQS6G.js +0 -2
- package/cdn/chunks/chunk.5ZYFWIRD.js +0 -2
- package/cdn/chunks/chunk.63IQ23S4.js +0 -5
- package/cdn/chunks/chunk.66OZDVLX.js +0 -2
- package/cdn/chunks/chunk.6EV4YU6C.js +0 -1
- package/cdn/chunks/chunk.6GHBG4PY.js +0 -2
- package/cdn/chunks/chunk.6XTQ6373.js +0 -2
- package/cdn/chunks/chunk.6ZXO6XV7.js +0 -2
- package/cdn/chunks/chunk.7JAXJRX2.js +0 -2
- package/cdn/chunks/chunk.ALIY2YIR.js +0 -2
- package/cdn/chunks/chunk.BL5NWLDW.js +0 -4
- package/cdn/chunks/chunk.EGKVLCBO.js +0 -2
- package/cdn/chunks/chunk.ESKMS5I6.js +0 -1
- package/cdn/chunks/chunk.F3OBG73C.js +0 -2
- package/cdn/chunks/chunk.FYS76H7M.js +0 -2
- package/cdn/chunks/chunk.GZN62V5M.js +0 -2
- package/cdn/chunks/chunk.H7N4XIFF.js +0 -2
- package/cdn/chunks/chunk.J3HOSC6V.js +0 -2
- package/cdn/chunks/chunk.J4LE3LKP.js +0 -2
- package/cdn/chunks/chunk.JGU23CP4.js +0 -6
- package/cdn/chunks/chunk.LVDWFX3X.js +0 -2
- package/cdn/chunks/chunk.MPLKGS34.js +0 -2
- package/cdn/chunks/chunk.MQ6HTONQ.js +0 -2
- package/cdn/chunks/chunk.NMHY6H5N.js +0 -12
- package/cdn/chunks/chunk.OXYZANQK.js +0 -5
- package/cdn/chunks/chunk.PES7MZKA.js +0 -26
- package/cdn/chunks/chunk.RXQYBUHG.js +0 -2
- package/cdn/chunks/chunk.S4EKTV5A.js +0 -2
- package/cdn/chunks/chunk.S5SNELX3.js +0 -2
- package/cdn/chunks/chunk.U6FGIHUI.js +0 -2
- package/cdn/chunks/chunk.VA5ZPE34.js +0 -2
- package/cdn/chunks/chunk.VGYX7TTE.js +0 -2
- package/cdn/chunks/chunk.VHHOKYE5.js +0 -2
- package/cdn/chunks/chunk.WUWSF33N.js +0 -2
- package/cdn/chunks/chunk.XG6CO665.js +0 -2
- package/cdn/chunks/chunk.XIRAK67B.js +0 -13
- package/cdn/chunks/chunk.YUPZE4GS.js +0 -2
- package/cdn/chunks/chunk.YXMHHML2.js +0 -2
- package/cdn/chunks/chunk.ZATYZ65D.js +0 -2
- package/cdn/components/theme-listener/theme-listener.d.ts +0 -13
- package/cdn/components/theme-listener/theme-listener.js +0 -1
- package/cdn/internal/theme-observer.d.ts +0 -9
- package/cdn/internal/theme-observer.js +0 -19
- package/cdn-versioned/chunks/chunk.3DB2ELEL.js +0 -2
- package/cdn-versioned/chunks/chunk.3KWSM3HE.js +0 -131
- package/cdn-versioned/chunks/chunk.3ZRUHOGI.js +0 -11
- package/cdn-versioned/chunks/chunk.5G7ZOEWT.js +0 -12
- package/cdn-versioned/chunks/chunk.5PA35WD2.js +0 -2
- package/cdn-versioned/chunks/chunk.5TUC644H.js +0 -2
- package/cdn-versioned/chunks/chunk.5ZPLQS6G.js +0 -2
- package/cdn-versioned/chunks/chunk.5ZYFWIRD.js +0 -2
- package/cdn-versioned/chunks/chunk.63IQ23S4.js +0 -5
- package/cdn-versioned/chunks/chunk.66OZDVLX.js +0 -2
- package/cdn-versioned/chunks/chunk.6EV4YU6C.js +0 -1
- package/cdn-versioned/chunks/chunk.6GHBG4PY.js +0 -2
- package/cdn-versioned/chunks/chunk.6Q6FRPBQ.js +0 -2
- package/cdn-versioned/chunks/chunk.6XTQ6373.js +0 -2
- package/cdn-versioned/chunks/chunk.6ZXO6XV7.js +0 -2
- package/cdn-versioned/chunks/chunk.7JAXJRX2.js +0 -2
- package/cdn-versioned/chunks/chunk.ALIY2YIR.js +0 -2
- package/cdn-versioned/chunks/chunk.AZC2MB6N.js +0 -12
- package/cdn-versioned/chunks/chunk.BL5NWLDW.js +0 -4
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +0 -10
- package/cdn-versioned/chunks/chunk.CINQCAVV.js +0 -2
- package/cdn-versioned/chunks/chunk.EGKVLCBO.js +0 -2
- package/cdn-versioned/chunks/chunk.EIG3V7LV.js +0 -2
- package/cdn-versioned/chunks/chunk.ESKMS5I6.js +0 -1
- package/cdn-versioned/chunks/chunk.F3OBG73C.js +0 -2
- package/cdn-versioned/chunks/chunk.FYS76H7M.js +0 -2
- package/cdn-versioned/chunks/chunk.GZN62V5M.js +0 -2
- package/cdn-versioned/chunks/chunk.H7N4XIFF.js +0 -2
- package/cdn-versioned/chunks/chunk.HWXFA3JT.js +0 -2
- package/cdn-versioned/chunks/chunk.J3HOSC6V.js +0 -2
- package/cdn-versioned/chunks/chunk.J4LE3LKP.js +0 -2
- package/cdn-versioned/chunks/chunk.JGU23CP4.js +0 -6
- package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +0 -1
- package/cdn-versioned/chunks/chunk.KL3CEU6E.js +0 -5
- package/cdn-versioned/chunks/chunk.LVDWFX3X.js +0 -2
- package/cdn-versioned/chunks/chunk.MPLKGS34.js +0 -2
- package/cdn-versioned/chunks/chunk.MQ6HTONQ.js +0 -2
- package/cdn-versioned/chunks/chunk.MWU6TZ4N.js +0 -2
- package/cdn-versioned/chunks/chunk.NMHY6H5N.js +0 -12
- package/cdn-versioned/chunks/chunk.OXYZANQK.js +0 -5
- package/cdn-versioned/chunks/chunk.PES7MZKA.js +0 -26
- package/cdn-versioned/chunks/chunk.Q36WGVZ7.js +0 -12
- package/cdn-versioned/chunks/chunk.RXQYBUHG.js +0 -2
- package/cdn-versioned/chunks/chunk.S4EKTV5A.js +0 -2
- package/cdn-versioned/chunks/chunk.S5SNELX3.js +0 -2
- package/cdn-versioned/chunks/chunk.U6FGIHUI.js +0 -2
- package/cdn-versioned/chunks/chunk.UVDP4CO5.js +0 -2
- package/cdn-versioned/chunks/chunk.VA5ZPE34.js +0 -2
- package/cdn-versioned/chunks/chunk.VGYX7TTE.js +0 -2
- package/cdn-versioned/chunks/chunk.VHHOKYE5.js +0 -2
- package/cdn-versioned/chunks/chunk.WUWSF33N.js +0 -2
- package/cdn-versioned/chunks/chunk.XG6CO665.js +0 -2
- package/cdn-versioned/chunks/chunk.XHDZVSCR.js +0 -2
- package/cdn-versioned/chunks/chunk.XIRAK67B.js +0 -13
- package/cdn-versioned/chunks/chunk.YL7YHMIF.js +0 -4
- package/cdn-versioned/chunks/chunk.YUPZE4GS.js +0 -2
- package/cdn-versioned/chunks/chunk.YXMHHML2.js +0 -2
- package/cdn-versioned/chunks/chunk.ZATYZ65D.js +0 -2
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +0 -13
- package/cdn-versioned/components/theme-listener/theme-listener.js +0 -1
- package/cdn-versioned/internal/theme-observer.d.ts +0 -9
- package/cdn-versioned/internal/theme-observer.js +0 -19
- package/dist/chunks/chunk.EORXKFFT.js +0 -61
- package/dist/chunks/chunk.O6MXNSO7.js +0 -185
- package/dist/chunks/chunk.RY4KWEME.js +0 -93
- package/dist/chunks/chunk.WSXRRFIW.js +0 -77
- package/dist/components/theme-listener/theme-listener.d.ts +0 -13
- package/dist/components/theme-listener/theme-listener.js +0 -9
- package/dist/internal/theme-observer.d.ts +0 -9
- package/dist/internal/theme-observer.js +0 -19
- package/dist-versioned/chunks/chunk.AAY5JRCW.js +0 -70
- package/dist-versioned/chunks/chunk.EORXKFFT.js +0 -61
- package/dist-versioned/chunks/chunk.O6MXNSO7.js +0 -185
- package/dist-versioned/chunks/chunk.RY4KWEME.js +0 -93
- package/dist-versioned/chunks/chunk.WSXRRFIW.js +0 -77
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +0 -13
- package/dist-versioned/components/theme-listener/theme-listener.js +0 -9
- package/dist-versioned/internal/theme-observer.d.ts +0 -9
- package/dist-versioned/internal/theme-observer.js +0 -19
package/cdn/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.17.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "sd-accordion",
|
|
11
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\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 accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS
|
|
11
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\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 accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
"name": "sd-breadcrumb",
|
|
639
|
-
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\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_ - `sd-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS
|
|
639
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\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_ - `sd-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
640
640
|
"doc-url": "",
|
|
641
641
|
"attributes": [
|
|
642
642
|
{
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
},
|
|
704
704
|
{
|
|
705
705
|
"name": "current",
|
|
706
|
-
"description": "When set, the attribute `aria-current=\"page\"` will be applied
|
|
706
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
707
707
|
"value": { "type": "boolean", "default": "false" }
|
|
708
708
|
},
|
|
709
709
|
{
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
736
|
"name": "current",
|
|
737
|
-
"description": "When set, the attribute `aria-current=\"page\"` will be applied
|
|
737
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
738
738
|
"type": "boolean"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
755
|
"name": "sd-button",
|
|
756
|
-
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS
|
|
756
|
+
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
757
757
|
"doc-url": "",
|
|
758
758
|
"attributes": [
|
|
759
759
|
{
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
},
|
|
2308
2308
|
{
|
|
2309
2309
|
"name": "sd-dialog",
|
|
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
|
|
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.",
|
|
2311
2311
|
"doc-url": "",
|
|
2312
2312
|
"attributes": [
|
|
2313
2313
|
{
|
|
@@ -2494,7 +2494,7 @@
|
|
|
2494
2494
|
},
|
|
2495
2495
|
{
|
|
2496
2496
|
"name": "sd-drawer",
|
|
2497
|
-
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer 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 drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\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 drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n
|
|
2497
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer 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 drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\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 drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer 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 drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2498
2498
|
"doc-url": "",
|
|
2499
2499
|
"attributes": [
|
|
2500
2500
|
{
|
|
@@ -2641,7 +2641,7 @@
|
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
2643
|
"name": "sd-dropdown",
|
|
2644
|
-
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\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 dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS
|
|
2644
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\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 dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **base__popup** - The popup's exported `popup` part. Use this to target the dropdowns' popup container.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2645
2645
|
"doc-url": "",
|
|
2646
2646
|
"attributes": [
|
|
2647
2647
|
{
|
|
@@ -3048,7 +3048,7 @@
|
|
|
3048
3048
|
},
|
|
3049
3049
|
{
|
|
3050
3050
|
"name": "sd-header",
|
|
3051
|
-
"description": "Header\n---\n\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 header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n
|
|
3051
|
+
"description": "Header\n---\n\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 header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
3052
3052
|
"doc-url": "",
|
|
3053
3053
|
"attributes": [
|
|
3054
3054
|
{
|
|
@@ -3730,7 +3730,7 @@
|
|
|
3730
3730
|
},
|
|
3731
3731
|
{
|
|
3732
3732
|
"name": "sd-link",
|
|
3733
|
-
"description": "A link component.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\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- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS
|
|
3733
|
+
"description": "A link component.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\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- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
3734
3734
|
"doc-url": "",
|
|
3735
3735
|
"attributes": [
|
|
3736
3736
|
{
|
|
@@ -4085,7 +4085,7 @@
|
|
|
4085
4085
|
},
|
|
4086
4086
|
{
|
|
4087
4087
|
"name": "sd-menu-item",
|
|
4088
|
-
"description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\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 menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n
|
|
4088
|
+
"description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\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 menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The icon shown when the menu item is checked.\n- **icon-indent** - The icon shown when the menu item has an indent.\n- **label** - The menu item's label.\n- **submenu-icon** - The icon shown when the menu item has a submenu.",
|
|
4089
4089
|
"doc-url": "",
|
|
4090
4090
|
"attributes": [
|
|
4091
4091
|
{
|
|
@@ -4177,7 +4177,7 @@
|
|
|
4177
4177
|
},
|
|
4178
4178
|
{
|
|
4179
4179
|
"name": "sd-navigation-item",
|
|
4180
|
-
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\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 navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS
|
|
4180
|
+
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\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 navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
4181
4181
|
"doc-url": "",
|
|
4182
4182
|
"attributes": [
|
|
4183
4183
|
{
|
|
@@ -4364,7 +4364,7 @@
|
|
|
4364
4364
|
},
|
|
4365
4365
|
{
|
|
4366
4366
|
"name": "sd-notification",
|
|
4367
|
-
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\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 sd-notification's main content.\n- **icon** - An icon to show in the sd-notification. Works best with `<sd-icon>`.\n\n### **CSS
|
|
4367
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\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 sd-notification's main content.\n- **icon** - An icon to show in the sd-notification. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **wrapper** - The container that wraps all the notification elements.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-icon-button>`.",
|
|
4368
4368
|
"doc-url": "",
|
|
4369
4369
|
"attributes": [
|
|
4370
4370
|
{
|
|
@@ -4931,7 +4931,7 @@
|
|
|
4931
4931
|
},
|
|
4932
4932
|
{
|
|
4933
4933
|
"name": "sd-quickfact",
|
|
4934
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\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 - **icon** - Optional icon to show in the header. Works best with `<sd-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS
|
|
4934
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\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 - **icon** - Optional icon to show in the header. Works best with `<sd-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **icon** - The container that wraps the icon.\n- **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
4935
4935
|
"doc-url": "",
|
|
4936
4936
|
"attributes": [
|
|
4937
4937
|
{
|
|
@@ -5151,7 +5151,7 @@
|
|
|
5151
5151
|
},
|
|
5152
5152
|
{
|
|
5153
5153
|
"name": "sd-radio-button",
|
|
5154
|
-
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\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 radio button's label.\n- **icon** - A presentational icon.\n\n### **CSS
|
|
5154
|
+
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\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 radio button's label.\n- **icon** - A presentational icon.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **button** - The internal `<button>` element.\n- **button--checked** - The internal button element when the radio button is checked.\n- **icon** - The container that wraps the icon.\n- **label** - The container that wraps the radio button's label.",
|
|
5155
5155
|
"doc-url": "",
|
|
5156
5156
|
"attributes": [
|
|
5157
5157
|
{
|
|
@@ -6202,6 +6202,58 @@
|
|
|
6202
6202
|
]
|
|
6203
6203
|
}
|
|
6204
6204
|
},
|
|
6205
|
+
{
|
|
6206
|
+
"name": "sd-skeleton",
|
|
6207
|
+
"description": "Skeleton loaders are used as placeholder previews of content before data gets loaded.\n---\n\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 skeleton's content. When provided, adapts to the content's dimensions. When empty, displays according to the variant property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6208
|
+
"doc-url": "",
|
|
6209
|
+
"attributes": [
|
|
6210
|
+
{
|
|
6211
|
+
"name": "variant",
|
|
6212
|
+
"description": "The shape variant when used without slotted content.",
|
|
6213
|
+
"value": {
|
|
6214
|
+
"type": "'rectangular' | 'circular'",
|
|
6215
|
+
"default": "'rectangular'"
|
|
6216
|
+
}
|
|
6217
|
+
},
|
|
6218
|
+
{
|
|
6219
|
+
"name": "dir",
|
|
6220
|
+
"description": "The element's directionality.",
|
|
6221
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6222
|
+
},
|
|
6223
|
+
{
|
|
6224
|
+
"name": "lang",
|
|
6225
|
+
"description": "The element's language.",
|
|
6226
|
+
"value": { "type": "string" }
|
|
6227
|
+
}
|
|
6228
|
+
],
|
|
6229
|
+
"slots": [
|
|
6230
|
+
{
|
|
6231
|
+
"name": "",
|
|
6232
|
+
"description": "The skeleton's content. When provided, adapts to the content's dimensions. When empty, displays according to the variant property."
|
|
6233
|
+
}
|
|
6234
|
+
],
|
|
6235
|
+
"events": [],
|
|
6236
|
+
"js": {
|
|
6237
|
+
"properties": [
|
|
6238
|
+
{
|
|
6239
|
+
"name": "variant",
|
|
6240
|
+
"description": "The shape variant when used without slotted content.",
|
|
6241
|
+
"type": "'rectangular' | 'circular'"
|
|
6242
|
+
},
|
|
6243
|
+
{
|
|
6244
|
+
"name": "dir",
|
|
6245
|
+
"description": "The element's directionality.",
|
|
6246
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6247
|
+
},
|
|
6248
|
+
{
|
|
6249
|
+
"name": "lang",
|
|
6250
|
+
"description": "The element's language.",
|
|
6251
|
+
"type": "string"
|
|
6252
|
+
}
|
|
6253
|
+
],
|
|
6254
|
+
"events": []
|
|
6255
|
+
}
|
|
6256
|
+
},
|
|
6205
6257
|
{
|
|
6206
6258
|
"name": "sd-spinner",
|
|
6207
6259
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n---\n\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.",
|
|
@@ -6678,7 +6730,7 @@
|
|
|
6678
6730
|
},
|
|
6679
6731
|
{
|
|
6680
6732
|
"name": "sd-tab",
|
|
6681
|
-
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\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 tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS
|
|
6733
|
+
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\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 tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
|
|
6682
6734
|
"doc-url": "",
|
|
6683
6735
|
"attributes": [
|
|
6684
6736
|
{
|
|
@@ -6772,7 +6824,7 @@
|
|
|
6772
6824
|
},
|
|
6773
6825
|
{
|
|
6774
6826
|
"name": "sd-tab-group",
|
|
6775
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\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_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS
|
|
6827
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\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_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
6776
6828
|
"doc-url": "",
|
|
6777
6829
|
"attributes": [
|
|
6778
6830
|
{
|
|
@@ -6902,7 +6954,7 @@
|
|
|
6902
6954
|
},
|
|
6903
6955
|
{
|
|
6904
6956
|
"name": "sd-tag",
|
|
6905
|
-
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\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 tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS
|
|
6957
|
+
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\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 tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|
|
6906
6958
|
"doc-url": "",
|
|
6907
6959
|
"attributes": [
|
|
6908
6960
|
{
|
|
@@ -7536,49 +7588,6 @@
|
|
|
7536
7588
|
]
|
|
7537
7589
|
}
|
|
7538
7590
|
},
|
|
7539
|
-
{
|
|
7540
|
-
"name": "sd-theme-listener",
|
|
7541
|
-
"description": "Theme listener is a utility that listens to theme changes and triggers an event.\n---\n\n\n### **Events:**\n - **sd-theme-change** - Emitted when the sd-theme changes.\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.",
|
|
7542
|
-
"doc-url": "",
|
|
7543
|
-
"attributes": [
|
|
7544
|
-
{
|
|
7545
|
-
"name": "dir",
|
|
7546
|
-
"description": "The element's directionality.",
|
|
7547
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
7548
|
-
},
|
|
7549
|
-
{
|
|
7550
|
-
"name": "lang",
|
|
7551
|
-
"description": "The element's language.",
|
|
7552
|
-
"value": { "type": "string" }
|
|
7553
|
-
}
|
|
7554
|
-
],
|
|
7555
|
-
"events": [
|
|
7556
|
-
{
|
|
7557
|
-
"name": "sd-theme-change",
|
|
7558
|
-
"description": "Emitted when the sd-theme changes."
|
|
7559
|
-
}
|
|
7560
|
-
],
|
|
7561
|
-
"js": {
|
|
7562
|
-
"properties": [
|
|
7563
|
-
{
|
|
7564
|
-
"name": "dir",
|
|
7565
|
-
"description": "The element's directionality.",
|
|
7566
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
7567
|
-
},
|
|
7568
|
-
{
|
|
7569
|
-
"name": "lang",
|
|
7570
|
-
"description": "The element's language.",
|
|
7571
|
-
"type": "string"
|
|
7572
|
-
}
|
|
7573
|
-
],
|
|
7574
|
-
"events": [
|
|
7575
|
-
{
|
|
7576
|
-
"name": "sd-theme-change",
|
|
7577
|
-
"description": "Emitted when the sd-theme changes."
|
|
7578
|
-
}
|
|
7579
|
-
]
|
|
7580
|
-
}
|
|
7581
|
-
},
|
|
7582
7591
|
{
|
|
7583
7592
|
"name": "sd-tooltip",
|
|
7584
7593
|
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\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 tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
@@ -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.M6XINJ52.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-17-0-tab"),customElements.whenDefined("sd-5-17-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-17-0-tab"?e:e.querySelector("sd-5-17-0-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-5-17-0-tab":e.tagName.toLowerCase()==="sd-5-17-0-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-5-17-0-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-5-17-0-tab");(e==null?void 0:e.closest("sd-5-17-0-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-5-17-0-tab");if((e==null?void 0:e.closest("sd-5-17-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-17-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-17-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-17-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-17-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-17-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-17-0-tab-panel){--padding:1rem 0}::slotted(sd-5-17-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-17-0-tab-group")],a);export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r,h as e}from"./chunk.M6XINJ52.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-17-0-carousel-item")],t);export{t as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as P}from"./chunk.EJI65G6N.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.NRBNWX7R.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.CHU57RUD.js";import{a as E,c as C}from"./chunk.SKUMYG4O.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.BOIDC3L5.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.L6MCOH7T.js";import{a as g}from"./chunk.E2DRD2OX.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.M6XINJ52.js";import{b as D,e as p}from"./chunk.RZUTJ36B.js";import{b as S,e as I}from"./chunk.6OTM3PE5.js";import{e as l}from"./chunk.TJOCV4DC.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-5-17-0-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-5-17-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
2
|
+
base:tag__base,
|
|
3
|
+
content:tag__content,
|
|
4
|
+
removable-indicator:tag__removable-indicator,
|
|
5
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-5-17-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(t.key==="Enter"){let o=this.getCurrentOption(),f=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!f){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||o!=null&&o.disabled)return;if(o&&!o.disabled){let h=this.value;this.multiple?(this.toggleOptionSelection(o),this.lastOption=o,this.setOrderedSelectedOptions(o),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(o),this.setSelectedOptions(o)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==h&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?$(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-5-17-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-5-17-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?$(i):i}</div>`}return[p``]}):[p`<sd-5-17-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
6
|
+
base:tag__base,
|
|
7
|
+
content:tag__content,
|
|
8
|
+
removable-indicator:tag__removable-indicator,
|
|
9
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-17-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-5-17-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),A(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-5-17-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var y,b,m;let a=i.cloneNode(!0);if(a.current=a.value===((y=this.lastOption)==null?void 0:y.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((b=i.parentElement)==null?void 0:b.tagName.toLowerCase())==="sd-5-17-0-optgroup"))return a;let o=i.parentElement,f=(m=o.querySelector('[slot="label"]'))==null?void 0:m.cloneNode(!0),h=e.find(O=>O.id===o.id);if(h){h==null||h.appendChild(a),f&&(h==null||h.appendChild(f));return}let v=o.cloneNode();return v.appendChild(a),f&&v.appendChild(f),e.push(v),v}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-5-17-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await I(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=C(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await I(this);let{keyframes:t,options:e}=C(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([x(this,"sd-after-show"),x(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,x(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return R(L(this.defaultSlot)).flat()}getSlottedOptGroups(){return K(L(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-5-17-0-option")){customElements.whenDefined("sd-5-17-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-5-17-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-5-17-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",h=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],m={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",h,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${a&&"inline-block mb-2"}" aria-hidden="${!a}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[f],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-5-17-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
10
|
+
popup:popup__content,
|
|
11
|
+
"><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,m)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",h,this.selectedTextLabel&&!this.multiple?"placeholder-black":"placeholder-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-17-0-icon class="${d("text-neutral-700",m)}" name="closing-round" library="_internal"></sd-5-17-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-5-17-0-icon part="invalid-icon" class="${d(y,m,"text-error")}" library="_internal" name="risk"></sd-5-17-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-5-17-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,m)}" library="_internal" name="confirm-circle"></sd-5-17-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",m)}">${this.type!=="search"?p`<sd-5-17-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-5-17-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-5-17-0-icon class="${d(v,m)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-17-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-5-17-0-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{height:var(--sd-spacing-4,1rem);right:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{height:var(--sd-spacing-6,1.5rem);right:.85rem;width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{height:var(--sd-spacing-8,2rem);right:var(--sd-spacing-3,.75rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-5-17-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-17-0-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-17-0-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-17-0-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-17-0-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}[part=filtered-listbox] sd-5-17-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`],l([c("sd-5-17-0-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([P()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-5-17-0-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g,b as v}from"./chunk.I2H6CZK5.js";import{a as d,c as h}from"./chunk.SKUMYG4O.js";import{a as y}from"./chunk.KLRPP4NQ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as H}from"./chunk.L6MCOH7T.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.M6XINJ52.js";import{b as k,e as p}from"./chunk.RZUTJ36B.js";import{b as n,e as l,f as b}from"./chunk.6OTM3PE5.js";import{e}from"./chunk.TJOCV4DC.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([s])=>{let c=document.querySelector(`#sd-toast-stack--${s}`);if(c){c.setAttribute("role","region"),m[s]=c;return}m[s]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${s}`,className:`sd-toast-stack sd-toast-stack--${s}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=h(this,"notification.show",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.show${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=h(this,"notification.hide",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.hide${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,y(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,y(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return p`<div part="base" class="${r("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${r("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${r("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-5-17-0-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-5-17-0-icon></slot><div part="content" class="${r("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?p`<sd-5-17-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-17-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-17-0-icon></sd-5-17-0-button>`:""}</div>${this.durationIndicator?p`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${r("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,k`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([u('[part~="base"]')],t.prototype,"base",2),e([u('[part~="wrapper"]')],t.prototype,"wrapper",2),e([u('[part~="close-button"]')],t.prototype,"close",2),e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:Boolean,reflect:!0})],t.prototype,"open",2),e([a({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([a({type:Number,reflect:!0})],t.prototype,"duration",2),e([a({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([a({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-5-17-0-notification")],t);d("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});d("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{b as y,c as g}from"./chunk.NRBNWX7R.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.CHU57RUD.js";import{a as u,b as m}from"./chunk.PVM2WKMA.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as h,b as i,c,d as b,g as v,h as d}from"./chunk.M6XINJ52.js";import{b as p}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends d{constructor(){super(...arguments);this.formControlController=new y(this,{form:r=>{if(r.hasAttribute("form")){let o=r.getRootNode(),s=r.getAttribute("form");return o.getElementById(s)}return r.closest("form")}});this.hasSlotController=new x(this,"[default]","icon-left","icon-right");this.invalid=!1;this.title="";this.variant="primary";this.inverted=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.loading=!1;this.type="button";this.name="";this.value="";this.href=""}get validity(){return this.isButton()?this.button.validity:g}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(r){if(this.disabled||this.loading||this.visuallyDisabled){r.preventDefault(),r.stopPropagation();return}this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){let r=this.isLink(),o=r?u`a`:u`button`,s={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right"),"icon-only":this._iconsInDefaultSlot.length>0},n=this.variant==="secondary";return m`<${o} part="base" class="${l(`group relative z-10 font-md no-underline
|
|
2
|
+
w-full align-middle inline-flex items-stretch justify-center
|
|
3
|
+
transition-colors duration-fast ease-in-out rounded-default
|
|
4
|
+
select-none cursor-[inherit]`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.loading&&"relative cursor-wait",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed",s["icon-only"]&&"px-0 min-h-varspacing w-varspacing",{sm:`text-sm varspacing-8 ${n?"py-[0.281rem] px-[0.938rem]":"py-[0.344rem] px-4"}`,md:`text-base varspacing-10 ${n?"py-[0.438rem] px-[0.938rem]":"py-2 px-4"}`,lg:`text-base varspacing-12 ${n?"py-[0.688rem] px-[0.938rem]":"py-3 px-4"}`}[this.size],{primary:this.inverted?`${this.visuallyDisabled?"bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"text-primary bg-white border-white hover:text-primary-500 active:text-primary-800"}
|
|
5
|
+
disabled:bg-neutral-600 disabled:text-white disabled:border-neutral-600`:`text-white ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500":"bg-primary border-transparent hover:text-primary-100 active:text-primary-200"}
|
|
6
|
+
disabled:bg-neutral-500`,secondary:this.inverted?`border ${this.visuallyDisabled?"text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600":"text-white border-white hover:text-primary-100 hover:border-primary-100 active:text-primary-200"}
|
|
7
|
+
disabled:text-neutral-600 disabled:border-neutral-600`:`border ${this.visuallyDisabled?"text-neutral-500 border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500":"text-primary border-primary hover:text-primary-500 hover:border-primary-500 active:text-primary-800 active:border-primary-800"}
|
|
8
|
+
disabled:text-neutral-500 disabled:border-neutral-500`,tertiary:this.inverted?`border-transparent ${this.visuallyDisabled?"text-neutral-600 hover:text-neutral-600 active:text-neutral-600":"text-white hover:text-primary-100 active:text-primary-200"}
|
|
9
|
+
disabled:text-neutral-600`:`border-transparent ${this.visuallyDisabled?"text-neutral-500 hover:text-neutral-500 active:text-neutral-500":"text-primary hover:text-primary-500 active:text-primary-800"}
|
|
10
|
+
disabled:text-neutral-500`,cta:`text-white ${this.visuallyDisabled?"bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500":"bg-accent-500 border-transparent"}
|
|
11
|
+
${this.inverted?"disabled:bg-neutral-600 disabled:border-neutral-600":"disabled:bg-neutral-500 disabled:border-neutral-500"} disabled:text-white`}[this.variant])}" ?disabled="${a(r?void 0:this.disabled)}" type="${a(r?void 0:this.type)}" title="${this.title}" name="${a(r?void 0:this.name)}" value="${a(r?void 0:this.value)}" href="${a(r?this.href:void 0)}" target="${a(r?this.target:void 0)}" download="${a(r?this.download:void 0)}" rel="${a(r&&this.target?"noreferrer noopener":void 0)}" role="${a(r?void 0:"button")}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-labelledby="content" tabindex="${this.disabled?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton()?this.handleInvalid:null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${l("absolute inset-0 rounded-default -z-10 overflow-hidden pointer-events-none ",(this.disabled||this.visuallyDisabled)&&"hidden")}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${l("absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",{primary:this.inverted?"bg-primary-100 group-active:bg-primary-200":"bg-primary-500 group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:bg-primary-800":"bg-primary-100 group-active:bg-primary-200",tertiary:this.inverted?"bg-primary-500 group-active:bg-primary-800":"bg-primary-100 group-active:bg-primary-200",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div><div class="${l("absolute w-full h-full mt-[22%]",{primary:this.inverted?"bg-primary-100 group-active:bg-primary-200":"bg-primary-500 group-active:bg-primary-800",secondary:this.inverted?"bg-primary-500 group-active:bg-primary-800":"bg-primary-100 group-active:bg-primary-200",tertiary:this.inverted?"bg-primary-500 group-active:bg-primary-800":"bg-primary-100 group-active:bg-primary-200",cta:"bg-accent-550 group-active:bg-accent-700"}[this.variant])}"></div></div></div><slot name="icon-left" part="icon-left" class="${l("flex flex-auto items-center justify-end pointer-events-none",s["icon-only"]&&"hidden",this.loading&&"invisible",s["icon-left"]&&{sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size])}"></slot><slot part="label" id="content" class="${l("inline-flex items-center justify-center",s["icon-only"]&&"pointer-events-none",this.loading&&"invisible")}"></slot><slot name="icon-right" part="icon-right" class="${l("flex flex-auto items-center pointer-events-none",this.loading&&"invisible",s["icon-only"]&&"hidden",s["icon-right"]&&{sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size])}"></slot>${this.loading?m`<sd-5-17-0-loader class="${l("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-5-17-0-loader>`:""}</${o}>`}};t.styles=[...d.styles,p`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto);z-index:0}::slotted(sd-5-17-0-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-5-17-0-icon),sd-5-17-0-loader{font-size:calc(var(--tw-varspacing)/2)}`],e([b("a, button")],t.prototype,"button",2),e([v({selector:"sd-5-17-0-icon"})],t.prototype,"_iconsInDefaultSlot",2),e([c()],t.prototype,"invalid",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"inverted",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:String,reflect:!0})],t.prototype,"type",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"href",2),e([i({type:String,reflect:!0})],t.prototype,"target",2),e([i({reflect:!0})],t.prototype,"download",2),e([i({reflect:!0})],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([f("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([h("sd-5-17-0-button")],t);export{t as a};
|
|
@@ -0,0 +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.L6MCOH7T.js";import{a as C,b as h,d as f,e as D,h as T}from"./chunk.M6XINJ52.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-17-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-17-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-17-0-range")],l);export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./chunk.
|
|
1
|
+
import{j as t}from"./chunk.RZUTJ36B.js";var{I:r}=t;var $=e=>e.strings===void 0;var s={},a=(e,i=s)=>e._$AH=i;export{$ as a,a as b};
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
lit-html/directive-helpers.js:
|