@solid-design-system/components 4.6.7 → 4.6.9
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.BNX6LX2P.js +1 -0
- 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.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.NXW6WUG6.js +1 -0
- 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.SITFYVDG.js +1 -0
- 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.d.ts +1 -0
- 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 +246 -217
- 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 +54 -44
- package/cdn/web-types.json +82 -67
- 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.EIY45BTU.js → chunk.7HKFHNAX.js} +1 -1
- package/cdn-versioned/chunks/chunk.AG6PE353.js +1 -0
- package/cdn-versioned/chunks/{chunk.K6MPMK2S.js → chunk.AMCTYKOD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3YPJCZOD.js → chunk.BIMWLALI.js} +1 -1
- 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.Y4IR7JF5.js → chunk.E2R73Z3A.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VTEMYE2V.js → chunk.F4LOXTZD.js} +1 -1
- 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.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.DXZG7YGV.js → chunk.JXBK7LTF.js} +1 -1
- 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.3D62RZ2Z.js → chunk.L7GN7UBE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XCZ7A7XW.js → chunk.MJBA5E3M.js} +2 -2
- package/cdn-versioned/chunks/chunk.NXW6WUG6.js +1 -0
- package/cdn-versioned/chunks/{chunk.D7YBJDMX.js → chunk.OJY2KFGF.js} +1 -1
- package/cdn-versioned/chunks/chunk.OOWV6VHF.js +1 -1
- package/cdn-versioned/chunks/{chunk.RL6X34VW.js → chunk.OZ6M4CAW.js} +4 -4
- 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.V6AI2UU3.js → chunk.SWPBMHJJ.js} +1 -1
- 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.5CP6CRGL.js → chunk.VWR74OA4.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.IZUTH5VY.js → chunk.WUSKJM2J.js} +4 -4
- package/cdn-versioned/chunks/{chunk.KLARHQI2.js → chunk.XIALW4QW.js} +1 -1
- 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 +2 -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 +437 -408
- 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 +133 -123
- package/cdn-versioned/web-types.json +217 -202
- package/dist/chunks/{chunk.EATARJOL.js → chunk.5NUL7XZO.js} +20 -9
- package/dist/chunks/{chunk.ML4MIKYQ.js → chunk.6KFGIUGJ.js} +4 -4
- package/dist/chunks/{chunk.TDFVAXJF.js → chunk.7PDAG24K.js} +7 -6
- package/dist/chunks/{chunk.VMVFMQ3Q.js → chunk.BO6G26AO.js} +3 -3
- package/dist/chunks/{chunk.YELMYFWG.js → chunk.IFVMGJPH.js} +3 -3
- 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.d.ts +1 -0
- 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 +246 -217
- 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 +54 -44
- package/dist/web-types.json +82 -67
- 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.EATARJOL.js → chunk.5NUL7XZO.js} +22 -11
- 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.TDFVAXJF.js → chunk.7PDAG24K.js} +9 -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.HP5TMUCE.js +11 -11
- package/dist-versioned/chunks/{chunk.YELMYFWG.js → chunk.IFVMGJPH.js} +15 -15
- 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 +2 -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 +437 -408
- 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 +133 -123
- package/dist-versioned/web-types.json +217 -202
- 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.NTVL7HVE.js +0 -1
- package/cdn/chunks/chunk.X2O263YD.js +0 -1
- package/cdn/chunks/chunk.XDA5YIYP.js +0 -1
- package/cdn/chunks/chunk.ZIYUJYNT.js +0 -1
- package/cdn-versioned/chunks/chunk.7MDQZEHN.js +0 -1
- package/cdn-versioned/chunks/chunk.J5GYRMVW.js +0 -1
- package/cdn-versioned/chunks/chunk.NR42774V.js +0 -1
- package/cdn-versioned/chunks/chunk.NTVL7HVE.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.ZIYUJYNT.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/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.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.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
|
@@ -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-9-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-9-icon class="text-3xl" name="pause" library="system"></sd-4-6-9-icon></slot>` : html`<slot name="play-icon"><sd-4-6-9-icon class="text-3xl" name="start" library="system"></sd-4-6-9-icon></slot>`}</sd-4-6-9-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-9-icon class="w-6 h-6" name="transcript" library="system"></sd-4-6-9-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-9-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="system"></sd-4-6-9-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-9-drawer><slot name="transcript"></slot></sd-4-6-9-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-9-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-9-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-9-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-9-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-9-icon library="system" name="close" label="remove"></sd-4-6-9-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-9-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-9-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-9-icon id="default-play-icon" library="system" name="start"></sd-4-6-9-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-9-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-9-divider[orientation=horizontal]){display:block}:host(sd-4-6-9-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-9-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -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-9-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-9-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-9-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-9-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-9-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-4-6-9-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-4-6-9-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-4-6-9-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-4-6-9-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-9-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-9-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-9-button, sd-4-6-9-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
const whenAllDefined = Promise.all([
|
|
32
|
-
customElements.whenDefined("sd-4-6-
|
|
33
|
-
customElements.whenDefined("sd-4-6-
|
|
32
|
+
customElements.whenDefined("sd-4-6-9-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-6-9-tab-panel")
|
|
34
34
|
]);
|
|
35
35
|
super.connectedCallback();
|
|
36
36
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -70,20 +70,20 @@ var SdTabGroup = class extends SolidElement {
|
|
|
70
70
|
}
|
|
71
71
|
getAllTabs(options = { includeDisabled: true }) {
|
|
72
72
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
73
|
-
return
|
|
74
|
-
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-6-
|
|
73
|
+
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-4-6-9-tab" ? el : el.querySelector("sd-4-6-9-tab")).filter((el) => {
|
|
74
|
+
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-6-9-tab" : el.tagName.toLowerCase() === "sd-4-6-9-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-9-tab-panel");
|
|
79
79
|
}
|
|
80
80
|
getActiveTab() {
|
|
81
81
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
84
|
const target = event.target;
|
|
85
|
-
const tab = target.closest("sd-4-6-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-
|
|
85
|
+
const tab = target.closest("sd-4-6-9-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-9-tab-group");
|
|
87
87
|
if (tabGroup !== this) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
93
93
|
}
|
|
94
94
|
handleKeyDown(event) {
|
|
95
95
|
const target = event.target;
|
|
96
|
-
const tab = target.closest("sd-4-6-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-
|
|
96
|
+
const tab = target.closest("sd-4-6-9-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-9-tab-group");
|
|
98
98
|
if (tabGroup !== this) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
119
119
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
120
120
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
121
121
|
const isRtl = this.localize.dir() === "rtl";
|
|
122
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-6-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-6-9-tab") {
|
|
123
123
|
let index = this.tabs.indexOf(activeEl);
|
|
124
124
|
if (event.key === "Home") {
|
|
125
125
|
index = 0;
|
|
@@ -163,7 +163,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
163
163
|
emitEvents: true,
|
|
164
164
|
scrollBehavior: "auto"
|
|
165
165
|
}, options);
|
|
166
|
-
if (tab !== this.activeTab && !tab.disabled) {
|
|
166
|
+
if (tab !== this.activeTab && !tab.disabled && !tab.visuallyDisabled) {
|
|
167
167
|
const previousTab = this.activeTab;
|
|
168
168
|
this.activeTab = tab;
|
|
169
169
|
this.tabs.map((el) => el.active = el === this.activeTab);
|
|
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
|
|
|
215
215
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
216
216
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
217
217
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
218
|
-
)}" @click="${this.handleScrollToStart}"><sd-4-6-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-6-9-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-6-9-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
219
219
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
220
220
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
221
|
-
)}" @click="${this.handleScrollToEnd}"><sd-4-6-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-6-9-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-6-9-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
SdTabGroup.styles = [
|
|
225
225
|
...SolidElement.styles,
|
|
226
|
-
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-6-
|
|
226
|
+
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-6-9-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-6-9-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property({ type: String, reflect: true })
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-4-6-
|
|
247
|
+
customElement("sd-4-6-9-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
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
|
|
@@ -91,7 +92,7 @@ var SdDialog = class extends SolidElement {
|
|
|
91
92
|
if (this.open) {
|
|
92
93
|
this.emit("sd-show");
|
|
93
94
|
this.addOpenListeners();
|
|
94
|
-
this.originalTrigger =
|
|
95
|
+
this.originalTrigger = getDeepActiveElement();
|
|
95
96
|
this.modal.activate();
|
|
96
97
|
lockBodyScrolling(this);
|
|
97
98
|
const autoFocusTarget = this.querySelector("[autofocus]");
|
|
@@ -169,7 +170,7 @@ var SdDialog = class extends SolidElement {
|
|
|
169
170
|
)}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
170
171
|
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
171
172
|
this.open && "flex opacity-100"
|
|
172
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-6-
|
|
173
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-6-9-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-4-6-9-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-6-9-icon></sd-4-6-9-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
173
174
|
}
|
|
174
175
|
};
|
|
175
176
|
SdDialog.styles = [
|
|
@@ -198,7 +199,7 @@ __decorateClass([
|
|
|
198
199
|
watch("open", { waitUntilFirstUpdate: true })
|
|
199
200
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
200
201
|
SdDialog = __decorateClass([
|
|
201
|
-
customElement("sd-4-6-
|
|
202
|
+
customElement("sd-4-6-9-dialog")
|
|
202
203
|
], SdDialog);
|
|
203
204
|
setDefaultAnimation("dialog.show", {
|
|
204
205
|
keyframes: [
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
};
|
|
85
85
|
SdLink.styles = [
|
|
86
86
|
...SolidElement.styles,
|
|
87
|
-
css`::slotted(sd-4-6-
|
|
87
|
+
css`::slotted(sd-4-6-9-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-4-6-9-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-4-6-9-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property({ reflect: true })
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-4-6-
|
|
114
|
+
customElement("sd-4-6-9-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAccordion
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.35D7BDRG.js";
|
|
4
4
|
import {
|
|
5
5
|
setDefaultAnimation
|
|
6
6
|
} from "./chunk.N4LHE3QK.js";
|
|
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
64
64
|
!this.expandable && "hidden"
|
|
65
65
|
)}
|
|
66
66
|
><slot name="expand-icon" class=${cx(this.open && "hidden")}>
|
|
67
|
-
<sd-4-6-
|
|
67
|
+
<sd-4-6-9-icon library="system" name="chevron-down"></sd-4-6-9-icon>
|
|
68
68
|
</slot>
|
|
69
69
|
<slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
|
|
70
|
-
<sd-4-6-
|
|
70
|
+
<sd-4-6-9-icon library="system" name="chevron-down"></sd-4-6-9-icon> </slot
|
|
71
71
|
></span>
|
|
72
72
|
</${header}>
|
|
73
73
|
<div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
|
|
@@ -85,7 +85,7 @@ __decorateClass([
|
|
|
85
85
|
property({ type: Boolean, reflect: true })
|
|
86
86
|
], SdQuickfact.prototype, "expandable", 2);
|
|
87
87
|
SdQuickfact = __decorateClass([
|
|
88
|
-
customElement("sd-4-6-
|
|
88
|
+
customElement("sd-4-6-9-quickfact")
|
|
89
89
|
], SdQuickfact);
|
|
90
90
|
setDefaultAnimation("quickfact.show", {
|
|
91
91
|
keyframes: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
watch
|
|
3
|
-
} from "./chunk.X2OQMWGY.js";
|
|
4
1
|
import {
|
|
5
2
|
HasSlotController
|
|
6
3
|
} from "./chunk.YEZS5ZR2.js";
|
|
4
|
+
import {
|
|
5
|
+
watch
|
|
6
|
+
} from "./chunk.X2OQMWGY.js";
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
@@ -89,7 +89,7 @@ var SdStep = class extends SolidElement {
|
|
|
89
89
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
90
90
|
this.notInteractive && "text-primary",
|
|
91
91
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
92
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-6-
|
|
92
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-6-9-icon name="status-check" library="system"></sd-4-6-9-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
93
93
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
94
94
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
95
95
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -139,7 +139,7 @@ __decorateClass([
|
|
|
139
139
|
watch("notInteractive")
|
|
140
140
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
141
141
|
SdStep = __decorateClass([
|
|
142
|
-
customElement("sd-4-6-
|
|
142
|
+
customElement("sd-4-6-9-step")
|
|
143
143
|
], SdStep);
|
|
144
144
|
|
|
145
145
|
export {
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-4-6-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-4-6-9-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-4-6-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-4-6-9-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -88,7 +88,7 @@ var FormControlController = class {
|
|
|
88
88
|
},
|
|
89
89
|
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
|
90
90
|
setValue: (input, value) => input.value = value,
|
|
91
|
-
assumeInteractionOn: ["sd-4-6-
|
|
91
|
+
assumeInteractionOn: ["sd-4-6-9-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -116,16 +116,16 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
116
116
|
isAccordion ? "grow" : "w-full",
|
|
117
117
|
slots["description"] || this.separated ? "pb-1" : horizontalPaddingBottom,
|
|
118
118
|
this.calculatePaddingX
|
|
119
|
-
)}">${this.divider && this.vertical ? html`<sd-4-6-
|
|
119
|
+
)}">${this.divider && this.vertical ? html`<sd-4-6-9-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-4-6-9-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
|
|
120
120
|
"mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-all min-h-[48px]",
|
|
121
121
|
!slots["description"] && "py-4"
|
|
122
|
-
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-4-6-
|
|
122
|
+
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-4-6-9-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
|
|
123
123
|
"mr-4 h-6 w-6 transition-all",
|
|
124
124
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
125
|
-
)}"></sd-4-6-
|
|
125
|
+
)}"></sd-4-6-9-icon></button>` : html`<sd-4-6-9-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${cx(
|
|
126
126
|
"h-6 w-6 ml-2 transition-all",
|
|
127
127
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
128
|
-
)}"></sd-4-6-
|
|
128
|
+
)}"></sd-4-6-9-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
|
|
129
129
|
"inline-block text-sm text-left text-black",
|
|
130
130
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
131
131
|
this.separated ? "px-4" : this.calculatePaddingX,
|
|
@@ -190,7 +190,7 @@ __decorateClass([
|
|
|
190
190
|
property({ type: Boolean, reflect: true })
|
|
191
191
|
], SdNavigationItem.prototype, "separated", 2);
|
|
192
192
|
SdNavigationItem = __decorateClass([
|
|
193
|
-
customElement("sd-4-6-
|
|
193
|
+
customElement("sd-4-6-9-navigation-item")
|
|
194
194
|
], SdNavigationItem);
|
|
195
195
|
|
|
196
196
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
watch
|
|
3
|
-
} from "./chunk.X2OQMWGY.js";
|
|
4
1
|
import {
|
|
5
2
|
HasSlotController
|
|
6
3
|
} from "./chunk.YEZS5ZR2.js";
|
|
4
|
+
import {
|
|
5
|
+
watch
|
|
6
|
+
} from "./chunk.X2OQMWGY.js";
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-4-6-
|
|
29
|
+
return [...this.querySelectorAll("sd-4-6-9-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-4-6-
|
|
42
|
+
if (customElements.get("sd-4-6-9-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-4-6-
|
|
45
|
+
customElements.whenDefined("sd-4-6-9-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-6-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-6-9-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-6-9-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-6-9-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-6-9-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-6-9-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-6-9-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-4-6-
|
|
103
|
+
customElement("sd-4-6-9-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
watch
|
|
3
|
-
} from "./chunk.X2OQMWGY.js";
|
|
4
1
|
import {
|
|
5
2
|
HasSlotController
|
|
6
3
|
} from "./chunk.YEZS5ZR2.js";
|
|
4
|
+
import {
|
|
5
|
+
watch
|
|
6
|
+
} from "./chunk.X2OQMWGY.js";
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
@@ -85,7 +85,7 @@ var SdRadioButton = class extends SolidElement {
|
|
|
85
85
|
};
|
|
86
86
|
SdRadioButton.styles = [
|
|
87
87
|
...SolidElement.styles,
|
|
88
|
-
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-4-6-
|
|
88
|
+
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-4-6-9-button-group__button--first:not(.sd-4-6-9-button-group__button--last)) button{border-bottom-right-radius:var(--sd-border-radius-none,0);border-top-right-radius:var(--sd-border-radius-none,0)}:host(.sd-4-6-9-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-4-6-9-button-group__button--last:not(.sd-4-6-9-button-group__button--first)) button{border-bottom-left-radius:var(--sd-border-radius-none,0);border-top-left-radius:var(--sd-border-radius-none,0)}:host(.sd-4-6-9-button-group__button:not(.sd-4-6-9-button-group__button--first)){margin-inline-start:-1px}:host(.sd-4-6-9-button-group__button--hover){z-index:10}:host(.sd-4-6-9-button-group__button--focus),:host(.sd-4-6-9-button-group__button[checked]){z-index:20}`
|
|
89
89
|
];
|
|
90
90
|
__decorateClass([
|
|
91
91
|
query(".button")
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
116
116
|
], SdRadioButton.prototype, "handleDisabledChange", 1);
|
|
117
117
|
SdRadioButton = __decorateClass([
|
|
118
|
-
customElement("sd-4-6-
|
|
118
|
+
customElement("sd-4-6-9-radio-button")
|
|
119
119
|
], SdRadioButton);
|
|
120
120
|
|
|
121
121
|
export {
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
170
170
|
SdSwitch = __decorateClass([
|
|
171
|
-
customElement("sd-4-6-
|
|
171
|
+
customElement("sd-4-6-9-switch")
|
|
172
172
|
], SdSwitch);
|
|
173
173
|
|
|
174
174
|
export {
|