@solid-design-system/components 5.8.3 → 5.9.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.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/chunks/{chunk.6UCFML4U.js → chunk.B5WOG3GU.js} +5 -2
- 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.QEN4OBFU.js → chunk.YVTCC5NZ.js} +1 -1
- package/cdn/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
- package/cdn/chunks/{chunk.55MPQWXS.js → chunk.ZBXT5WFZ.js} +1 -1
- package/cdn/chunks/chunk.ZOFXN52V.js +3 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/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.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 +488 -2
- package/cdn/solid-components.bundle.js +29 -25
- package/cdn/solid-components.d.ts +4 -2
- package/cdn/solid-components.iife.js +29 -25
- 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 +65 -0
- package/cdn/web-types.json +138 -1
- 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.XENVET63.js → chunk.3I7Z2ZGA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3X7FZERV.js → chunk.3VSEXUCN.js} +1 -1
- 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.YQLNNK4Q.js → chunk.AOLFDR44.js} +1 -1
- 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-versioned/chunks/{chunk.6UCFML4U.js → chunk.B5WOG3GU.js} +5 -2
- 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.7TTIUQTQ.js → chunk.CMIXQ7JH.js} +1 -1
- 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.KF7KNFPV.js → chunk.ELCOIK5P.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UN7OFRJA.js → chunk.FA5R7CKW.js} +1 -1
- 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.AFZTQYJ4.js → chunk.GGXUEKTA.js} +4 -4
- package/cdn-versioned/chunks/{chunk.I7W3IQFX.js → chunk.GYKZUJLA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LDSECTBO.js → chunk.H3RLFSFE.js} +4 -4
- package/cdn-versioned/chunks/{chunk.YJ4WEMCO.js → chunk.HAFUAYZZ.js} +1 -1
- 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.QGBIFDJ4.js → chunk.IHA7PGG2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XO74MJE7.js → chunk.IRWE4TYN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.S25ZFL75.js → chunk.JUPXHQZ3.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VU7XHQIK.js → chunk.KWDCB5GN.js} +1 -1
- 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.VAFYKWJJ.js → chunk.MGVRJCCE.js} +1 -1
- 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.5RVKMAOS.js → chunk.S53XPYBW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PSVOSJB4.js → chunk.SBIDVQ2E.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DCZSUZQE.js → chunk.SBU6FGLK.js} +1 -1
- 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.NEWXGJ7D.js → chunk.V4CRJJ5B.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IPPNZ65E.js → chunk.V7ZZFRHA.js} +1 -1
- 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.SHQ3QFVV.js → chunk.WXLNA4GN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NSMJ7MPA.js → chunk.XMUDHBRG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.525EDN7Z.js → chunk.XRBNH2NJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.X5BLXNFT.js → chunk.YOYAMVUH.js} +1 -1
- package/cdn-versioned/chunks/chunk.YS7YV4KF.js +10 -0
- package/cdn-versioned/chunks/{chunk.QEN4OBFU.js → chunk.YVTCC5NZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.55MPQWXS.js → chunk.ZBXT5WFZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZOFXN52V.js +3 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/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 +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +705 -219
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +31 -27
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.d.ts +4 -2
- package/cdn-versioned/solid-components.iife.js +31 -27
- 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 +279 -142
- 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.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.KZMSCSWH.js → chunk.IIYSG3NP.js} +1 -1
- package/{dist-versioned/chunks/chunk.YEZS5ZR2.js → dist/chunks/chunk.IVMQWO2L.js} +15 -1
- package/dist/chunks/{chunk.E7EV2RDK.js → chunk.J5E5UTG2.js} +1 -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.2NLXYDHQ.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.Z7IN7NPU.js → dist/chunks/chunk.ZYF25H5G.js} +5 -1
- 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.js +2 -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 +488 -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 +65 -0
- package/dist/web-types.json +138 -1
- 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.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.KZMSCSWH.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.E7EV2RDK.js → chunk.J5E5UTG2.js} +2 -2
- 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.2NLXYDHQ.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.Z7IN7NPU.js → dist-versioned/chunks/chunk.ZYF25H5G.js} +5 -1
- 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 +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +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 +705 -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 +279 -142
- 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.5XTSQKKL.js +0 -11
- package/cdn-versioned/chunks/chunk.CNAHHN23.js +0 -10
- package/cdn-versioned/chunks/chunk.KV6KJCPR.js +0 -3
- package/cdn-versioned/chunks/chunk.UITPASIM.js +0 -1
- package/cdn-versioned/chunks/chunk.V55KCNZK.js +0 -25
- 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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.9.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
6
6
|
"author": "Union Investment",
|
|
7
7
|
"license": "MIT",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"readme": "README.md",
|
|
112
112
|
"meta": {
|
|
113
113
|
"bundleSizeInKb": {
|
|
114
|
-
"uncompressed":
|
|
115
|
-
"gzip":
|
|
114
|
+
"uncompressed": 459,
|
|
115
|
+
"gzip": 108
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
"scripts": {
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { customElement } from '../../internal/register-custom-element';
|
|
8
|
-
import { html } from 'lit';
|
|
9
|
-
import { query } from 'lit/decorators.js';
|
|
10
|
-
import SolidElement from '../../internal/solid-element';
|
|
11
|
-
import styles from './menu.styles';
|
|
12
|
-
let SdMenu = class SdMenu extends SolidElement {
|
|
13
|
-
static { this.styles = [...SolidElement.styles, styles]; }
|
|
14
|
-
connectedCallback() {
|
|
15
|
-
super.connectedCallback();
|
|
16
|
-
this.setAttribute('role', 'menu');
|
|
17
|
-
}
|
|
18
|
-
getAllItems() {
|
|
19
|
-
return [...this.defaultSlot.assignedElements({ flatten: true })].filter((el) => {
|
|
20
|
-
if (el.inert || !this.isMenuItem(el)) {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
return true;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
handleClick(event) {
|
|
27
|
-
const target = event.target;
|
|
28
|
-
const item = target.closest('sd-menu-item');
|
|
29
|
-
if (!item || item.disabled || item.inert) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (item.type === 'checkbox') {
|
|
33
|
-
item.checked = !item.checked;
|
|
34
|
-
}
|
|
35
|
-
this.emit('sd-select', { detail: { item } });
|
|
36
|
-
}
|
|
37
|
-
handleKeyDown(event) {
|
|
38
|
-
if (event.key === 'Enter') {
|
|
39
|
-
const item = this.getCurrentItem();
|
|
40
|
-
event.preventDefault();
|
|
41
|
-
item?.click();
|
|
42
|
-
}
|
|
43
|
-
if (event.key === ' ') {
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
}
|
|
46
|
-
if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {
|
|
47
|
-
const items = this.getAllItems();
|
|
48
|
-
const activeItem = this.getCurrentItem();
|
|
49
|
-
let index = activeItem ? items.indexOf(activeItem) : 0;
|
|
50
|
-
if (items.length > 0) {
|
|
51
|
-
event.preventDefault();
|
|
52
|
-
if (event.key === 'ArrowDown') {
|
|
53
|
-
index++;
|
|
54
|
-
}
|
|
55
|
-
else if (event.key === 'ArrowUp') {
|
|
56
|
-
index--;
|
|
57
|
-
}
|
|
58
|
-
else if (event.key === 'Home') {
|
|
59
|
-
index = 0;
|
|
60
|
-
}
|
|
61
|
-
else if (event.key === 'End') {
|
|
62
|
-
index = items.length - 1;
|
|
63
|
-
}
|
|
64
|
-
if (index < 0) {
|
|
65
|
-
index = items.length - 1;
|
|
66
|
-
}
|
|
67
|
-
if (index > items.length - 1) {
|
|
68
|
-
index = 0;
|
|
69
|
-
}
|
|
70
|
-
this.setCurrentItem(items[index]);
|
|
71
|
-
items[index].focus();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
handleMouseDown(event) {
|
|
76
|
-
const target = event.target;
|
|
77
|
-
if (this.isMenuItem(target)) {
|
|
78
|
-
this.setCurrentItem(target);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
handleSlotChange() {
|
|
82
|
-
const items = this.getAllItems();
|
|
83
|
-
if (items.length > 0) {
|
|
84
|
-
this.setCurrentItem(items[0]);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
isMenuItem(item) {
|
|
88
|
-
return (item.tagName.toLowerCase() === 'sd-menu-item' ||
|
|
89
|
-
['menuitem', 'menuitemcheckbox', 'menuitemradio'].includes(item.getAttribute('role') ?? ''));
|
|
90
|
-
}
|
|
91
|
-
getCurrentItem() {
|
|
92
|
-
return this.getAllItems().find(i => i.getAttribute('tabindex') === '0');
|
|
93
|
-
}
|
|
94
|
-
setCurrentItem(item) {
|
|
95
|
-
const items = this.getAllItems();
|
|
96
|
-
items.forEach(i => {
|
|
97
|
-
i.setAttribute('tabindex', i === item ? '0' : '-1');
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
render() {
|
|
101
|
-
return html `
|
|
102
|
-
<slot
|
|
103
|
-
@slotchange=${this.handleSlotChange}
|
|
104
|
-
@click=${this.handleClick}
|
|
105
|
-
@keydown=${this.handleKeyDown}
|
|
106
|
-
@mousedown=${this.handleMouseDown}
|
|
107
|
-
></slot>
|
|
108
|
-
`;
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
__decorate([
|
|
112
|
-
query('slot')
|
|
113
|
-
], SdMenu.prototype, "defaultSlot", void 0);
|
|
114
|
-
SdMenu = __decorate([
|
|
115
|
-
customElement('sd-menu')
|
|
116
|
-
], SdMenu);
|
|
117
|
-
export default SdMenu;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export default css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
position: relative;
|
|
6
|
-
background: var(--sd-panel-background-color);
|
|
7
|
-
border: solid var(--sd-panel-border-width) var(--sd-panel-border-color);
|
|
8
|
-
border-radius: var(--sd-border-radius-medium);
|
|
9
|
-
padding: var(--sd-spacing-x-small) 0;
|
|
10
|
-
overflow: auto;
|
|
11
|
-
overscroll-behavior: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
::slotted(sd-divider) {
|
|
15
|
-
--spacing: var(--sd-spacing-x-small);
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import '../icon/icon';
|
|
8
|
-
import { classMap } from 'lit/directives/class-map.js';
|
|
9
|
-
import { customElement } from '../../internal/register-custom-element';
|
|
10
|
-
import { getTextContent } from '../../internal/slot';
|
|
11
|
-
import { html } from 'lit';
|
|
12
|
-
import { property, query } from 'lit/decorators.js';
|
|
13
|
-
import { watch } from '../../internal/watch';
|
|
14
|
-
import SolidElement from '../../internal/solid-element';
|
|
15
|
-
import styles from './menu-item.styles';
|
|
16
|
-
let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this.type = 'normal';
|
|
20
|
-
this.checked = false;
|
|
21
|
-
this.value = '';
|
|
22
|
-
this.disabled = false;
|
|
23
|
-
}
|
|
24
|
-
static { this.styles = [...SolidElement.styles, styles]; }
|
|
25
|
-
handleDefaultSlotChange() {
|
|
26
|
-
const textLabel = this.getTextLabel();
|
|
27
|
-
if (typeof this.cachedTextLabel === 'undefined') {
|
|
28
|
-
this.cachedTextLabel = textLabel;
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
if (textLabel !== this.cachedTextLabel) {
|
|
32
|
-
this.cachedTextLabel = textLabel;
|
|
33
|
-
this.emit('slotchange', { bubbles: true, composed: false, cancelable: false });
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
handleCheckedChange() {
|
|
37
|
-
if (this.checked && this.type !== 'checkbox') {
|
|
38
|
-
this.checked = false;
|
|
39
|
-
console.error('The checked attribute can only be used on menu items with type="checkbox"', this);
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
if (this.type === 'checkbox') {
|
|
43
|
-
this.setAttribute('aria-checked', this.checked ? 'true' : 'false');
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.removeAttribute('aria-checked');
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
handleDisabledChange() {
|
|
50
|
-
this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');
|
|
51
|
-
}
|
|
52
|
-
handleTypeChange() {
|
|
53
|
-
if (this.type === 'checkbox') {
|
|
54
|
-
this.setAttribute('role', 'menuitemcheckbox');
|
|
55
|
-
this.setAttribute('aria-checked', this.checked ? 'true' : 'false');
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
this.setAttribute('role', 'menuitem');
|
|
59
|
-
this.removeAttribute('aria-checked');
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
getTextLabel() {
|
|
63
|
-
return getTextContent(this.defaultSlot);
|
|
64
|
-
}
|
|
65
|
-
render() {
|
|
66
|
-
return html `
|
|
67
|
-
<div
|
|
68
|
-
part="base"
|
|
69
|
-
class=${classMap({
|
|
70
|
-
'menu-item': true,
|
|
71
|
-
'menu-item--checked': this.checked,
|
|
72
|
-
'menu-item--disabled': this.disabled,
|
|
73
|
-
'menu-item--has-submenu': false
|
|
74
|
-
})}
|
|
75
|
-
>
|
|
76
|
-
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-icon name="check" library="_internal" aria-hidden="true"></sd-icon>
|
|
78
|
-
</span>
|
|
79
|
-
|
|
80
|
-
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
81
|
-
|
|
82
|
-
<slot part="label" class="menu-item__label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
83
|
-
|
|
84
|
-
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
|
-
|
|
86
|
-
<span class="menu-item__chevron">
|
|
87
|
-
<sd-icon name="chevron-right" library="_internal" aria-hidden="true"></sd-icon>
|
|
88
|
-
</span>
|
|
89
|
-
</div>
|
|
90
|
-
`;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
__decorate([
|
|
94
|
-
query('slot:not([name])')
|
|
95
|
-
], SdMenuItem.prototype, "defaultSlot", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
query('.menu-item')
|
|
98
|
-
], SdMenuItem.prototype, "menuItem", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
property()
|
|
101
|
-
], SdMenuItem.prototype, "type", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
property({ type: Boolean, reflect: true })
|
|
104
|
-
], SdMenuItem.prototype, "checked", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
property()
|
|
107
|
-
], SdMenuItem.prototype, "value", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
property({ type: Boolean, reflect: true })
|
|
110
|
-
], SdMenuItem.prototype, "disabled", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
watch('checked')
|
|
113
|
-
], SdMenuItem.prototype, "handleCheckedChange", null);
|
|
114
|
-
__decorate([
|
|
115
|
-
watch('disabled')
|
|
116
|
-
], SdMenuItem.prototype, "handleDisabledChange", null);
|
|
117
|
-
__decorate([
|
|
118
|
-
watch('type')
|
|
119
|
-
], SdMenuItem.prototype, "handleTypeChange", null);
|
|
120
|
-
SdMenuItem = __decorate([
|
|
121
|
-
customElement('sd-menu-item')
|
|
122
|
-
], SdMenuItem);
|
|
123
|
-
export default SdMenuItem;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export default css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:host([inert]) {
|
|
8
|
-
display: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.menu-item {
|
|
12
|
-
position: relative;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: stretch;
|
|
15
|
-
font-family: var(--sd-font-sans);
|
|
16
|
-
font-size: var(--sd-font-size-medium);
|
|
17
|
-
font-weight: var(--sd-font-weight-normal);
|
|
18
|
-
line-height: var(--sd-line-height-normal);
|
|
19
|
-
letter-spacing: var(--sd-letter-spacing-normal);
|
|
20
|
-
color: var(--sd-color-neutral-700);
|
|
21
|
-
padding: var(--sd-spacing-2x-small) var(--sd-spacing-2x-small);
|
|
22
|
-
transition: var(--sd-transition-fast) fill;
|
|
23
|
-
user-select: none;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.menu-item.menu-item--disabled {
|
|
29
|
-
outline: none;
|
|
30
|
-
opacity: 0.5;
|
|
31
|
-
cursor: not-allowed;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.menu-item .menu-item__label {
|
|
35
|
-
flex: 1 1 auto;
|
|
36
|
-
display: inline-block;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.menu-item .menu-item__prefix {
|
|
40
|
-
flex: 0 0 auto;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.menu-item .menu-item__prefix::slotted(*) {
|
|
46
|
-
margin-inline-end: var(--sd-spacing-x-small);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.menu-item .menu-item__suffix {
|
|
50
|
-
flex: 0 0 auto;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.menu-item .menu-item__suffix::slotted(*) {
|
|
56
|
-
margin-inline-start: var(--sd-spacing-x-small);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host(:focus) {
|
|
60
|
-
outline: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host(:hover:not([aria-disabled='true'])) .menu-item {
|
|
64
|
-
background-color: var(--sd-color-neutral-100);
|
|
65
|
-
color: var(--sd-color-neutral-1000);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host(:focus-visible) .menu-item {
|
|
69
|
-
outline: none;
|
|
70
|
-
background-color: var(--sd-color-primary-600);
|
|
71
|
-
color: var(--sd-color-neutral-0);
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.menu-item .menu-item__check,
|
|
76
|
-
.menu-item .menu-item__chevron {
|
|
77
|
-
flex: 0 0 auto;
|
|
78
|
-
display: flex;
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
width: 1.5em;
|
|
82
|
-
visibility: hidden;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.menu-item--checked .menu-item__check,
|
|
86
|
-
.menu-item--has-submenu .menu-item__chevron {
|
|
87
|
-
visibility: visible;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@media (forced-colors: active) {
|
|
91
|
-
:host(:hover:not([aria-disabled='true'])) .menu-item,
|
|
92
|
-
:host(:focus-visible) .menu-item {
|
|
93
|
-
outline: dashed 1px SelectedItem;
|
|
94
|
-
outline-offset: -1px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
`;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{a as i,b as o,c as p}from"./chunk.CDEXCMVF.js";import{h as s,i as l,j as a}from"./chunk.UWPDCU52.js";var{I:_}=a;var A=e=>e.strings===void 0;var $={},c=(e,t=$)=>e._$AH=t;var v=o(class extends p{constructor(e){if(super(e),e.type!==i.PROPERTY&&e.type!==i.ATTRIBUTE&&e.type!==i.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!A(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===s||t===l)return t;let r=e.element,n=e.name;if(e.type===i.PROPERTY){if(t===r[n])return s}else if(e.type===i.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(n))return s}else if(e.type===i.ATTRIBUTE&&r.getAttribute(n)===t+"")return s;return c(e),t}});export{A as a,v as b};
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
lit-html/directive-helpers.js:
|
|
5
|
-
lit-html/directives/live.js:
|
|
6
|
-
(**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2020 Google LLC
|
|
9
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10
|
-
*)
|
|
11
|
-
*/
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{a as H,b as S}from"./chunk.5XTSQKKL.js";import{a as B}from"./chunk.CDC46OKY.js";import{b as L}from"./chunk.6HLS5XU2.js";import{a as N}from"./chunk.6HO6CE4A.js";import{a as d}from"./chunk.YTG5BN3U.js";import{a as v,b as C,c as F}from"./chunk.CDEXCMVF.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as z}from"./chunk.GHC63SXL.js";import{a as y}from"./chunk.E2DRD2OX.js";import{a as M,b as l,c as f,d as x,h as k}from"./chunk.V55KCNZK.js";import{b as _,e as h,h as T,i as V}from"./chunk.UWPDCU52.js";import{a as E,e as s}from"./chunk.TJOCV4DC.js";var b=(a,r)=>{var i;let e=a._$AN;if(e===void 0)return!1;for(let o of e)(i=o._$AO)==null||i.call(o,r,!1),b(o,r);return!0},g=a=>{let r,e;do{if((r=a._$AM)===void 0)break;e=r._$AN,e.delete(a),a=r}while((e==null?void 0:e.size)===0)},U=a=>{for(let r;r=a._$AM;a=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(a))break;e.add(a),j(r)}};function R(a){this._$AN!==void 0?(g(this),this._$AM=a,U(this)):this._$AM=a}function J(a,r=!1,e=0){let i=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(i))for(let u=e;u<i.length;u++)b(i[u],!1),g(i[u]);else i!=null&&(b(i,!1),g(i));else b(this,a)}var j=a=>{var r,e;a.type==v.CHILD&&((r=a._$AP)!=null||(a._$AP=J),(e=a._$AQ)!=null||(a._$AQ=R))},$=class extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,i){super._$AT(r,e,i),U(this),this.isConnected=r._$AU}_$AO(r,e=!0){var i,o;r!==this.isConnected&&(this.isConnected=r,r?(i=this.reconnected)==null||i.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var D=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==v.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return V}update(e,[i]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},i),this.host.addEventListener("pointerdown",this.handlePointerDown)),T}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var i;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(i=this.observer)==null||i.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(u=>{u.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=C(D);var O,Q=(O=navigator.userAgentData)==null?void 0:O.brands.some(a=>a.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends k{constructor(){super(...arguments);this.formControlController=new L(this);this.hasSlotController=new N(this,"help-text","label","left","right","message","placeholder");this.localize=new z(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,i;return(i=(e=this.input)==null?void 0:e.valueAsDate)!=null?i:null}set valueAsDate(e){let i=document.createElement("input");i.type="date",i.valueAsDate=e,this.value=i.value}get valueAsNumber(){var e,i;return(i=(e=this.input)==null?void 0:e.valueAsNumber)!=null?i:parseFloat(this.value)}set valueAsNumber(e){let i=document.createElement("input");i.type="number",i.valueAsNumber=e,this.value=i.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let i=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!i&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,i,o="none"){this.input.setSelectionRange(e,i,o)}setRangeText(e,i,o,u){this.input.setRangeText(e,i,o,u),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},i=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,u=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),K=!!e.tooltip,w=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",P=this.size==="sm"?"text-sm":"text-base",q={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"}[w],m=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",p={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${i||K?h`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(i?"inline-block":"hidden",P)}" for="input" aria-hidden="${i?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${n("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default transition-[border] ease-in-out duration-medium hover:duration-fast",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",w==="disabled"||w==="visuallyDisabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500 cursor-not-allowed":"placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${S(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${u?h`<button part="clear-button" class="${n("flex justify-center",p)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${n("text-neutral-700",c)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible?h`<slot name="show-password-icon"><sd-icon class="${n(m,c)}" library="_internal" name="eye"></sd-icon></slot>`:h`<slot name="hide-password-icon"><sd-icon class="${n(m,c)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-icon class="${n(m,p,c)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?h`<sd-icon class="${n(m,p,c)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?h`<button class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${n(m,c)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?h`<sd-icon part="invalid-icon" class="${n("text-error",p,c)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-icon class="${n("text-success flex-shrink-0",p,c)}" library="_internal" name="status-check" part="valid-icon"></sd-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,p,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-icon name="system/minus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon name="system/plus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...k.styles,_`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],s([x("#input")],t.prototype,"input",2),s([x("#invalid-message")],t.prototype,"invalidMessage",2),s([f()],t.prototype,"hasFocus",2),s([f()],t.prototype,"showValidStyle",2),s([f()],t.prototype,"showInvalidStyle",2),s([l({type:String,reflect:!0})],t.prototype,"type",2),s([l({type:String,reflect:!0})],t.prototype,"size",2),s([l({type:String,reflect:!0})],t.prototype,"inputmode",2),s([l()],t.prototype,"value",2),s([B()],t.prototype,"defaultValue",2),s([l({type:String,reflect:!0})],t.prototype,"placeholder",2),s([l({type:String,reflect:!0})],t.prototype,"label",2),s([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),s([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),s([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),s([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),s([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),s([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),s([l({type:Number,reflect:!0})],t.prototype,"minlength",2),s([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),s([l({reflect:!0})],t.prototype,"min",2),s([l({reflect:!0})],t.prototype,"max",2),s([l({type:String,reflect:!0})],t.prototype,"form",2),s([l({type:String,reflect:!0})],t.prototype,"name",2),s([l({type:String,reflect:!0})],t.prototype,"title",2),s([l({type:Boolean,reflect:!0})],t.prototype,"required",2),s([l()],t.prototype,"pattern",2),s([l({reflect:!0})],t.prototype,"step",2),s([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),s([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),s([l({reflect:!0})],t.prototype,"autocomplete",2),s([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),s([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),s([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),s([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),s([y("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),s([y("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),s([y("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=s([M("sd-input")],t);export{t as a};
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
lit-html/async-directive.js:
|
|
5
|
-
(**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*)
|
|
10
|
-
*/
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{b}from"./chunk.5XTSQKKL.js";import{a as m}from"./chunk.CDC46OKY.js";import{b as c}from"./chunk.6HLS5XU2.js";import{a as p}from"./chunk.YTG5BN3U.js";import{a as l}from"./chunk.26V4EXHB.js";import{a}from"./chunk.E2DRD2OX.js";import{a as h,b as i,c as u,d as o,h as s}from"./chunk.V55KCNZK.js";import{b as n,e as d}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends s{constructor(){super(...arguments);this.formControlController=new c(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});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 d`<label part="base" class="${l("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="${p(this.value)}" .checked="${b(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="${l(`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="${l("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="${l("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};e.styles=[...s.styles,n`: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([o("input")],e.prototype,"input",2),t([o("#invalid-message")],e.prototype,"invalidMessage",2),t([u()],e.prototype,"showInvalidStyle",2),t([i({type:String,reflect:!0})],e.prototype,"title",2),t([i({type:String,reflect:!0})],e.prototype,"name",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([m("checked")],e.prototype,"defaultChecked",2),t([i({reflect:!0})],e.prototype,"form",2),t([i({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-switch")],e);export{e as a};
|
|
@@ -1 +0,0 @@
|
|
|
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 d}from"./chunk.V55KCNZK.js";import{b as y,e as b}from"./chunk.UWPDCU52.js";import{b as l,e as p}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 d{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-button":case"sd-icon-button":s=t.button;break;case"sd-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-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-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-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[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-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-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 p(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 p(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-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-popup>`}};n.styles=[...d.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-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};
|