@solid-design-system/components 6.0.1 → 6.2.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.YXVGVVPC.js → chunk.3CJKJUTD.js} +3 -3
- 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.IGJNISFF.js → chunk.HYUIC2O6.js} +1 -1
- package/cdn/chunks/{chunk.7Q4ZXEFY.js → chunk.MWO5B7BA.js} +2 -2
- package/cdn/chunks/{chunk.73OYFFQV.js → chunk.S7VIPIYX.js} +1 -1
- 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/option/option.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/tag/tag.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 +63 -63
- package/cdn/solid-components.iife.js +63 -63
- 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.YXVGVVPC.js → chunk.3CJKJUTD.js} +5 -5
- 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.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.IGJNISFF.js → chunk.HYUIC2O6.js} +2 -2
- 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.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.73OYFFQV.js → chunk.S7VIPIYX.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/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/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/tag/tag.js +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.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.BTZPMBVC.js → chunk.NW7LJJS2.js} +1 -1
- package/dist/chunks/{chunk.PBKH5RXQ.js → chunk.QM4E25CD.js} +2 -2
- package/dist/chunks/{chunk.4CS6FZHE.js → chunk.UWQPJU3Q.js} +7 -2
- package/dist/chunks/{chunk.OFTSKSC7.js → chunk.XC7QKBQE.js} +9 -9
- 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 +3 -3
- 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/option/option.js +1 -1
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/range/range.js +2 -2
- package/dist/components/select/select.js +3 -3
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tag/tag.js +1 -1
- 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 +13 -13
- 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.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.XCQC3F3H.js → chunk.C3WIBDGG.js} +10 -5
- 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.BTZPMBVC.js → chunk.NW7LJJS2.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.4CS6FZHE.js → chunk.UWQPJU3Q.js} +10 -5
- package/dist-versioned/chunks/chunk.XALPLS2Y.js +6 -6
- package/dist-versioned/chunks/{chunk.OFTSKSC7.js → chunk.XC7QKBQE.js} +32 -32
- 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 +3 -3
- 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/option/option.js +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 +3 -3
- 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/tag/tag.js +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 +13 -13
- 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
package/dist/solid-components.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import "./chunks/chunk.HAL7R4WT.js";
|
|
5
5
|
import {
|
|
6
6
|
SdTextarea
|
|
7
|
-
} from "./chunks/chunk.
|
|
7
|
+
} from "./chunks/chunk.5XWO3USG.js";
|
|
8
8
|
import {
|
|
9
9
|
SdThemeListener
|
|
10
10
|
} from "./chunks/chunk.DCHRUIDY.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunks/chunk.4UT3FCHQ.js";
|
|
20
20
|
import {
|
|
21
21
|
SdSwitch
|
|
22
|
-
} from "./chunks/chunk.
|
|
22
|
+
} from "./chunks/chunk.ASEJW6QN.js";
|
|
23
23
|
import {
|
|
24
24
|
SdTab
|
|
25
25
|
} from "./chunks/chunk.DCOB6WLB.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunks/chunk.FKFGVTXH.js";
|
|
38
38
|
import {
|
|
39
39
|
SdRange
|
|
40
|
-
} from "./chunks/chunk.
|
|
40
|
+
} from "./chunks/chunk.2VPWVTT6.js";
|
|
41
41
|
import "./chunks/chunk.D3YSIVTB.js";
|
|
42
42
|
import {
|
|
43
43
|
SdRangeTick
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunks/chunk.M2D3WWF3.js";
|
|
48
48
|
import {
|
|
49
49
|
SdSelect
|
|
50
|
-
} from "./chunks/chunk.
|
|
50
|
+
} from "./chunks/chunk.XC7QKBQE.js";
|
|
51
51
|
import {
|
|
52
52
|
SdSkeleton
|
|
53
53
|
} from "./chunks/chunk.DXDDB6AB.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
} from "./chunks/chunk.SQYISG5I.js";
|
|
66
66
|
import {
|
|
67
67
|
SdOption
|
|
68
|
-
} from "./chunks/chunk.
|
|
68
|
+
} from "./chunks/chunk.UWQPJU3Q.js";
|
|
69
69
|
import {
|
|
70
70
|
SdQuickfact
|
|
71
71
|
} from "./chunks/chunk.MLRNCOWA.js";
|
|
@@ -74,13 +74,13 @@ import {
|
|
|
74
74
|
} from "./chunks/chunk.BTNS6ZNO.js";
|
|
75
75
|
import {
|
|
76
76
|
SdRadioGroup
|
|
77
|
-
} from "./chunks/chunk.
|
|
77
|
+
} from "./chunks/chunk.FSUOT4WC.js";
|
|
78
78
|
import {
|
|
79
79
|
SdRadio
|
|
80
80
|
} from "./chunks/chunk.AUSBWPVD.js";
|
|
81
81
|
import {
|
|
82
82
|
SdInput
|
|
83
|
-
} from "./chunks/chunk.
|
|
83
|
+
} from "./chunks/chunk.LBDV5GNR.js";
|
|
84
84
|
import {
|
|
85
85
|
SdMapMarker
|
|
86
86
|
} from "./chunks/chunk.UPCVQSXM.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
} from "./chunks/chunk.L3OEOSPQ.js";
|
|
100
100
|
import {
|
|
101
101
|
SdDatepicker
|
|
102
|
-
} from "./chunks/chunk.
|
|
102
|
+
} from "./chunks/chunk.QM4E25CD.js";
|
|
103
103
|
import "./chunks/chunk.SMPFJ52B.js";
|
|
104
104
|
import {
|
|
105
105
|
SdDialog
|
|
@@ -118,16 +118,16 @@ import {
|
|
|
118
118
|
} from "./chunks/chunk.3PTRIEGP.js";
|
|
119
119
|
import {
|
|
120
120
|
SdCheckbox
|
|
121
|
-
} from "./chunks/chunk.
|
|
121
|
+
} from "./chunks/chunk.NEUULRS7.js";
|
|
122
122
|
import {
|
|
123
123
|
SdCheckboxGroup
|
|
124
124
|
} from "./chunks/chunk.DFHY67LW.js";
|
|
125
125
|
import {
|
|
126
126
|
SdCombobox
|
|
127
|
-
} from "./chunks/chunk.
|
|
127
|
+
} from "./chunks/chunk.75WDCMIC.js";
|
|
128
128
|
import {
|
|
129
129
|
SdTag
|
|
130
|
-
} from "./chunks/chunk.
|
|
130
|
+
} from "./chunks/chunk.NW7LJJS2.js";
|
|
131
131
|
import "./chunks/chunk.GI7VDIWX.js";
|
|
132
132
|
import "./chunks/chunk.WBJBQ4QI.js";
|
|
133
133
|
import "./chunks/chunk.UIQBHPD3.js";
|
|
@@ -185,11 +185,11 @@ import "./chunks/chunk.UMIKFOMI.js";
|
|
|
185
185
|
import "./chunks/chunk.WDWV53JP.js";
|
|
186
186
|
import {
|
|
187
187
|
SdButton
|
|
188
|
-
} from "./chunks/chunk.
|
|
188
|
+
} from "./chunks/chunk.YATRFNET.js";
|
|
189
189
|
import {
|
|
190
190
|
SdLoader
|
|
191
191
|
} from "./chunks/chunk.2EWH2DC2.js";
|
|
192
|
-
import "./chunks/chunk.
|
|
192
|
+
import "./chunks/chunk.C3WIBDGG.js";
|
|
193
193
|
import "./chunks/chunk.IVMQWO2L.js";
|
|
194
194
|
import "./chunks/chunk.N4LHE3QK.js";
|
|
195
195
|
import "./chunks/chunk.B4BZKR24.js";
|
package/dist/utilities/form.js
CHANGED
package/dist/web-types.json
CHANGED
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
SdLink.styles = [
|
|
85
85
|
...SolidElement.styles,
|
|
86
86
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
87
|
-
::slotted(sd-6-0-
|
|
87
|
+
::slotted(sd-6-2-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-2-0-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-6-2-0-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property({ reflect: true })
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-6-0-
|
|
114
|
+
customElement("sd-6-2-0-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -60,10 +60,10 @@ var SdTeaser = class extends SolidElement {
|
|
|
60
60
|
"flex",
|
|
61
61
|
{
|
|
62
62
|
white: "bg-white",
|
|
63
|
-
"white border-neutral-400": "bg-white border sd-6-0-
|
|
64
|
-
"neutral-100": "sd-6-0-
|
|
63
|
+
"white border-neutral-400": "bg-white border sd-6-2-0-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-6-2-0-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-6-0-
|
|
66
|
+
"primary-100": "sd-6-2-0-teaser--primary-100-color-background"
|
|
67
67
|
}[this.variant],
|
|
68
68
|
this._orientation === "vertical" && "flex-col",
|
|
69
69
|
this._orientation === "horizontal" && "flex-row gap-8",
|
|
@@ -105,7 +105,7 @@ __decorateClass([
|
|
|
105
105
|
state()
|
|
106
106
|
], SdTeaser.prototype, "_orientation", 2);
|
|
107
107
|
SdTeaser = __decorateClass([
|
|
108
|
-
customElement("sd-6-0-
|
|
108
|
+
customElement("sd-6-2-0-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk.GI7VDIWX.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlController
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.C3WIBDGG.js";
|
|
12
12
|
import {
|
|
13
13
|
HasSlotController
|
|
14
14
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -78,7 +78,7 @@ var SdRange = class extends SolidElement {
|
|
|
78
78
|
var _a, _b;
|
|
79
79
|
const tooltip = thumb.parentElement;
|
|
80
80
|
await tooltip.updateComplete;
|
|
81
|
-
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-0-
|
|
81
|
+
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-2-0-popup")) == null ? void 0 : _b.setAttribute("distance", "14");
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
willUpdate(changedProperties) {
|
|
@@ -411,10 +411,10 @@ var SdRange = class extends SolidElement {
|
|
|
411
411
|
ariaLabel = this.tooltipFormatter(value);
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
return html`<sd-6-0-
|
|
414
|
+
return html`<sd-6-2-0-tooltip hoist trigger="${this.tooltip === "on-interaction" ? "focus" : "manual"}" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.tooltip === "hidden" ? true : void 0)}"><div id="${id}" part="thumb" role="slider" tabindex="${this.disabled || this.visuallyDisabled ? -1 : 0}" aria-disabled="${ifDefined(this.disabled || this.visuallyDisabled ? "true" : void 0)}" aria-labelledby="${ariaLabeledBy}" aria-label="${ariaLabel}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${value}" aria-valuetext="${this.tooltipFormatter(value)}" data-range-id="${rangeId}" data-disabled="${ifDefined(this.disabled || this.visuallyDisabled || void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
|
|
415
415
|
"rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",
|
|
416
416
|
this.disabled || this.visuallyDisabled ? "outline-none" : "cursor-pointer focus-visible:focus-outline"
|
|
417
|
-
)}"></div></sd-6-0-
|
|
417
|
+
)}"></div></sd-6-2-0-tooltip>`;
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
render() {
|
|
@@ -484,7 +484,7 @@ __decorateClass([
|
|
|
484
484
|
property({ type: String })
|
|
485
485
|
], SdRange.prototype, "value", 1);
|
|
486
486
|
SdRange = __decorateClass([
|
|
487
|
-
customElement("sd-6-0-
|
|
487
|
+
customElement("sd-6-2-0-range")
|
|
488
488
|
], SdRange);
|
|
489
489
|
|
|
490
490
|
export {
|
|
@@ -54,7 +54,7 @@ var SdHeader = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return html`<header class="w-full sd-6-0-
|
|
57
|
+
return html`<header class="w-full sd-6-2-0-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
SdHeader.styles = [
|
|
@@ -72,7 +72,7 @@ __decorateClass([
|
|
|
72
72
|
debounce(100)
|
|
73
73
|
], SdHeader.prototype, "updateCalculatedHeight", 1);
|
|
74
74
|
SdHeader = __decorateClass([
|
|
75
|
-
customElement("sd-6-0-
|
|
75
|
+
customElement("sd-6-2-0-header")
|
|
76
76
|
], SdHeader);
|
|
77
77
|
|
|
78
78
|
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-6-0-
|
|
58
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-2-0-step");
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Sets the active step.
|
|
@@ -121,7 +121,7 @@ __decorateClass([
|
|
|
121
121
|
watch("notInteractive")
|
|
122
122
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
123
123
|
SdStepGroup = __decorateClass([
|
|
124
|
-
customElement("sd-6-0-
|
|
124
|
+
customElement("sd-6-2-0-step-group")
|
|
125
125
|
], SdStepGroup);
|
|
126
126
|
|
|
127
127
|
export {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.GI7VDIWX.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.C3WIBDGG.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -221,7 +221,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
221
221
|
textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "form-control-color-text",
|
|
222
222
|
["invalid", "activeInvalid"].includes(textareaState) && "form-control--invalid-color-background"
|
|
223
223
|
)}"><textarea part="textarea" id="input" class="${cx(
|
|
224
|
-
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-0-
|
|
224
|
+
"ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-2-0-icon]:pe-8",
|
|
225
225
|
{
|
|
226
226
|
sm: this.floatingLabel ? "pb-1" : "py-1",
|
|
227
227
|
md: this.floatingLabel ? "pb-1" : "py-1",
|
|
@@ -229,7 +229,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
229
229
|
}[this.size],
|
|
230
230
|
this.disabled && "cursor-not-allowed",
|
|
231
231
|
textSize
|
|
232
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-0-
|
|
232
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-2-0-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-6-2-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-2-0-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-2-0-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText && !this.showInvalidStyle ? "block" : "hidden")}" aria-hidden="${!hasHelpText || this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
/**
|
|
@@ -347,7 +347,7 @@ __decorateClass([
|
|
|
347
347
|
watch("value", { waitUntilFirstUpdate: true })
|
|
348
348
|
], SdTextarea.prototype, "handleValueChange", 1);
|
|
349
349
|
SdTextarea = __decorateClass([
|
|
350
|
-
customElement("sd-6-0-
|
|
350
|
+
customElement("sd-6-2-0-textarea")
|
|
351
351
|
], SdTextarea);
|
|
352
352
|
|
|
353
353
|
export {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.WDWV53JP.js";
|
|
16
16
|
import {
|
|
17
17
|
FormControlController
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.C3WIBDGG.js";
|
|
19
19
|
import {
|
|
20
20
|
HasSlotController
|
|
21
21
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -54,7 +54,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super(...arguments);
|
|
56
56
|
this.formControlController = new FormControlController(this, {
|
|
57
|
-
assumeInteractionOn: ["sd-blur", "sd-6-0-
|
|
57
|
+
assumeInteractionOn: ["sd-blur", "sd-6-2-0-input"]
|
|
58
58
|
});
|
|
59
59
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
60
60
|
this.localize = new LocalizeController(this);
|
|
@@ -98,11 +98,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
98
98
|
return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
|
|
99
99
|
};
|
|
100
100
|
this.getTag = (option) => {
|
|
101
|
-
return html`<sd-6-0-
|
|
101
|
+
return html`<sd-6-2-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
102
102
|
base:tag__base,
|
|
103
103
|
content:tag__content,
|
|
104
104
|
removable-indicator:tag__removable-indicator,
|
|
105
|
-
" 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-
|
|
105
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-6-2-0-tag>`;
|
|
106
106
|
};
|
|
107
107
|
this.handleDocumentFocusIn = (event) => {
|
|
108
108
|
const path = event.composedPath();
|
|
@@ -237,9 +237,9 @@ var SdCombobox = class extends SolidElement {
|
|
|
237
237
|
return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
|
|
238
238
|
};
|
|
239
239
|
return this.filteredOptions.map((item) => {
|
|
240
|
-
if (item.tagName.toLowerCase() === "sd-6-0-
|
|
240
|
+
if (item.tagName.toLowerCase() === "sd-6-2-0-optgroup") {
|
|
241
241
|
Array.from(item.children).forEach((option) => {
|
|
242
|
-
if (option.tagName.toLowerCase() === "sd-6-0-
|
|
242
|
+
if (option.tagName.toLowerCase() === "sd-6-2-0-option") {
|
|
243
243
|
renderOption(option);
|
|
244
244
|
}
|
|
245
245
|
});
|
|
@@ -259,11 +259,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
259
259
|
});
|
|
260
260
|
} else {
|
|
261
261
|
return [
|
|
262
|
-
html`<sd-6-0-
|
|
262
|
+
html`<sd-6-2-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
263
263
|
base:tag__base,
|
|
264
264
|
content:tag__content,
|
|
265
265
|
removable-indicator:tag__removable-indicator,
|
|
266
|
-
" 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-
|
|
266
|
+
" 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-2-0-tag>`
|
|
267
267
|
];
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -382,7 +382,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
382
382
|
}
|
|
383
383
|
handleOptionClick(event) {
|
|
384
384
|
const target = event.target;
|
|
385
|
-
const option = target.closest("sd-6-0-
|
|
385
|
+
const option = target.closest("sd-6-2-0-option");
|
|
386
386
|
const oldValue = this.value;
|
|
387
387
|
if (option && !option.disabled) {
|
|
388
388
|
if (this.multiple) {
|
|
@@ -434,7 +434,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
434
434
|
scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
|
|
435
435
|
}
|
|
436
436
|
getAllFilteredOptions() {
|
|
437
|
-
return [...this.filteredWrapper.querySelectorAll("sd-6-0-
|
|
437
|
+
return [...this.filteredWrapper.querySelectorAll("sd-6-2-0-option")];
|
|
438
438
|
}
|
|
439
439
|
getCurrentOption() {
|
|
440
440
|
return this.getAllFilteredOptions().find((option) => option.current);
|
|
@@ -564,7 +564,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
564
564
|
clonedOption.selected = option.selected;
|
|
565
565
|
clonedOption.checkbox = option.checkbox;
|
|
566
566
|
clonedOption.size = option.size;
|
|
567
|
-
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-6-0-
|
|
567
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-6-2-0-optgroup";
|
|
568
568
|
if (!hasOptgroup) {
|
|
569
569
|
return clonedOption;
|
|
570
570
|
}
|
|
@@ -588,7 +588,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
588
588
|
this.formControlController.emitInvalidEvent(event);
|
|
589
589
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
590
590
|
}
|
|
591
|
-
/** Receives incoming event detail from sd-6-0-
|
|
591
|
+
/** Receives incoming event detail from sd-6-2-0-popup and updates local state for conditional styling. */
|
|
592
592
|
handleCurrentPlacement(e) {
|
|
593
593
|
const incomingPlacement = e.detail;
|
|
594
594
|
if (incomingPlacement) {
|
|
@@ -600,7 +600,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
600
600
|
}
|
|
601
601
|
handleUseTagsChange() {
|
|
602
602
|
const allOptions = this.getAllFilteredOptions();
|
|
603
|
-
if (customElements.get("sd-6-0-
|
|
603
|
+
if (customElements.get("sd-6-2-0-option")) {
|
|
604
604
|
allOptions.forEach((option) => {
|
|
605
605
|
option.checkbox = this.multiple;
|
|
606
606
|
});
|
|
@@ -726,8 +726,8 @@ var SdCombobox = class extends SolidElement {
|
|
|
726
726
|
return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
|
|
727
727
|
}
|
|
728
728
|
async handleDefaultSlotChange() {
|
|
729
|
-
if (!customElements.get("sd-6-0-
|
|
730
|
-
customElements.whenDefined("sd-6-0-
|
|
729
|
+
if (!customElements.get("sd-6-2-0-option")) {
|
|
730
|
+
customElements.whenDefined("sd-6-2-0-option").then(() => this.handleDefaultSlotChange());
|
|
731
731
|
return;
|
|
732
732
|
}
|
|
733
733
|
const slottedOptions = this.getSlottedOptions();
|
|
@@ -739,10 +739,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
739
739
|
if (this.multiple) {
|
|
740
740
|
option.checkbox = true;
|
|
741
741
|
}
|
|
742
|
-
option.id = option.id || `sd-6-0-
|
|
742
|
+
option.id = option.id || `sd-6-2-0-combobox-option-${index}`;
|
|
743
743
|
});
|
|
744
744
|
slottedOptgroups.forEach((optgroup, index) => {
|
|
745
|
-
optgroup.id = optgroup.id || `sd-6-0-
|
|
745
|
+
optgroup.id = optgroup.id || `sd-6-2-0-combobox-optgroup-${index}`;
|
|
746
746
|
});
|
|
747
747
|
await this.syncSelectedOptionsAndValue();
|
|
748
748
|
if (this.multiple) {
|
|
@@ -804,7 +804,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
804
804
|
default: "form-control-color-border"
|
|
805
805
|
}[selectState],
|
|
806
806
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
807
|
-
)}"></div><sd-6-0-
|
|
807
|
+
)}"></div><sd-6-2-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
808
808
|
"inline-flex relative w-full",
|
|
809
809
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
810
810
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -830,27 +830,27 @@ var SdCombobox = class extends SolidElement {
|
|
|
830
830
|
"flex justify-center",
|
|
831
831
|
iconMarginLeft,
|
|
832
832
|
this.value.length > 0 ? "visible" : "invisible"
|
|
833
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-0-
|
|
833
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-2-0-icon class="${cx("text-neutral-700", iconSize)}" name="closing-round" library="_internal"></sd-6-2-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-2-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-6-2-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-2-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-6-2-0-icon>` : ""}<slot name="right" part="right" class="${cx(
|
|
834
834
|
"inline-flex ml-2 leading-[0]",
|
|
835
835
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
836
836
|
iconSize
|
|
837
|
-
)}">${this.type !== "search" ? html`<sd-6-0-
|
|
837
|
+
)}">${this.type !== "search" ? html`<sd-6-2-0-icon class="${cx(
|
|
838
838
|
"transition-transform duration-medium ease-in-out",
|
|
839
839
|
this.open ? "rotate-180" : "rotate-0"
|
|
840
|
-
)}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-0-
|
|
840
|
+
)}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-2-0-icon>` : ""}</slot>${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button"><sd-6-2-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-2-0-icon></button>` : html`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${ifDefined(!this.multiple ? "listbox" : void 0)}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
|
841
841
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
842
842
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
843
843
|
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"
|
|
844
|
-
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-0-
|
|
844
|
+
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-2-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
|
|
845
845
|
}
|
|
846
846
|
};
|
|
847
847
|
SdCombobox.styles = [
|
|
848
848
|
...SolidElement.styles,
|
|
849
849
|
css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
850
|
-
:host{position:relative;display:block;width:100%}: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))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-0-
|
|
850
|
+
:host{position:relative;display:block;width:100%}: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))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-2-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-2-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-2-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-2-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-2-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-2-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`
|
|
851
851
|
];
|
|
852
852
|
__decorateClass([
|
|
853
|
-
query("sd-6-0-
|
|
853
|
+
query("sd-6-2-0-popup")
|
|
854
854
|
], SdCombobox.prototype, "popup", 2);
|
|
855
855
|
__decorateClass([
|
|
856
856
|
query('[part="combobox"]')
|
|
@@ -1011,7 +1011,7 @@ __decorateClass([
|
|
|
1011
1011
|
watch("open", { waitUntilFirstUpdate: true })
|
|
1012
1012
|
], SdCombobox.prototype, "handleOpenChange", 1);
|
|
1013
1013
|
SdCombobox = __decorateClass([
|
|
1014
|
-
customElement("sd-6-0-
|
|
1014
|
+
customElement("sd-6-2-0-combobox")
|
|
1015
1015
|
], SdCombobox);
|
|
1016
1016
|
setDefaultAnimation("combobox.show", {
|
|
1017
1017
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.GI7VDIWX.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.C3WIBDGG.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -115,14 +115,14 @@ var SdSwitch = class extends SolidElement {
|
|
|
115
115
|
`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
|
|
116
116
|
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
117
117
|
peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,
|
|
118
|
-
this.disabled && this.checked ? "bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? this.checked ? "border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : "border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white" : this.checked ? "border-accent hover:sd-6-0-
|
|
118
|
+
this.disabled && this.checked ? "bg-neutral-500" : this.disabled ? "border-neutral-500" : this.showInvalidStyle ? this.checked ? "border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : "border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white" : this.checked ? "border-accent hover:sd-6-2-0-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:sd-6-2-0-switch--checked--hover-color-background" : "sd-6-2-0-switch--unchecked-color-border bg-white hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
119
119
|
)}"><span id="thumb" part="thumb" class="${cx(
|
|
120
120
|
"w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",
|
|
121
|
-
this.disabled && this.checked ? "translate-x-2" : this.disabled ? "-translate-x-2" : this.showInvalidStyle ? this.checked ? "translate-x-2" : "bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : this.checked ? "translate-x-2" : "-translate-x-2 sd-6-0-
|
|
121
|
+
this.disabled && this.checked ? "translate-x-2" : this.disabled ? "-translate-x-2" : this.showInvalidStyle ? this.checked ? "translate-x-2" : "bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400" : this.checked ? "translate-x-2" : "-translate-x-2 sd-6-2-0-switch--unchecked__icon-color-background"
|
|
122
122
|
)}"></span> </span><span part="label" id="label" class="${cx(
|
|
123
123
|
"select-none inline-block ml-2",
|
|
124
|
-
this.disabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "sd-6-0-
|
|
125
|
-
)}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip") ? html`<slot name="tooltip"></slot>` : null}</div>${this.formControlController.renderInvalidMessage()}
|
|
124
|
+
this.disabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "sd-6-2-0-switch-color-text"
|
|
125
|
+
)}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip") ? html`<slot name="tooltip"></slot>` : null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-6-2-0-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-6-2-0-icon>` : ""} ${this.formControlController.renderInvalidMessage("lg")}</div>`;
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
@@ -173,7 +173,7 @@ __decorateClass([
|
|
|
173
173
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
174
174
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
175
175
|
SdSwitch = __decorateClass([
|
|
176
|
-
customElement("sd-6-0-
|
|
176
|
+
customElement("sd-6-2-0-switch")
|
|
177
177
|
], SdSwitch);
|
|
178
178
|
|
|
179
179
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-6-0-
|
|
74
|
+
"sd-6-2-0-radio group flex items-center text-base leading-normal text-black cursor-pointer",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -80,15 +80,15 @@ var SdRadio = class extends SolidElement {
|
|
|
80
80
|
lg: "text-base"
|
|
81
81
|
}[this.size]
|
|
82
82
|
)}"><span part="${`${this.checked ? "control--checked" : "control--unchecked"}`}" class="${cx(
|
|
83
|
-
"flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-0-
|
|
83
|
+
"flex-initial shrink-0 relative inline-flex items-center justify-center border sd-6-2-0-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",
|
|
84
84
|
this.disabled || this.visuallyDisabled ? "border-neutral-500" : this.invalid ? cx(
|
|
85
85
|
"border-error hover:border-error-400 group-hover:border-error-400",
|
|
86
|
-
this.checked ? "sd-6-0-
|
|
87
|
-
) : this.checked ? "sd-6-0-
|
|
86
|
+
this.checked ? "sd-6-2-0-radio--checked--invalid--default-color-background" : "sd-6-2-0-radio--default--invalid-color-background"
|
|
87
|
+
) : this.checked ? "sd-6-2-0-radio--checked--default-color-background hover:sd-6-2-0-radio--checked--hover-color-background group-hover:sd-6-2-0-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550" : "form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
88
88
|
)}"><span part="checked" class="${cx(
|
|
89
|
-
"rounded-full inline-flex text-white sd-6-0-
|
|
89
|
+
"rounded-full inline-flex text-white sd-6-2-0-radio--checked--default__icon-color-background h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",
|
|
90
90
|
this.checked ? "scale-100" : "scale-0",
|
|
91
|
-
this.disabled ? "bg-neutral-500" : this.visuallyDisabled ? "bg-white" : this.invalid ? "sd-6-0-
|
|
91
|
+
this.disabled ? "bg-neutral-500" : this.visuallyDisabled ? "bg-white" : this.invalid ? "sd-6-2-0-radio--checked--invalid--default__icon-color-background hover:sd-6-2-0-radio--checked--invalid--hover__icon-color-background group-hover:sd-6-2-0-radio--checked--invalid--hover__icon-color-background" : this.checked ? "sd-6-2-0-radio--checked--default__icon-color-background hover:sd-6-2-0-radio--checked--hover__icon-color-background group-hover:sd-6-2-0-radio--checked--hover__icon-color-background" : "bg-neutral-800"
|
|
92
92
|
)}"></span></span><slot part="label" class="${cx(
|
|
93
93
|
"ml-2 select-none inline-block",
|
|
94
94
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.invalid ? "text-error" : "text-black"
|
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
|
131
131
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
132
132
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
133
133
|
SdRadio = __decorateClass([
|
|
134
|
-
customElement("sd-6-0-
|
|
134
|
+
customElement("sd-6-2-0-radio")
|
|
135
135
|
], SdRadio);
|
|
136
136
|
|
|
137
137
|
export {
|
|
@@ -22,9 +22,9 @@ var SdBadge = class extends SolidElement {
|
|
|
22
22
|
"inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",
|
|
23
23
|
{
|
|
24
24
|
/* variants */
|
|
25
|
-
blue: !this.inverted ? "text-white bg-primary-500 border-white" : "sd-6-0-
|
|
26
|
-
green: !this.inverted ? "text-white sd-6-0-
|
|
27
|
-
red: !this.inverted ? "text-white sd-6-0-
|
|
25
|
+
blue: !this.inverted ? "text-white bg-primary-500 border-white" : "sd-6-2-0-badge--blue--inverted-color-text sd-6-2-0-badge--blue--inverted-color-background sd-6-2-0-badge--inverted-color-border",
|
|
26
|
+
green: !this.inverted ? "text-white sd-6-2-0-badge--green-color-background border-white" : "sd-6-2-0-badge--green-color--inverted-text sd-6-2-0-badge--green-color--inverted-background sd-6-2-0-badge--inverted-color-border",
|
|
27
|
+
red: !this.inverted ? "text-white sd-6-2-0-badge--red-color-background border-white" : "sd-6-2-0-badge--red--inverted-text sd-6-2-0-badge--red--inverted-background sd-6-2-0-badge--inverted-color-border"
|
|
28
28
|
}[this.variant]
|
|
29
29
|
)}"><span id="content" part="content" class="${cx(this.size === "sm" && "sr-only")}"><slot></slot></span></span>`;
|
|
30
30
|
}
|
|
@@ -44,7 +44,7 @@ __decorateClass([
|
|
|
44
44
|
property({ type: Boolean, reflect: true })
|
|
45
45
|
], SdBadge.prototype, "inverted", 2);
|
|
46
46
|
SdBadge = __decorateClass([
|
|
47
|
-
customElement("sd-6-0-
|
|
47
|
+
customElement("sd-6-2-0-badge")
|
|
48
48
|
], SdBadge);
|
|
49
49
|
|
|
50
50
|
export {
|