@ds-autonomie/web-components 2.2.0 → 2.3.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/CHANGELOG.md +27 -0
- package/cdn/chunks/{chunk.CZHOLGSR.js → chunk.27YOIDOY.js} +1 -1
- package/cdn/chunks/{chunk.YD6XEMWC.js → chunk.2Q6V7LT2.js} +1 -1
- package/cdn/chunks/{chunk.UAQ7MMLI.js → chunk.2QGLZHHF.js} +3 -3
- package/cdn/chunks/{chunk.MJLKYERJ.js → chunk.2T2ABKP4.js} +2 -2
- package/cdn/chunks/chunk.35PPY25N.js +92 -0
- package/cdn/chunks/{chunk.EARU4CHS.js → chunk.3AT66TOX.js} +1 -1
- package/cdn/chunks/{chunk.WJ2QJ5NF.js → chunk.3CRRJ74Q.js} +4 -4
- package/cdn/chunks/{chunk.SW4US4PJ.js → chunk.4AMHKT45.js} +1 -1
- package/cdn/chunks/{chunk.BCLU5KXE.js → chunk.4VWDJUDJ.js} +1 -1
- package/cdn/chunks/{chunk.6H5KLQNT.js → chunk.57JBB4UL.js} +1 -1
- package/cdn/chunks/{chunk.THD27VRI.js → chunk.57UCUSPU.js} +1 -1
- package/cdn/chunks/{chunk.YS6XV3LD.js → chunk.5AKIIMXP.js} +3 -3
- package/cdn/chunks/{chunk.7CIXFYLV.js → chunk.5EYEXU6M.js} +1 -1
- package/cdn/chunks/chunk.5IFHMXXG.js +229 -0
- package/cdn/chunks/chunk.6BPVPY42.js +318 -0
- package/cdn/chunks/{chunk.IPZC55RV.js → chunk.6BXZEG5L.js} +3 -0
- package/cdn/chunks/{chunk.C62MMBV4.js → chunk.6NFWRZM6.js} +43 -53
- package/cdn/chunks/{chunk.RPRWT2IH.js → chunk.74QWC4UR.js} +2 -2
- package/cdn/chunks/{chunk.I7XP2UMV.js → chunk.7FRA5H32.js} +1 -1
- package/cdn/chunks/{chunk.5BL6KECM.js → chunk.7KCIFACP.js} +2 -2
- package/cdn/chunks/{chunk.27YR5DC6.js → chunk.7S74KUA4.js} +1 -13
- package/cdn/chunks/{chunk.E6VF2I6I.js → chunk.7VDWWPRU.js} +4 -3
- package/cdn/chunks/chunk.7WXOGHV7.js +46 -0
- package/cdn/chunks/{chunk.L7BI7NJL.js → chunk.7ZBG7ZQG.js} +1 -1
- package/cdn/chunks/{chunk.WO2QCEF7.js → chunk.BLLAYNRQ.js} +1 -1
- package/cdn/chunks/{chunk.Y3OADZB3.js → chunk.BPP37CID.js} +32 -32
- package/cdn/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
- package/cdn/chunks/{chunk.2APAO2OW.js → chunk.CKDGFB52.js} +9 -6
- package/cdn/chunks/{chunk.OP36PAMU.js → chunk.CL4C4BFH.js} +2 -2
- package/cdn/chunks/chunk.D2LMY47K.js +154 -0
- package/cdn/chunks/{chunk.BE7PKTJW.js → chunk.D5IL5KN6.js} +5 -5
- package/cdn/chunks/{chunk.LCUVJAUT.js → chunk.DDRUVCZW.js} +1 -1
- package/cdn/chunks/{chunk.J3A7VDK5.js → chunk.EKKWPXJL.js} +32 -12
- package/cdn/chunks/{chunk.HYTYRM6S.js → chunk.ER5ZWWSU.js} +10 -5
- package/cdn/chunks/{chunk.2DJERWBI.js → chunk.ERQYJQKU.js} +3 -3
- package/cdn/chunks/{chunk.77JWQ5MT.js → chunk.F34KPGDS.js} +1 -1
- package/cdn/chunks/{chunk.Y2DCLNZQ.js → chunk.FXVCDQEN.js} +1 -1
- package/cdn/chunks/{chunk.6QTMZJGH.js → chunk.G7UC5QGP.js} +5 -5
- package/cdn/chunks/{chunk.JBUFTMYB.js → chunk.GCLAPOSZ.js} +1 -1
- package/cdn/chunks/{chunk.W2MICEQN.js → chunk.GN3AVMBZ.js} +1 -1
- package/cdn/chunks/chunk.H2OEFMQC.js +186 -0
- package/cdn/chunks/{chunk.FMPJ4AXA.js → chunk.H3Y633AF.js} +1 -1
- package/{dist/chunks/chunk.3TUFAITJ.js → cdn/chunks/chunk.HJU52GCK.js} +1 -1
- package/cdn/chunks/{chunk.UFCZPYZA.js → chunk.HMLKFYNH.js} +1 -1
- package/cdn/chunks/{chunk.JNDULVYM.js → chunk.HZJEKORW.js} +1 -1
- package/cdn/chunks/{chunk.TCGVOWNQ.js → chunk.IAOVYG7Z.js} +1 -1
- package/cdn/chunks/{chunk.FHOCNAJ4.js → chunk.IB463542.js} +1 -1
- package/cdn/chunks/chunk.IONY2GZF.js +72 -0
- package/cdn/chunks/chunk.ITHTXYNC.js +92 -0
- package/cdn/chunks/{chunk.M7QHADJH.js → chunk.IZ6KYT7R.js} +25 -14
- package/cdn/chunks/{chunk.4NC4QO64.js → chunk.J6J6XRPR.js} +1 -1
- package/cdn/chunks/{chunk.XPL6N3OJ.js → chunk.JLZQJQF4.js} +9 -12
- package/cdn/chunks/{chunk.FHTVGJJI.js → chunk.JXHXRRPX.js} +1 -1
- package/cdn/chunks/{chunk.7KCFANDH.js → chunk.KCPXZK3D.js} +1 -1
- package/cdn/chunks/chunk.KNY4ZIQ7.js +282 -0
- package/cdn/chunks/{chunk.ZLWLHLBC.js → chunk.LICWCBKN.js} +12 -0
- package/cdn/chunks/{chunk.Y4RIWPTX.js → chunk.LLZPEDQW.js} +1 -1
- package/cdn/chunks/{chunk.3JMBGIZN.js → chunk.LYPHJJYB.js} +77 -36
- package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
- package/cdn/chunks/{chunk.CYMM2ZAV.js → chunk.NX5D5OTS.js} +9 -2
- package/cdn/chunks/chunk.O3K7DNLG.js +102 -0
- package/cdn/chunks/chunk.O577BA4U.js +23 -0
- package/cdn/chunks/{chunk.IS6JFFBR.js → chunk.OLIPJEPX.js} +1 -1
- package/cdn/chunks/{chunk.T4RXUUPV.js → chunk.OMBOQURT.js} +2 -2
- package/cdn/chunks/{chunk.45JVH3EU.js → chunk.OZVVCEKQ.js} +1 -1
- package/cdn/chunks/{chunk.ATHAYO6A.js → chunk.P5KRELMB.js} +60 -213
- package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
- package/cdn/chunks/chunk.PQYUBPRU.js +676 -0
- package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
- package/cdn/chunks/{chunk.NSE76EM5.js → chunk.ROGVB4AO.js} +2 -2
- package/cdn/chunks/{chunk.RJROYRRA.js → chunk.RXUJBLKT.js} +1 -1
- package/cdn/chunks/{chunk.HNDRJ3LR.js → chunk.SE7W7XMK.js} +1 -1
- package/cdn/chunks/{chunk.XQAKSW3W.js → chunk.SF3YU6PZ.js} +3 -0
- package/cdn/chunks/{chunk.QVX3F6W3.js → chunk.T56ZOKTF.js} +1 -1
- package/cdn/chunks/{chunk.D34ULVGO.js → chunk.TAKMMVMG.js} +1 -1
- package/cdn/chunks/{chunk.FA2HQBM6.js → chunk.TENBZ64C.js} +27 -6
- package/cdn/chunks/{chunk.P5N74W74.js → chunk.THMGZ3JS.js} +1 -1
- package/cdn/chunks/{chunk.YQQNMFZF.js → chunk.TO65OMN5.js} +45 -36
- package/cdn/chunks/{chunk.6CF6SXDF.js → chunk.U5Q3HCRP.js} +1 -1
- package/cdn/chunks/{chunk.RPF6UDR4.js → chunk.US6UTTN5.js} +1 -1
- package/cdn/chunks/{chunk.3CJGMKTJ.js → chunk.V5TMX44U.js} +1 -1
- package/cdn/chunks/{chunk.3OPTPDM7.js → chunk.VGXDHXD4.js} +1 -1
- package/cdn/chunks/{chunk.XLX7QTXT.js → chunk.VZJGVIXG.js} +1 -0
- package/cdn/chunks/{chunk.NC6BC5GU.js → chunk.W2B6WXUI.js} +17 -1
- package/cdn/chunks/{chunk.XWKSA3TQ.js → chunk.W547AC5O.js} +1 -1
- package/cdn/chunks/{chunk.LNBAAP45.js → chunk.WE7BT7PI.js} +3 -3
- package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
- package/cdn/chunks/{chunk.A33BZOMA.js → chunk.WOKVCL7Q.js} +2 -2
- package/cdn/chunks/{chunk.77CWRZEL.js → chunk.WY2HI4TL.js} +1 -1
- package/cdn/chunks/{chunk.5BF76EO7.js → chunk.YA7ZX7VM.js} +1 -1
- package/cdn/chunks/{chunk.NVI4N3YH.js → chunk.YDBMOXIS.js} +1 -1
- package/cdn/chunks/chunk.YGAW4V4H.js +44 -0
- package/cdn/chunks/{chunk.DSKRAAOI.js → chunk.Z7VB7VAD.js} +1 -1
- package/cdn/chunks/{chunk.M5Z546V7.js → chunk.ZEPLEFIQ.js} +1 -1
- package/cdn/chunks/{chunk.YSKUVTPO.js → chunk.ZLZIVCPW.js} +1 -1
- package/cdn/chunks/{chunk.KELDA33H.js → chunk.ZTXQFGQX.js} +2 -2
- package/cdn/chunks/{chunk.APACKBZF.js → chunk.ZUJJYUHF.js} +1 -1
- package/cdn/chunks/{chunk.3PW6CC5R.js → chunk.ZVQQ7DON.js} +1 -1
- package/cdn/components/accordion/accordion.js +5 -5
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.d.ts +1 -1
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/callout/callout.js +3 -3
- package/cdn/components/checkbox/checkbox.d.ts +6 -3
- package/cdn/components/checkbox/checkbox.js +11 -9
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/checkbox-button/checkbox-button.js +17 -6
- package/cdn/components/checkbox-card/checkbox-card.d.ts +25 -0
- package/cdn/components/checkbox-card/checkbox-card.js +27 -0
- package/cdn/components/checkbox-group/checkbox-group.d.ts +5 -3
- package/cdn/components/checkbox-group/checkbox-group.js +6 -6
- package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/cdn/components/combobox/combobox.js +10 -10
- package/cdn/components/combobox/combobox.styles.js +2 -2
- package/cdn/components/dialog/dialog.d.ts +11 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/download-card/download-card.js +3 -3
- package/cdn/components/download-link/download-link.js +3 -3
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.js +2 -2
- package/cdn/components/error-message-panel/error-message-panel.js +2 -2
- package/cdn/components/error-text/error-text.js +3 -3
- package/cdn/components/file-upload/file-upload.js +7 -7
- package/cdn/components/file-upload/file-upload.styles.js +2 -2
- package/cdn/components/file-upload-item/file-upload-item.js +3 -3
- package/cdn/components/filter-base/filter-base.js +6 -6
- package/cdn/components/filter-button/filter-button.js +5 -5
- package/cdn/components/filter-counter/filter-counter.js +25 -19
- package/cdn/components/filter-date/filter-date.js +10 -10
- package/cdn/components/filter-range/filter-range.js +26 -20
- package/cdn/components/filter-select/filter-select.js +25 -22
- package/cdn/components/footer/footer.js +3 -3
- package/cdn/components/footer/footer.styles.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +2 -2
- package/cdn/components/format-date/format-date.js +2 -2
- package/cdn/components/format-number/format-number.js +2 -2
- package/cdn/components/header/header.js +3 -3
- package/cdn/components/header/header.styles.js +1 -1
- package/cdn/components/header-search/header-search.js +8 -8
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.js +3 -3
- package/cdn/components/input/input.d.ts +3 -7
- package/cdn/components/input/input.js +19 -13
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/input-date/input-date.d.ts +7 -2
- package/cdn/components/input-date/input-date.js +12 -12
- package/cdn/components/input-date/input-date.styles.js +3 -3
- package/cdn/components/input-mask/input-mask.js +8 -8
- package/cdn/components/input-mask/input-mask.styles.js +2 -2
- package/cdn/components/input-otp/input-otp.js +7 -7
- package/cdn/components/input-otp/input-otp.styles.js +2 -2
- package/cdn/components/input-phone/input-phone.js +13 -13
- package/cdn/components/input-phone/input-phone.styles.js +2 -2
- package/cdn/components/input-time/input-time.d.ts +121 -0
- package/cdn/components/input-time/input-time.js +50 -0
- package/cdn/components/input-time/input-time.styles.d.ts +2 -0
- package/cdn/components/input-time/input-time.styles.js +12 -0
- package/cdn/components/input-time/input-time.utils.d.ts +17 -0
- package/cdn/components/input-time/input-time.utils.js +13 -0
- package/cdn/components/menu-accordion/menu-accordion.js +5 -5
- package/cdn/components/menu-item/menu-item.js +3 -3
- package/cdn/components/navbar-link/navbar-link.js +4 -4
- package/cdn/components/navbar-menu/navbar-menu.js +5 -5
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/pagination/pagination.js +23 -19
- package/cdn/components/pagination-button/pagination-button.js +3 -3
- package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
- package/cdn/components/profile-button/profile-button.js +7 -7
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +3 -3
- package/cdn/components/radio/radio.d.ts +6 -5
- package/cdn/components/radio/radio.js +7 -5
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.d.ts +1 -1
- package/cdn/components/radio-button/radio-button.js +9 -10
- package/cdn/components/radio-card/radio-card.d.ts +24 -0
- package/cdn/components/radio-card/radio-card.js +39 -0
- package/cdn/components/radio-group/radio-group.d.ts +3 -3
- package/cdn/components/radio-group/radio-group.js +6 -8
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/select/select.styles.js +2 -2
- package/cdn/components/skip-links/skip-links.js +2 -2
- package/cdn/components/spinner/spinner.js +2 -2
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/step/step.js +5 -5
- package/cdn/components/switch/switch.d.ts +84 -0
- package/cdn/components/switch/switch.js +30 -0
- package/cdn/components/switch/switch.styles.d.ts +2 -0
- package/cdn/components/switch/switch.styles.js +9 -0
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.js +5 -5
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +1 -1
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +3 -3
- package/cdn/components/table-header-row/table-header-row.js +14 -13
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +12 -11
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.js +7 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +15 -13
- package/cdn/components/tree-item/tree-item.js +14 -12
- package/cdn/custom-elements.json +5241 -3804
- package/cdn/design-system.d.ts +6 -2
- package/cdn/design-system.js +338 -161
- package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.js +94 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
- package/cdn/internal/components/date-field/date-field.d.ts +1 -0
- package/cdn/internal/components/date-field/date-field.js +23 -9
- package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/cdn/internal/components/form-control/form-control-layout.js +4 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +182 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +29 -9
- package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
- package/cdn/internal/components/radio-icon/radio-icon.d.ts +22 -0
- package/cdn/internal/components/radio-icon/radio-icon.js +66 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +86 -0
- package/cdn/styles/form-control.styles.js +17 -1
- package/cdn/themes/dsa-wc-theme.css +160 -5
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +164 -5
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +6 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +162 -7
- package/cdn/web-types.json +974 -147
- package/dist/chunks/{chunk.JCL6HX6O.js → chunk.2GRTPJX3.js} +1 -1
- package/dist/chunks/{chunk.CPCLGC5J.js → chunk.2O3M7HBZ.js} +1 -1
- package/dist/chunks/{chunk.XJMGXWLM.js → chunk.2W6FOXSH.js} +45 -36
- package/dist/chunks/{chunk.EQZ4YFRU.js → chunk.3B3226HJ.js} +1 -1
- package/dist/chunks/{chunk.RWGL6D5U.js → chunk.3EAWXV27.js} +1 -1
- package/dist/chunks/{chunk.UEWG3G4R.js → chunk.3HX6HRHC.js} +9 -2
- package/dist/chunks/{chunk.5P2EEOC5.js → chunk.3NNE7XGI.js} +2 -2
- package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
- package/dist/chunks/{chunk.L3LZ4MKX.js → chunk.4P7DDUA4.js} +3 -3
- package/dist/chunks/{chunk.WRPRKCVY.js → chunk.52V3WTR3.js} +5 -5
- package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
- package/dist/chunks/{chunk.I5HR7JYK.js → chunk.5EBCNG2J.js} +3 -0
- package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
- package/dist/chunks/{chunk.KUYI27GJ.js → chunk.5NXRUN57.js} +84 -242
- package/dist/chunks/{chunk.IPZC55RV.js → chunk.6BXZEG5L.js} +3 -0
- package/dist/chunks/{chunk.BQQ2GUR6.js → chunk.6K4LF64W.js} +1 -1
- package/dist/chunks/{chunk.GGXJ2MP3.js → chunk.6KWCQDRD.js} +32 -12
- package/dist/chunks/{chunk.2EDNCADP.js → chunk.6SDBUBGE.js} +1 -0
- package/dist/chunks/{chunk.BP4NJFKE.js → chunk.6ZJSEOLO.js} +1 -1
- package/dist/chunks/{chunk.B6LMEZTV.js → chunk.77ECBNUM.js} +1 -1
- package/dist/chunks/{chunk.DUTPVTUZ.js → chunk.7KMMSAQN.js} +1 -1
- package/dist/chunks/chunk.7YIOE3D2.js +663 -0
- package/dist/chunks/{chunk.DDDHV2NU.js → chunk.AFRAGNLK.js} +3 -3
- package/dist/chunks/chunk.ANOLAL4B.js +90 -0
- package/dist/chunks/{chunk.CQHOJJEI.js → chunk.B2KV6DSI.js} +1 -1
- package/dist/chunks/{chunk.6JHM36KH.js → chunk.B4SMUSVU.js} +25 -14
- package/dist/chunks/{chunk.XD25ELCV.js → chunk.BCLTC7W4.js} +1 -1
- package/dist/chunks/{chunk.WQYBYKZ2.js → chunk.BNREFNJW.js} +4 -3
- package/dist/chunks/chunk.BQEHELQ5.js +90 -0
- package/dist/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
- package/dist/chunks/{chunk.2XRDIFUO.js → chunk.CEGU6OTH.js} +1 -1
- package/dist/chunks/{chunk.UDJJFUZ3.js → chunk.CN6TUCPE.js} +2 -2
- package/dist/chunks/{chunk.QRCGXHRO.js → chunk.CQR34TNY.js} +1 -0
- package/dist/chunks/{chunk.VNFFOE7Z.js → chunk.CWDSCTUA.js} +1 -1
- package/dist/chunks/{chunk.DHDRABMZ.js → chunk.D6SKE3AF.js} +2 -2
- package/dist/chunks/{chunk.6ZAEF56K.js → chunk.DB3EDROT.js} +1 -1
- package/dist/chunks/{chunk.RZT42FVN.js → chunk.DIM7WDHO.js} +1 -1
- package/dist/chunks/{chunk.7DBNKQ7N.js → chunk.DLACE2NU.js} +2 -2
- package/dist/chunks/{chunk.W7TI3W77.js → chunk.DLE3F4GC.js} +1 -1
- package/dist/chunks/chunk.E45DVVIM.js +271 -0
- package/dist/chunks/{chunk.LB54GRRB.js → chunk.EAYW5L6J.js} +2 -2
- package/dist/chunks/{chunk.QDKQMUIQ.js → chunk.EIZK62ST.js} +17 -1
- package/dist/chunks/{chunk.T6UX2FVU.js → chunk.EK7OT2VJ.js} +4 -4
- package/dist/chunks/{chunk.FKXOTDTY.js → chunk.ERN34WYC.js} +5 -5
- package/dist/chunks/{chunk.3TJPAISV.js → chunk.FC2HFFUI.js} +1 -1
- package/dist/chunks/chunk.FK5HR2F4.js +100 -0
- package/dist/chunks/{chunk.XRZGSSHY.js → chunk.FWVIQUG4.js} +1 -1
- package/dist/chunks/{chunk.BDO6TPPP.js → chunk.G6JRMCFB.js} +32 -32
- package/dist/chunks/{chunk.UWGAOHHQ.js → chunk.GGBIEJ25.js} +3 -3
- package/dist/chunks/{chunk.JIWB4B3J.js → chunk.GW2MJTCT.js} +1 -1
- package/dist/chunks/{chunk.NHXG2KMS.js → chunk.HAYCQF2N.js} +1 -1
- package/dist/chunks/{chunk.3XIJ443Y.js → chunk.HEOHHRVV.js} +1 -13
- package/{cdn/chunks/chunk.3TUFAITJ.js → dist/chunks/chunk.HJU52GCK.js} +1 -1
- package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
- package/dist/chunks/{chunk.Y52TCF24.js → chunk.IDGKF6AP.js} +3 -3
- package/dist/chunks/{chunk.IPUOJRFA.js → chunk.IIYPN5OC.js} +1 -1
- package/dist/chunks/chunk.IONY2GZF.js +72 -0
- package/dist/chunks/chunk.ITAWMEY7.js +42 -0
- package/dist/chunks/{chunk.SYVX56PU.js → chunk.ITUK4PON.js} +1 -1
- package/dist/chunks/{chunk.2JIPPL3I.js → chunk.JEZOETYM.js} +27 -6
- package/dist/chunks/{chunk.VBW5RZBM.js → chunk.K3HEMTRQ.js} +1 -1
- package/dist/chunks/{chunk.2VH3OZ2T.js → chunk.K53YJ3XK.js} +1 -1
- package/dist/chunks/{chunk.2VBJKC24.js → chunk.KFUZ6JMQ.js} +1 -1
- package/dist/chunks/{chunk.XPSUKRU5.js → chunk.KQ224IDT.js} +1 -1
- package/dist/chunks/{chunk.IF24VKLH.js → chunk.L66AKAXM.js} +1 -1
- package/dist/chunks/{chunk.VT3IWNRD.js → chunk.LE5LHO5Y.js} +1 -1
- package/dist/chunks/{chunk.MJKJSMQX.js → chunk.LGVJZXUH.js} +9 -12
- package/dist/chunks/{chunk.47JHZBMB.js → chunk.M5QF4L4W.js} +1 -1
- package/dist/chunks/{chunk.WUOMKASN.js → chunk.MAENDYI7.js} +43 -53
- package/dist/chunks/{chunk.3OHVWJYG.js → chunk.NF5ELBI4.js} +2 -2
- package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
- package/dist/chunks/chunk.NVQTI6CK.js +44 -0
- package/dist/chunks/{chunk.H3FSR35C.js → chunk.O4WGPUE5.js} +77 -36
- package/dist/chunks/chunk.ODXKNTKC.js +21 -0
- package/dist/chunks/{chunk.IZACKXPC.js → chunk.P3CATWXI.js} +1 -1
- package/dist/chunks/{chunk.LTCZARVI.js → chunk.P5DC3N5P.js} +9 -6
- package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
- package/dist/chunks/chunk.PWVYG6XN.js +181 -0
- package/dist/chunks/{chunk.KN6RQWYN.js → chunk.QBHSEMUU.js} +10 -5
- package/dist/chunks/{chunk.ZSBVQKVM.js → chunk.SWP3OZUN.js} +1 -1
- package/dist/chunks/{chunk.KLKJ2LRK.js → chunk.T2OLM5TG.js} +1 -1
- package/dist/chunks/chunk.TZFYJ4KJ.js +311 -0
- package/dist/chunks/{chunk.QLA2JXR7.js → chunk.U7ZMMMJ3.js} +12 -0
- package/dist/chunks/{chunk.UNO3SMWX.js → chunk.UG7D663E.js} +1 -1
- package/dist/chunks/{chunk.O3AR4B4F.js → chunk.UL2XNE5X.js} +2 -2
- package/dist/chunks/{chunk.EP7LLKJN.js → chunk.V75T6QXR.js} +1 -1
- package/dist/chunks/chunk.VKIBAACD.js +226 -0
- package/dist/chunks/{chunk.FQMS24GI.js → chunk.WB2DWTAB.js} +1 -1
- package/dist/chunks/{chunk.F6UPK2KI.js → chunk.WIVRYVXD.js} +1 -1
- package/dist/chunks/{chunk.5DXVFMIN.js → chunk.WOJO2VFN.js} +1 -1
- package/dist/chunks/{chunk.6QAB5TYJ.js → chunk.WPIYFGT2.js} +1 -1
- package/dist/chunks/{chunk.ECZMLO4V.js → chunk.X6UZBREW.js} +1 -1
- package/dist/chunks/chunk.XDEXZL3R.js +149 -0
- package/dist/chunks/{chunk.LSZ7ATDZ.js → chunk.XMPGIWRA.js} +1 -1
- package/dist/chunks/{chunk.AH74EN4A.js → chunk.YOMZYBQL.js} +1 -1
- package/dist/chunks/{chunk.KFRR2I2P.js → chunk.YVOXMJ6Q.js} +1 -1
- package/dist/chunks/{chunk.Z7DBDDCZ.js → chunk.YZTXGQRN.js} +19 -12
- package/dist/chunks/{chunk.ZCWLSBSD.js → chunk.Z2YO6E64.js} +2 -2
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/callout/callout.js +3 -3
- package/dist/components/checkbox/checkbox.d.ts +6 -3
- package/dist/components/checkbox/checkbox.js +10 -9
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +17 -6
- package/dist/components/checkbox-card/checkbox-card.d.ts +25 -0
- package/dist/components/checkbox-card/checkbox-card.js +21 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +5 -3
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.js +10 -10
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.d.ts +11 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/download-card/download-card.js +3 -3
- package/dist/components/download-link/download-link.js +3 -3
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/error-text/error-text.js +3 -3
- package/dist/components/file-upload/file-upload.js +7 -7
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +3 -3
- package/dist/components/filter-base/filter-base.js +6 -6
- package/dist/components/filter-button/filter-button.js +5 -5
- package/dist/components/filter-counter/filter-counter.js +25 -19
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +26 -20
- package/dist/components/filter-select/filter-select.js +25 -22
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/header/header.js +3 -3
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/header-search/header-search.js +8 -8
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.js +3 -3
- package/dist/components/input/input.d.ts +3 -7
- package/dist/components/input/input.js +19 -13
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-date/input-date.d.ts +7 -2
- package/dist/components/input-date/input-date.js +12 -12
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +8 -8
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-otp/input-otp.js +7 -7
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.js +13 -13
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.d.ts +121 -0
- package/dist/components/input-time/input-time.js +42 -0
- package/dist/components/input-time/input-time.styles.d.ts +2 -0
- package/dist/components/input-time/input-time.styles.js +10 -0
- package/dist/components/input-time/input-time.utils.d.ts +17 -0
- package/dist/components/input-time/input-time.utils.js +13 -0
- package/dist/components/menu-accordion/menu-accordion.js +5 -5
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/navbar-link/navbar-link.js +4 -4
- package/dist/components/navbar-menu/navbar-menu.js +5 -5
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/pagination.js +23 -19
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +7 -7
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +3 -3
- package/dist/components/radio/radio.d.ts +6 -5
- package/dist/components/radio/radio.js +6 -5
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-button/radio-button.js +9 -10
- package/dist/components/radio-card/radio-card.d.ts +24 -0
- package/dist/components/radio-card/radio-card.js +33 -0
- package/dist/components/radio-group/radio-group.d.ts +3 -3
- package/dist/components/radio-group/radio-group.js +6 -7
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.js +9 -9
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/step/step.js +5 -5
- package/dist/components/switch/switch.d.ts +84 -0
- package/dist/components/switch/switch.js +23 -0
- package/dist/components/switch/switch.styles.d.ts +2 -0
- package/dist/components/switch/switch.styles.js +7 -0
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +1 -1
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +3 -3
- package/dist/components/table-header-row/table-header-row.js +14 -13
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +12 -11
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +14 -13
- package/dist/components/tree-item/tree-item.js +13 -12
- package/dist/custom-elements.json +5241 -3804
- package/dist/design-system.d.ts +6 -2
- package/dist/design-system.js +331 -158
- package/dist/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
- package/dist/internal/components/checkbox-box/checkbox-box.js +94 -0
- package/dist/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
- package/dist/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
- package/dist/internal/components/date-field/date-field.d.ts +1 -0
- package/dist/internal/components/date-field/date-field.js +23 -9
- package/dist/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/dist/internal/components/form-control/form-control-layout.js +4 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +182 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +29 -9
- package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
- package/dist/internal/components/radio-icon/radio-icon.d.ts +22 -0
- package/dist/internal/components/radio-icon/radio-icon.js +66 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.js +86 -0
- package/dist/styles/form-control.styles.js +17 -1
- package/dist/themes/dsa-wc-theme.css +160 -5
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +164 -5
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +6 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +162 -7
- package/dist/web-types.json +974 -147
- package/package.json +2 -2
- package/cdn/chunks/chunk.5LXQ3RKQ.js +0 -41
- package/cdn/chunks/chunk.N3WADQAB.js +0 -157
- package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
- package/dist/chunks/chunk.35CKPBLE.js +0 -155
- package/dist/chunks/chunk.6HR34L7E.js +0 -39
- package/dist/chunks/chunk.GDOUDNZH.js +0 -186
|
@@ -56,6 +56,8 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
56
56
|
renderCounter() {
|
|
57
57
|
return x``;
|
|
58
58
|
}
|
|
59
|
+
handleLabelClick() {
|
|
60
|
+
}
|
|
59
61
|
render() {
|
|
60
62
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
61
63
|
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
@@ -85,6 +87,7 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
85
87
|
class='form-control__label'
|
|
86
88
|
for="input"
|
|
87
89
|
aria-hidden=${o(hasLabel ? void 0 : "true")}
|
|
90
|
+
@click=${this.handleLabelClick}
|
|
88
91
|
>
|
|
89
92
|
${this.required ? x`<span class="form-control__label-required">*</span>` : ""}
|
|
90
93
|
<slot name="label">${this.label}</slot>
|
|
@@ -13,7 +13,6 @@ var button_styles_default = i`
|
|
|
13
13
|
display: inline-block;
|
|
14
14
|
position: relative;
|
|
15
15
|
width: auto;
|
|
16
|
-
cursor: pointer;
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
.button {
|
|
@@ -33,7 +32,7 @@ var button_styles_default = i`
|
|
|
33
32
|
var(--dsa-wc-transition-x-fast) color,
|
|
34
33
|
var(--dsa-wc-transition-x-fast) border,
|
|
35
34
|
var(--dsa-wc-transition-x-fast) box-shadow;
|
|
36
|
-
cursor:
|
|
35
|
+
cursor: pointer;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
.button::-moz-focus-inner {
|
|
@@ -375,29 +374,33 @@ var button_styles_default = i`
|
|
|
375
374
|
}
|
|
376
375
|
|
|
377
376
|
/* Tertiary */
|
|
378
|
-
.button--tertiary {
|
|
377
|
+
.button--tertiary:not(.button--tertiary-with-outline) {
|
|
379
378
|
padding: 0;
|
|
379
|
+
border: none;
|
|
380
380
|
}
|
|
381
381
|
/* Tertiary/On Base */
|
|
382
382
|
.button--on-base.button--tertiary {
|
|
383
383
|
background-color: var(--dsa-wc-button-tertiary-on-base-color);
|
|
384
|
-
border:
|
|
384
|
+
border-color: var(--dsa-wc-button-tertiary-on-base-border-color);
|
|
385
385
|
color: var(--dsa-wc-button-tertiary-on-base-font-color);
|
|
386
386
|
}
|
|
387
387
|
.button--on-base.button--tertiary:hover:not(.button--disabled):not(
|
|
388
388
|
.button--loading
|
|
389
389
|
) {
|
|
390
390
|
background-color: var(--dsa-wc-button-tertiary-on-base-hover-color);
|
|
391
|
+
border-color: var(--dsa-wc-button-tertiary-on-base-hover-border-color);
|
|
391
392
|
color: var(--dsa-wc-button-tertiary-on-base-hover-font-color);
|
|
392
393
|
}
|
|
393
394
|
.button--on-base.button--tertiary:active:not(.button--disabled):not(
|
|
394
395
|
.button--loading
|
|
395
396
|
) {
|
|
396
397
|
background-color: var(--dsa-wc-button-tertiary-on-base-active-color);
|
|
398
|
+
border-color: var(--dsa-wc-button-tertiary-on-base-active-border-color);
|
|
397
399
|
color: var(--dsa-wc-button-tertiary-on-base-active-font-color);
|
|
398
400
|
}
|
|
399
401
|
.button--on-base.button--tertiary.button--disabled {
|
|
400
402
|
background-color: var(--dsa-wc-button-tertiary-on-base-disabled-color);
|
|
403
|
+
border-color: var(--dsa-wc-button-tertiary-on-base-disabled-border-color);
|
|
401
404
|
color: var(--dsa-wc-button-tertiary-on-base-disabled-font-color);
|
|
402
405
|
}
|
|
403
406
|
.button--on-base.button--tertiary.button--loading {
|
|
@@ -415,7 +418,7 @@ var button_styles_default = i`
|
|
|
415
418
|
/* Tertiary/On Floating Menu */
|
|
416
419
|
.button--on-floating-menu.button--tertiary {
|
|
417
420
|
background-color: var(--dsa-wc-button-tertiary-on-floating-menu-color);
|
|
418
|
-
border:
|
|
421
|
+
border-color: var(--dsa-wc-button-tertiary-on-floating-menu-border-color);
|
|
419
422
|
color: var(--dsa-wc-button-tertiary-on-floating-menu-font-color);
|
|
420
423
|
}
|
|
421
424
|
.button--on-floating-menu.button--tertiary:hover:not(.button--disabled):not(
|
|
@@ -424,6 +427,9 @@ var button_styles_default = i`
|
|
|
424
427
|
background-color: var(
|
|
425
428
|
--dsa-wc-button-tertiary-on-floating-menu-hover-color
|
|
426
429
|
);
|
|
430
|
+
border-color: var(
|
|
431
|
+
--dsa-wc-button-tertiary-on-floating-menu-hover-border-color
|
|
432
|
+
);
|
|
427
433
|
color: var(--dsa-wc-button-tertiary-on-floating-menu-hover-font-color);
|
|
428
434
|
}
|
|
429
435
|
.button--on-floating-menu.button--tertiary:active:not(.button--disabled):not(
|
|
@@ -432,12 +438,18 @@ var button_styles_default = i`
|
|
|
432
438
|
background-color: var(
|
|
433
439
|
--dsa-wc-button-tertiary-on-floating-menu-active-color
|
|
434
440
|
);
|
|
441
|
+
border-color: var(
|
|
442
|
+
--dsa-wc-button-tertiary-on-floating-menu-active-border-color
|
|
443
|
+
);
|
|
435
444
|
color: var(--dsa-wc-button-tertiary-on-floating-menu-active-font-color);
|
|
436
445
|
}
|
|
437
446
|
.button--on-floating-menu.button--tertiary.button--disabled {
|
|
438
447
|
background-color: var(
|
|
439
448
|
--dsa-wc-button-tertiary-on-floating-menu-disabled-color
|
|
440
449
|
);
|
|
450
|
+
border-color: var(
|
|
451
|
+
--dsa-wc-button-tertiary-on-floating-menu-disabled-border-color
|
|
452
|
+
);
|
|
441
453
|
color: var(--dsa-wc-button-tertiary-on-floating-menu-disabled-font-color);
|
|
442
454
|
}
|
|
443
455
|
.button--on-floating-menu.button--tertiary.button--loading {
|
|
@@ -458,7 +470,7 @@ var button_styles_default = i`
|
|
|
458
470
|
/* Tertiary/On Contrasted Menu */
|
|
459
471
|
.button--on-contrasted-menu.button--tertiary {
|
|
460
472
|
background-color: var(--dsa-wc-button-tertiary-on-contrasted-menu-color);
|
|
461
|
-
border:
|
|
473
|
+
border-color: var(--dsa-wc-button-tertiary-on-contrasted-menu-border-color);
|
|
462
474
|
color: var(--dsa-wc-button-tertiary-on-contrasted-menu-font-color);
|
|
463
475
|
}
|
|
464
476
|
.button--on-contrasted-menu.button--tertiary:hover:not(.button--disabled):not(
|
|
@@ -467,6 +479,9 @@ var button_styles_default = i`
|
|
|
467
479
|
background-color: var(
|
|
468
480
|
--dsa-wc-button-tertiary-on-contrasted-menu-hover-color
|
|
469
481
|
);
|
|
482
|
+
border-color: var(
|
|
483
|
+
--dsa-wc-button-tertiary-on-contrasted-menu-hover-border-color
|
|
484
|
+
);
|
|
470
485
|
color: var(--dsa-wc-button-tertiary-on-contrasted-menu-hover-font-color);
|
|
471
486
|
}
|
|
472
487
|
.button--on-contrasted-menu.button--tertiary:active:not(
|
|
@@ -475,12 +490,18 @@ var button_styles_default = i`
|
|
|
475
490
|
background-color: var(
|
|
476
491
|
--dsa-wc-button-tertiary-on-contrasted-menu-active-color
|
|
477
492
|
);
|
|
493
|
+
border-color: var(
|
|
494
|
+
--dsa-wc-button-tertiary-on-contrasted-menu-active-border-color
|
|
495
|
+
);
|
|
478
496
|
color: var(--dsa-wc-button-tertiary-on-contrasted-menu-active-font-color);
|
|
479
497
|
}
|
|
480
498
|
.button--on-contrasted-menu.button--tertiary.button--disabled {
|
|
481
499
|
background-color: var(
|
|
482
500
|
--dsa-wc-button-tertiary-on-contrasted-menu-disabled-color
|
|
483
501
|
);
|
|
502
|
+
border-color: var(
|
|
503
|
+
--dsa-wc-button-tertiary-on-contrasted-menu-disabled-border-color
|
|
504
|
+
);
|
|
484
505
|
color: var(--dsa-wc-button-tertiary-on-contrasted-menu-disabled-font-color);
|
|
485
506
|
}
|
|
486
507
|
.button--on-contrasted-menu.button--tertiary.button--loading {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkbox_group_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O577BA4U.js";
|
|
4
4
|
import {
|
|
5
5
|
a11yWarning
|
|
6
6
|
} from "./chunk.PWL7QCVG.js";
|
|
@@ -48,6 +48,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
48
48
|
);
|
|
49
49
|
this.customValidityMessage = "";
|
|
50
50
|
this.hasCheckboxButtons = false;
|
|
51
|
+
this.hasCheckboxCards = false;
|
|
51
52
|
this.defaultValue = [];
|
|
52
53
|
this.label = "";
|
|
53
54
|
this.helpText = "";
|
|
@@ -92,19 +93,18 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
92
93
|
this.formControlController.updateValidity();
|
|
93
94
|
}
|
|
94
95
|
getAllCheckboxes() {
|
|
95
|
-
return [
|
|
96
|
+
return [
|
|
97
|
+
...this.querySelectorAll("dsa-checkbox, dsa-checkbox-button, dsa-checkbox-card")
|
|
98
|
+
];
|
|
96
99
|
}
|
|
97
100
|
handleCheckboxClick(event) {
|
|
98
101
|
if (event.target.tagName.toLowerCase() === "a") {
|
|
99
102
|
return;
|
|
100
103
|
}
|
|
101
|
-
const target = event.target.closest("dsa-checkbox, dsa-checkbox-button");
|
|
104
|
+
const target = event.target.closest("dsa-checkbox, dsa-checkbox-button, dsa-checkbox-card");
|
|
102
105
|
event.preventDefault();
|
|
103
106
|
event.stopPropagation();
|
|
104
|
-
if (!target) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
if (target.disabled || target.readonly) {
|
|
107
|
+
if (!target || target.disabled || target.readonly || this.disabled || this.readonly) {
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
const oldValue = this.value;
|
|
@@ -128,7 +128,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
128
128
|
const target = event.target;
|
|
129
129
|
if (event.key === " ") {
|
|
130
130
|
event.preventDefault();
|
|
131
|
-
if (target.disabled || target.readonly) {
|
|
131
|
+
if (this.disabled || this.readonly || target.disabled || target.readonly) {
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
target.checked = !target.checked;
|
|
@@ -139,6 +139,9 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
139
139
|
this.emit("dsa-input");
|
|
140
140
|
this.emit("dsa-change");
|
|
141
141
|
}
|
|
142
|
+
if (event.key === "Enter" && (this.disabled || this.readonly || target.disabled || target.readonly)) {
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
}
|
|
142
145
|
}
|
|
143
146
|
handleLabelClick() {
|
|
144
147
|
const availableCheckboxes = this.getAllCheckboxes().filter(
|
|
@@ -149,28 +152,19 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
149
152
|
checkboxToFocus.focus();
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
|
-
|
|
155
|
+
handleSlotChange() {
|
|
153
156
|
const allCheckboxes = this.getAllCheckboxes();
|
|
154
157
|
allCheckboxes.forEach((checkbox) => {
|
|
155
|
-
if (this.disabled) {
|
|
156
|
-
checkbox.disabled = true;
|
|
157
|
-
}
|
|
158
|
-
if (this.readonly) {
|
|
159
|
-
checkbox.readonly = true;
|
|
160
|
-
}
|
|
161
158
|
checkbox.checked = this.value.includes(checkbox.value);
|
|
159
|
+
checkbox.parentDisabled = this.disabled;
|
|
160
|
+
checkbox.parentReadonly = this.readonly;
|
|
162
161
|
});
|
|
163
162
|
this.hasCheckboxButtons = allCheckboxes.some(
|
|
164
163
|
(checkbox) => checkbox.tagName.toLowerCase() === "dsa-checkbox-button"
|
|
165
164
|
);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
this.handleSlottedElementChange();
|
|
170
|
-
} else {
|
|
171
|
-
customElements.whenDefined("dsa-checkbox").then(() => this.handleSlotChange());
|
|
172
|
-
customElements.whenDefined("dsa-checkbox-button").then(() => this.handleSlotChange());
|
|
173
|
-
}
|
|
165
|
+
this.hasCheckboxCards = allCheckboxes.some(
|
|
166
|
+
(checkbox) => checkbox.tagName.toLowerCase() === "dsa-checkbox-card"
|
|
167
|
+
);
|
|
174
168
|
}
|
|
175
169
|
handleInvalid(event) {
|
|
176
170
|
this.formControlController.setValidity(false);
|
|
@@ -182,6 +176,16 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
182
176
|
);
|
|
183
177
|
this.formControlController.setValidity(this.validity.valid);
|
|
184
178
|
}
|
|
179
|
+
handleDisabledChange() {
|
|
180
|
+
this.getAllCheckboxes().forEach(
|
|
181
|
+
(checkbox) => checkbox.parentDisabled = this.disabled
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
handleReadonlyChange() {
|
|
185
|
+
this.getAllCheckboxes().forEach(
|
|
186
|
+
(checkbox) => checkbox.parentReadonly = this.readonly
|
|
187
|
+
);
|
|
188
|
+
}
|
|
185
189
|
handleErrorChange() {
|
|
186
190
|
if (this.error) {
|
|
187
191
|
this.setAttribute("aria-invalid", "true");
|
|
@@ -245,7 +249,8 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
245
249
|
"form-control--checkbox-group": true,
|
|
246
250
|
"form-control--has-label": hasLabel,
|
|
247
251
|
"form-control--has-help-text": hasHelpText,
|
|
248
|
-
"form-control--has-
|
|
252
|
+
"form-control--has-buttons": this.hasCheckboxButtons,
|
|
253
|
+
"form-control--has-cards": this.hasCheckboxCards,
|
|
249
254
|
"form-control--options-horizontal": !!this.horizontal
|
|
250
255
|
})}
|
|
251
256
|
role="group"
|
|
@@ -286,18 +291,13 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
286
291
|
</label>
|
|
287
292
|
</dsa-visually-hidden>
|
|
288
293
|
|
|
289
|
-
<div
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
@click=${this.handleCheckboxClick}
|
|
297
|
-
@keydown=${this.handleKeyDown}
|
|
298
|
-
>
|
|
299
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
300
|
-
</div>
|
|
294
|
+
<div
|
|
295
|
+
role="list"
|
|
296
|
+
class="form-control__options"
|
|
297
|
+
@click=${this.handleCheckboxClick}
|
|
298
|
+
@keydown=${this.handleKeyDown}
|
|
299
|
+
>
|
|
300
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
301
301
|
</div>
|
|
302
302
|
</div>
|
|
303
303
|
<slot
|
|
@@ -325,6 +325,9 @@ __decorateClass([
|
|
|
325
325
|
__decorateClass([
|
|
326
326
|
r()
|
|
327
327
|
], DSACheckboxGroup.prototype, "hasCheckboxButtons", 2);
|
|
328
|
+
__decorateClass([
|
|
329
|
+
r()
|
|
330
|
+
], DSACheckboxGroup.prototype, "hasCheckboxCards", 2);
|
|
328
331
|
__decorateClass([
|
|
329
332
|
r()
|
|
330
333
|
], DSACheckboxGroup.prototype, "defaultValue", 2);
|
|
@@ -390,6 +393,12 @@ __decorateClass([
|
|
|
390
393
|
__decorateClass([
|
|
391
394
|
watch("value", { waitUntilFirstUpdate: true })
|
|
392
395
|
], DSACheckboxGroup.prototype, "handleValueChange", 1);
|
|
396
|
+
__decorateClass([
|
|
397
|
+
watch("disabled")
|
|
398
|
+
], DSACheckboxGroup.prototype, "handleDisabledChange", 1);
|
|
399
|
+
__decorateClass([
|
|
400
|
+
watch("readonly")
|
|
401
|
+
], DSACheckboxGroup.prototype, "handleReadonlyChange", 1);
|
|
393
402
|
__decorateClass([
|
|
394
403
|
watch("error")
|
|
395
404
|
], DSACheckboxGroup.prototype, "handleErrorChange", 1);
|
|
@@ -35,11 +35,27 @@ var form_control_styles_default = i`
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.form-control .form-control__options {
|
|
38
|
-
display: flex;
|
|
38
|
+
display: inline-flex;
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
gap: var(--dsa-wc-toggle-group-spacing);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.form-control.form-control--has-buttons .form-control__options,
|
|
44
|
+
.form-control.form-control--has-cards .form-control__options {
|
|
45
|
+
gap: var(--dsa-spacing-8);
|
|
46
|
+
}
|
|
47
|
+
.form-control:not(.form-control--options-horizontal).form-control--has-buttons
|
|
48
|
+
.form-control__options {
|
|
49
|
+
min-width: 120px;
|
|
50
|
+
max-width: 400px;
|
|
51
|
+
}
|
|
52
|
+
.form-control:not(.form-control--options-horizontal).form-control--has-cards
|
|
53
|
+
.form-control__options {
|
|
54
|
+
display: flex;
|
|
55
|
+
min-width: 204px;
|
|
56
|
+
max-width: 660px;
|
|
57
|
+
}
|
|
58
|
+
|
|
43
59
|
.form-control--options-horizontal .form-control__options {
|
|
44
60
|
flex-direction: row;
|
|
45
61
|
flex-wrap: wrap;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
select_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JXHXRRPX.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlLayout
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SF3YU6PZ.js";
|
|
7
7
|
import {
|
|
8
8
|
scrollIntoView
|
|
9
9
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk.2WRFDMKN.js";
|
|
27
27
|
import {
|
|
28
28
|
LocalizeController
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.LICWCBKN.js";
|
|
30
30
|
import {
|
|
31
31
|
watch
|
|
32
32
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk.EMIT7S33.js";
|
|
8
8
|
import {
|
|
9
9
|
dialog_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.JLZQJQF4.js";
|
|
11
11
|
import {
|
|
12
12
|
HasSlotController
|
|
13
13
|
} from "./chunk.YIY5RM53.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk.2WRFDMKN.js";
|
|
25
25
|
import {
|
|
26
26
|
LocalizeController
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.LICWCBKN.js";
|
|
28
28
|
import {
|
|
29
29
|
watch
|
|
30
30
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -60,6 +60,7 @@ var DSADialog = class extends ShoelaceElement {
|
|
|
60
60
|
this.open = false;
|
|
61
61
|
this.label = "";
|
|
62
62
|
this.hideTitle = false;
|
|
63
|
+
this.noCloseButton = false;
|
|
63
64
|
this.noHeader = false;
|
|
64
65
|
this.size = "medium";
|
|
65
66
|
}
|
|
@@ -86,6 +87,7 @@ var DSADialog = class extends ShoelaceElement {
|
|
|
86
87
|
cancelable: true,
|
|
87
88
|
detail: { source }
|
|
88
89
|
});
|
|
90
|
+
if (this.noCloseButton) dsaRequestClose.preventDefault();
|
|
89
91
|
if (dsaRequestClose.defaultPrevented) {
|
|
90
92
|
const animation = getAnimation(this, "dialog.denyClose", {
|
|
91
93
|
dir: this.localize.dir()
|
|
@@ -256,16 +258,18 @@ var DSADialog = class extends ShoelaceElement {
|
|
|
256
258
|
` : ""}
|
|
257
259
|
<div part="header-actions" class="dialog__header-actions">
|
|
258
260
|
<slot name="header-actions"></slot>
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
261
|
+
${!this.noCloseButton ? x`
|
|
262
|
+
<dsa-icon-button
|
|
263
|
+
part="close-button"
|
|
264
|
+
exportparts="base:close-button__base"
|
|
265
|
+
class="dialog__close"
|
|
266
|
+
name="close"
|
|
267
|
+
label=${this.localize.term("close")}
|
|
268
|
+
@click="${() => this.requestClose("close-button")}"
|
|
269
|
+
library="system"
|
|
270
|
+
size="xlarge"
|
|
271
|
+
></dsa-icon-button>
|
|
272
|
+
` : ""}
|
|
269
273
|
</div>
|
|
270
274
|
</header>
|
|
271
275
|
` : ""}
|
|
@@ -299,6 +303,9 @@ __decorateClass([
|
|
|
299
303
|
__decorateClass([
|
|
300
304
|
n({ attribute: "hide-title", type: Boolean, reflect: true })
|
|
301
305
|
], DSADialog.prototype, "hideTitle", 2);
|
|
306
|
+
__decorateClass([
|
|
307
|
+
n({ attribute: "no-close-button", type: Boolean, reflect: true })
|
|
308
|
+
], DSADialog.prototype, "noCloseButton", 2);
|
|
302
309
|
__decorateClass([
|
|
303
310
|
n({ attribute: "no-header", type: Boolean, reflect: true })
|
|
304
311
|
], DSADialog.prototype, "noHeader", 2);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSARadioGroup
|
|
3
|
+
} from "./chunk.P5KRELMB.js";
|
|
4
|
+
import {
|
|
5
|
+
FormSelectableCard
|
|
6
|
+
} from "./chunk.6BPVPY42.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
10
|
+
import {
|
|
11
|
+
t
|
|
12
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
13
|
+
import {
|
|
14
|
+
__decorateClass
|
|
15
|
+
} from "./chunk.4ZGVANML.js";
|
|
16
|
+
|
|
17
|
+
// src/components/radio-card/radio-card.ts
|
|
18
|
+
var DSARadioCard = class extends FormSelectableCard {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.type = "radio";
|
|
22
|
+
}
|
|
23
|
+
handleClick() {
|
|
24
|
+
if (!this.readonly) {
|
|
25
|
+
this.checked = true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
handleDisabledChange() {
|
|
29
|
+
const parent = this.parentElement;
|
|
30
|
+
if (parent instanceof DSARadioGroup) {
|
|
31
|
+
parent.updateTabIndexes();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
__decorateClass([
|
|
36
|
+
watch(["disabled", "readonly"], { waitUntilFirstUpdate: true })
|
|
37
|
+
], DSARadioCard.prototype, "handleDisabledChange", 1);
|
|
38
|
+
DSARadioCard = __decorateClass([
|
|
39
|
+
t("dsa-radio-card")
|
|
40
|
+
], DSARadioCard);
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
DSARadioCard
|
|
44
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form_control_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.W2B6WXUI.js";
|
|
4
4
|
import {
|
|
5
5
|
component_styles_default
|
|
6
6
|
} from "./chunk.PSQJDSB2.js";
|
|
@@ -86,7 +86,7 @@ var input_otp_styles_default = i`
|
|
|
86
86
|
.single-field__value {
|
|
87
87
|
display: flex;
|
|
88
88
|
justify-content: center;
|
|
89
|
-
width: var(--dsa-wc-input-otp-single-field-width);
|
|
89
|
+
width: var(--dsa-wc-input-otp-single-field-value-width);
|
|
90
90
|
}
|
|
91
91
|
.single-field--active .single-field__value {
|
|
92
92
|
background-color: var(
|