@solid-design-system/components 5.8.4 → 5.10.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.WRWWF5SR.js → chunk.2JZXQAEH.js} +1 -1
- package/cdn/chunks/{chunk.UVOF2P3F.js → chunk.2S6PSHGR.js} +1 -1
- package/cdn/chunks/{chunk.MQHJFGF3.js → chunk.2YPPKILR.js} +1 -1
- package/cdn/chunks/{chunk.XENVET63.js → chunk.3I7Z2ZGA.js} +1 -1
- package/cdn/chunks/{chunk.3X7FZERV.js → chunk.3VSEXUCN.js} +1 -1
- package/cdn/chunks/chunk.45UEUNN5.js +3 -0
- package/cdn/chunks/{chunk.HWDDP6FC.js → chunk.4GU7BCCI.js} +1 -1
- package/cdn/chunks/{chunk.NIOH4J4J.js → chunk.6NART7VP.js} +1 -1
- package/cdn/chunks/chunk.7F4BLDO5.js +1 -0
- package/cdn/chunks/{chunk.BQ4NXLVV.js → chunk.AD3RLPIJ.js} +1 -1
- package/cdn/chunks/{chunk.YQLNNK4Q.js → chunk.AOLFDR44.js} +1 -1
- package/cdn/chunks/{chunk.PA4TL5HG.js → chunk.AWLGV3BD.js} +1 -1
- package/cdn/chunks/{chunk.XSD65F5G.js → chunk.AXOCHBBU.js} +1 -1
- package/{cdn-versioned/chunks/chunk.O4KUWTWE.js → cdn/chunks/chunk.B5WOG3GU.js} +1 -1
- package/cdn/chunks/chunk.BBD6RMZH.js +10 -0
- package/cdn/chunks/{chunk.6YLRQZ5J.js → chunk.BGEMBVJV.js} +1 -1
- package/cdn/chunks/{chunk.6HO6CE4A.js → chunk.CGQ2BPPZ.js} +1 -1
- package/cdn/chunks/{chunk.7TTIUQTQ.js → chunk.CMIXQ7JH.js} +1 -1
- package/cdn/chunks/{chunk.36BKMDE3.js → chunk.CMMWC4RI.js} +1 -1
- package/cdn/chunks/{chunk.UJARDPTX.js → chunk.EADKGOFJ.js} +1 -1
- package/cdn/chunks/{chunk.KF7KNFPV.js → chunk.ELCOIK5P.js} +1 -1
- package/cdn/chunks/{chunk.UN7OFRJA.js → chunk.FA5R7CKW.js} +1 -1
- package/cdn/chunks/{chunk.CLX2KDZM.js → chunk.FCFA3AM7.js} +1 -1
- package/cdn/chunks/{chunk.GJ3BPOYF.js → chunk.FCYUK5NR.js} +1 -1
- package/cdn/chunks/{chunk.AFZTQYJ4.js → chunk.GGXUEKTA.js} +1 -1
- package/cdn/chunks/{chunk.I7W3IQFX.js → chunk.GYKZUJLA.js} +1 -1
- package/cdn/chunks/{chunk.LDSECTBO.js → chunk.H3RLFSFE.js} +1 -1
- package/cdn/chunks/{chunk.YJ4WEMCO.js → chunk.HAFUAYZZ.js} +1 -1
- package/cdn/chunks/chunk.HDPQFCGV.js +25 -0
- package/cdn/chunks/chunk.ICA5V7JB.js +10 -0
- package/cdn/chunks/{chunk.PBWOAOPD.js → chunk.IFNRX7KW.js} +1 -1
- package/cdn/chunks/{chunk.QGBIFDJ4.js → chunk.IHA7PGG2.js} +1 -1
- package/cdn/chunks/{chunk.XO74MJE7.js → chunk.IRWE4TYN.js} +1 -1
- package/cdn/chunks/{chunk.S25ZFL75.js → chunk.JUPXHQZ3.js} +1 -1
- package/cdn/chunks/{chunk.VU7XHQIK.js → chunk.KWDCB5GN.js} +1 -1
- package/cdn/chunks/{chunk.47BFZOMM.js → chunk.LAFGNWFC.js} +1 -1
- package/cdn/chunks/chunk.LDAMQCO2.js +1 -0
- package/cdn/chunks/{chunk.TFWBLVB5.js → chunk.LNX7ZKW3.js} +1 -1
- package/cdn/chunks/{chunk.VAFYKWJJ.js → chunk.MGVRJCCE.js} +1 -1
- package/cdn/chunks/{chunk.A6ESZ6MT.js → chunk.NFHVSI66.js} +1 -1
- package/cdn/chunks/{chunk.DMTTKFSK.js → chunk.PQFPJ45Y.js} +1 -1
- package/cdn/chunks/{chunk.BRKFW6M6.js → chunk.R2G6FMES.js} +1 -1
- package/cdn/chunks/chunk.R4DOCTBU.js +1 -0
- package/cdn/chunks/{chunk.TGH3T3HZ.js → chunk.RISDA2AI.js} +1 -1
- package/cdn/chunks/{chunk.5RVKMAOS.js → chunk.S53XPYBW.js} +1 -1
- package/cdn/chunks/{chunk.PSVOSJB4.js → chunk.SBIDVQ2E.js} +1 -1
- package/cdn/chunks/{chunk.DCZSUZQE.js → chunk.SBU6FGLK.js} +1 -1
- package/cdn/chunks/chunk.SHKBYZWU.js +1 -0
- package/cdn/chunks/{chunk.Q5IBYVVU.js → chunk.U6FV3MPT.js} +1 -1
- package/cdn/chunks/chunk.URI32NHH.js +10 -0
- package/cdn/chunks/{chunk.NEWXGJ7D.js → chunk.V4CRJJ5B.js} +1 -1
- package/cdn/chunks/{chunk.IPPNZ65E.js → chunk.V7ZZFRHA.js} +1 -1
- package/cdn/chunks/{chunk.EBYOVEYB.js → chunk.VPGQTCNG.js} +1 -1
- package/cdn/chunks/{chunk.SHQ3QFVV.js → chunk.WXLNA4GN.js} +1 -1
- package/cdn/chunks/{chunk.NSMJ7MPA.js → chunk.XMUDHBRG.js} +1 -1
- package/cdn/chunks/{chunk.525EDN7Z.js → chunk.XRBNH2NJ.js} +1 -1
- package/cdn/chunks/{chunk.X5BLXNFT.js → chunk.YOYAMVUH.js} +1 -1
- package/cdn/chunks/chunk.YS7YV4KF.js +10 -0
- package/cdn/chunks/{chunk.3II3PKJ7.js → chunk.YVTCC5NZ.js} +1 -1
- package/cdn/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
- package/cdn/chunks/{chunk.JRSIDURL.js → chunk.ZBXT5WFZ.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/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.d.ts +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +1 -0
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/{dist-versioned/_components → cdn/components}/menu/menu.d.ts +4 -5
- package/cdn/components/menu/menu.js +1 -0
- package/{cdn-versioned/_components → cdn/components}/menu-item/menu-item.d.ts +10 -3
- package/cdn/components/menu-item/menu-item.js +1 -0
- package/cdn/components/menu-item/submenu-controller.d.ts +33 -0
- package/cdn/components/menu-item/submenu-controller.js +1 -0
- 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/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.d.ts +1 -0
- 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 +492 -2
- package/cdn/solid-components.bundle.js +25 -24
- package/cdn/solid-components.d.ts +4 -2
- package/cdn/solid-components.iife.js +25 -24
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/vscode.html-custom-data.json +66 -1
- package/cdn/web-types.json +146 -3
- package/cdn-versioned/chunks/{chunk.WRWWF5SR.js → chunk.2JZXQAEH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UVOF2P3F.js → chunk.2S6PSHGR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MQHJFGF3.js → chunk.2YPPKILR.js} +1 -1
- package/cdn-versioned/chunks/chunk.3I7Z2ZGA.js +1 -0
- package/cdn-versioned/chunks/{chunk.3X7FZERV.js → chunk.3VSEXUCN.js} +1 -1
- package/cdn-versioned/chunks/chunk.45UEUNN5.js +3 -0
- package/cdn-versioned/chunks/{chunk.HWDDP6FC.js → chunk.4GU7BCCI.js} +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.NIOH4J4J.js → chunk.6NART7VP.js} +1 -1
- package/cdn-versioned/chunks/chunk.7F4BLDO5.js +1 -0
- package/cdn-versioned/chunks/{chunk.BQ4NXLVV.js → chunk.AD3RLPIJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.AOLFDR44.js +1 -0
- package/cdn-versioned/chunks/{chunk.PA4TL5HG.js → chunk.AWLGV3BD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XSD65F5G.js → chunk.AXOCHBBU.js} +1 -1
- package/{cdn/chunks/chunk.O4KUWTWE.js → cdn-versioned/chunks/chunk.B5WOG3GU.js} +1 -1
- package/cdn-versioned/chunks/chunk.BBD6RMZH.js +10 -0
- package/cdn-versioned/chunks/{chunk.6YLRQZ5J.js → chunk.BGEMBVJV.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.6HO6CE4A.js → chunk.CGQ2BPPZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.CMIXQ7JH.js +1 -0
- package/cdn-versioned/chunks/{chunk.36BKMDE3.js → chunk.CMMWC4RI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UJARDPTX.js → chunk.EADKGOFJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.ELCOIK5P.js +1 -0
- package/cdn-versioned/chunks/chunk.FA5R7CKW.js +11 -0
- package/cdn-versioned/chunks/{chunk.CLX2KDZM.js → chunk.FCFA3AM7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GJ3BPOYF.js → chunk.FCYUK5NR.js} +2 -2
- package/cdn-versioned/chunks/chunk.GGXUEKTA.js +11 -0
- package/cdn-versioned/chunks/chunk.GYKZUJLA.js +1 -0
- package/cdn-versioned/chunks/chunk.H3RLFSFE.js +11 -0
- package/cdn-versioned/chunks/chunk.HAFUAYZZ.js +1 -0
- package/cdn-versioned/chunks/chunk.HDPQFCGV.js +25 -0
- package/cdn-versioned/chunks/chunk.ICA5V7JB.js +10 -0
- package/cdn-versioned/chunks/{chunk.PBWOAOPD.js → chunk.IFNRX7KW.js} +1 -1
- package/cdn-versioned/chunks/chunk.IHA7PGG2.js +1 -0
- package/cdn-versioned/chunks/{chunk.XO74MJE7.js → chunk.IRWE4TYN.js} +1 -1
- package/cdn-versioned/chunks/chunk.JUPXHQZ3.js +1 -0
- package/cdn-versioned/chunks/chunk.KWDCB5GN.js +1 -0
- package/cdn-versioned/chunks/{chunk.47BFZOMM.js → chunk.LAFGNWFC.js} +1 -1
- package/cdn-versioned/chunks/chunk.LDAMQCO2.js +1 -0
- package/cdn-versioned/chunks/{chunk.TFWBLVB5.js → chunk.LNX7ZKW3.js} +1 -1
- package/cdn-versioned/chunks/chunk.MGVRJCCE.js +1 -0
- package/cdn-versioned/chunks/{chunk.A6ESZ6MT.js → chunk.NFHVSI66.js} +2 -2
- package/cdn-versioned/chunks/{chunk.DMTTKFSK.js → chunk.PQFPJ45Y.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BRKFW6M6.js → chunk.R2G6FMES.js} +2 -2
- package/cdn-versioned/chunks/chunk.R4DOCTBU.js +1 -0
- package/cdn-versioned/chunks/{chunk.TGH3T3HZ.js → chunk.RISDA2AI.js} +1 -1
- package/cdn-versioned/chunks/chunk.S53XPYBW.js +1 -0
- package/cdn-versioned/chunks/{chunk.PSVOSJB4.js → chunk.SBIDVQ2E.js} +1 -1
- package/cdn-versioned/chunks/chunk.SBU6FGLK.js +1 -0
- package/cdn-versioned/chunks/chunk.SHKBYZWU.js +1 -0
- package/cdn-versioned/chunks/{chunk.Q5IBYVVU.js → chunk.U6FV3MPT.js} +4 -4
- package/cdn-versioned/chunks/chunk.URI32NHH.js +10 -0
- package/cdn-versioned/chunks/chunk.V4CRJJ5B.js +1 -0
- package/cdn-versioned/chunks/chunk.V7ZZFRHA.js +1 -0
- package/cdn-versioned/chunks/{chunk.EBYOVEYB.js → chunk.VPGQTCNG.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WXLNA4GN.js +1 -0
- package/cdn-versioned/chunks/chunk.XMUDHBRG.js +1 -0
- package/cdn-versioned/chunks/{chunk.525EDN7Z.js → chunk.XRBNH2NJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.YOYAMVUH.js +1 -0
- package/cdn-versioned/chunks/chunk.YS7YV4KF.js +10 -0
- package/cdn-versioned/chunks/{chunk.3II3PKJ7.js → chunk.YVTCC5NZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JRSIDURL.js → chunk.ZBXT5WFZ.js} +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/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 +2 -2
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +1 -0
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/{dist/_components → cdn-versioned/components}/menu/menu.d.ts +5 -6
- package/cdn-versioned/components/menu/menu.js +1 -0
- package/{cdn/_components → cdn-versioned/components}/menu-item/menu-item.d.ts +11 -4
- package/cdn-versioned/components/menu-item/menu-item.js +1 -0
- package/cdn-versioned/components/menu-item/submenu-controller.d.ts +33 -0
- package/cdn-versioned/components/menu-item/submenu-controller.js +1 -0
- 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/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +2 -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 +709 -219
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +27 -26
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.d.ts +4 -2
- package/cdn-versioned/solid-components.iife.js +27 -26
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +149 -84
- package/cdn-versioned/web-types.json +286 -143
- package/dist/chunks/{chunk.HM3LCNHO.js → chunk.2VDSJ75Q.js} +2 -2
- package/dist/chunks/{chunk.S6JOYZFA.js → chunk.3JIBD4DC.js} +1 -1
- package/dist/chunks/{chunk.LWXZJIRQ.js → chunk.3PUMOBIO.js} +1 -1
- package/dist/chunks/{chunk.XVD3XEUF.js → chunk.47VXT6XF.js} +1 -1
- package/dist/chunks/{chunk.2AJD3JJI.js → chunk.4Z5MLLDU.js} +1 -1
- package/dist/chunks/{chunk.EXH7DCD2.js → chunk.5UQ6EJAW.js} +1 -1
- package/dist/chunks/{chunk.PQWYZXV6.js → chunk.5XKGAQGU.js} +2 -2
- package/dist/chunks/{chunk.5XMZ6WXX.js → chunk.6ID5BKH5.js} +1 -1
- package/dist/chunks/{chunk.O73ZT3UW.js → chunk.6SZYSES2.js} +1 -1
- package/dist/chunks/{chunk.5DAXULFD.js → chunk.7EMNYFIP.js} +2 -2
- package/dist/chunks/{chunk.X2MHTR7J.js → chunk.7VIYCZ4Z.js} +1 -1
- package/dist/chunks/{chunk.OT7LAUQS.js → chunk.7ZISZOWN.js} +1 -1
- package/dist/chunks/{chunk.FGJ7DRXJ.js → chunk.AQKWXHIC.js} +2 -2
- package/dist/chunks/{chunk.45HZJPE2.js → chunk.BK4CYVLA.js} +1 -1
- package/dist/chunks/{chunk.V6V6VOCS.js → chunk.EIUEZZ5G.js} +2 -2
- package/dist/chunks/{chunk.HKYEM2KT.js → chunk.EO5MCLIR.js} +2 -2
- package/dist/chunks/{chunk.E7EV2RDK.js → chunk.FDQQDXKD.js} +7 -3
- package/dist/chunks/{chunk.SS3CZ5NU.js → chunk.FDUVN4I6.js} +2 -2
- package/dist/chunks/{chunk.2S3WUQ6C.js → chunk.FFAUGMVF.js} +1 -1
- package/dist/chunks/{chunk.A53JZAAA.js → chunk.FUGGYSQF.js} +2 -2
- package/dist/chunks/{chunk.UBWROOYD.js → chunk.I6NQOQEO.js} +2 -2
- package/dist/chunks/{chunk.7TFT5VTM.js → chunk.IIYSG3NP.js} +1 -1
- package/{dist-versioned/chunks/chunk.YEZS5ZR2.js → dist/chunks/chunk.IVMQWO2L.js} +15 -1
- package/dist/chunks/chunk.JJTGSFOV.js +145 -0
- package/dist/chunks/{chunk.DHRBNSPZ.js → chunk.JUUDZ47Q.js} +1 -1
- package/dist/chunks/chunk.KEJFWGZI.js +229 -0
- package/dist/chunks/{chunk.6FBOYPMX.js → chunk.KFVC6XFD.js} +2 -2
- package/dist/chunks/{chunk.FKBZQOFQ.js → chunk.MEDUZPGV.js} +2 -2
- package/dist/chunks/{chunk.FZ6HADPO.js → chunk.MEHX7EVL.js} +1 -1
- package/dist/chunks/{chunk.3D4DMXRR.js → chunk.MQ5VT5VP.js} +2 -2
- package/dist/chunks/{chunk.7VREM4PD.js → chunk.N3MU3643.js} +1 -1
- package/dist/chunks/{chunk.J44XCBXL.js → chunk.N7WBIQUG.js} +1 -1
- package/dist/chunks/{chunk.UVVLW7XN.js → chunk.P4UKJXBL.js} +1 -1
- package/dist/chunks/chunk.PP5IDYES.js +82 -0
- package/dist/chunks/{chunk.TLWBSIPQ.js → chunk.QS7N47CI.js} +1 -1
- package/dist/chunks/{chunk.R6GZBBBT.js → chunk.R2XG3O7O.js} +2 -2
- package/dist/chunks/chunk.RGFFEJMJ.js +153 -0
- package/dist/chunks/{chunk.IENME46S.js → chunk.SGJGJL45.js} +1 -1
- package/dist/chunks/{chunk.OYDC3KOZ.js → chunk.SW6AKO54.js} +3 -3
- package/dist/chunks/{chunk.LMZP2HEH.js → chunk.TQMYNSM4.js} +1 -1
- package/dist/chunks/{chunk.XEXGLMT2.js → chunk.TWDHTS5K.js} +1 -1
- package/dist/chunks/{chunk.WHHDXLGX.js → chunk.TX6S5UVP.js} +1 -1
- package/dist/chunks/{chunk.N3IMBUNL.js → chunk.UAADOLK5.js} +1 -1
- package/dist/chunks/{chunk.EZQDEKUU.js → chunk.UJHYOR23.js} +2 -2
- package/dist/chunks/{chunk.UVEPG25K.js → chunk.UJHYUCHT.js} +2 -2
- package/dist/chunks/{chunk.E33JBIRB.js → chunk.UQ55GFI3.js} +2 -2
- package/dist/chunks/{chunk.VPMSIODG.js → chunk.VFG2SXVE.js} +1 -1
- package/dist/chunks/{chunk.P2GSSESB.js → chunk.WEUFN5UU.js} +2 -2
- package/dist/chunks/{chunk.LH3FOXUD.js → chunk.WL7EGHGP.js} +1 -1
- package/dist/chunks/{chunk.NRFL4RBI.js → chunk.WSEY3LJE.js} +1 -1
- package/dist/chunks/{chunk.KORSEOQ4.js → chunk.XKFVXICF.js} +2 -2
- package/dist/chunks/{chunk.FZ6CB77Z.js → chunk.YGVCQCO4.js} +1 -1
- package/dist/chunks/{chunk.2PJVN4WQ.js → chunk.YRFRBXRK.js} +2 -2
- package/dist/chunks/{chunk.5UKTWIKN.js → chunk.ZCI47J45.js} +1 -1
- package/dist/chunks/{chunk.5GRW5ZMD.js → chunk.ZF7CPAC2.js} +2 -2
- package/dist/chunks/{chunk.5RE63XH3.js → chunk.ZSZ2IB2L.js} +2 -2
- package/dist/chunks/{chunk.PQDBG4AZ.js → chunk.ZVLZ6XOK.js} +2 -2
- package/{dist-versioned/chunks/chunk.Z4FH3THI.js → dist/chunks/chunk.ZYF25H5G.js} +1 -0
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion-group/accordion-group.js +6 -6
- package/dist/components/animation/animation.js +2 -2
- 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 +4 -4
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/combobox/combobox.js +8 -8
- 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.d.ts +1 -1
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +5 -5
- package/dist/components/flipcard/flipcard.js +8 -8
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.internal.d.ts +1 -0
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +6 -6
- package/dist/components/link/link.js +3 -3
- package/dist/components/map-marker/map-marker.js +2 -2
- package/{cdn-versioned/_components → dist/components}/menu/menu.d.ts +4 -5
- package/dist/components/menu/menu.js +12 -0
- package/{dist-versioned/_components → dist/components}/menu-item/menu-item.d.ts +10 -3
- package/dist/components/menu-item/menu-item.js +12 -0
- package/dist/components/menu-item/submenu-controller.d.ts +33 -0
- package/dist/components/menu-item/submenu-controller.js +7 -0
- 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 +6 -6
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/scrollable/scrollable.js +5 -5
- package/dist/components/select/select.js +8 -8
- 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.d.ts +1 -0
- package/dist/components/switch/switch.js +3 -2
- package/dist/components/tab/tab.js +3 -3
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/teaser/teaser.js +3 -3
- package/dist/components/teaser-media/teaser-media.js +3 -3
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +492 -2
- package/dist/solid-components.d.ts +4 -2
- package/dist/solid-components.js +78 -69
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +66 -1
- package/dist/web-types.json +146 -3
- package/dist-versioned/chunks/{chunk.HM3LCNHO.js → chunk.2VDSJ75Q.js} +4 -4
- package/dist-versioned/chunks/{chunk.S6JOYZFA.js → chunk.3JIBD4DC.js} +5 -5
- package/dist-versioned/chunks/{chunk.LWXZJIRQ.js → chunk.3PUMOBIO.js} +2 -2
- package/dist-versioned/chunks/{chunk.XVD3XEUF.js → chunk.47VXT6XF.js} +3 -3
- package/dist-versioned/chunks/{chunk.2AJD3JJI.js → chunk.4Z5MLLDU.js} +3 -3
- package/dist-versioned/chunks/{chunk.EXH7DCD2.js → chunk.5UQ6EJAW.js} +2 -2
- package/dist-versioned/chunks/{chunk.PQWYZXV6.js → chunk.5XKGAQGU.js} +28 -28
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.5XMZ6WXX.js → chunk.6ID5BKH5.js} +3 -3
- package/dist-versioned/chunks/{chunk.O73ZT3UW.js → chunk.6SZYSES2.js} +2 -2
- package/dist-versioned/chunks/{chunk.5DAXULFD.js → chunk.7EMNYFIP.js} +3 -3
- package/dist-versioned/chunks/{chunk.X2MHTR7J.js → chunk.7VIYCZ4Z.js} +15 -15
- package/dist-versioned/chunks/{chunk.OT7LAUQS.js → chunk.7ZISZOWN.js} +3 -3
- package/dist-versioned/chunks/{chunk.FGJ7DRXJ.js → chunk.AQKWXHIC.js} +4 -4
- package/dist-versioned/chunks/{chunk.45HZJPE2.js → chunk.BK4CYVLA.js} +3 -3
- package/dist-versioned/chunks/{chunk.V6V6VOCS.js → chunk.EIUEZZ5G.js} +14 -14
- package/dist-versioned/chunks/{chunk.HKYEM2KT.js → chunk.EO5MCLIR.js} +4 -4
- package/dist-versioned/chunks/{chunk.E7EV2RDK.js → chunk.FDQQDXKD.js} +8 -4
- package/dist-versioned/chunks/{chunk.SS3CZ5NU.js → chunk.FDUVN4I6.js} +8 -8
- package/dist-versioned/chunks/{chunk.2S3WUQ6C.js → chunk.FFAUGMVF.js} +4 -4
- package/dist-versioned/chunks/{chunk.A53JZAAA.js → chunk.FUGGYSQF.js} +8 -8
- package/dist-versioned/chunks/{chunk.UBWROOYD.js → chunk.I6NQOQEO.js} +5 -5
- package/dist-versioned/chunks/{chunk.7TFT5VTM.js → chunk.IIYSG3NP.js} +1 -1
- package/{dist/chunks/chunk.YEZS5ZR2.js → dist-versioned/chunks/chunk.IVMQWO2L.js} +15 -1
- package/dist-versioned/chunks/chunk.JJTGSFOV.js +145 -0
- package/dist-versioned/chunks/{chunk.DHRBNSPZ.js → chunk.JUUDZ47Q.js} +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +229 -0
- package/dist-versioned/chunks/{chunk.6FBOYPMX.js → chunk.KFVC6XFD.js} +4 -4
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.FKBZQOFQ.js → chunk.MEDUZPGV.js} +6 -6
- package/dist-versioned/chunks/{chunk.FZ6HADPO.js → chunk.MEHX7EVL.js} +4 -4
- package/dist-versioned/chunks/{chunk.3D4DMXRR.js → chunk.MQ5VT5VP.js} +4 -4
- package/dist-versioned/chunks/{chunk.7VREM4PD.js → chunk.N3MU3643.js} +2 -2
- package/dist-versioned/chunks/{chunk.J44XCBXL.js → chunk.N7WBIQUG.js} +6 -6
- package/dist-versioned/chunks/{chunk.UVVLW7XN.js → chunk.P4UKJXBL.js} +4 -4
- package/dist-versioned/chunks/chunk.PP5IDYES.js +82 -0
- package/dist-versioned/chunks/{chunk.TLWBSIPQ.js → chunk.QS7N47CI.js} +7 -7
- package/dist-versioned/chunks/{chunk.R6GZBBBT.js → chunk.R2XG3O7O.js} +3 -3
- package/dist-versioned/chunks/chunk.RGFFEJMJ.js +153 -0
- package/dist-versioned/chunks/{chunk.IENME46S.js → chunk.SGJGJL45.js} +6 -6
- package/dist-versioned/chunks/{chunk.OYDC3KOZ.js → chunk.SW6AKO54.js} +15 -15
- package/dist-versioned/chunks/{chunk.LMZP2HEH.js → chunk.TQMYNSM4.js} +2 -2
- package/dist-versioned/chunks/{chunk.XEXGLMT2.js → chunk.TWDHTS5K.js} +2 -2
- package/dist-versioned/chunks/{chunk.WHHDXLGX.js → chunk.TX6S5UVP.js} +12 -12
- package/dist-versioned/chunks/{chunk.N3IMBUNL.js → chunk.UAADOLK5.js} +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.EZQDEKUU.js → chunk.UJHYOR23.js} +7 -7
- package/dist-versioned/chunks/{chunk.UVEPG25K.js → chunk.UJHYUCHT.js} +4 -4
- package/dist-versioned/chunks/{chunk.E33JBIRB.js → chunk.UQ55GFI3.js} +5 -5
- package/dist-versioned/chunks/{chunk.VPMSIODG.js → chunk.VFG2SXVE.js} +9 -9
- package/dist-versioned/chunks/{chunk.P2GSSESB.js → chunk.WEUFN5UU.js} +26 -26
- package/dist-versioned/chunks/{chunk.LH3FOXUD.js → chunk.WL7EGHGP.js} +3 -3
- package/dist-versioned/chunks/{chunk.NRFL4RBI.js → chunk.WSEY3LJE.js} +5 -5
- package/dist-versioned/chunks/{chunk.KORSEOQ4.js → chunk.XKFVXICF.js} +5 -5
- package/dist-versioned/chunks/{chunk.FZ6CB77Z.js → chunk.YGVCQCO4.js} +3 -3
- package/dist-versioned/chunks/{chunk.2PJVN4WQ.js → chunk.YRFRBXRK.js} +3 -3
- package/dist-versioned/chunks/{chunk.5UKTWIKN.js → chunk.ZCI47J45.js} +2 -2
- package/dist-versioned/chunks/{chunk.5GRW5ZMD.js → chunk.ZF7CPAC2.js} +7 -7
- package/dist-versioned/chunks/{chunk.5RE63XH3.js → chunk.ZSZ2IB2L.js} +4 -4
- package/dist-versioned/chunks/{chunk.PQDBG4AZ.js → chunk.ZVLZ6XOK.js} +4 -4
- package/{dist/chunks/chunk.Z4FH3THI.js → dist-versioned/chunks/chunk.ZYF25H5G.js} +1 -0
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +5 -5
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +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 +4 -4
- 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 +6 -6
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +5 -5
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +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/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 +2 -2
- 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 +5 -5
- 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 -1
- package/dist-versioned/components/icon/icon.js +4 -4
- package/dist-versioned/components/icon/library.internal.d.ts +1 -0
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +6 -6
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +3 -3
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/{cdn/_components → dist-versioned/components}/menu/menu.d.ts +5 -6
- package/dist-versioned/components/menu/menu.js +12 -0
- package/{dist/_components → dist-versioned/components}/menu-item/menu-item.d.ts +11 -4
- package/dist-versioned/components/menu-item/menu-item.js +12 -0
- package/dist-versioned/components/menu-item/submenu-controller.d.ts +33 -0
- package/dist-versioned/components/menu-item/submenu-controller.js +7 -0
- 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 +6 -6
- 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 +3 -3
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +5 -5
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +5 -5
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +8 -8
- 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 +2 -1
- package/dist-versioned/components/switch/switch.js +3 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +3 -3
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +5 -5
- 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 +5 -5
- package/dist-versioned/components/teaser/teaser.js +3 -3
- package/dist-versioned/components/teaser-media/teaser-media.js +3 -3
- 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 +6 -6
- 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 +709 -219
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.d.ts +4 -2
- package/dist-versioned/solid-components.js +78 -69
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/utilities/icon-library.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +149 -84
- package/dist-versioned/web-types.json +286 -143
- package/package.json +3 -3
- package/cdn/_components/menu/menu.js +0 -117
- package/cdn/_components/menu/menu.styles.d.ts +0 -2
- package/cdn/_components/menu/menu.styles.js +0 -17
- package/cdn/_components/menu-item/menu-item.js +0 -123
- package/cdn/_components/menu-item/menu-item.styles.d.ts +0 -2
- package/cdn/_components/menu-item/menu-item.styles.js +0 -97
- package/cdn/chunks/chunk.5XTSQKKL.js +0 -11
- package/cdn/chunks/chunk.CNAHHN23.js +0 -10
- package/cdn/chunks/chunk.KV6KJCPR.js +0 -3
- package/cdn/chunks/chunk.UITPASIM.js +0 -1
- package/cdn/chunks/chunk.V55KCNZK.js +0 -25
- package/cdn-versioned/_components/menu/menu.js +0 -117
- package/cdn-versioned/_components/menu/menu.styles.d.ts +0 -2
- package/cdn-versioned/_components/menu/menu.styles.js +0 -17
- package/cdn-versioned/_components/menu-item/menu-item.js +0 -123
- package/cdn-versioned/_components/menu-item/menu-item.styles.d.ts +0 -2
- package/cdn-versioned/_components/menu-item/menu-item.styles.js +0 -97
- package/cdn-versioned/chunks/chunk.5RVKMAOS.js +0 -1
- package/cdn-versioned/chunks/chunk.5XTSQKKL.js +0 -11
- package/cdn-versioned/chunks/chunk.7TTIUQTQ.js +0 -1
- package/cdn-versioned/chunks/chunk.AFZTQYJ4.js +0 -11
- package/cdn-versioned/chunks/chunk.CNAHHN23.js +0 -10
- package/cdn-versioned/chunks/chunk.DCZSUZQE.js +0 -1
- package/cdn-versioned/chunks/chunk.I7W3IQFX.js +0 -1
- package/cdn-versioned/chunks/chunk.IPPNZ65E.js +0 -1
- package/cdn-versioned/chunks/chunk.KF7KNFPV.js +0 -1
- package/cdn-versioned/chunks/chunk.KV6KJCPR.js +0 -3
- package/cdn-versioned/chunks/chunk.LDSECTBO.js +0 -11
- package/cdn-versioned/chunks/chunk.NEWXGJ7D.js +0 -1
- package/cdn-versioned/chunks/chunk.NSMJ7MPA.js +0 -1
- package/cdn-versioned/chunks/chunk.QGBIFDJ4.js +0 -1
- package/cdn-versioned/chunks/chunk.S25ZFL75.js +0 -1
- package/cdn-versioned/chunks/chunk.SHQ3QFVV.js +0 -1
- package/cdn-versioned/chunks/chunk.UITPASIM.js +0 -1
- package/cdn-versioned/chunks/chunk.UN7OFRJA.js +0 -11
- package/cdn-versioned/chunks/chunk.V55KCNZK.js +0 -25
- package/cdn-versioned/chunks/chunk.VAFYKWJJ.js +0 -1
- package/cdn-versioned/chunks/chunk.VU7XHQIK.js +0 -1
- package/cdn-versioned/chunks/chunk.X5BLXNFT.js +0 -1
- package/cdn-versioned/chunks/chunk.XENVET63.js +0 -1
- package/cdn-versioned/chunks/chunk.YJ4WEMCO.js +0 -1
- package/cdn-versioned/chunks/chunk.YQLNNK4Q.js +0 -1
- package/dist/_components/menu/menu.js +0 -117
- package/dist/_components/menu/menu.styles.d.ts +0 -2
- package/dist/_components/menu/menu.styles.js +0 -17
- package/dist/_components/menu-item/menu-item.js +0 -123
- package/dist/_components/menu-item/menu-item.styles.d.ts +0 -2
- package/dist/_components/menu-item/menu-item.styles.js +0 -97
- package/dist/chunks/chunk.HY3LORT5.js +0 -82
- package/dist-versioned/_components/menu/menu.js +0 -117
- package/dist-versioned/_components/menu/menu.styles.d.ts +0 -2
- package/dist-versioned/_components/menu/menu.styles.js +0 -17
- package/dist-versioned/_components/menu-item/menu-item.js +0 -123
- package/dist-versioned/_components/menu-item/menu-item.styles.d.ts +0 -2
- package/dist-versioned/_components/menu-item/menu-item.styles.js +0 -97
- package/dist-versioned/chunks/chunk.HY3LORT5.js +0 -82
package/cdn/solid-components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/chunk.HAL7R4WT.js";import{a as K}from"./chunks/chunk.
|
|
1
|
+
import{a as eo}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as K}from"./chunks/chunk.AXOCHBBU.js";import{a as U}from"./chunks/chunk.2JZXQAEH.js";import{a as J}from"./chunks/chunk.IRWE4TYN.js";import{a as W}from"./chunks/chunk.FCYUK5NR.js";import{a as X}from"./chunks/chunk.PQFPJ45Y.js";import{a as Q}from"./chunks/chunk.Z4UTG2XJ.js";import{a as V}from"./chunks/chunk.S53XPYBW.js";import{a as j}from"./chunks/chunk.45UEUNN5.js";import{a as q}from"./chunks/chunk.V4CRJJ5B.js";import{a as y}from"./chunks/chunk.V7ZZFRHA.js";import{a as z}from"./chunks/chunk.YOYAMVUH.js";import{a as N}from"./chunks/chunk.4GU7BCCI.js";import{a as O}from"./chunks/chunk.U6FV3MPT.js";import{a as E}from"./chunks/chunk.RISDA2AI.js";import{a as F}from"./chunks/chunk.XMUDHBRG.js";import{a as P}from"./chunks/chunk.3I7Z2ZGA.js";import{a as H}from"./chunks/chunk.IHA7PGG2.js";import{a as L}from"./chunks/chunk.GGXUEKTA.js";import{a as M}from"./chunks/chunk.VPGQTCNG.js";import{a as h}from"./chunks/chunk.R2G6FMES.js";import{a as A}from"./chunks/chunk.SHKBYZWU.js";import{a as D}from"./chunks/chunk.R4DOCTBU.js";import"./chunks/chunk.BBD6RMZH.js";import{a as w}from"./chunks/chunk.SBU6FGLK.js";import{a as R}from"./chunks/chunk.3VSEXUCN.js";import{a as v}from"./chunks/chunk.HAFUAYZZ.js";import{a as C}from"./chunks/chunk.2YPPKILR.js";import{a as G}from"./chunks/chunk.LDAMQCO2.js";import"./chunks/chunk.YS7YV4KF.js";import{a as b}from"./chunks/chunk.AWLGV3BD.js";import{a as T}from"./chunks/chunk.XRBNH2NJ.js";import{a as I}from"./chunks/chunk.7F4BLDO5.js";import{a as B}from"./chunks/chunk.JUPXHQZ3.js";import{a as g}from"./chunks/chunk.WXLNA4GN.js";import{a as k}from"./chunks/chunk.BGEMBVJV.js";import{a as S}from"./chunks/chunk.GYKZUJLA.js";import"./chunks/chunk.URI32NHH.js";import"./chunks/chunk.ICA5V7JB.js";import{a as s}from"./chunks/chunk.ELCOIK5P.js";import{a as c}from"./chunks/chunk.H3RLFSFE.js";import{a as n}from"./chunks/chunk.LNX7ZKW3.js";import{a as i}from"./chunks/chunk.LAFGNWFC.js";import"./chunks/chunk.CDC46OKY.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.EADKGOFJ.js";import{a as l}from"./chunks/chunk.FCFA3AM7.js";import{a as Y}from"./chunks/chunk.KWDCB5GN.js";import{a as Z}from"./chunks/chunk.CMIXQ7JH.js";import"./chunks/chunk.AOLFDR44.js";import{a as x}from"./chunks/chunk.FA5R7CKW.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as m}from"./chunks/chunk.2S6PSHGR.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.SBIDVQ2E.js";import{a as e}from"./chunks/chunk.CMMWC4RI.js";import{a as r}from"./chunks/chunk.AD3RLPIJ.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.MGVRJCCE.js";import{a as f}from"./chunks/chunk.IFNRX7KW.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.NFHVSI66.js";import{a as t}from"./chunks/chunk.6NART7VP.js";import"./chunks/chunk.6HLS5XU2.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.YTG5BN3U.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.H2TKMIFR.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.YVTCC5NZ.js";import"./chunks/chunk.N2OPZHJV.js";import"./chunks/chunk.CDEXCMVF.js";import{d as _,e as $}from"./chunks/chunk.ZBXT5WFZ.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.B5WOG3GU.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.26V4EXHB.js";import{a as oo}from"./chunks/chunk.GHC63SXL.js";import"./chunks/chunk.WISEYZGW.js";import"./chunks/chunk.U5T3AO6I.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.HDPQFCGV.js";import"./chunks/chunk.UWPDCU52.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{oo as LocalizeController,e as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,Y as SdBreadcrumb,Z as SdBreadcrumbItem,d as SdButton,x as SdCarousel,m as SdCarouselItem,S as SdCheckbox,s as SdCheckboxGroup,c as SdCombobox,b as SdDialog,T as SdDivider,f as SdDrawer,I as SdDropdown,B as SdExpandable,g as SdFlipcard,k as SdHeader,o as SdIcon,C as SdInclude,G as SdInput,M as SdLink,h as SdMapMarker,A as SdMenu,D as SdMenuItem,w as SdNavigationItem,R as SdNotification,v as SdOptgroup,N as SdOption,i as SdPopup,O as SdQuickfact,P as SdRadio,E as SdRadioButton,F as SdRadioGroup,H as SdScrollable,L as SdSelect,t as SdSpinner,Q as SdStep,V as SdStepGroup,j as SdSwitch,q as SdTab,y as SdTabGroup,z as SdTabPanel,n as SdTag,J as SdTeaser,K as SdTeaserMedia,U as SdTextarea,W as SdTooltip,X as SdVideo,_ as registerIconLibrary,eo as setupAutocomplete,$ as unregisterIconLibrary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.LAFGNWFC.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.HDPQFCGV.js";import"../chunks/chunk.UWPDCU52.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.
|
|
1
|
+
import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.ZBXT5WFZ.js";import"../chunks/chunk.K7HF3VBZ.js";import"../chunks/chunk.B5WOG3GU.js";import"../chunks/chunk.PYHYYOBE.js";import"../chunks/chunk.TJOCV4DC.js";export{a as registerIconLibrary,b as unregisterIconLibrary};
|
|
@@ -1588,6 +1588,71 @@
|
|
|
1588
1588
|
}
|
|
1589
1589
|
]
|
|
1590
1590
|
},
|
|
1591
|
+
{
|
|
1592
|
+
"name": "sd-menu",
|
|
1593
|
+
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-select** - Emitted when a menu item is selected.\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 menu's content.",
|
|
1594
|
+
"attributes": [
|
|
1595
|
+
{
|
|
1596
|
+
"name": "dir",
|
|
1597
|
+
"description": "The element's directionality.",
|
|
1598
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "lang",
|
|
1602
|
+
"description": "The element's language.",
|
|
1603
|
+
"values": []
|
|
1604
|
+
}
|
|
1605
|
+
],
|
|
1606
|
+
"references": [
|
|
1607
|
+
{
|
|
1608
|
+
"name": "Documentation",
|
|
1609
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-menu--docs"
|
|
1610
|
+
}
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"name": "sd-menu-item",
|
|
1615
|
+
"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.",
|
|
1616
|
+
"attributes": [
|
|
1617
|
+
{
|
|
1618
|
+
"name": "type",
|
|
1619
|
+
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
1620
|
+
"values": [{ "name": "normal" }, { "name": "checkbox" }]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"name": "checked",
|
|
1624
|
+
"description": "Draws the item in a checked state.",
|
|
1625
|
+
"values": []
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "disabled",
|
|
1629
|
+
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
1630
|
+
"values": []
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "value",
|
|
1634
|
+
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
1635
|
+
"values": []
|
|
1636
|
+
},
|
|
1637
|
+
{ "name": "chevron", "values": [] },
|
|
1638
|
+
{
|
|
1639
|
+
"name": "dir",
|
|
1640
|
+
"description": "The element's directionality.",
|
|
1641
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "lang",
|
|
1645
|
+
"description": "The element's language.",
|
|
1646
|
+
"values": []
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
"references": [
|
|
1650
|
+
{
|
|
1651
|
+
"name": "Documentation",
|
|
1652
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-menu-item--docs"
|
|
1653
|
+
}
|
|
1654
|
+
]
|
|
1655
|
+
},
|
|
1591
1656
|
{
|
|
1592
1657
|
"name": "sd-navigation-item",
|
|
1593
1658
|
"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.",
|
|
@@ -2484,7 +2549,7 @@
|
|
|
2484
2549
|
},
|
|
2485
2550
|
{
|
|
2486
2551
|
"name": "sd-switch",
|
|
2487
|
-
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a 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 a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\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 switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
2552
|
+
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a 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 a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\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 switch's label.\n- **tooltip** - An optional tooltip that helps describe the switch. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
2488
2553
|
"attributes": [
|
|
2489
2554
|
{
|
|
2490
2555
|
"name": "title",
|
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -3610,6 +3610,143 @@
|
|
|
3610
3610
|
]
|
|
3611
3611
|
}
|
|
3612
3612
|
},
|
|
3613
|
+
{
|
|
3614
|
+
"name": "sd-menu",
|
|
3615
|
+
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-select** - Emitted when a menu item is selected.\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 menu's content.",
|
|
3616
|
+
"doc-url": "",
|
|
3617
|
+
"attributes": [
|
|
3618
|
+
{
|
|
3619
|
+
"name": "dir",
|
|
3620
|
+
"description": "The element's directionality.",
|
|
3621
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"name": "lang",
|
|
3625
|
+
"description": "The element's language.",
|
|
3626
|
+
"value": { "type": "string" }
|
|
3627
|
+
}
|
|
3628
|
+
],
|
|
3629
|
+
"slots": [{ "name": "", "description": "The menu's content." }],
|
|
3630
|
+
"events": [
|
|
3631
|
+
{
|
|
3632
|
+
"name": "sd-select",
|
|
3633
|
+
"description": "Emitted when a menu item is selected."
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
"js": {
|
|
3637
|
+
"properties": [
|
|
3638
|
+
{ "name": "localize" },
|
|
3639
|
+
{
|
|
3640
|
+
"name": "dir",
|
|
3641
|
+
"description": "The element's directionality.",
|
|
3642
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"name": "lang",
|
|
3646
|
+
"description": "The element's language.",
|
|
3647
|
+
"type": "string"
|
|
3648
|
+
}
|
|
3649
|
+
],
|
|
3650
|
+
"events": [
|
|
3651
|
+
{
|
|
3652
|
+
"name": "sd-select",
|
|
3653
|
+
"description": "Emitted when a menu item is selected."
|
|
3654
|
+
}
|
|
3655
|
+
]
|
|
3656
|
+
}
|
|
3657
|
+
},
|
|
3658
|
+
{
|
|
3659
|
+
"name": "sd-menu-item",
|
|
3660
|
+
"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.",
|
|
3661
|
+
"doc-url": "",
|
|
3662
|
+
"attributes": [
|
|
3663
|
+
{
|
|
3664
|
+
"name": "type",
|
|
3665
|
+
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
3666
|
+
"value": {
|
|
3667
|
+
"type": "'normal' | 'checkbox'",
|
|
3668
|
+
"default": "'normal'"
|
|
3669
|
+
}
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"name": "checked",
|
|
3673
|
+
"description": "Draws the item in a checked state.",
|
|
3674
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"name": "disabled",
|
|
3678
|
+
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
3679
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"name": "value",
|
|
3683
|
+
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
3684
|
+
"value": { "type": "string", "default": "''" }
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"name": "chevron",
|
|
3688
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"name": "dir",
|
|
3692
|
+
"description": "The element's directionality.",
|
|
3693
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
"name": "lang",
|
|
3697
|
+
"description": "The element's language.",
|
|
3698
|
+
"value": { "type": "string" }
|
|
3699
|
+
}
|
|
3700
|
+
],
|
|
3701
|
+
"slots": [
|
|
3702
|
+
{ "name": "", "description": "The menu item's label." },
|
|
3703
|
+
{
|
|
3704
|
+
"name": "icon-indent",
|
|
3705
|
+
"description": "Used to prepend an icon or similar element to the menu item."
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
"name": "submenu",
|
|
3709
|
+
"description": "Used to denote a nested menu."
|
|
3710
|
+
}
|
|
3711
|
+
],
|
|
3712
|
+
"events": [],
|
|
3713
|
+
"js": {
|
|
3714
|
+
"properties": [
|
|
3715
|
+
{
|
|
3716
|
+
"name": "type",
|
|
3717
|
+
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
3718
|
+
"type": "'normal' | 'checkbox'"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"name": "checked",
|
|
3722
|
+
"description": "Draws the item in a checked state.",
|
|
3723
|
+
"type": "boolean"
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
"name": "disabled",
|
|
3727
|
+
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
3728
|
+
"type": "boolean"
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"name": "value",
|
|
3732
|
+
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
3733
|
+
"type": "string"
|
|
3734
|
+
},
|
|
3735
|
+
{ "name": "chevron", "type": "boolean" },
|
|
3736
|
+
{
|
|
3737
|
+
"name": "dir",
|
|
3738
|
+
"description": "The element's directionality.",
|
|
3739
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"name": "lang",
|
|
3743
|
+
"description": "The element's language.",
|
|
3744
|
+
"type": "string"
|
|
3745
|
+
}
|
|
3746
|
+
],
|
|
3747
|
+
"events": []
|
|
3748
|
+
}
|
|
3749
|
+
},
|
|
3613
3750
|
{
|
|
3614
3751
|
"name": "sd-navigation-item",
|
|
3615
3752
|
"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.",
|
|
@@ -5676,7 +5813,7 @@
|
|
|
5676
5813
|
},
|
|
5677
5814
|
{
|
|
5678
5815
|
"name": "sd-switch",
|
|
5679
|
-
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a 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 a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\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 switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
5816
|
+
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a 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 a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\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 switch's label.\n- **tooltip** - An optional tooltip that helps describe the switch. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
5680
5817
|
"doc-url": "",
|
|
5681
5818
|
"attributes": [
|
|
5682
5819
|
{
|
|
@@ -5725,7 +5862,13 @@
|
|
|
5725
5862
|
"value": { "type": "string" }
|
|
5726
5863
|
}
|
|
5727
5864
|
],
|
|
5728
|
-
"slots": [
|
|
5865
|
+
"slots": [
|
|
5866
|
+
{ "name": "", "description": "The switch's label." },
|
|
5867
|
+
{
|
|
5868
|
+
"name": "tooltip",
|
|
5869
|
+
"description": "An optional tooltip that helps describe the switch. Use this slot with the `sd-tooltip` component."
|
|
5870
|
+
}
|
|
5871
|
+
],
|
|
5729
5872
|
"events": [
|
|
5730
5873
|
{
|
|
5731
5874
|
"name": "sd-blur",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as $}from"./chunk.URI32NHH.js";import{a as C}from"./chunk.CDC46OKY.js";import{b as g}from"./chunk.6HLS5XU2.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YTG5BN3U.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as d}from"./chunk.E2DRD2OX.js";import{a as y,b as i,c as h,d as p,h as m}from"./chunk.HDPQFCGV.js";import{b as v,e as n}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,u){this.textarea.setRangeText(l,a,o,u),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,u=!!l.tooltip,c=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||u?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default 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"}[c])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",c==="disabled"||c==="visuallyDisabled"?"text-neutral-500":"text-black")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-10-0-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${r(this.placeholder)}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-5-10-0-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-5-10-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-5-10-0-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="status-check" part="valid-icon"></sd-5-10-0-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${o?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}: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([required]) #label:after{content:" *"}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([p("#input")],t.prototype,"textarea",2),e([p("#invalid-message")],t.prototype,"invalidMessage",2),e([h()],t.prototype,"hasFocus",2),e([h()],t.prototype,"showValidStyle",2),e([h()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",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,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",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,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:String,reflect:!0})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([C()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=e([y("sd-5-10-0-textarea")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,h as e}from"./chunk.
|
|
1
|
+
import{a as r,h as e}from"./chunk.HDPQFCGV.js";import{b as l,e as o}from"./chunk.UWPDCU52.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-10-0-carousel-item")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as m,b as o,h as a}from"./chunk.
|
|
1
|
+
import{a as n}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as m,b as o,h as a}from"./chunk.HDPQFCGV.js";import{b as l,e as c}from"./chunk.UWPDCU52.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await n(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return c`<slot></slot>`}};t.styles=[...a.styles,l`:host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([m("sd-5-10-0-include")],t);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk.26V4EXHB.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as s,c as r,h as a}from"./chunk.HDPQFCGV.js";import{b as n,e as h}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return h`<span part="base" class="${i("sd-5-10-0-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${i("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${i("rounded-full inline-flex text-white bg-accent h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span></span><slot part="label" class="${i("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,n`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([o("sd-5-10-0-radio")],e);export{e as a};
|
|
@@ -1 +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.26V4EXHB.js";import{a as H}from"./chunk.GHC63SXL.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.
|
|
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.26V4EXHB.js";import{a as H}from"./chunk.GHC63SXL.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.HDPQFCGV.js";import{b as k,e as p}from"./chunk.UWPDCU52.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-10-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-10-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-10-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-10-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-10-0-icon></sd-5-10-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-10-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,3 @@
|
|
|
1
|
+
import{a as f}from"./chunk.URI32NHH.js";import{a as b}from"./chunk.CDC46OKY.js";import{b as c}from"./chunk.6HLS5XU2.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as m}from"./chunk.YTG5BN3U.js";import{a as o}from"./chunk.26V4EXHB.js";import{a}from"./chunk.E2DRD2OX.js";import{a as h,b as l,c as u,d as s,h as n}from"./chunk.HDPQFCGV.js";import{b as d,e as i}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new c(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${o("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${o(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
|
|
2
|
+
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
3
|
+
peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:bg-accent-550 bg-accent hover:border-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${o("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"bg-white translate-x-2":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?this.checked?"bg-white translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"bg-white translate-x-2":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${o("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?i`<slot name="tooltip"></slot>`:null}</div>${this.formControlController.renderInvalidMessage()}`}};e.styles=[...n.styles,d`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label:after{content:" *"}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([u()],e.prototype,"showInvalidStyle",2),t([l({type:String,reflect:!0})],e.prototype,"title",2),t([l({type:String,reflect:!0})],e.prototype,"name",2),t([l()],e.prototype,"value",2),t([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([l({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([l({reflect:!0})],e.prototype,"form",2),t([l({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([h("sd-5-10-0-switch")],e);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk.
|
|
1
|
+
import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.26V4EXHB.js";import{a as o}from"./chunk.E2DRD2OX.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.HDPQFCGV.js";import{b as c,e as l}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-700 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"border-neutral-800")}">${this.selected?l`<sd-5-10-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-10-0-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`:host{display:block;outline:2px solid transparent!important;outline-offset:2px!important;position:relative;width:100%}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-5-10-0-option")],e);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as p}from"./chunk.UWPDCU52.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-
|
|
1
|
+
import{e as p}from"./chunk.UWPDCU52.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-10-0-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-5-10-0-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-5-10-0-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.GHC63SXL.js";import{a as i,b as s,h as l}from"./chunk.
|
|
1
|
+
import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.GHC63SXL.js";import{a as i,b as s,h as l}from"./chunk.HDPQFCGV.js";import{b as t,e as o}from"./chunk.UWPDCU52.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...l.styles,t`:host{display:inline-block;height:1em;width:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-5-10-0-spinner")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.GHC63SXL.js";import{a as E}from"./chunk.E2DRD2OX.js";import{a as w,b as o,d as r,h as p}from"./chunk.HDPQFCGV.js";import{b as y,e as b}from"./chunk.UWPDCU52.js";import{b as l,e as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends p{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-5-10-0-button":case"sd-5-10-0-icon-button":s=t.button;break;case"sd-5-10-0-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-5-10-0-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-5-10-0-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-5-10-0-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-5-10-0-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-5-10-0-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await d(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await d(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-5-10-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-5-10-0-popup>`}};n.styles=[...p.styles,y`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-5-10-0-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.
|
|
1
|
+
import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.HDPQFCGV.js";import{b as c,e as d}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-10-0-animation")],t);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g,b as m,c as b,d as h,h as i}from"./chunk.HDPQFCGV.js";import{b as d,e as c}from"./chunk.UWPDCU52.js";import{e as l}from"./chunk.TJOCV4DC.js";var s=class extends i{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-5-10-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-10-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-10-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-10-0-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-5-10-0-button-group__button"),o.classList.toggle("sd-5-10-0-button-group__button--first",n===0),o.classList.toggle("sd-5-10-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-10-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-10-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-10-0-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...i.styles,d`:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([m({type:String,reflect:!0})],s.prototype,"label",2),s=l([g("sd-5-10-0-button-group")],s);function a(r){var e;let u="sd-5-10-0-button, sd-5-10-0-radio-button";return(e=r.closest(u))!=null?e:r.querySelector(u)}export{s as a};
|