@solid-design-system/components 4.6.8 → 4.6.10
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.2RIVDRYN.js → chunk.42FSKXEZ.js} +1 -1
- package/cdn/chunks/{chunk.DQ4LC2QQ.js → chunk.473LHNMV.js} +1 -1
- package/cdn/chunks/chunk.7BBRZSXJ.js +1 -0
- package/cdn/chunks/{chunk.EIY45BTU.js → chunk.7HKFHNAX.js} +1 -1
- package/cdn/chunks/chunk.AG6PE353.js +1 -0
- package/cdn/chunks/{chunk.K6MPMK2S.js → chunk.AMCTYKOD.js} +1 -1
- package/cdn/chunks/{chunk.F6RITWOK.js → chunk.BNX6LX2P.js} +1 -1
- package/cdn/chunks/{chunk.QWFYJP4P.js → chunk.BQZXDBME.js} +1 -1
- package/cdn/chunks/chunk.BXA5EEMV.js +1 -0
- package/cdn/chunks/{chunk.BIWE2YFU.js → chunk.DH7VYHZC.js} +1 -1
- package/cdn/chunks/{chunk.Y4IR7JF5.js → chunk.E2R73Z3A.js} +1 -1
- package/cdn/chunks/{chunk.VTEMYE2V.js → chunk.F4LOXTZD.js} +1 -1
- package/cdn/chunks/{chunk.3HOCCAOC.js → chunk.FZVQZMTE.js} +1 -1
- package/cdn/chunks/chunk.HWNGDZXC.js +1 -0
- package/cdn/chunks/chunk.I6OYJBJI.js +1 -0
- package/cdn/chunks/{chunk.DXZG7YGV.js → chunk.JXBK7LTF.js} +1 -1
- package/cdn/chunks/{chunk.WD6KFGLX.js → chunk.KG4OKUP5.js} +1 -1
- package/cdn/chunks/{chunk.HIWNQUT2.js → chunk.L47VLLL4.js} +1 -1
- package/cdn/chunks/{chunk.3D62RZ2Z.js → chunk.L7GN7UBE.js} +1 -1
- package/cdn/chunks/{chunk.XCZ7A7XW.js → chunk.MJBA5E3M.js} +1 -1
- package/cdn/chunks/{chunk.D7YBJDMX.js → chunk.OJY2KFGF.js} +1 -1
- package/cdn/chunks/{chunk.RL6X34VW.js → chunk.OZ6M4CAW.js} +3 -3
- package/cdn/chunks/{chunk.BU2E77FJ.js → chunk.S2O3QV7N.js} +1 -1
- package/cdn/chunks/{chunk.V6AI2UU3.js → chunk.SWPBMHJJ.js} +1 -1
- package/cdn/chunks/{chunk.ZNMNVYHM.js → chunk.SWRY3APF.js} +1 -1
- package/cdn/chunks/{chunk.GULQVATJ.js → chunk.TEZ7TMHP.js} +1 -1
- package/cdn/chunks/{chunk.STBV672J.js → chunk.VCJR4I23.js} +1 -1
- package/cdn/chunks/{chunk.5CP6CRGL.js → chunk.VWR74OA4.js} +1 -1
- package/cdn/chunks/{chunk.IZUTH5VY.js → chunk.WUSKJM2J.js} +3 -3
- package/cdn/chunks/{chunk.KLARHQI2.js → chunk.XIALW4QW.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.d.ts +3 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.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.d.ts +2 -7
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +1 -2
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.d.ts +1 -0
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/navigation-item/navigation-item.d.ts +2 -0
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.d.ts +2 -0
- 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/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.d.ts +0 -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.d.ts +1 -0
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.d.ts +2 -7
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/step/step.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.d.ts +1 -0
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +2 -2
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.d.ts +1 -0
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +34 -25
- package/cdn/internal/deep-active-element.d.ts +1 -0
- package/cdn/internal/deep-active-element.js +9 -0
- package/cdn/solid-components.bundle.js +18 -18
- package/cdn/solid-components.iife.js +17 -17
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +5 -0
- package/cdn/web-types.json +6 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/{chunk.2RIVDRYN.js → chunk.42FSKXEZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DQ4LC2QQ.js → chunk.473LHNMV.js} +1 -1
- package/cdn-versioned/chunks/chunk.5YA6WG7I.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6Q37IBDM.js +1 -1
- package/cdn-versioned/chunks/chunk.6XTSQUSU.js +1 -1
- package/cdn-versioned/chunks/chunk.7BBRZSXJ.js +1 -0
- package/cdn-versioned/chunks/chunk.7HKFHNAX.js +1 -0
- package/cdn-versioned/chunks/chunk.AG6PE353.js +1 -0
- package/cdn-versioned/chunks/chunk.AMCTYKOD.js +1 -0
- package/cdn-versioned/chunks/chunk.BIMWLALI.js +1 -0
- package/cdn-versioned/chunks/chunk.BNX6LX2P.js +1 -0
- package/cdn-versioned/chunks/{chunk.QWFYJP4P.js → chunk.BQZXDBME.js} +1 -1
- package/cdn-versioned/chunks/chunk.BXA5EEMV.js +1 -0
- package/cdn-versioned/chunks/chunk.C5D2DMXR.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.BIWE2YFU.js → chunk.DH7VYHZC.js} +2 -2
- package/cdn-versioned/chunks/chunk.E2R73Z3A.js +1 -0
- package/cdn-versioned/chunks/chunk.F4LOXTZD.js +1 -0
- package/cdn-versioned/chunks/chunk.FZLK25RZ.js +1 -1
- package/cdn-versioned/chunks/{chunk.3HOCCAOC.js → chunk.FZVQZMTE.js} +1 -1
- package/cdn-versioned/chunks/chunk.HWNGDZXC.js +1 -0
- package/cdn-versioned/chunks/{chunk.PAUDYROR.js → chunk.I4DEROU2.js} +1 -1
- package/cdn-versioned/chunks/chunk.I6OYJBJI.js +1 -0
- package/cdn-versioned/chunks/chunk.ILF7UZDH.js +1 -1
- package/cdn-versioned/chunks/{chunk.NIKSK6UX.js → chunk.ILRYHVN7.js} +1 -1
- package/cdn-versioned/chunks/chunk.JXBK7LTF.js +1 -0
- package/cdn-versioned/chunks/{chunk.WD6KFGLX.js → chunk.KG4OKUP5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HIWNQUT2.js → chunk.L47VLLL4.js} +1 -1
- package/cdn-versioned/chunks/chunk.L7GN7UBE.js +19 -0
- package/cdn-versioned/chunks/{chunk.XCZ7A7XW.js → chunk.MJBA5E3M.js} +2 -2
- package/cdn-versioned/chunks/chunk.OJY2KFGF.js +1 -0
- package/cdn-versioned/chunks/chunk.OOWV6VHF.js +1 -1
- package/cdn-versioned/chunks/chunk.OZ6M4CAW.js +11 -0
- package/cdn-versioned/chunks/chunk.PEIJ5QII.js +1 -1
- package/cdn-versioned/chunks/chunk.PEYEID7E.js +1 -1
- package/cdn-versioned/chunks/chunk.PTJJRTHX.js +1 -1
- package/cdn-versioned/chunks/chunk.QKA4RHJ4.js +1 -1
- package/cdn-versioned/chunks/{chunk.BU2E77FJ.js → chunk.S2O3QV7N.js} +4 -4
- package/cdn-versioned/chunks/chunk.SCGOQGTJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SITFYVDG.js +1 -0
- package/cdn-versioned/chunks/chunk.SWPBMHJJ.js +1 -0
- package/cdn-versioned/chunks/{chunk.ZNMNVYHM.js → chunk.SWRY3APF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GULQVATJ.js → chunk.TEZ7TMHP.js} +1 -1
- package/cdn-versioned/chunks/chunk.TNG3FY3U.js +1 -1
- package/cdn-versioned/chunks/chunk.TYH3DD3Z.js +1 -1
- package/cdn-versioned/chunks/chunk.UW24BDXV.js +1 -1
- package/cdn-versioned/chunks/{chunk.STBV672J.js → chunk.VCJR4I23.js} +2 -2
- package/cdn-versioned/chunks/chunk.VWR74OA4.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUSKJM2J.js +11 -0
- package/cdn-versioned/chunks/chunk.XIALW4QW.js +1 -0
- package/cdn-versioned/chunks/chunk.Y2ZOHPE6.js +1 -1
- package/cdn-versioned/chunks/chunk.YYZEOF4B.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 +4 -2
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +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/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 +3 -8
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +2 -3
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +2 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +3 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +3 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -2
- 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 +2 -2
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +2 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +3 -8
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +2 -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 +2 -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 +2 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +2 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +3 -3
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +2 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +227 -218
- package/cdn-versioned/internal/deep-active-element.d.ts +1 -0
- package/cdn-versioned/internal/deep-active-element.js +9 -0
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +22 -22
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +22 -22
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +85 -80
- package/cdn-versioned/web-types.json +142 -137
- package/dist/chunks/{chunk.ML4MIKYQ.js → chunk.6KFGIUGJ.js} +4 -4
- package/dist/chunks/{chunk.VMVFMQ3Q.js → chunk.BO6G26AO.js} +3 -3
- package/dist/chunks/{chunk.TDFVAXJF.js → chunk.G2S4374K.js} +9 -8
- package/dist/chunks/{chunk.ZKKB55C5.js → chunk.IOAEHG5C.js} +7 -6
- package/dist/chunks/{chunk.PTZRO2RN.js → chunk.JH33Y6NI.js} +1 -1
- package/dist/chunks/{chunk.O3TREWCC.js → chunk.QWW7D2EF.js} +5 -4
- package/dist/chunks/{chunk.WZWSOE2S.js → chunk.TPRFXGPO.js} +5 -19
- package/dist/chunks/{chunk.PQNIAIWQ.js → chunk.TYYOT3JJ.js} +6 -6
- package/dist/chunks/{chunk.VBQLCQSN.js → chunk.UFBRSKVR.js} +12 -0
- package/dist/chunks/{chunk.V5TII4MB.js → chunk.XHFS2AN7.js} +5 -19
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.d.ts +3 -1
- package/dist/components/audio/audio.js +12 -1
- package/dist/components/button/button.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/components/combobox/combobox.d.ts +2 -7
- package/dist/components/combobox/combobox.js +7 -8
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.d.ts +1 -2
- package/dist/components/dropdown/dropdown.js +2 -3
- package/dist/components/expandable/expandable.d.ts +1 -0
- package/dist/components/expandable/expandable.js +9 -2
- package/dist/components/flipcard/flipcard.js +3 -3
- package/dist/components/input/input.js +3 -3
- package/dist/components/navigation-item/navigation-item.d.ts +2 -0
- package/dist/components/navigation-item/navigation-item.js +10 -1
- package/dist/components/notification/notification.d.ts +2 -0
- package/dist/components/notification/notification.js +13 -2
- package/dist/components/optgroup/optgroup.js +2 -2
- package/dist/components/option/option.js +2 -2
- package/dist/components/quickfact/quickfact.js +5 -5
- package/dist/components/radio/radio.d.ts +0 -1
- package/dist/components/radio/radio.js +1 -8
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -11
- package/dist/components/scrollable/scrollable.d.ts +1 -0
- package/dist/components/scrollable/scrollable.js +9 -1
- package/dist/components/select/select.d.ts +2 -7
- package/dist/components/select/select.js +7 -8
- package/dist/components/step/step.d.ts +1 -0
- package/dist/components/step/step.js +9 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.d.ts +1 -0
- package/dist/components/tab-group/tab-group.js +9 -1
- package/dist/components/tag/tag.d.ts +1 -0
- package/dist/components/tag/tag.js +9 -1
- package/dist/components/textarea/textarea.d.ts +1 -0
- package/dist/components/textarea/textarea.js +9 -2
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/components/tooltip/tooltip.js +9 -3
- package/dist/components/video/video.d.ts +1 -0
- package/dist/components/video/video.js +9 -1
- package/dist/custom-elements.json +34 -25
- package/dist/internal/deep-active-element.d.ts +1 -0
- package/dist/internal/deep-active-element.js +9 -0
- package/dist/solid-components.js +48 -48
- package/dist/vscode.html-custom-data.json +5 -0
- package/dist/web-types.json +6 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/{chunk.T4ZCLZI2.js → chunk.35D7BDRG.js} +5 -5
- package/dist-versioned/chunks/chunk.3ORZT34X.js +1 -1
- package/dist-versioned/chunks/{chunk.R24LPR7A.js → chunk.4FJAHWKR.js} +5 -5
- package/dist-versioned/chunks/{chunk.LGYGD6SX.js → chunk.5NUL7XZO.js} +5 -5
- package/dist-versioned/chunks/{chunk.TGTE644Y.js → chunk.64DOW5GT.js} +8 -8
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.ML4MIKYQ.js → chunk.6KFGIUGJ.js} +13 -13
- package/dist-versioned/chunks/chunk.6VCNAVH4.js +3 -3
- package/dist-versioned/chunks/{chunk.3PS24RCT.js → chunk.6W262L3F.js} +8 -8
- package/dist-versioned/chunks/{chunk.DIVJNSSG.js → chunk.7GIAGNCP.js} +8 -8
- package/dist-versioned/chunks/{chunk.OX2URSR7.js → chunk.7T42VK6H.js} +4 -4
- package/dist-versioned/chunks/{chunk.ISZXPWVC.js → chunk.A4FCES75.js} +5 -5
- package/dist-versioned/chunks/chunk.AOWIHO7B.js +1 -1
- package/dist-versioned/chunks/{chunk.VSY4EUFN.js → chunk.BALWGQRW.js} +2 -2
- package/dist-versioned/chunks/{chunk.VMVFMQ3Q.js → chunk.BO6G26AO.js} +6 -6
- package/dist-versioned/chunks/{chunk.EJMQUF44.js → chunk.CJL7IBJC.js} +2 -2
- package/dist-versioned/chunks/chunk.CKKINYND.js +1 -1
- package/dist-versioned/chunks/chunk.CTZX4JSW.js +1 -1
- package/dist-versioned/chunks/{chunk.J67NOH2J.js → chunk.DHGILA5W.js} +2 -2
- package/dist-versioned/chunks/chunk.EZKDJFKX.js +2 -2
- package/dist-versioned/chunks/{chunk.TDFVAXJF.js → chunk.G2S4374K.js} +10 -9
- package/dist-versioned/chunks/chunk.HP5TMUCE.js +11 -11
- package/dist-versioned/chunks/{chunk.PMZLGJKG.js → chunk.IFVMGJPH.js} +14 -14
- package/dist-versioned/chunks/{chunk.ZKKB55C5.js → chunk.IOAEHG5C.js} +9 -8
- package/dist-versioned/chunks/chunk.JEZFJKCR.js +2 -2
- package/dist-versioned/chunks/{chunk.PTZRO2RN.js → chunk.JH33Y6NI.js} +4 -4
- package/dist-versioned/chunks/{chunk.IBTGZ65I.js → chunk.JVH7QA7V.js} +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.ZGKB7QGK.js → chunk.KXI7DQT7.js} +5 -5
- package/dist-versioned/chunks/chunk.LA5LTAEA.js +1 -1
- package/dist-versioned/chunks/{chunk.WCLY7RG6.js → chunk.LY4LB7WU.js} +8 -8
- package/dist-versioned/chunks/{chunk.I2AG6P7E.js → chunk.MWFRUUKN.js} +5 -5
- package/dist-versioned/chunks/chunk.OJPVJA2S.js +1 -1
- package/dist-versioned/chunks/{chunk.WFNCHKPE.js → chunk.OXCJX3LE.js} +9 -9
- package/dist-versioned/chunks/chunk.PS2S6VDP.js +1 -1
- package/dist-versioned/chunks/chunk.Q7SDLREI.js +3 -3
- package/dist-versioned/chunks/{chunk.O3TREWCC.js → chunk.QWW7D2EF.js} +7 -6
- package/dist-versioned/chunks/chunk.SWZ7YNPJ.js +2 -2
- package/dist-versioned/chunks/chunk.TK6PTMFF.js +1 -1
- package/dist-versioned/chunks/{chunk.WZWSOE2S.js → chunk.TPRFXGPO.js} +31 -45
- package/dist-versioned/chunks/chunk.TXYWAHFM.js +1 -1
- package/dist-versioned/chunks/{chunk.PQNIAIWQ.js → chunk.TYYOT3JJ.js} +19 -19
- package/dist-versioned/chunks/chunk.TZPIUQJ5.js +1 -1
- package/dist-versioned/chunks/{chunk.VBQLCQSN.js → chunk.UFBRSKVR.js} +12 -0
- package/dist-versioned/chunks/chunk.UHYIMTVH.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.W5XT73TK.js +2 -2
- package/dist-versioned/chunks/{chunk.V5TII4MB.js → chunk.XHFS2AN7.js} +28 -42
- package/dist-versioned/chunks/chunk.XLKZYB73.js +1 -1
- package/dist-versioned/chunks/chunk.YKFNELUH.js +1 -1
- package/dist-versioned/chunks/{chunk.6WU4LF5Z.js → chunk.ZDKRIMUK.js} +8 -8
- package/dist-versioned/chunks/{chunk.X54F4QNG.js → chunk.ZE3C43AX.js} +7 -7
- package/dist-versioned/chunks/{chunk.ILPAMBSC.js → chunk.ZEC66JCL.js} +5 -5
- package/dist-versioned/chunks/chunk.ZQJKVTOP.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +4 -4
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- 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 +4 -2
- package/dist-versioned/components/audio/audio.js +12 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +2 -2
- package/dist-versioned/components/combobox/combobox.d.ts +3 -8
- package/dist-versioned/components/combobox/combobox.js +7 -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/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +8 -8
- package/dist-versioned/components/dropdown/dropdown.d.ts +2 -3
- package/dist-versioned/components/dropdown/dropdown.js +2 -3
- package/dist-versioned/components/expandable/expandable.d.ts +2 -1
- package/dist-versioned/components/expandable/expandable.js +9 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +3 -3
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +3 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +10 -1
- package/dist-versioned/components/notification/notification.d.ts +3 -1
- package/dist-versioned/components/notification/notification.js +13 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.js +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +2 -2
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +5 -5
- package/dist-versioned/components/radio/radio.d.ts +1 -2
- package/dist-versioned/components/radio/radio.js +1 -8
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +4 -11
- package/dist-versioned/components/scrollable/scrollable.d.ts +2 -1
- package/dist-versioned/components/scrollable/scrollable.js +9 -1
- package/dist-versioned/components/select/select.d.ts +3 -8
- package/dist-versioned/components/select/select.js +7 -8
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +2 -1
- package/dist-versioned/components/step/step.js +9 -2
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +2 -1
- package/dist-versioned/components/tab-group/tab-group.js +9 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +2 -1
- package/dist-versioned/components/tag/tag.js +9 -1
- package/dist-versioned/components/textarea/textarea.d.ts +2 -1
- package/dist-versioned/components/textarea/textarea.js +9 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +3 -3
- package/dist-versioned/components/tooltip/tooltip.js +9 -3
- package/dist-versioned/components/video/video.d.ts +2 -1
- package/dist-versioned/components/video/video.js +9 -1
- package/dist-versioned/custom-elements.json +227 -218
- package/dist-versioned/internal/deep-active-element.d.ts +1 -0
- package/dist-versioned/internal/deep-active-element.js +9 -0
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +48 -48
- package/dist-versioned/vscode.html-custom-data.json +85 -80
- package/dist-versioned/web-types.json +142 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.7MDQZEHN.js +0 -1
- package/cdn/chunks/chunk.J5GYRMVW.js +0 -1
- package/cdn/chunks/chunk.NR42774V.js +0 -1
- package/cdn/chunks/chunk.X2O263YD.js +0 -1
- package/cdn/chunks/chunk.XDA5YIYP.js +0 -1
- package/cdn-versioned/chunks/chunk.2XV5BBKS.js +0 -1
- package/cdn-versioned/chunks/chunk.3D62RZ2Z.js +0 -19
- package/cdn-versioned/chunks/chunk.3YPJCZOD.js +0 -1
- package/cdn-versioned/chunks/chunk.5CP6CRGL.js +0 -1
- package/cdn-versioned/chunks/chunk.7MDQZEHN.js +0 -1
- package/cdn-versioned/chunks/chunk.D7YBJDMX.js +0 -1
- package/cdn-versioned/chunks/chunk.DXZG7YGV.js +0 -1
- package/cdn-versioned/chunks/chunk.EIY45BTU.js +0 -1
- package/cdn-versioned/chunks/chunk.F6RITWOK.js +0 -1
- package/cdn-versioned/chunks/chunk.IZUTH5VY.js +0 -11
- package/cdn-versioned/chunks/chunk.J5GYRMVW.js +0 -1
- package/cdn-versioned/chunks/chunk.K6MPMK2S.js +0 -1
- package/cdn-versioned/chunks/chunk.KLARHQI2.js +0 -1
- package/cdn-versioned/chunks/chunk.NR42774V.js +0 -1
- package/cdn-versioned/chunks/chunk.RL6X34VW.js +0 -11
- package/cdn-versioned/chunks/chunk.V6AI2UU3.js +0 -1
- package/cdn-versioned/chunks/chunk.VTEMYE2V.js +0 -1
- package/cdn-versioned/chunks/chunk.X2O263YD.js +0 -1
- package/cdn-versioned/chunks/chunk.XDA5YIYP.js +0 -1
- package/cdn-versioned/chunks/chunk.Y4IR7JF5.js +0 -1
- package/cdn/chunks/{chunk.3YPJCZOD.js → chunk.BIMWLALI.js} +0 -0
- package/cdn/chunks/{chunk.PAUDYROR.js → chunk.I4DEROU2.js} +0 -0
- package/cdn/chunks/{chunk.NIKSK6UX.js → chunk.ILRYHVN7.js} +0 -0
- package/cdn/chunks/{chunk.2XV5BBKS.js → chunk.SITFYVDG.js} +0 -0
- package/dist/chunks/{chunk.T4ZCLZI2.js → chunk.35D7BDRG.js} +3 -3
- package/dist/chunks/{chunk.R24LPR7A.js → chunk.4FJAHWKR.js} +3 -3
- package/dist/chunks/{chunk.LGYGD6SX.js → chunk.5NUL7XZO.js} +3 -3
- package/dist/chunks/{chunk.TGTE644Y.js → chunk.64DOW5GT.js} +3 -3
- package/dist/chunks/{chunk.3PS24RCT.js → chunk.6W262L3F.js} +0 -0
- package/dist/chunks/{chunk.DIVJNSSG.js → chunk.7GIAGNCP.js} +3 -3
- package/dist/chunks/{chunk.OX2URSR7.js → chunk.7T42VK6H.js} +3 -3
- package/dist/chunks/{chunk.ISZXPWVC.js → chunk.A4FCES75.js} +3 -3
- package/dist/chunks/{chunk.VSY4EUFN.js → chunk.BALWGQRW.js} +0 -0
- package/dist/chunks/{chunk.EJMQUF44.js → chunk.CJL7IBJC.js} +0 -0
- package/dist/chunks/{chunk.J67NOH2J.js → chunk.DHGILA5W.js} +0 -0
- package/dist/chunks/{chunk.PMZLGJKG.js → chunk.IFVMGJPH.js} +0 -0
- package/dist/chunks/{chunk.IBTGZ65I.js → chunk.JVH7QA7V.js} +3 -3
- package/dist/chunks/{chunk.ZGKB7QGK.js → chunk.KXI7DQT7.js} +0 -0
- package/dist/chunks/{chunk.WCLY7RG6.js → chunk.LY4LB7WU.js} +3 -3
- package/dist/chunks/{chunk.I2AG6P7E.js → chunk.MWFRUUKN.js} +3 -3
- package/dist/chunks/{chunk.WFNCHKPE.js → chunk.OXCJX3LE.js} +3 -3
- package/dist/chunks/{chunk.6WU4LF5Z.js → chunk.ZDKRIMUK.js} +3 -3
- package/dist/chunks/{chunk.X54F4QNG.js → chunk.ZE3C43AX.js} +3 -3
- package/dist/chunks/{chunk.ILPAMBSC.js → chunk.ZEC66JCL.js} +3 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as z}from"./chunk.64UNKF45.js";import{c as O}from"./chunk.3L472FD4.js";import{a as c,c as u}from"./chunk.A3DKF5BY.js";import{a as h,d as p}from"./chunk.RQYP7MH5.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as K}from"./chunk.E2DRD2OX.js";import{a as D}from"./chunk.DEXOQON7.js";import{a as I}from"./chunk.26V4EXHB.js";import{a as C,b as o,d as l,h as d}from"./chunk.FZLK25RZ.js";import{b as M,e as A}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var n=class extends d{constructor(){super(...arguments);this.localize=new D(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=>z(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-4-6-8-button":case"sd-4-6-8-icon-button":s=t.button;break;case"sd-4-6-8-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(()=>{var a,r,f,g,y,w,b,E,v,k,T,L;let s=((y=(g=(f=(r=(a=document.activeElement)==null?void 0:a.shadowRoot)==null?void 0:r.activeElement)==null?void 0:f.shadowRoot)==null?void 0:g.activeElement)==null?void 0:y.getRootNode())instanceof ShadowRoot?(v=(E=(b=(w=document.activeElement)==null?void 0:w.shadowRoot)==null?void 0:b.activeElement)==null?void 0:E.shadowRoot)==null?void 0:v.activeElement:((k=this.containingElement)==null?void 0:k.getRootNode())instanceof ShadowRoot?(L=(T=document.activeElement)==null?void 0:T.shadowRoot)==null?void 0:L.activeElement:document.activeElement;(!this.containingElement||(s==null?void 0:s.closest(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;O(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],r=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(r),r.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-4-6-8-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-4-6-8-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 h(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 h(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return A`<sd-4-6-8-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" ?active="${this.open}"><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="${I("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-4-6-8-popup>`}};n.styles=[...d.styles,M`: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([l("#dropdown")],n.prototype,"popup",2),i([l("[part=trigger]")],n.prototype,"trigger",2),i([l("[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:String,attribute:!1,reflect:!0})],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([K("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([C("sd-4-6-8-dropdown")],n);c("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});c("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{n as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk.64UNKF45.js";var t=[],i=class{constructor(e){this.tabDirection="forward";this.element=e,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){t.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){t=t.filter(e=>e!==this.element),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return t[t.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){let{start:e,end:h}=s(this.element),n=this.tabDirection==="forward"?e:h;typeof(n==null?void 0:n.focus)=="function"&&n.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(e){e.key==="Tab"&&e.shiftKey&&(this.tabDirection="backward",requestAnimationFrame(()=>this.checkFocus()))}handleKeyUp(){this.tabDirection="forward"}};export{i as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as A}from"./chunk.X2O263YD.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as o,c as n}from"./chunk.A3DKF5BY.js";import{a as l,d as h}from"./chunk.RQYP7MH5.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as L}from"./chunk.6HO6CE4A.js";import{a as E}from"./chunk.DEXOQON7.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C,b as r,d as c,h as w}from"./chunk.FZLK25RZ.js";import{b as x,e as u}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";function k(y){return y.charAt(0).toUpperCase()+y.slice(1)}var t=class extends w{constructor(){super(...arguments);this.hasSlotController=new L(this,"footer");this.localize=new E(this);this.modal=new A(this);this.open=!1;this.label="";this.placement="end";this.contained=!1;this.noHeader=!1;this.handleDocumentKeyDown=e=>{this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),m(this)))}disconnectedCallback(){super.disconnectedCallback(),f(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let a=n(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.panel,a.keyframes,a.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var b;let e=(b=this.closeButton.shadowRoot)==null?void 0:b.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),m(this));let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()});let d=n(this,`drawer.show${k(this.placement)}`,{dir:this.localize.dir()}),s=n(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([l(this.panel,d.keyframes,d.options),l(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),f(this)),await Promise.all([h(this.drawer),h(this.overlay)]);let a=n(this,`drawer.hide${k(this.placement)}`,{dir:this.localize.dir()}),d=n(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,a.keyframes,a.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.drawer.setAttribute("inert",""),this.overlay.hidden=!1,this.panel.hidden=!1;let s=this.originalTrigger;typeof(s==null?void 0:s.focus)=="function"&&setTimeout(()=>s.focus()),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),m(this)),this.open&&this.contained&&(this.modal.deactivate(),f(this))}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}render(){return u`<section id="drawer" part="base" class="${p("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}" aria-label="${this.label}"><div part="overlay" class="${p("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${this.noHeader?u`<sd-4-6-8-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-6-8-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-8-icon></sd-4-6-8-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-6-8-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-4-6-8-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-8-icon></sd-4-6-8-button></div></header>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${p(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></section>`}};t.styles=[...w.styles,x`:host{--width:25rem;display:contents}:host([contained]){z-index:auto}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],i([c("[part=base]")],t.prototype,"drawer",2),i([c("[part=panel]")],t.prototype,"panel",2),i([c("[part=overlay]")],t.prototype,"overlay",2),i([c("[part=close-button]")],t.prototype,"closeButton",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"placement",2),i([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),i([r({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([v("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=i([C("sd-4-6-8-drawer")],t);o("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk.E2DRD2OX.js";import{a as m}from"./chunk.26V4EXHB.js";import{a as h,b as r,d as f,h as n}from"./chunk.FZLK25RZ.js";import{b as o,e as c}from"./chunk.IRWHG2Q4.js";import{e as s}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,a)=>{i.index=a+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=a)}),this.setActiveStep(t||this.activeStep)})}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-4-6-8-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,a)=>{a===t?i.current=!0:a>t?i.disabled=!0:i.current=!1}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`:host{width:-moz-max-content;width:max-content}`],s([f("[part=body]")],e.prototype,"body",2),s([r({type:String,reflect:!0})],e.prototype,"size",2),s([r({type:String,reflect:!0})],e.prototype,"orientation",2),s([r({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([r({type:String,reflect:!0})],e.prototype,"label",2),s([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-4-6-8-step-group")],e);export{e as a};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
waitForEvent
|
|
12
12
|
} from "./chunk.B4BZKR24.js";
|
|
13
|
-
import {
|
|
14
|
-
watch
|
|
15
|
-
} from "./chunk.X2OQMWGY.js";
|
|
16
13
|
import {
|
|
17
14
|
LocalizeController
|
|
18
15
|
} from "./chunk.YKM42GKF.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.X2OQMWGY.js";
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
waitForEvent
|
|
3
3
|
} from "./chunk.B4BZKR24.js";
|
|
4
|
-
import {
|
|
5
|
-
watch
|
|
6
|
-
} from "./chunk.X2OQMWGY.js";
|
|
7
4
|
import {
|
|
8
5
|
LocalizeController
|
|
9
6
|
} from "./chunk.YKM42GKF.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.X2OQMWGY.js";
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
waitForEvent
|
|
12
12
|
} from "./chunk.B4BZKR24.js";
|
|
13
|
-
import {
|
|
14
|
-
watch
|
|
15
|
-
} from "./chunk.X2OQMWGY.js";
|
|
16
13
|
import {
|
|
17
14
|
LocalizeController
|
|
18
15
|
} from "./chunk.YKM42GKF.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.X2OQMWGY.js";
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDivider
|
|
3
3
|
} from "./chunk.EZKDJFKX.js";
|
|
4
|
-
import {
|
|
5
|
-
watch
|
|
6
|
-
} from "./chunk.X2OQMWGY.js";
|
|
7
4
|
import {
|
|
8
5
|
LocalizeController
|
|
9
6
|
} from "./chunk.YKM42GKF.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.X2OQMWGY.js";
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
FormControlController
|
|
6
6
|
} from "./chunk.KVKRZJS7.js";
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk.X2OQMWGY.js";
|
|
10
7
|
import {
|
|
11
8
|
HasSlotController
|
|
12
9
|
} from "./chunk.YEZS5ZR2.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.X2OQMWGY.js";
|
|
13
13
|
import {
|
|
14
14
|
SolidElement,
|
|
15
15
|
customElement
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
prefersReducedMotion
|
|
12
12
|
} from "./chunk.EY4JPJJQ.js";
|
|
13
|
-
import {
|
|
14
|
-
watch
|
|
15
|
-
} from "./chunk.X2OQMWGY.js";
|
|
16
13
|
import {
|
|
17
14
|
LocalizeController
|
|
18
15
|
} from "./chunk.YKM42GKF.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.X2OQMWGY.js";
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
waitForEvent
|
|
11
11
|
} from "./chunk.B4BZKR24.js";
|
|
12
|
-
import {
|
|
13
|
-
watch
|
|
14
|
-
} from "./chunk.X2OQMWGY.js";
|
|
15
12
|
import {
|
|
16
13
|
LocalizeController
|
|
17
14
|
} from "./chunk.YKM42GKF.js";
|
|
15
|
+
import {
|
|
16
|
+
watch
|
|
17
|
+
} from "./chunk.X2OQMWGY.js";
|
|
18
18
|
import {
|
|
19
19
|
SolidElement,
|
|
20
20
|
customElement
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
FormControlController,
|
|
3
3
|
validValidityState
|
|
4
4
|
} from "./chunk.KVKRZJS7.js";
|
|
5
|
-
import {
|
|
6
|
-
watch
|
|
7
|
-
} from "./chunk.X2OQMWGY.js";
|
|
8
5
|
import {
|
|
9
6
|
HasSlotController
|
|
10
7
|
} from "./chunk.YEZS5ZR2.js";
|
|
8
|
+
import {
|
|
9
|
+
watch
|
|
10
|
+
} from "./chunk.X2OQMWGY.js";
|
|
11
11
|
import {
|
|
12
12
|
SolidElement,
|
|
13
13
|
customElement
|