@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
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
prefersReducedMotion
|
|
12
12
|
} from "./chunk.EY4JPJJQ.js";
|
|
13
|
-
import {
|
|
14
|
-
watch
|
|
15
|
-
} from "./chunk.X2OQMWGY.js";
|
|
16
13
|
import {
|
|
17
14
|
LocalizeController
|
|
18
15
|
} from "./chunk.YKM42GKF.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.X2OQMWGY.js";
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
@@ -56,7 +56,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
56
56
|
this.pausedAutoplay = false;
|
|
57
57
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
58
58
|
this.scrollController = new ScrollController(this);
|
|
59
|
-
this.slides = this.getElementsByTagName("sd-4-6-
|
|
59
|
+
this.slides = this.getElementsByTagName("sd-4-6-9-carousel-item");
|
|
60
60
|
// determines which slide is displayed
|
|
61
61
|
// A map containing the state of all the slides
|
|
62
62
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -380,7 +380,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
380
380
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${prevEnabled ? (e) => {
|
|
381
381
|
this.previous();
|
|
382
382
|
this.unblockAutoplay(e, this.previousButton);
|
|
383
|
-
} : null}"><slot name="previous-icon"><sd-4-6-
|
|
383
|
+
} : null}"><slot name="previous-icon"><sd-4-6-9-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-4-6-9-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
384
384
|
const isActive = index + 1 === currentPage;
|
|
385
385
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
386
386
|
"carousel__pagination-item",
|
|
@@ -403,7 +403,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
403
403
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${nextEnabled ? (e) => {
|
|
404
404
|
this.next();
|
|
405
405
|
this.unblockAutoplay(e, this.nextButton);
|
|
406
|
-
} : null}"><slot name="next-icon"><sd-4-6-
|
|
406
|
+
} : null}"><slot name="next-icon"><sd-4-6-9-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-4-6-9-icon></slot></button></div><button class="${cx(
|
|
407
407
|
"ml-6 !rounded-sm",
|
|
408
408
|
"!absolute !right-0 sd-interactive",
|
|
409
409
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -413,12 +413,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
413
413
|
if (e.detail) {
|
|
414
414
|
this.autoplayControls.blur();
|
|
415
415
|
}
|
|
416
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-
|
|
416
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-9-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-6-9-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-9-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-6-9-icon></slot></button></div></div>`;
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
SdCarousel.styles = [
|
|
420
420
|
...SolidElement.styles,
|
|
421
|
-
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-6-
|
|
421
|
+
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-6-9-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
422
422
|
];
|
|
423
423
|
__decorateClass([
|
|
424
424
|
query('[part~="autoplay-controls"]')
|
|
@@ -485,7 +485,7 @@ __decorateClass([
|
|
|
485
485
|
watch("autoplay")
|
|
486
486
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
487
487
|
SdCarousel = __decorateClass([
|
|
488
|
-
customElement("sd-4-6-
|
|
488
|
+
customElement("sd-4-6-9-carousel")
|
|
489
489
|
], SdCarousel);
|
|
490
490
|
|
|
491
491
|
export {
|
|
@@ -41,16 +41,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
41
41
|
};
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
|
-
css`:host{display:block}::slotted(sd-4-6-
|
|
44
|
+
css`:host{display:block}::slotted(sd-4-6-9-accordion:not(:first-of-type)){margin-top:-1px}`
|
|
45
45
|
];
|
|
46
46
|
__decorateClass([
|
|
47
|
-
queryAssignedElements({ selector: "sd-4-6-
|
|
47
|
+
queryAssignedElements({ selector: "sd-4-6-9-accordion" })
|
|
48
48
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
49
49
|
__decorateClass([
|
|
50
50
|
property({ attribute: "close-others", type: Boolean, reflect: true })
|
|
51
51
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
52
52
|
SdAccordionGroup = __decorateClass([
|
|
53
|
-
customElement("sd-4-6-
|
|
53
|
+
customElement("sd-4-6-9-accordion-group")
|
|
54
54
|
], SdAccordionGroup);
|
|
55
55
|
|
|
56
56
|
export {
|
|
@@ -4,15 +4,15 @@ 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";
|
|
13
10
|
import {
|
|
14
11
|
LocalizeController
|
|
15
12
|
} from "./chunk.YKM42GKF.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.X2OQMWGY.js";
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
@@ -378,7 +378,8 @@ var SdInput = class extends SolidElement {
|
|
|
378
378
|
this.size === "sm" ? "h-6" : "h-8",
|
|
379
379
|
textSize,
|
|
380
380
|
this.visuallyDisabled && "cursor-not-allowed"
|
|
381
|
-
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${
|
|
381
|
+
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
382
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-9-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-6-9-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-6-9-icon class="${cx(iconColor, iconSize)}" library="system" name="eye"></sd-4-6-9-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-6-9-icon class="${cx(iconColor, iconSize)}" library="system" name="eye-crossed-out"></sd-4-6-9-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-6-9-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-6-9-icon>` : ""} ${this.type === "time" ? html`<sd-4-6-9-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-6-9-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-4-6-9-icon class="${cx(iconColor, iconSize)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-4-6-9-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-9-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-6-9-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-6-9-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-6-9-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-6-9-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-9-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-6-9-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-9-icon></slot></button></div>` : ""}</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}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
382
383
|
}
|
|
383
384
|
};
|
|
384
385
|
/**
|
|
@@ -386,7 +387,7 @@ var SdInput = class extends SolidElement {
|
|
|
386
387
|
*/
|
|
387
388
|
SdInput.styles = [
|
|
388
389
|
...SolidElement.styles,
|
|
389
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-6-
|
|
390
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-6-9-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
390
391
|
];
|
|
391
392
|
__decorateClass([
|
|
392
393
|
query("#input")
|
|
@@ -516,7 +517,7 @@ __decorateClass([
|
|
|
516
517
|
watch("value", { waitUntilFirstUpdate: true })
|
|
517
518
|
], SdInput.prototype, "handleValueChange", 1);
|
|
518
519
|
SdInput = __decorateClass([
|
|
519
|
-
customElement("sd-4-6-
|
|
520
|
+
customElement("sd-4-6-9-input")
|
|
520
521
|
], SdInput);
|
|
521
522
|
|
|
522
523
|
export {
|
|
@@ -55,7 +55,7 @@ var SdStepGroup = class extends SolidElement {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
getAllSteps() {
|
|
58
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-
|
|
58
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-9-step");
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Sets the active step.
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
watch("notInteractive")
|
|
121
121
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
122
122
|
SdStepGroup = __decorateClass([
|
|
123
|
-
customElement("sd-4-6-
|
|
123
|
+
customElement("sd-4-6-9-step-group")
|
|
124
124
|
], SdStepGroup);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -25,7 +25,7 @@ SdCarouselItem.styles = [
|
|
|
25
25
|
css`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`
|
|
26
26
|
];
|
|
27
27
|
SdCarouselItem = __decorateClass([
|
|
28
|
-
customElement("sd-4-6-
|
|
28
|
+
customElement("sd-4-6-9-carousel-item")
|
|
29
29
|
], SdCarouselItem);
|
|
30
30
|
|
|
31
31
|
export {
|
|
@@ -1,25 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SdTag
|
|
3
|
-
} from "./chunk.EJMQUF44.js";
|
|
4
|
-
import {
|
|
5
|
-
SdPopup
|
|
6
|
-
} from "./chunk.CTZX4JSW.js";
|
|
7
1
|
import {
|
|
8
2
|
defaultValue
|
|
9
3
|
} from "./chunk.GI7VDIWX.js";
|
|
10
4
|
import {
|
|
11
5
|
scrollIntoView
|
|
12
6
|
} from "./chunk.WDWV53JP.js";
|
|
13
|
-
import {
|
|
14
|
-
FormControlController
|
|
15
|
-
} from "./chunk.KVKRZJS7.js";
|
|
16
7
|
import {
|
|
17
8
|
getAnimation,
|
|
18
9
|
setDefaultAnimation
|
|
19
10
|
} from "./chunk.N4LHE3QK.js";
|
|
20
|
-
import {
|
|
21
|
-
SdIcon
|
|
22
|
-
} from "./chunk.PS2S6VDP.js";
|
|
23
11
|
import {
|
|
24
12
|
animateTo,
|
|
25
13
|
stopAnimations
|
|
@@ -28,14 +16,17 @@ import {
|
|
|
28
16
|
waitForEvent
|
|
29
17
|
} from "./chunk.B4BZKR24.js";
|
|
30
18
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk.
|
|
19
|
+
FormControlController
|
|
20
|
+
} from "./chunk.KVKRZJS7.js";
|
|
33
21
|
import {
|
|
34
22
|
HasSlotController
|
|
35
23
|
} from "./chunk.YEZS5ZR2.js";
|
|
36
24
|
import {
|
|
37
25
|
LocalizeController
|
|
38
26
|
} from "./chunk.YKM42GKF.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.X2OQMWGY.js";
|
|
39
30
|
import {
|
|
40
31
|
SolidElement,
|
|
41
32
|
customElement
|
|
@@ -53,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
53
44
|
constructor() {
|
|
54
45
|
super(...arguments);
|
|
55
46
|
this.formControlController = new FormControlController(this, {
|
|
56
|
-
assumeInteractionOn: ["sd-blur", "sd-4-6-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-4-6-9-input"]
|
|
57
48
|
});
|
|
58
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
59
50
|
this.localize = new LocalizeController(this);
|
|
@@ -86,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
86
77
|
this.styleOnValid = false;
|
|
87
78
|
this.hoist = false;
|
|
88
79
|
this.getTag = (option) => {
|
|
89
|
-
return html`<sd-4-6-
|
|
80
|
+
return html`<sd-4-6-9-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
90
81
|
base:tag__base,
|
|
91
82
|
content:tag__content,
|
|
92
83
|
removable-indicator:tag__removable-indicator,
|
|
93
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-6-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-6-9-tag>`;
|
|
94
85
|
};
|
|
95
86
|
this.handleDocumentFocusIn = (event) => {
|
|
96
87
|
const path = event.composedPath();
|
|
@@ -101,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
101
92
|
this.handleDocumentKeyDown = (event) => {
|
|
102
93
|
const target = event.target;
|
|
103
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
104
|
-
const isIconButton = target.closest("sd-4-6-
|
|
95
|
+
const isIconButton = target.closest("sd-4-6-9-icon-button") !== null;
|
|
105
96
|
if (isClearButton || isIconButton) {
|
|
106
97
|
return;
|
|
107
98
|
}
|
|
@@ -235,8 +226,8 @@ var SdSelect = class extends SolidElement {
|
|
|
235
226
|
event.preventDefault();
|
|
236
227
|
event.stopPropagation();
|
|
237
228
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
238
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-6-
|
|
239
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-6-
|
|
229
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-6-9-tag");
|
|
230
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-6-9-tag");
|
|
240
231
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
241
232
|
this.updateComplete.then(() => {
|
|
242
233
|
if (nextTag) {
|
|
@@ -256,7 +247,7 @@ var SdSelect = class extends SolidElement {
|
|
|
256
247
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
257
248
|
this.updateComplete.then(() => {
|
|
258
249
|
var _a;
|
|
259
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-6-
|
|
250
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-6-9-tag");
|
|
260
251
|
if (tags && tags.length > 0) {
|
|
261
252
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
262
253
|
} else {
|
|
@@ -301,7 +292,7 @@ var SdSelect = class extends SolidElement {
|
|
|
301
292
|
}
|
|
302
293
|
handleOptionClick(event) {
|
|
303
294
|
const target = event.target;
|
|
304
|
-
const option = target.closest("sd-4-6-
|
|
295
|
+
const option = target.closest("sd-4-6-9-option");
|
|
305
296
|
const oldValue = this.value;
|
|
306
297
|
if (option && !option.disabled) {
|
|
307
298
|
if (this.multiple) {
|
|
@@ -326,7 +317,7 @@ var SdSelect = class extends SolidElement {
|
|
|
326
317
|
const allOptions = this.getAllOptions();
|
|
327
318
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
328
319
|
const values = [];
|
|
329
|
-
if (customElements.get("sd-4-6-
|
|
320
|
+
if (customElements.get("sd-4-6-9-option")) {
|
|
330
321
|
allOptions.forEach((option) => {
|
|
331
322
|
if (this.multiple) {
|
|
332
323
|
option.checkbox = true;
|
|
@@ -335,7 +326,7 @@ var SdSelect = class extends SolidElement {
|
|
|
335
326
|
});
|
|
336
327
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
337
328
|
} else {
|
|
338
|
-
customElements.whenDefined("sd-4-6-
|
|
329
|
+
customElements.whenDefined("sd-4-6-9-option").then(() => this.handleDefaultSlotChange());
|
|
339
330
|
}
|
|
340
331
|
}
|
|
341
332
|
handleTagRemove(event, option) {
|
|
@@ -352,13 +343,13 @@ var SdSelect = class extends SolidElement {
|
|
|
352
343
|
});
|
|
353
344
|
}
|
|
354
345
|
}
|
|
355
|
-
// Gets an array of all <sd-4-6-
|
|
346
|
+
// Gets an array of all <sd-4-6-9-option> elements
|
|
356
347
|
getAllOptions() {
|
|
357
|
-
return [...this.querySelectorAll("sd-4-6-
|
|
348
|
+
return [...this.querySelectorAll("sd-4-6-9-option")];
|
|
358
349
|
}
|
|
359
|
-
// Gets the first <sd-4-6-
|
|
350
|
+
// Gets the first <sd-4-6-9-option> element
|
|
360
351
|
getFirstOption() {
|
|
361
|
-
return this.querySelector("sd-4-6-
|
|
352
|
+
return this.querySelector("sd-4-6-9-option");
|
|
362
353
|
}
|
|
363
354
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
364
355
|
// option may be "current" at a time.
|
|
@@ -441,11 +432,11 @@ var SdSelect = class extends SolidElement {
|
|
|
441
432
|
});
|
|
442
433
|
} else {
|
|
443
434
|
return [
|
|
444
|
-
html`<sd-4-6-
|
|
435
|
+
html`<sd-4-6-9-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
445
436
|
base:tag__base,
|
|
446
437
|
content:tag__content,
|
|
447
438
|
removable-indicator:tag__removable-indicator,
|
|
448
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-6-
|
|
439
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-6-9-tag>`
|
|
449
440
|
];
|
|
450
441
|
}
|
|
451
442
|
}
|
|
@@ -454,7 +445,7 @@ var SdSelect = class extends SolidElement {
|
|
|
454
445
|
this.formControlController.emitInvalidEvent(event);
|
|
455
446
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
456
447
|
}
|
|
457
|
-
/** Receives incoming event detail from sd-4-6-
|
|
448
|
+
/** Receives incoming event detail from sd-4-6-9-popup and updates local state for conditional styling. */
|
|
458
449
|
handleCurrentPlacement(e) {
|
|
459
450
|
const incomingPlacement = e.detail;
|
|
460
451
|
if (incomingPlacement) {
|
|
@@ -463,7 +454,7 @@ var SdSelect = class extends SolidElement {
|
|
|
463
454
|
}
|
|
464
455
|
handleUseTagsChange() {
|
|
465
456
|
const allOptions = this.getAllOptions();
|
|
466
|
-
if (customElements.get("sd-4-6-
|
|
457
|
+
if (customElements.get("sd-4-6-9-option")) {
|
|
467
458
|
allOptions.forEach((option) => {
|
|
468
459
|
option.checkbox = this.multiple;
|
|
469
460
|
});
|
|
@@ -599,7 +590,7 @@ var SdSelect = class extends SolidElement {
|
|
|
599
590
|
default: "border-neutral-800"
|
|
600
591
|
}[selectState],
|
|
601
592
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
602
|
-
)}"></div><sd-4-6-
|
|
593
|
+
)}"></div><sd-4-6-9-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
603
594
|
"inline-flex relative w-full",
|
|
604
595
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
605
596
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -622,12 +613,12 @@ var SdSelect = class extends SolidElement {
|
|
|
622
613
|
"select__clear flex justify-center",
|
|
623
614
|
iconMarginLeft,
|
|
624
615
|
this.value.length > 0 ? "visible" : "invisible"
|
|
625
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-
|
|
616
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-9-icon class="${cx("text-icon-fill-neutral-800 z-10", iconSize)}" library="system" name="closing-round"></sd-4-6-9-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-9-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-6-9-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-6-9-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-6-9-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
626
617
|
"inline-flex ml-2 transition-all items-center",
|
|
627
618
|
this.open ? "rotate-180" : "rotate-0",
|
|
628
619
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
629
620
|
iconSize
|
|
630
|
-
)}"><sd-4-6-
|
|
621
|
+
)}"><sd-4-6-9-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-6-9-icon></slot></div><button part="combobox" class="${cx(
|
|
631
622
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
632
623
|
cursorStyles,
|
|
633
624
|
this.open && "shadow",
|
|
@@ -640,26 +631,21 @@ var SdSelect = class extends SolidElement {
|
|
|
640
631
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
641
632
|
this.open && "shadow",
|
|
642
633
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
|
|
643
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-6-
|
|
634
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-6-9-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
644
635
|
}
|
|
645
636
|
};
|
|
646
|
-
SdSelect.dependencies = {
|
|
647
|
-
"sd-4-6-7-icon": SdIcon,
|
|
648
|
-
"sd-4-6-7-popup": SdPopup,
|
|
649
|
-
"sd-4-6-7-tag": SdTag
|
|
650
|
-
};
|
|
651
637
|
/**
|
|
652
638
|
* Inherits global stylesheet including TailwindCSS
|
|
653
639
|
*/
|
|
654
640
|
SdSelect.styles = [
|
|
655
641
|
...SolidElement.styles,
|
|
656
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-4-6-
|
|
642
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-4-6-9-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-6-9-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-4-6-9-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-6-9-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-6-9-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`
|
|
657
643
|
];
|
|
658
644
|
__decorateClass([
|
|
659
|
-
queryAssignedElements({ selector: "sd-4-6-
|
|
645
|
+
queryAssignedElements({ selector: "sd-4-6-9-option" })
|
|
660
646
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
661
647
|
__decorateClass([
|
|
662
|
-
query("sd-4-6-
|
|
648
|
+
query("sd-4-6-9-popup")
|
|
663
649
|
], SdSelect.prototype, "popup", 2);
|
|
664
650
|
__decorateClass([
|
|
665
651
|
query('[part="combobox"]')
|
|
@@ -784,7 +770,7 @@ __decorateClass([
|
|
|
784
770
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
771
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
772
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-4-6-
|
|
773
|
+
customElement("sd-4-6-9-select")
|
|
788
774
|
], SdSelect);
|
|
789
775
|
setDefaultAnimation("select.show", {
|
|
790
776
|
keyframes: [
|