@solid-design-system/components 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.NGFAVUKQ.js → chunk.3ETEQAPR.js} +1 -1
- package/cdn/chunks/{chunk.BUFIKTGC.js → chunk.C44GZOLG.js} +1 -1
- package/cdn/chunks/{chunk.JS2HQ2N4.js → chunk.CJ34NUTS.js} +1 -1
- package/cdn/chunks/{chunk.VGDV4WMB.js → chunk.D5FVDNYV.js} +1 -1
- package/cdn/chunks/{chunk.SPPEF3QV.js → chunk.DC6UQXYF.js} +1 -1
- package/cdn/chunks/{chunk.327OW4CR.js → chunk.EASLRW3B.js} +1 -1
- package/cdn/chunks/{chunk.B34IF3XY.js → chunk.HHASCDC2.js} +2 -2
- package/cdn/chunks/{chunk.YXVGVVPC.js → chunk.IIGXKYVW.js} +2 -2
- package/cdn/chunks/{chunk.7Q4ZXEFY.js → chunk.MWO5B7BA.js} +2 -2
- package/cdn/chunks/chunk.XTRMRKZ6.js +2 -0
- package/cdn/chunks/chunk.Z6TAAGCD.js +2 -0
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/internal/form.d.ts +1 -1
- package/cdn/internal/form.js +7 -2
- package/cdn/solid-components.bundle.js +62 -62
- package/cdn/solid-components.iife.js +62 -62
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/form.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2DPSCPM4.js +2 -2
- package/cdn-versioned/chunks/chunk.2HJLVWCE.js +2 -2
- package/cdn-versioned/chunks/chunk.2KV3QDYA.js +2 -2
- package/cdn-versioned/chunks/{chunk.NGFAVUKQ.js → chunk.3ETEQAPR.js} +2 -2
- package/cdn-versioned/chunks/chunk.47H4SDKN.js +2 -2
- package/cdn-versioned/chunks/chunk.4LGCXG7D.js +2 -2
- package/cdn-versioned/chunks/chunk.4P5PT6MV.js +2 -2
- package/cdn-versioned/chunks/chunk.5M2K2EXR.js +2 -2
- package/cdn-versioned/chunks/chunk.5OE2GCRH.js +2 -2
- package/cdn-versioned/chunks/chunk.6GU6NFBF.js +1 -1
- package/cdn-versioned/chunks/chunk.73OYFFQV.js +2 -2
- package/cdn-versioned/chunks/chunk.745GDIND.js +2 -2
- package/cdn-versioned/chunks/chunk.ALCKOGA7.js +1 -1
- package/cdn-versioned/chunks/chunk.BZ3VHECJ.js +3 -3
- package/cdn-versioned/chunks/{chunk.BUFIKTGC.js → chunk.C44GZOLG.js} +10 -10
- package/cdn-versioned/chunks/chunk.C4QT4K6T.js +2 -2
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
- package/cdn-versioned/chunks/{chunk.JS2HQ2N4.js → chunk.CJ34NUTS.js} +1 -1
- package/cdn-versioned/chunks/chunk.CMY3VPYA.js +2 -2
- package/cdn-versioned/chunks/{chunk.VGDV4WMB.js → chunk.D5FVDNYV.js} +2 -2
- package/cdn-versioned/chunks/{chunk.SPPEF3QV.js → chunk.DC6UQXYF.js} +2 -2
- package/cdn-versioned/chunks/chunk.DEEJ4ON7.js +2 -2
- package/cdn-versioned/chunks/chunk.DXGVZ3KG.js +1 -1
- package/cdn-versioned/chunks/chunk.E64WXH47.js +1 -1
- package/cdn-versioned/chunks/{chunk.327OW4CR.js → chunk.EASLRW3B.js} +2 -2
- package/cdn-versioned/chunks/chunk.G42N3VHE.js +2 -2
- package/cdn-versioned/chunks/chunk.GP2QVZP5.js +1 -1
- package/cdn-versioned/chunks/chunk.H77CNSMK.js +2 -2
- package/cdn-versioned/chunks/chunk.H7S7D4YV.js +2 -2
- package/cdn-versioned/chunks/{chunk.B34IF3XY.js → chunk.HHASCDC2.js} +5 -5
- package/cdn-versioned/chunks/chunk.I234MSSB.js +2 -2
- package/cdn-versioned/chunks/chunk.I3TTTGLW.js +1 -1
- package/cdn-versioned/chunks/chunk.IAEOXYGB.js +1 -1
- package/cdn-versioned/chunks/chunk.IGJNISFF.js +2 -2
- package/cdn-versioned/chunks/{chunk.YXVGVVPC.js → chunk.IIGXKYVW.js} +5 -5
- package/cdn-versioned/chunks/chunk.JRSX44R6.js +2 -2
- package/cdn-versioned/chunks/chunk.KKKGNXIR.js +2 -2
- package/cdn-versioned/chunks/chunk.KM5W4EDY.js +2 -2
- package/cdn-versioned/chunks/chunk.L6PAHLSN.js +2 -2
- package/cdn-versioned/chunks/{chunk.7Q4ZXEFY.js → chunk.MWO5B7BA.js} +3 -3
- package/cdn-versioned/chunks/chunk.OAVVKKBJ.js +2 -2
- package/cdn-versioned/chunks/chunk.OG2BQH6T.js +2 -2
- package/cdn-versioned/chunks/chunk.PPIS2HQ5.js +1 -1
- package/cdn-versioned/chunks/chunk.PRGLNPUF.js +1 -1
- package/cdn-versioned/chunks/chunk.PT6G5HKE.js +1 -1
- package/cdn-versioned/chunks/chunk.QJ2LWN24.js +2 -2
- package/cdn-versioned/chunks/chunk.QMKNC76J.js +2 -2
- package/cdn-versioned/chunks/chunk.QUGI3FMS.js +2 -2
- package/cdn-versioned/chunks/chunk.RBVWPWFK.js +2 -2
- package/cdn-versioned/chunks/chunk.RKKB23ZF.js +3 -3
- package/cdn-versioned/chunks/chunk.S4II2NTI.js +2 -2
- package/cdn-versioned/chunks/chunk.TWTQHJPN.js +2 -2
- package/cdn-versioned/chunks/chunk.U44PXBV2.js +2 -2
- package/cdn-versioned/chunks/chunk.U5N7L5RI.js +2 -2
- package/cdn-versioned/chunks/chunk.UVRZTPOZ.js +2 -2
- package/cdn-versioned/chunks/chunk.VAUP57XZ.js +2 -2
- package/cdn-versioned/chunks/chunk.VMUNNUNV.js +1 -1
- package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XAPH6XNH.js +2 -2
- package/cdn-versioned/chunks/chunk.XTRMRKZ6.js +2 -0
- package/cdn-versioned/chunks/chunk.Z6TAAGCD.js +2 -0
- package/cdn-versioned/chunks/chunk.ZTELVJ34.js +1 -1
- package/cdn-versioned/chunks/chunk.ZVHLKL7F.js +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.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-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/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.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 +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +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/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +244 -244
- package/cdn-versioned/internal/form.d.ts +1 -1
- package/cdn-versioned/internal/form.js +10 -5
- package/cdn-versioned/solid-components.bundle.js +83 -83
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +83 -83
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/form.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +94 -94
- package/cdn-versioned/web-types.json +157 -157
- package/dist/chunks/{chunk.XIYY4LMK.js → chunk.2VPWVTT6.js} +1 -1
- package/dist/chunks/{chunk.IJHQ4XX6.js → chunk.5XWO3USG.js} +2 -2
- package/dist/chunks/{chunk.PQ22Q7VF.js → chunk.75WDCMIC.js} +2 -2
- package/dist/chunks/{chunk.TWG4FA4B.js → chunk.ASEJW6QN.js} +2 -2
- package/dist/chunks/{chunk.XCQC3F3H.js → chunk.C3WIBDGG.js} +7 -2
- package/dist/chunks/{chunk.OFTSKSC7.js → chunk.CBKLWEL2.js} +2 -2
- package/dist/chunks/{chunk.6K3SH3FI.js → chunk.FSUOT4WC.js} +2 -2
- package/dist/chunks/{chunk.36LBQ45L.js → chunk.LBDV5GNR.js} +2 -2
- package/dist/chunks/{chunk.E4LGOPKO.js → chunk.NEUULRS7.js} +4 -4
- package/dist/chunks/{chunk.PBKH5RXQ.js → chunk.QM4E25CD.js} +2 -2
- package/dist/chunks/{chunk.JCOSW4ZH.js → chunk.YATRFNET.js} +1 -1
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/checkbox/checkbox.js +2 -2
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/range/range.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/custom-elements.json +1 -1
- package/dist/internal/form.d.ts +1 -1
- package/dist/internal/form.js +7 -2
- package/dist/solid-components.js +11 -11
- package/dist/utilities/form.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.22PWID5B.js +2 -2
- package/dist-versioned/chunks/chunk.2EWH2DC2.js +1 -1
- package/dist-versioned/chunks/chunk.2HTII44Q.js +4 -4
- package/dist-versioned/chunks/{chunk.XIYY4LMK.js → chunk.2VPWVTT6.js} +5 -5
- package/dist-versioned/chunks/chunk.3EJL5IKL.js +1 -1
- package/dist-versioned/chunks/chunk.3PTRIEGP.js +2 -2
- package/dist-versioned/chunks/chunk.4CS6FZHE.js +3 -3
- package/dist-versioned/chunks/chunk.4UT3FCHQ.js +2 -2
- package/dist-versioned/chunks/{chunk.IJHQ4XX6.js → chunk.5XWO3USG.js} +4 -4
- package/dist-versioned/chunks/{chunk.PQ22Q7VF.js → chunk.75WDCMIC.js} +25 -25
- package/dist-versioned/chunks/{chunk.TWG4FA4B.js → chunk.ASEJW6QN.js} +6 -6
- package/dist-versioned/chunks/chunk.AUSBWPVD.js +7 -7
- package/dist-versioned/chunks/chunk.AZPOFDJP.js +4 -4
- package/dist-versioned/chunks/chunk.BBLAIT57.js +2 -2
- package/dist-versioned/chunks/chunk.BSP6J6R2.js +2 -2
- package/dist-versioned/chunks/chunk.BTNS6ZNO.js +4 -4
- package/dist-versioned/chunks/chunk.BTZPMBVC.js +8 -8
- package/dist-versioned/chunks/{chunk.XCQC3F3H.js → chunk.C3WIBDGG.js} +10 -5
- package/dist-versioned/chunks/{chunk.OFTSKSC7.js → chunk.CBKLWEL2.js} +27 -27
- package/dist-versioned/chunks/chunk.D7CJJHHA.js +1 -1
- package/dist-versioned/chunks/chunk.DCHRUIDY.js +1 -1
- package/dist-versioned/chunks/chunk.DCOB6WLB.js +3 -3
- package/dist-versioned/chunks/chunk.DFHY67LW.js +5 -5
- package/dist-versioned/chunks/chunk.DTTVI7KT.js +11 -11
- package/dist-versioned/chunks/chunk.DXDDB6AB.js +1 -1
- package/dist-versioned/chunks/chunk.DZEAXPRA.js +4 -4
- package/dist-versioned/chunks/chunk.FKFGVTXH.js +3 -3
- package/dist-versioned/chunks/{chunk.6K3SH3FI.js → chunk.FSUOT4WC.js} +13 -13
- package/dist-versioned/chunks/chunk.IJIPMNT2.js +3 -3
- package/dist-versioned/chunks/chunk.IYXPHPNO.js +1 -1
- package/dist-versioned/chunks/chunk.JGRI4R23.js +1 -1
- package/dist-versioned/chunks/chunk.K66JHYHC.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.L3OEOSPQ.js +1 -1
- package/dist-versioned/chunks/chunk.L6ZE3RXX.js +14 -14
- package/dist-versioned/chunks/{chunk.36LBQ45L.js → chunk.LBDV5GNR.js} +5 -5
- package/dist-versioned/chunks/chunk.M2D3WWF3.js +8 -8
- package/dist-versioned/chunks/chunk.MH7JHBWP.js +2 -2
- package/dist-versioned/chunks/chunk.MLRNCOWA.js +3 -3
- package/dist-versioned/chunks/chunk.N3I674PE.js +12 -12
- package/dist-versioned/chunks/{chunk.E4LGOPKO.js → chunk.NEUULRS7.js} +8 -8
- package/dist-versioned/chunks/chunk.OJXVBFUH.js +5 -5
- package/dist-versioned/chunks/chunk.P5FGSFP3.js +1 -1
- package/dist-versioned/chunks/chunk.PBXAIJQ4.js +5 -5
- package/dist-versioned/chunks/chunk.Q7ZMX7IB.js +3 -3
- package/dist-versioned/chunks/{chunk.PBKH5RXQ.js → chunk.QM4E25CD.js} +6 -6
- package/dist-versioned/chunks/chunk.R56JDQAF.js +2 -2
- package/dist-versioned/chunks/chunk.RFDAZXJG.js +3 -3
- package/dist-versioned/chunks/chunk.SCWR4Q4K.js +10 -10
- package/dist-versioned/chunks/chunk.SQYISG5I.js +4 -4
- package/dist-versioned/chunks/chunk.T46LX45D.js +6 -6
- package/dist-versioned/chunks/chunk.TKDFONFB.js +3 -3
- package/dist-versioned/chunks/chunk.TNJNUASM.js +1 -1
- package/dist-versioned/chunks/chunk.TVWV4PUH.js +2 -2
- package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
- package/dist-versioned/chunks/chunk.UDPSGKZL.js +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UPCVQSXM.js +3 -3
- package/dist-versioned/chunks/chunk.XALPLS2Y.js +6 -6
- package/dist-versioned/chunks/chunk.XV2UO6TF.js +2 -2
- package/dist-versioned/chunks/{chunk.JCOSW4ZH.js → chunk.YATRFNET.js} +29 -29
- package/dist-versioned/chunks/chunk.YFRD2UEO.js +8 -8
- package/dist-versioned/chunks/chunk.YNBR5ZDU.js +4 -4
- package/dist-versioned/chunks/chunk.ZMEUQIVY.js +9 -9
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +2 -2
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.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-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +2 -2
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +2 -2
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- 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 +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- 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 +2 -2
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +2 -2
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +2 -2
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- 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/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +2 -2
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +244 -244
- package/dist-versioned/internal/form.d.ts +1 -1
- package/dist-versioned/internal/form.js +10 -5
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +11 -11
- package/dist-versioned/utilities/form.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +94 -94
- package/dist-versioned/web-types.json +157 -157
- package/package.json +2 -2
- package/cdn/chunks/chunk.3NFABNOL.js +0 -2
- package/cdn/chunks/chunk.YSVC52VY.js +0 -2
- package/cdn-versioned/chunks/chunk.3NFABNOL.js +0 -2
- package/cdn-versioned/chunks/chunk.YSVC52VY.js +0 -2
|
@@ -63,11 +63,11 @@ var SdTag = class extends SolidElement {
|
|
|
63
63
|
const tag = isLink ? literal`a` : this.removable ? literal`div` : literal`button`;
|
|
64
64
|
return html`<${tag} part="base" type="${ifDefined(isLink ? void 0 : "button")}" href="${ifDefined(isLink ? this.href : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled ? "true" : "false"}" aria-pressed="${ifDefined(this.toggleable ? this.selected : void 0)}" tabindex="${this.disabled || this.removable ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${cx(
|
|
65
65
|
/* basic styles of the wrapper */
|
|
66
|
-
"inline-flex border box-border sd-6-0-
|
|
66
|
+
"inline-flex border box-border sd-6-1-0-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",
|
|
67
67
|
{
|
|
68
68
|
/* sizes, fonts */
|
|
69
|
-
lg: "h-8 sd-6-0-
|
|
70
|
-
sm: "h-6 sd-6-0-
|
|
69
|
+
lg: "h-8 sd-6-1-0-tag-font-weight sd-6-1-0-tag--size-lg-font-size gap-2",
|
|
70
|
+
sm: "h-6 sd-6-1-0-tag-font-weight sd-6-1-0-tag--size-sm-font-size gap-1"
|
|
71
71
|
}[this.size],
|
|
72
72
|
{
|
|
73
73
|
/* padding */
|
|
@@ -76,11 +76,11 @@ var SdTag = class extends SolidElement {
|
|
|
76
76
|
}[this.size],
|
|
77
77
|
/* colors */
|
|
78
78
|
!this.selected ? cx(
|
|
79
|
-
"sd-6-0-
|
|
80
|
-
!this.removable ? "sd-6-0-
|
|
81
|
-
) : "sd-6-0-
|
|
79
|
+
"sd-6-1-0-tag--default-color-border sd-6-1-0-tag--default-color-text disabled:sd-6-1-0-tag--disabled-color-border disabled:text-neutral-500",
|
|
80
|
+
!this.removable ? "sd-6-1-0-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-6-1-0-tag--default--hover-color-background" : "sd-6-1-0-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500"
|
|
81
|
+
) : "sd-6-1-0-tag--selected-border-width sd-6-1-0-tag--selected--default-color-background sd-6-1-0-tag--selected--default-color-border sd-6-1-0-tag--selected--default-color-text hover:sd-6-1-0-tag--selected--hover-color-background hover:sd-6-1-0-tag--selected--hover-color-border hover:sd-6-1-0-tag--selected--hover-color-text disabled:bg-neutral-500 disabled:sd-6-1-0-tag--disabled-color-border",
|
|
82
82
|
this.disabled && !isLink && "cursor-not-allowed"
|
|
83
|
-
)}"><slot name="icon-left" class="${cx("flex-shrink-0", this.size === "lg" ? "text-base" : "text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${this.removable && !isLink ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-6-0-
|
|
83
|
+
)}"><slot name="icon-left" class="${cx("flex-shrink-0", this.size === "lg" ? "text-base" : "text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${this.removable && !isLink ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-6-1-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-6-1-0-icon></slot></button>` : ""}</${tag}>`;
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SdTag.styles = [
|
|
@@ -116,7 +116,7 @@ __decorateClass([
|
|
|
116
116
|
property({ reflect: true })
|
|
117
117
|
], SdTag.prototype, "download", 2);
|
|
118
118
|
SdTag = __decorateClass([
|
|
119
|
-
customElement("sd-6-0-
|
|
119
|
+
customElement("sd-6-1-0-tag")
|
|
120
120
|
], SdTag);
|
|
121
121
|
|
|
122
122
|
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-6-0-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-6-1-0-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-6-0-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-6-1-0-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-6-0-
|
|
91
|
+
assumeInteractionOn: ["sd-6-1-0-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -216,8 +216,13 @@ var FormControlController = class {
|
|
|
216
216
|
return (_a = this.form) != null ? _a : null;
|
|
217
217
|
}
|
|
218
218
|
/** Returns a styled `<div>` element to display inline validation messages via its `textContent` property when a form element is invalid. */
|
|
219
|
-
renderInvalidMessage() {
|
|
220
|
-
|
|
219
|
+
renderInvalidMessage(size) {
|
|
220
|
+
const sizeClass = {
|
|
221
|
+
sm: "text-sm",
|
|
222
|
+
md: "text-base",
|
|
223
|
+
lg: "text-base"
|
|
224
|
+
}[size];
|
|
225
|
+
return html`<div id="invalid-message" class="text-error text-left ${sizeClass}" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`;
|
|
221
226
|
}
|
|
222
227
|
/** Resets the form, restoring all the control to their default value */
|
|
223
228
|
reset(invoker) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.WDWV53JP.js";
|
|
7
7
|
import {
|
|
8
8
|
FormControlController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.C3WIBDGG.js";
|
|
10
10
|
import {
|
|
11
11
|
HasSlotController
|
|
12
12
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -44,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.formControlController = new FormControlController(this, {
|
|
47
|
-
assumeInteractionOn: ["sd-blur", "sd-6-0-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-6-1-0-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -77,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
77
77
|
this.styleOnValid = false;
|
|
78
78
|
this.hoist = false;
|
|
79
79
|
this.getTag = (option) => {
|
|
80
|
-
return html`<sd-6-0-
|
|
80
|
+
return html`<sd-6-1-0-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
81
81
|
base:tag__base,
|
|
82
82
|
content:tag__content,
|
|
83
83
|
removable-indicator:tag__removable-indicator,
|
|
84
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-6-0-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-6-1-0-tag>`;
|
|
85
85
|
};
|
|
86
86
|
this.handleDocumentFocusIn = (event) => {
|
|
87
87
|
const path = event.composedPath();
|
|
@@ -92,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
92
92
|
this.handleDocumentKeyDown = (event) => {
|
|
93
93
|
const target = event.target;
|
|
94
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
95
|
-
const isIconButton = target.closest("sd-6-0-
|
|
95
|
+
const isIconButton = target.closest("sd-6-1-0-icon-button") !== null;
|
|
96
96
|
if (isClearButton || isIconButton) {
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
@@ -227,8 +227,8 @@ var SdSelect = class extends SolidElement {
|
|
|
227
227
|
event.preventDefault();
|
|
228
228
|
event.stopPropagation();
|
|
229
229
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
230
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-6-0-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-6-0-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-6-1-0-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-6-1-0-tag");
|
|
232
232
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
233
233
|
this.updateComplete.then(() => {
|
|
234
234
|
if (nextTag) {
|
|
@@ -248,7 +248,7 @@ var SdSelect = class extends SolidElement {
|
|
|
248
248
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
249
249
|
this.updateComplete.then(() => {
|
|
250
250
|
var _a;
|
|
251
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-6-0-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-6-1-0-tag");
|
|
252
252
|
if (tags && tags.length > 0) {
|
|
253
253
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
254
254
|
} else {
|
|
@@ -294,7 +294,7 @@ var SdSelect = class extends SolidElement {
|
|
|
294
294
|
}
|
|
295
295
|
handleOptionClick(event) {
|
|
296
296
|
const target = event.target;
|
|
297
|
-
const option = target.closest("sd-6-0-
|
|
297
|
+
const option = target.closest("sd-6-1-0-option");
|
|
298
298
|
const oldValue = this.value;
|
|
299
299
|
if (option && !option.disabled) {
|
|
300
300
|
if (this.multiple) {
|
|
@@ -319,7 +319,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
319
|
const allOptions = this.getAllOptions();
|
|
320
320
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
321
321
|
const values = [];
|
|
322
|
-
if (customElements.get("sd-6-0-
|
|
322
|
+
if (customElements.get("sd-6-1-0-option")) {
|
|
323
323
|
allOptions.forEach((option) => {
|
|
324
324
|
if (this.multiple) {
|
|
325
325
|
option.checkbox = true;
|
|
@@ -328,7 +328,7 @@ var SdSelect = class extends SolidElement {
|
|
|
328
328
|
});
|
|
329
329
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
330
330
|
} else {
|
|
331
|
-
customElements.whenDefined("sd-6-0-
|
|
331
|
+
customElements.whenDefined("sd-6-1-0-option").then(() => this.handleDefaultSlotChange());
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
handleTagRemove(event, option) {
|
|
@@ -345,13 +345,13 @@ var SdSelect = class extends SolidElement {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
// Gets an array of all <sd-6-0-
|
|
348
|
+
// Gets an array of all <sd-6-1-0-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-6-0-
|
|
350
|
+
return [...this.querySelectorAll("sd-6-1-0-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-6-0-
|
|
352
|
+
// Gets the first <sd-6-1-0-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-6-0-
|
|
354
|
+
return this.querySelector("sd-6-1-0-option");
|
|
355
355
|
}
|
|
356
356
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
357
357
|
// option may be "current" at a time.
|
|
@@ -450,11 +450,11 @@ var SdSelect = class extends SolidElement {
|
|
|
450
450
|
});
|
|
451
451
|
} else {
|
|
452
452
|
return [
|
|
453
|
-
html`<sd-6-0-
|
|
453
|
+
html`<sd-6-1-0-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
454
454
|
base:tag__base,
|
|
455
455
|
content:tag__content,
|
|
456
456
|
removable-indicator:tag__removable-indicator,
|
|
457
|
-
" 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-6-0-
|
|
457
|
+
" 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-6-1-0-tag>`
|
|
458
458
|
];
|
|
459
459
|
}
|
|
460
460
|
}
|
|
@@ -463,7 +463,7 @@ var SdSelect = class extends SolidElement {
|
|
|
463
463
|
this.formControlController.emitInvalidEvent(event);
|
|
464
464
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
465
465
|
}
|
|
466
|
-
/** Receives incoming event detail from sd-6-0-
|
|
466
|
+
/** Receives incoming event detail from sd-6-1-0-popup and updates local state for conditional styling. */
|
|
467
467
|
handleCurrentPlacement(e) {
|
|
468
468
|
const incomingPlacement = e.detail;
|
|
469
469
|
if (incomingPlacement) {
|
|
@@ -472,7 +472,7 @@ var SdSelect = class extends SolidElement {
|
|
|
472
472
|
}
|
|
473
473
|
handleUseTagsChange() {
|
|
474
474
|
const allOptions = this.getAllOptions();
|
|
475
|
-
if (customElements.get("sd-6-0-
|
|
475
|
+
if (customElements.get("sd-6-1-0-option")) {
|
|
476
476
|
allOptions.forEach((option) => {
|
|
477
477
|
option.checkbox = this.multiple;
|
|
478
478
|
});
|
|
@@ -622,7 +622,7 @@ var SdSelect = class extends SolidElement {
|
|
|
622
622
|
default: "form-control-color-border"
|
|
623
623
|
}[selectState],
|
|
624
624
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
625
|
-
)}"></div><sd-6-0-
|
|
625
|
+
)}"></div><sd-6-1-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
626
626
|
"inline-flex relative w-full",
|
|
627
627
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
628
628
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -649,12 +649,12 @@ var SdSelect = class extends SolidElement {
|
|
|
649
649
|
"select__clear flex justify-center",
|
|
650
650
|
iconMarginLeft,
|
|
651
651
|
this.value.length > 0 ? "visible" : "invisible"
|
|
652
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-
|
|
652
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-1-0-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-6-1-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-1-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-6-1-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-1-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-6-1-0-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
653
653
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
654
654
|
this.open ? "rotate-180" : "rotate-0",
|
|
655
655
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
656
656
|
iconSize
|
|
657
|
-
)}"><sd-6-0-
|
|
657
|
+
)}"><sd-6-1-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-6-1-0-icon></slot></div><button part="combobox" class="${cx(
|
|
658
658
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
659
659
|
cursorStyles,
|
|
660
660
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -667,7 +667,7 @@ var SdSelect = class extends SolidElement {
|
|
|
667
667
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
668
668
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
669
669
|
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"
|
|
670
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-6-0-
|
|
670
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-6-1-0-popup></div><div class="text-sm text-neutral-700 mt-1" 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(this.size)}`;
|
|
671
671
|
}
|
|
672
672
|
};
|
|
673
673
|
/**
|
|
@@ -676,13 +676,13 @@ var SdSelect = class extends SolidElement {
|
|
|
676
676
|
SdSelect.styles = [
|
|
677
677
|
...SolidElement.styles,
|
|
678
678
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
679
|
-
:host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-6-0-
|
|
679
|
+
:host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-6-1-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-1-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-1-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-1-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-1-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}`
|
|
680
680
|
];
|
|
681
681
|
__decorateClass([
|
|
682
|
-
queryAssignedElements({ selector: "sd-6-0-
|
|
682
|
+
queryAssignedElements({ selector: "sd-6-1-0-option" })
|
|
683
683
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
684
684
|
__decorateClass([
|
|
685
|
-
query("sd-6-0-
|
|
685
|
+
query("sd-6-1-0-popup")
|
|
686
686
|
], SdSelect.prototype, "popup", 2);
|
|
687
687
|
__decorateClass([
|
|
688
688
|
query('[part="combobox"]')
|
|
@@ -807,7 +807,7 @@ __decorateClass([
|
|
|
807
807
|
watch("value", { waitUntilFirstUpdate: true })
|
|
808
808
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
809
809
|
SdSelect = __decorateClass([
|
|
810
|
-
customElement("sd-6-0-
|
|
810
|
+
customElement("sd-6-1-0-select")
|
|
811
811
|
], SdSelect);
|
|
812
812
|
setDefaultAnimation("select.show", {
|
|
813
813
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -53,7 +53,7 @@ SdThemeListener.styles = [
|
|
|
53
53
|
:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}`
|
|
54
54
|
];
|
|
55
55
|
SdThemeListener = __decorateClass([
|
|
56
|
-
customElement("sd-6-0-
|
|
56
|
+
customElement("sd-6-1-0-theme-listener")
|
|
57
57
|
], SdThemeListener);
|
|
58
58
|
|
|
59
59
|
export {
|
|
@@ -24,7 +24,7 @@ var SdTab = class extends SolidElement {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.attrId = ++id;
|
|
27
|
-
this.componentId = `sd-6-0-
|
|
27
|
+
this.componentId = `sd-6-1-0-tab-${this.attrId}`;
|
|
28
28
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
29
29
|
this.localize = new LocalizeController(this);
|
|
30
30
|
this.variant = "default";
|
|
@@ -73,7 +73,7 @@ var SdTab = class extends SolidElement {
|
|
|
73
73
|
)}"></slot><slot class="${cx(this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary")}"></slot>${this.variant === "container" ? html`<div part="active-tab-indicator" class="${cx(
|
|
74
74
|
"absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius"
|
|
75
75
|
)}"></div>` : ""}<div part="hover-bottom-border" class="${cx(
|
|
76
|
-
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-0-
|
|
76
|
+
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-1-0-tab-color-border"
|
|
77
77
|
)}"></div></div></div>`;
|
|
78
78
|
}
|
|
79
79
|
};
|
|
@@ -110,7 +110,7 @@ __decorateClass([
|
|
|
110
110
|
watch(["disabled", "visually-disabled"])
|
|
111
111
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
112
112
|
SdTab = __decorateClass([
|
|
113
|
-
customElement("sd-6-0-
|
|
113
|
+
customElement("sd-6-1-0-tab")
|
|
114
114
|
], SdTab);
|
|
115
115
|
|
|
116
116
|
export {
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-6-0-
|
|
29
|
+
return [...this.querySelectorAll("sd-6-1-0-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-6-0-
|
|
42
|
+
if (customElements.get("sd-6-1-0-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-6-0-
|
|
45
|
+
customElements.whenDefined("sd-6-1-0-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -80,7 +80,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
82
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
83
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-0-
|
|
83
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-1-0-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-1-0-checkbox:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-1-0-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-1-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-1-0-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-1-0-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}`
|
|
84
84
|
];
|
|
85
85
|
__decorateClass([
|
|
86
86
|
property({ type: String, reflect: true })
|
|
@@ -101,7 +101,7 @@ __decorateClass([
|
|
|
101
101
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
102
102
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
103
103
|
SdCheckboxGroup = __decorateClass([
|
|
104
|
-
customElement("sd-6-0-
|
|
104
|
+
customElement("sd-6-1-0-checkbox-group")
|
|
105
105
|
], SdCheckboxGroup);
|
|
106
106
|
|
|
107
107
|
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-6-0-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-6-1-0-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-6-0-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-6-1-0-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-6-0-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-6-1-0-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-6-0-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-6-1-0-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-6-0-
|
|
41
|
-
button.classList.toggle("sd-6-0-
|
|
42
|
-
button.classList.toggle("sd-6-0-
|
|
43
|
-
button.classList.toggle("sd-6-0-
|
|
44
|
-
button.classList.toggle("sd-6-0-
|
|
40
|
+
button.classList.add("sd-6-1-0-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-6-1-0-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-6-1-0-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-6-1-0-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-6-1-0-button-group__button--radio", button.tagName.toLowerCase() === "sd-6-1-0-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -64,11 +64,11 @@ __decorateClass([
|
|
|
64
64
|
property({ type: String, reflect: true })
|
|
65
65
|
], SdButtonGroup.prototype, "label", 2);
|
|
66
66
|
SdButtonGroup = __decorateClass([
|
|
67
|
-
customElement("sd-6-0-
|
|
67
|
+
customElement("sd-6-1-0-button-group")
|
|
68
68
|
], SdButtonGroup);
|
|
69
69
|
function findButton(el) {
|
|
70
70
|
var _a;
|
|
71
|
-
const selector = "sd-6-0-
|
|
71
|
+
const selector = "sd-6-1-0-button, sd-6-1-0-radio-button";
|
|
72
72
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -102,18 +102,18 @@ var SdMenuItem = class extends SolidElement {
|
|
|
102
102
|
};
|
|
103
103
|
return html`<div id="anchor" part="base" class="${cx(
|
|
104
104
|
"relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",
|
|
105
|
-
this.disabled ? "outline-none cursor-not-allowed sd-6-0-
|
|
105
|
+
this.disabled ? "outline-none cursor-not-allowed sd-6-1-0-menu--disabled-color-text hover:bg-transparent" : "cursor-pointer sd-6-1-0-menu-color-text hover:bg-neutral-200",
|
|
106
106
|
this.isSubmenu() && isSubmenuExpanded && "submenu-expanded"
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-6-0-
|
|
110
|
+
)}"><sd-6-1-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-1-0-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-1-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-1-0-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
115
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
116
|
-
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-0-
|
|
116
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-1-0-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon))}sd-6-1-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-6-1-0-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`
|
|
117
117
|
];
|
|
118
118
|
__decorateClass([
|
|
119
119
|
query("slot:not([name])")
|
|
@@ -146,7 +146,7 @@ __decorateClass([
|
|
|
146
146
|
watch("type")
|
|
147
147
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
148
148
|
SdMenuItem = __decorateClass([
|
|
149
|
-
customElement("sd-6-0-
|
|
149
|
+
customElement("sd-6-1-0-menu-item")
|
|
150
150
|
], SdMenuItem);
|
|
151
151
|
|
|
152
152
|
export {
|
|
@@ -42,9 +42,9 @@ var SdTeaserMedia = class extends SolidElement {
|
|
|
42
42
|
"absolute inset-0",
|
|
43
43
|
{
|
|
44
44
|
white: "bg-white/[.8] group-hover:bg-white/90",
|
|
45
|
-
"neutral-100": "sd-6-0-
|
|
45
|
+
"neutral-100": "sd-6-1-0-teaser-media--neutral-100-color-background group-hover:sd-6-1-0-teaser-media--neutral-100--hover-color-background",
|
|
46
46
|
primary: "bg-primary/[.8] text-white group-hover:bg-primary/90",
|
|
47
|
-
"primary-100": "sd-6-0-
|
|
47
|
+
"primary-100": "sd-6-1-0-teaser-media--primary-100-color-background group-hover:sd-6-1-0-teaser-media--primary-100--hover-color-background",
|
|
48
48
|
"gradient-light": "bg-gradient-to-t from-white/90 to-white/[.8]",
|
|
49
49
|
"gradient-dark": "bg-gradient-to-t from-primary-800/90 to-primary-800/[.8]"
|
|
50
50
|
}[this.variant]
|
|
@@ -69,7 +69,7 @@ __decorateClass([
|
|
|
69
69
|
query('[part="base"]')
|
|
70
70
|
], SdTeaserMedia.prototype, "teaserMedia", 2);
|
|
71
71
|
SdTeaserMedia = __decorateClass([
|
|
72
|
-
customElement("sd-6-0-
|
|
72
|
+
customElement("sd-6-1-0-teaser-media")
|
|
73
73
|
], SdTeaserMedia);
|
|
74
74
|
|
|
75
75
|
export {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
customErrorValidityState,
|
|
7
7
|
validValidityState,
|
|
8
8
|
valueMissingValidityState
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.C3WIBDGG.js";
|
|
10
10
|
import {
|
|
11
11
|
HasSlotController
|
|
12
12
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -73,10 +73,10 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
73
73
|
this.formControlController.updateValidity();
|
|
74
74
|
}
|
|
75
75
|
getAllRadios() {
|
|
76
|
-
return [...this.querySelectorAll("sd-6-0-
|
|
76
|
+
return [...this.querySelectorAll("sd-6-1-0-radio, sd-6-1-0-radio-button")];
|
|
77
77
|
}
|
|
78
78
|
handleRadioClick(event) {
|
|
79
|
-
const target = event.target.closest("sd-6-0-
|
|
79
|
+
const target = event.target.closest("sd-6-1-0-radio, sd-6-1-0-radio-button");
|
|
80
80
|
const radios = this.getAllRadios();
|
|
81
81
|
const oldValue = this.value;
|
|
82
82
|
if (target.disabled) {
|
|
@@ -153,7 +153,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
153
153
|
}
|
|
154
154
|
})
|
|
155
155
|
);
|
|
156
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-6-0-
|
|
156
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-6-1-0-radio-button");
|
|
157
157
|
if (!radios.some((radio) => radio.checked)) {
|
|
158
158
|
if (this.hasButtonGroup) {
|
|
159
159
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
|
@@ -165,26 +165,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
if (this.hasButtonGroup) {
|
|
168
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-0-
|
|
168
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-6-1-0-button-group");
|
|
169
169
|
if (buttonGroup) {
|
|
170
170
|
buttonGroup.disableRole = true;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
syncRadios() {
|
|
175
|
-
if (customElements.get("sd-6-0-
|
|
175
|
+
if (customElements.get("sd-6-1-0-radio") && customElements.get("sd-6-1-0-radio-button")) {
|
|
176
176
|
this.syncRadioElements();
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
|
-
if (customElements.get("sd-6-0-
|
|
179
|
+
if (customElements.get("sd-6-1-0-radio")) {
|
|
180
180
|
this.syncRadioElements();
|
|
181
181
|
} else {
|
|
182
|
-
customElements.whenDefined("sd-6-0-
|
|
182
|
+
customElements.whenDefined("sd-6-1-0-radio").then(() => this.syncRadios());
|
|
183
183
|
}
|
|
184
|
-
if (customElements.get("sd-6-0-
|
|
184
|
+
if (customElements.get("sd-6-1-0-radio-button")) {
|
|
185
185
|
this.syncRadioElements();
|
|
186
186
|
} else {
|
|
187
|
-
customElements.whenDefined("sd-6-0-
|
|
187
|
+
customElements.whenDefined("sd-6-1-0-radio-button").then(() => this.syncRadios());
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
updateCheckedRadio() {
|
|
@@ -259,7 +259,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
259
259
|
vertical: "flex-col",
|
|
260
260
|
horizontal: "flex-row"
|
|
261
261
|
}[this.orientation]
|
|
262
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-6-0-
|
|
262
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-6-1-0-button-group class="border border-primary sd-6-1-0-radio-button-group-border-radius sd-6-1-0-radio-button-group-border-width sd-6-1-0-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-6-1-0-button-group>` : defaultSlot}</div></fieldset><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 part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-6-1-0-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-6-1-0-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
/**
|
|
@@ -268,7 +268,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
268
268
|
SdRadioGroup.styles = [
|
|
269
269
|
...SolidElement.styles,
|
|
270
270
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
271
|
-
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-0-
|
|
271
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-6-1-0-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-6-1-0-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-6-1-0-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-6-1-0-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-1-0-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-6-1-0-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-6-1-0-button-group){display:inline-flex}`
|
|
272
272
|
];
|
|
273
273
|
__decorateClass([
|
|
274
274
|
query("slot:not([name])")
|
|
@@ -322,7 +322,7 @@ __decorateClass([
|
|
|
322
322
|
watch("value")
|
|
323
323
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
324
324
|
SdRadioGroup = __decorateClass([
|
|
325
|
-
customElement("sd-6-0-
|
|
325
|
+
customElement("sd-6-1-0-radio-group")
|
|
326
326
|
], SdRadioGroup);
|
|
327
327
|
|
|
328
328
|
export {
|