@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
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
waitForEvent
|
|
17
17
|
} from "./chunk.B4BZKR24.js";
|
|
18
|
-
import {
|
|
19
|
-
watch
|
|
20
|
-
} from "./chunk.X2OQMWGY.js";
|
|
21
18
|
import {
|
|
22
19
|
LocalizeController
|
|
23
20
|
} from "./chunk.YKM42GKF.js";
|
|
21
|
+
import {
|
|
22
|
+
watch
|
|
23
|
+
} from "./chunk.X2OQMWGY.js";
|
|
24
24
|
import {
|
|
25
25
|
SolidElement,
|
|
26
26
|
customElement
|
|
@@ -76,7 +76,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
76
76
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
77
77
|
* or an element within the slotted elements shadow root.
|
|
78
78
|
*
|
|
79
|
-
* e.g. the accessible trigger of an <sd-4-6-
|
|
79
|
+
* e.g. the accessible trigger of an <sd-4-6-10-button> is a <button> located inside its shadow root.
|
|
80
80
|
*
|
|
81
81
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
82
82
|
* */
|
|
@@ -87,11 +87,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
87
87
|
if (accessibleTrigger) {
|
|
88
88
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
89
89
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
90
|
-
case "sd-4-6-
|
|
91
|
-
case "sd-4-6-
|
|
90
|
+
case "sd-4-6-10-button":
|
|
91
|
+
case "sd-4-6-10-icon-button":
|
|
92
92
|
target = accessibleTrigger.button;
|
|
93
93
|
break;
|
|
94
|
-
case "sd-4-6-
|
|
94
|
+
case "sd-4-6-10-navigation-item":
|
|
95
95
|
target = accessibleTrigger.button;
|
|
96
96
|
break;
|
|
97
97
|
default:
|
|
@@ -236,7 +236,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
236
236
|
}
|
|
237
237
|
addOpenListeners() {
|
|
238
238
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
239
|
-
this.panel.addEventListener("sd-4-6-
|
|
239
|
+
this.panel.addEventListener("sd-4-6-10-select", this.handlePanelSelect);
|
|
240
240
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
241
241
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
242
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -244,7 +244,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
244
244
|
removeOpenListeners() {
|
|
245
245
|
if (this.panel) {
|
|
246
246
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
247
|
-
this.panel.removeEventListener("sd-4-6-
|
|
247
|
+
this.panel.removeEventListener("sd-4-6-10-select", this.handlePanelSelect);
|
|
248
248
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
249
249
|
}
|
|
250
250
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -277,11 +277,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return html`<sd-4-6-
|
|
280
|
+
return html`<sd-4-6-10-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="${cx(
|
|
281
281
|
"shadow bg-white",
|
|
282
282
|
this.open ? "block pointer-events-auto" : "pointer-events-none",
|
|
283
283
|
this.rounded && "rounded-md"
|
|
284
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-6-
|
|
284
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-6-10-popup>`;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
SdDropdown.styles = [
|
|
@@ -313,7 +313,7 @@ __decorateClass([
|
|
|
313
313
|
property({ attribute: "stay-open-on-select", type: Boolean, reflect: true })
|
|
314
314
|
], SdDropdown.prototype, "stayOpenOnSelect", 2);
|
|
315
315
|
__decorateClass([
|
|
316
|
-
property({ type:
|
|
316
|
+
property({ type: Object })
|
|
317
317
|
], SdDropdown.prototype, "containingElement", 2);
|
|
318
318
|
__decorateClass([
|
|
319
319
|
property({ type: Number, reflect: true })
|
|
@@ -334,7 +334,7 @@ __decorateClass([
|
|
|
334
334
|
watch("open", { waitUntilFirstUpdate: true })
|
|
335
335
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
336
336
|
SdDropdown = __decorateClass([
|
|
337
|
-
customElement("sd-4-6-
|
|
337
|
+
customElement("sd-4-6-10-dropdown")
|
|
338
338
|
], SdDropdown);
|
|
339
339
|
setDefaultAnimation("dropdown.show", {
|
|
340
340
|
keyframes: [
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<label part="base" class="${cx(
|
|
121
|
-
"sd-4-6-
|
|
121
|
+
"sd-4-6-10-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
144
144
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
145
145
|
default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
146
146
|
}[checkboxState]
|
|
147
|
-
)}">${this.checked ? html`<sd-4-6-
|
|
147
|
+
)}">${this.checked ? html`<sd-4-6-10-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-10-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-6-10-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-6-10-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
148
148
|
"select-none inline-block ml-2",
|
|
149
149
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
150
150
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -206,7 +206,7 @@ __decorateClass([
|
|
|
206
206
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
207
207
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
208
208
|
SdCheckbox = __decorateClass([
|
|
209
|
-
customElement("sd-4-6-
|
|
209
|
+
customElement("sd-4-6-10-checkbox")
|
|
210
210
|
], SdCheckbox);
|
|
211
211
|
|
|
212
212
|
export {
|
|
@@ -125,7 +125,7 @@ var SdScrollable = class extends SolidElement {
|
|
|
125
125
|
down: this.upButton
|
|
126
126
|
}[direction];
|
|
127
127
|
const label = reachedStart ? `${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}` : `${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;
|
|
128
|
-
(_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-4-6-
|
|
128
|
+
(_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-4-6-10-icon")) == null ? void 0 : _c.setAttribute("label", label);
|
|
129
129
|
if (isKeyboardTriggered) {
|
|
130
130
|
oppositeButton == null ? void 0 : oppositeButton.focus();
|
|
131
131
|
} else {
|
|
@@ -137,7 +137,7 @@ var SdScrollable = class extends SolidElement {
|
|
|
137
137
|
const scrollTo = ["left", "up"].includes(direction) ? "start" : "end";
|
|
138
138
|
const label = scrollTo === "start" ? this.localize.term("scrollToStart") : this.localize.term("scrollToEnd");
|
|
139
139
|
const button = e.target;
|
|
140
|
-
(_a = button.querySelector("sd-4-6-
|
|
140
|
+
(_a = button.querySelector("sd-4-6-10-icon")) == null ? void 0 : _a.setAttribute("label", label);
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
143
|
const scrollButtonClasses = "relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg";
|
|
@@ -154,21 +154,21 @@ var SdScrollable = class extends SolidElement {
|
|
|
154
154
|
)}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`<div part="button-left" class="${cx(
|
|
155
155
|
"absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8",
|
|
156
156
|
!this.canScroll.left && "opacity-0 pointer-events-none"
|
|
157
|
-
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-4-6-
|
|
157
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-4-6-10-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-6-10-icon></slot></button></div><div part="button-right" class="${cx(
|
|
158
158
|
"absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8",
|
|
159
159
|
!this.canScroll.right && "opacity-0 pointer-events-none"
|
|
160
|
-
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-4-6-
|
|
160
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-4-6-10-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-6-10-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
|
|
161
161
|
"absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8",
|
|
162
162
|
!this.canScroll.up && "opacity-0 pointer-events-none"
|
|
163
|
-
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-4-6-
|
|
163
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-4-6-10-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-6-10-icon></slot></button></div><div part="button-bottom" class="${cx(
|
|
164
164
|
"absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8",
|
|
165
165
|
!this.canScroll.down && "opacity-0 pointer-events-none"
|
|
166
|
-
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-4-6-
|
|
166
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-4-6-10-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-6-10-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
SdScrollable.styles = [
|
|
170
170
|
...SolidElement.styles,
|
|
171
|
-
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-6-
|
|
171
|
+
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-6-10-icon--top{align-self:flex-start}.sd-4-6-10-icon--down{align-self:flex-end}`
|
|
172
172
|
];
|
|
173
173
|
__decorateClass([
|
|
174
174
|
query('[part="button-right"] button')
|
|
@@ -216,7 +216,7 @@ __decorateClass([
|
|
|
216
216
|
state()
|
|
217
217
|
], SdScrollable.prototype, "isScrollVerticalEnabled", 2);
|
|
218
218
|
SdScrollable = __decorateClass([
|
|
219
|
-
customElement("sd-4-6-
|
|
219
|
+
customElement("sd-4-6-10-scrollable")
|
|
220
220
|
], SdScrollable);
|
|
221
221
|
|
|
222
222
|
export {
|
|
@@ -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
|
|
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
28
28
|
this.label = "";
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Syncs the disabled prop for all slotted sd-4-6-
|
|
31
|
+
* Syncs the disabled prop for all slotted sd-4-6-10-options when it is triggered
|
|
32
32
|
*/
|
|
33
33
|
handleDisableOptions() {
|
|
34
34
|
const { disabled } = this;
|
|
35
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-
|
|
35
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-10-option").forEach((opt) => {
|
|
36
36
|
opt.disabled = disabled;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const { disabled } = this;
|
|
44
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-
|
|
44
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-10-divider id="divider" class="pt-2 pb-4" part="divider"></sd-4-6-10-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SdOptgroup.dependencies = {
|
|
48
|
-
"sd-4-6-
|
|
48
|
+
"sd-4-6-10-divider": SdDivider
|
|
49
49
|
};
|
|
50
50
|
SdOptgroup.styles = [
|
|
51
51
|
...SolidElement.styles,
|
|
@@ -64,7 +64,7 @@ __decorateClass([
|
|
|
64
64
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
65
65
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
66
66
|
SdOptgroup = __decorateClass([
|
|
67
|
-
customElement("sd-4-6-
|
|
67
|
+
customElement("sd-4-6-10-optgroup")
|
|
68
68
|
], SdOptgroup);
|
|
69
69
|
|
|
70
70
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
watch
|
|
3
|
-
} from "./chunk.X2OQMWGY.js";
|
|
4
1
|
import {
|
|
5
2
|
animations
|
|
6
3
|
} from "./chunk.TJOP7HQP.js";
|
|
4
|
+
import {
|
|
5
|
+
watch
|
|
6
|
+
} from "./chunk.X2OQMWGY.js";
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-4-6-
|
|
211
|
+
customElement("sd-4-6-10-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -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
|
|
@@ -211,7 +211,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
211
211
|
"flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none",
|
|
212
212
|
this.disabled && "cursor-not-allowed",
|
|
213
213
|
textSize
|
|
214
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-4-6-
|
|
214
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-4-6-10-icon class="${cx("text-error absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="risk" part="invalid-icon"></sd-4-6-10-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-6-10-icon class="${cx("text-success absolute right-4 bg-white group-hover:bg-neutral-200", iconSizeMarginLeft)}" library="system" name="status-check" part="valid-icon"></sd-4-6-10-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
@@ -325,7 +325,7 @@ __decorateClass([
|
|
|
325
325
|
watch("value", { waitUntilFirstUpdate: true })
|
|
326
326
|
], SdTextarea.prototype, "handleValueChange", 1);
|
|
327
327
|
SdTextarea = __decorateClass([
|
|
328
|
-
customElement("sd-4-6-
|
|
328
|
+
customElement("sd-4-6-10-textarea")
|
|
329
329
|
], SdTextarea);
|
|
330
330
|
|
|
331
331
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-4-6-
|
|
74
|
+
"sd-4-6-10-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
127
127
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
128
128
|
SdRadio = __decorateClass([
|
|
129
|
-
customElement("sd-4-6-
|
|
129
|
+
customElement("sd-4-6-10-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -288,10 +288,10 @@ var SdAudio = class extends SolidElement {
|
|
|
288
288
|
)}" part="audio-controls"><button class="${cx(
|
|
289
289
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
290
290
|
this.inverted && "sd-interactive--inverted"
|
|
291
|
-
)}" aria-label="${this.localize.term("playbackSpeed")}
|
|
291
|
+
)}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-6-10-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying ? html`<slot name="pause-icon"><sd-4-6-10-icon class="text-3xl" name="pause" library="system"></sd-4-6-10-icon></slot>` : html`<slot name="play-icon"><sd-4-6-10-icon class="text-3xl" name="start" library="system"></sd-4-6-10-icon></slot>`}</sd-4-6-10-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx(
|
|
292
292
|
"mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",
|
|
293
293
|
this.inverted && "sd-interactive--inverted"
|
|
294
|
-
)}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}"
|
|
294
|
+
)}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-4-6-10-icon class="w-6 h-6" name="transcript" library="system"></sd-4-6-10-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-4-6-10-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="system"></sd-4-6-10-icon></button></div></div>`;
|
|
295
295
|
const renderTimestamps = html`<div class="${cx(
|
|
296
296
|
"w-full flex justify-between",
|
|
297
297
|
this.reversedLayout ? "mb-2" : "mt-2",
|
|
@@ -301,12 +301,12 @@ var SdAudio = class extends SolidElement {
|
|
|
301
301
|
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null} <input class="${cx(
|
|
302
302
|
"progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",
|
|
303
303
|
this.inverted && "sd-interactive--inverted"
|
|
304
|
-
)}" type="range" max="100" step="0.001" value="${this.progress}"
|
|
304
|
+
)}" type="range" max="100" step="0.001" value="${this.progress}" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-6-10-drawer><slot name="transcript"></slot></sd-4-6-10-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div>`;
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
SdAudio.styles = [
|
|
308
308
|
...SolidElement.styles,
|
|
309
|
-
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-6-
|
|
309
|
+
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-6-10-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-4-6-10-button::part(label){align-items:center;display:flex;flex-grow:0}`
|
|
310
310
|
];
|
|
311
311
|
__decorateClass([
|
|
312
312
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -348,13 +348,13 @@ __decorateClass([
|
|
|
348
348
|
query('[part="audio-player"]')
|
|
349
349
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
350
350
|
__decorateClass([
|
|
351
|
-
query("sd-4-6-
|
|
351
|
+
query("sd-4-6-10-drawer")
|
|
352
352
|
], SdAudio.prototype, "drawer", 2);
|
|
353
353
|
__decorateClass([
|
|
354
354
|
query("canvas")
|
|
355
355
|
], SdAudio.prototype, "canvas", 2);
|
|
356
356
|
SdAudio = __decorateClass([
|
|
357
|
-
customElement("sd-4-6-
|
|
357
|
+
customElement("sd-4-6-10-audio")
|
|
358
358
|
], SdAudio);
|
|
359
359
|
|
|
360
360
|
export {
|
|
@@ -71,7 +71,7 @@ var SdTag = class extends SolidElement {
|
|
|
71
71
|
lg: "text-base",
|
|
72
72
|
sm: "text-[12px]"
|
|
73
73
|
}[this.size]
|
|
74
|
-
)}"><sd-4-6-
|
|
74
|
+
)}"><sd-4-6-10-icon library="system" name="close" label="remove"></sd-4-6-10-icon></slot>` : ""}</${tag}>`;
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
SdTag.styles = [
|
|
@@ -106,7 +106,7 @@ __decorateClass([
|
|
|
106
106
|
property({ reflect: true })
|
|
107
107
|
], SdTag.prototype, "download", 2);
|
|
108
108
|
SdTag = __decorateClass([
|
|
109
|
-
customElement("sd-4-6-
|
|
109
|
+
customElement("sd-4-6-10-tag")
|
|
110
110
|
], SdTag);
|
|
111
111
|
|
|
112
112
|
export {
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-4-6-
|
|
326
|
+
customElement("sd-4-6-10-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -103,7 +103,7 @@ var SdVideo = class extends SolidElement {
|
|
|
103
103
|
this.playing ? "opacity-0" : "opacity-100",
|
|
104
104
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
105
105
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
106
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-
|
|
106
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-10-icon id="default-play-icon" library="system" name="start"></sd-4-6-10-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<slot></slot></div>`;
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdVideo.styles = [
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
property({ type: Boolean })
|
|
121
121
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
122
122
|
SdVideo = __decorateClass([
|
|
123
|
-
customElement("sd-4-6-
|
|
123
|
+
customElement("sd-4-6-10-video")
|
|
124
124
|
], SdVideo);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-10-divider[orientation=horizontal]){display:block}:host(sd-4-6-10-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-6-
|
|
44
|
+
customElement("sd-4-6-10-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Modal
|
|
3
|
-
|
|
2
|
+
Modal,
|
|
3
|
+
getDeepActiveElement
|
|
4
|
+
} from "./chunk.UFBRSKVR.js";
|
|
4
5
|
import {
|
|
5
6
|
lockBodyScrolling,
|
|
6
7
|
unlockBodyScrolling
|
|
@@ -16,15 +17,15 @@ import {
|
|
|
16
17
|
import {
|
|
17
18
|
waitForEvent
|
|
18
19
|
} from "./chunk.B4BZKR24.js";
|
|
19
|
-
import {
|
|
20
|
-
watch
|
|
21
|
-
} from "./chunk.X2OQMWGY.js";
|
|
22
20
|
import {
|
|
23
21
|
HasSlotController
|
|
24
22
|
} from "./chunk.YEZS5ZR2.js";
|
|
25
23
|
import {
|
|
26
24
|
LocalizeController
|
|
27
25
|
} from "./chunk.YKM42GKF.js";
|
|
26
|
+
import {
|
|
27
|
+
watch
|
|
28
|
+
} from "./chunk.X2OQMWGY.js";
|
|
28
29
|
import {
|
|
29
30
|
SolidElement,
|
|
30
31
|
customElement
|
|
@@ -100,7 +101,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
100
101
|
if (this.open) {
|
|
101
102
|
this.emit("sd-show");
|
|
102
103
|
this.addOpenListeners();
|
|
103
|
-
this.originalTrigger =
|
|
104
|
+
this.originalTrigger = getDeepActiveElement();
|
|
104
105
|
if (!this.contained) {
|
|
105
106
|
this.modal.activate();
|
|
106
107
|
lockBodyScrolling(this);
|
|
@@ -203,13 +204,13 @@ var SdDrawer = class extends SolidElement {
|
|
|
203
204
|
)}" aria-label="${this.label}"><div part="overlay" class="${cx(
|
|
204
205
|
"block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",
|
|
205
206
|
this.contained ? "absolute" : "fixed"
|
|
206
|
-
)}" @click="${() => this.requestClose("overlay")}"
|
|
207
|
+
)}" @click="${() => this.requestClose("overlay")}"></div><div part="panel" class="${cx(
|
|
207
208
|
"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",
|
|
208
209
|
{
|
|
209
210
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
210
211
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
211
212
|
}[this.placement]
|
|
212
|
-
)}" role="dialog" aria-modal="true" aria-
|
|
213
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<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-10-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-6-10-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-10-icon></sd-4-6-10-button></div></header>` : html`<sd-4-6-10-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-6-10-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-10-icon></sd-4-6-10-button>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
213
214
|
}
|
|
214
215
|
};
|
|
215
216
|
SdDrawer.styles = [
|
|
@@ -250,7 +251,7 @@ __decorateClass([
|
|
|
250
251
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
252
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
253
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-4-6-
|
|
254
|
+
customElement("sd-4-6-10-drawer")
|
|
254
255
|
], SdDrawer);
|
|
255
256
|
setDefaultAnimation("drawer.showStart", {
|
|
256
257
|
keyframes: [
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-4-6-10-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-10-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-4-6-10-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-10-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-4-6-
|
|
41
|
-
button.classList.toggle("sd-4-6-
|
|
42
|
-
button.classList.toggle("sd-4-6-
|
|
43
|
-
button.classList.toggle("sd-4-6-
|
|
44
|
-
button.classList.toggle("sd-4-6-
|
|
40
|
+
button.classList.add("sd-4-6-10-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-4-6-10-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-4-6-10-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-4-6-10-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-4-6-10-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-10-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-4-6-
|
|
66
|
+
customElement("sd-4-6-10-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-4-6-
|
|
70
|
+
const selector = "sd-4-6-10-button, sd-4-6-10-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|