@ds-autonomie/web-components 2.1.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 +40 -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.Y5CXRULD.js → chunk.2QGLZHHF.js} +3 -3
- package/cdn/chunks/chunk.2T2ABKP4.js +348 -0
- 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.PGT2WHXR.js → chunk.4VWDJUDJ.js} +3 -3
- 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.E4GNTJPS.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/{dist/chunks/chunk.IPZC55RV.js → cdn/chunks/chunk.6BXZEG5L.js} +3 -0
- package/cdn/chunks/{chunk.Z6DEWBVS.js → chunk.6NFWRZM6.js} +50 -50
- 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.ZDLDKWEM.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.KTAPO27T.js → chunk.ER5ZWWSU.js} +10 -5
- package/cdn/chunks/{chunk.JTHUYIYP.js → chunk.ERQYJQKU.js} +6 -6
- package/cdn/chunks/{chunk.77JWQ5MT.js → chunk.F34KPGDS.js} +1 -1
- package/cdn/chunks/chunk.F7NUIVDV.js +10 -0
- package/cdn/chunks/{chunk.Y2DCLNZQ.js → chunk.FXVCDQEN.js} +1 -1
- package/cdn/chunks/{chunk.JSVJ7J76.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/cdn/chunks/{chunk.3TUFAITJ.js → 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.OVD3Q2LV.js → chunk.IB463542.js} +6 -3
- package/cdn/chunks/chunk.IONY2GZF.js +72 -0
- package/cdn/chunks/chunk.ITHTXYNC.js +92 -0
- package/cdn/chunks/{chunk.MEYHIAQ5.js → chunk.IZ6KYT7R.js} +30 -15
- package/cdn/chunks/{chunk.Z2IR3WWE.js → chunk.J6J6XRPR.js} +2 -2
- package/cdn/chunks/{chunk.S4BW7KNM.js → chunk.J73YJOU4.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.QCSRN6TI.js → chunk.LYPHJJYB.js} +77 -36
- package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
- package/cdn/chunks/{chunk.5AFQZ4HE.js → chunk.NX5D5OTS.js} +14 -1
- 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.LRMXGBIU.js → chunk.P5KRELMB.js} +63 -65
- package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
- package/cdn/chunks/chunk.PQYUBPRU.js +676 -0
- package/cdn/chunks/chunk.PWL7QCVG.js +9 -0
- package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
- package/cdn/chunks/{chunk.COR7P3QG.js → chunk.ROGVB4AO.js} +4 -4
- 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.PMMQ5QVY.js → chunk.SF3YU6PZ.js} +15 -1
- 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.NPJ5ZOJ4.js → chunk.TO65OMN5.js} +60 -116
- 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.R6BGXKHX.js → chunk.WE7BT7PI.js} +3 -3
- package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
- package/cdn/chunks/{chunk.6E6G25TQ.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.ZTXQFGQX.js +198 -0
- 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 +7 -3
- package/cdn/components/checkbox/checkbox.js +13 -6
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/checkbox-button/checkbox-button.d.ts +1 -0
- 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 +10 -11
- package/cdn/components/checkbox-group/checkbox-group.js +7 -9
- package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/cdn/components/combobox/combobox.d.ts +3 -2
- package/cdn/components/combobox/combobox.js +11 -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.d.ts +3 -2
- 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-stories.js +1 -1
- 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 +26 -19
- package/cdn/components/filter-date/filter-date.js +10 -10
- package/cdn/components/filter-range/filter-range.js +27 -20
- package/cdn/components/filter-select/filter-select.d.ts +5 -3
- package/cdn/components/filter-select/filter-select.js +27 -23
- 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 +20 -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 +13 -12
- package/cdn/components/input-date/input-date.styles.js +3 -3
- package/cdn/components/input-mask/input-mask.js +9 -8
- package/cdn/components/input-mask/input-mask.styles.js +2 -2
- package/cdn/components/input-otp/input-otp.d.ts +90 -0
- package/cdn/components/input-otp/input-otp.js +38 -0
- package/cdn/components/input-otp/input-otp.styles.d.ts +2 -0
- package/cdn/components/input-otp/input-otp.styles.js +11 -0
- package/cdn/components/input-otp/input-otp.utils.d.ts +3 -0
- package/cdn/components/input-otp/input-otp.utils.js +11 -0
- package/cdn/components/input-phone/input-phone.js +16 -15
- 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 +3 -3
- package/cdn/components/navbar-menu/navbar-menu.js +5 -5
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/pagination/pagination.js +25 -20
- 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 +10 -11
- 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 +6 -5
- package/cdn/components/radio-group/radio-group.js +7 -9
- 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.d.ts +4 -2
- package/cdn/components/select/select.js +10 -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 +6 -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 +2 -2
- 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 +17 -13
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +14 -8
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.js +8 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +18 -11
- package/cdn/components/tree-item/tree-item.js +16 -9
- package/cdn/custom-elements.json +6157 -4244
- package/cdn/design-system.d.ts +8 -2
- package/cdn/design-system.js +350 -160
- package/cdn/internal/a11y-warning.d.ts +2 -0
- package/cdn/internal/a11y-warning.js +4 -0
- 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 +29 -10
- package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/cdn/internal/components/form-control/form-control-layout.js +10 -1
- 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 +174 -5
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +178 -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/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +238 -14
- package/cdn/web-types.json +1275 -169
- 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.ZYTDWH4E.js → chunk.2W6FOXSH.js} +60 -116
- 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.YXXLXJPE.js → chunk.3HX6HRHC.js} +14 -1
- package/dist/chunks/chunk.3NNE7XGI.js +196 -0
- package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
- package/dist/chunks/{chunk.ZGQUBAEK.js → chunk.4P7DDUA4.js} +3 -3
- package/dist/chunks/{chunk.XXHMFUD7.js → chunk.52V3WTR3.js} +5 -5
- package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
- package/dist/chunks/{chunk.T4BUHP4L.js → chunk.5EBCNG2J.js} +13 -1
- package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
- package/dist/chunks/{chunk.JX7OISYA.js → chunk.5NXRUN57.js} +63 -65
- package/{cdn/chunks/chunk.IPZC55RV.js → dist/chunks/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.LKCPAJMF.js → chunk.77ECBNUM.js} +6 -3
- package/dist/chunks/{chunk.MEPTPSE5.js → chunk.7KMMSAQN.js} +3 -3
- package/dist/chunks/chunk.7YIOE3D2.js +663 -0
- package/dist/chunks/{chunk.OHPSPLZO.js → chunk.AFRAGNLK.js} +6 -6
- package/dist/chunks/chunk.ANOLAL4B.js +90 -0
- package/dist/chunks/{chunk.CQHOJJEI.js → chunk.B2KV6DSI.js} +1 -1
- package/dist/chunks/{chunk.Y72CHU6D.js → chunk.B4SMUSVU.js} +30 -15
- 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.CN6TUCPE.js +335 -0
- 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.P4HRQ2D7.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.F7NUIVDV.js +10 -0
- 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.WWANVBI5.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/dist/chunks/{chunk.3TUFAITJ.js → chunk.HJU52GCK.js} +1 -1
- package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
- package/dist/chunks/{chunk.6GN2WDDT.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.EGH3AVD7.js → chunk.K3HEMTRQ.js} +2 -2
- 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.G422H4DZ.js → chunk.MAENDYI7.js} +50 -50
- package/dist/chunks/{chunk.AF5WMYR2.js → chunk.MYSJOWY5.js} +1 -1
- package/dist/chunks/{chunk.WOV5QN3O.js → chunk.NF5ELBI4.js} +4 -4
- package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
- package/dist/chunks/chunk.NVQTI6CK.js +44 -0
- package/dist/chunks/{chunk.D3SHMAJT.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.BXOGG3JO.js → chunk.P5DC3N5P.js} +9 -6
- package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
- package/dist/chunks/chunk.PWL7QCVG.js +9 -0
- package/dist/chunks/chunk.PWVYG6XN.js +181 -0
- package/dist/chunks/{chunk.NCECJWN7.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 +7 -3
- package/dist/components/checkbox/checkbox.js +12 -6
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.d.ts +1 -0
- 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 +10 -11
- package/dist/components/checkbox-group/checkbox-group.js +7 -8
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +3 -2
- package/dist/components/combobox/combobox.js +11 -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.d.ts +3 -2
- 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-stories.js +1 -1
- 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 +26 -19
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +27 -20
- package/dist/components/filter-select/filter-select.d.ts +5 -3
- package/dist/components/filter-select/filter-select.js +27 -23
- 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 +20 -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 +13 -12
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +9 -8
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-otp/input-otp.d.ts +90 -0
- package/dist/components/input-otp/input-otp.js +31 -0
- package/dist/components/input-otp/input-otp.styles.d.ts +2 -0
- package/dist/components/input-otp/input-otp.styles.js +9 -0
- package/dist/components/input-otp/input-otp.utils.d.ts +3 -0
- package/dist/components/input-otp/input-otp.utils.js +11 -0
- package/dist/components/input-phone/input-phone.js +16 -15
- 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 +3 -3
- package/dist/components/navbar-menu/navbar-menu.js +5 -5
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/pagination.js +25 -20
- 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 +10 -11
- 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 +6 -5
- package/dist/components/radio-group/radio-group.js +7 -8
- 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.d.ts +4 -2
- package/dist/components/select/select.js +10 -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 +6 -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 +2 -2
- 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 +16 -12
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +14 -8
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.js +8 -7
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +17 -11
- package/dist/components/tree-item/tree-item.js +15 -9
- package/dist/custom-elements.json +6157 -4244
- package/dist/design-system.d.ts +8 -2
- package/dist/design-system.js +343 -157
- package/dist/internal/a11y-warning.d.ts +2 -0
- package/dist/internal/a11y-warning.js +4 -0
- 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 +29 -10
- package/dist/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/dist/internal/components/form-control/form-control-layout.js +10 -1
- 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 +174 -5
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +178 -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/utilities/storybook.js +1 -1
- package/dist/vscode.html-custom-data.json +238 -14
- package/dist/web-types.json +1275 -169
- package/package.json +2 -2
- package/cdn/chunks/chunk.N3WADQAB.js +0 -157
- package/cdn/chunks/chunk.OZEY33RC.js +0 -61
- package/cdn/chunks/chunk.PS4PM6DJ.js +0 -164
- package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
- package/cdn/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/cdn/internal/test/disable-a11y-warnings.js +0 -10
- package/dist/chunks/chunk.35CKPBLE.js +0 -155
- package/dist/chunks/chunk.AYDVF4T3.js +0 -157
- package/dist/chunks/chunk.GDOUDNZH.js +0 -186
- package/dist/chunks/chunk.VOOE2BQV.js +0 -59
- package/dist/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/dist/internal/test/disable-a11y-warnings.js +0 -10
- package/cdn/chunks/{chunk.P33HFS7T.js → chunk.V2UYRTUC.js} +3 -3
- package/dist/chunks/{chunk.7BFH35RV.js → chunk.63MNXWSY.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 81ebb10: `checkbox` ajout des attributs parentDisabled et parentReadonly
|
|
8
|
+
`checkbox-button` ajout des attributs parentDisabled et parentReadonly
|
|
9
|
+
`checkbox-group` modification de la gestion des attributs readonly et disabled
|
|
10
|
+
`radio` ajout des attributs parentDisabled et parentReadonly
|
|
11
|
+
`radio-button` ajout des attributs parentDisabled et parentReadonly
|
|
12
|
+
`radio-group` modification de la gestion des attributs readonly et disabled
|
|
13
|
+
- 2afaa9a: `switch` : ajout du composant
|
|
14
|
+
- 23bc7f7: `input` : harmonisation du comportement du type time sur les différents navigateurs
|
|
15
|
+
- 7b8f634: `radio-card` : ajout du composant carte radio
|
|
16
|
+
`checkbox-card` : ajout du composant carte checkbox
|
|
17
|
+
- c72b2c6: `dialog`: ajout d'un attribut permettant de retirer le bouton de fermeture
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 1795414: `input` : correction de l'état de validité du type date
|
|
22
|
+
- bfa9182: `button` : ajout de la variante `tertiary-with-outline`
|
|
23
|
+
- 80a235e: `dialog`: ajustements graphiques
|
|
24
|
+
- bdd4606: `radio-button` : amélioration de la visibilité de l'état coché en mode contraste élevé
|
|
25
|
+
`radio-group` : possibilité de tabuler sur la première option si la valeur du groupe n'est pas valide
|
|
26
|
+
- 9db287c: `input-date` : focus sur le champ au clic sur le label
|
|
27
|
+
- Updated dependencies [33ff2b9]
|
|
28
|
+
- @ds-autonomie/assets@1.4.4
|
|
29
|
+
|
|
30
|
+
## 2.2.0
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- 647d6c9: `input-otp` : ajout de l'élément One Time Password
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 3ba5fee: `checkbox-group` : correction de la largeur maximale en mode horizontal
|
|
39
|
+
- 1643cca: `checkbox-group': changement du timing de l'initialisation
|
|
40
|
+
- 8503289: `input` : correction de la réinitialisation programmatique du type "date"
|
|
41
|
+
- aad602d: `checkbox-group` : amélioration de la structure interne
|
|
42
|
+
|
|
3
43
|
## 2.1.0
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_mask_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.THMGZ3JS.js";
|
|
4
4
|
import {
|
|
5
5
|
maskedValueToRawValue,
|
|
6
6
|
rawValueToMaskedValue,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk.7OLEA3GQ.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlLayout
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.SF3YU6PZ.js";
|
|
12
12
|
import {
|
|
13
13
|
l
|
|
14
14
|
} from "./chunk.7PPSHHT2.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk.3NWILHZZ.js";
|
|
21
21
|
import {
|
|
22
22
|
LocalizeController
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.LICWCBKN.js";
|
|
24
24
|
import {
|
|
25
25
|
watch
|
|
26
26
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import {
|
|
2
|
+
input_otp_styles_default
|
|
3
|
+
} from "./chunk.ZTXQFGQX.js";
|
|
4
|
+
import {
|
|
5
|
+
FormControlLayout
|
|
6
|
+
} from "./chunk.SF3YU6PZ.js";
|
|
7
|
+
import {
|
|
8
|
+
l
|
|
9
|
+
} from "./chunk.7PPSHHT2.js";
|
|
10
|
+
import {
|
|
11
|
+
defaultValue
|
|
12
|
+
} from "./chunk.YY5FKN3H.js";
|
|
13
|
+
import {
|
|
14
|
+
FormControlController
|
|
15
|
+
} from "./chunk.3NWILHZZ.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
19
|
+
import {
|
|
20
|
+
ifDefinedAndNotEmpty
|
|
21
|
+
} from "./chunk.B6GVVW66.js";
|
|
22
|
+
import {
|
|
23
|
+
o
|
|
24
|
+
} from "./chunk.YQLIIKLI.js";
|
|
25
|
+
import {
|
|
26
|
+
e as e2
|
|
27
|
+
} from "./chunk.IKHG7XGO.js";
|
|
28
|
+
import {
|
|
29
|
+
e,
|
|
30
|
+
n,
|
|
31
|
+
r,
|
|
32
|
+
t
|
|
33
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
34
|
+
import {
|
|
35
|
+
x
|
|
36
|
+
} from "./chunk.7HUC6BF3.js";
|
|
37
|
+
import {
|
|
38
|
+
__decorateClass
|
|
39
|
+
} from "./chunk.4ZGVANML.js";
|
|
40
|
+
|
|
41
|
+
// src/components/input-otp/input-otp.ts
|
|
42
|
+
var DSAInputOTP = class extends FormControlLayout {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
|
+
this.formControlController = new FormControlController(this, {
|
|
46
|
+
assumeInteractionOn: ["dsa-blur", "dsa-input"]
|
|
47
|
+
});
|
|
48
|
+
this.hasFocus = false;
|
|
49
|
+
this.currentIndex = 0;
|
|
50
|
+
this.value = "";
|
|
51
|
+
this.defaultValue = "";
|
|
52
|
+
this.length = 6;
|
|
53
|
+
}
|
|
54
|
+
/** Gets the validity state object */
|
|
55
|
+
get validity() {
|
|
56
|
+
return this.input.validity;
|
|
57
|
+
}
|
|
58
|
+
/** Gets the validation message */
|
|
59
|
+
get validationMessage() {
|
|
60
|
+
return this.input.validationMessage;
|
|
61
|
+
}
|
|
62
|
+
async firstUpdated() {
|
|
63
|
+
await this.updateComplete;
|
|
64
|
+
this.formControlController.updateValidity();
|
|
65
|
+
}
|
|
66
|
+
handleBlur() {
|
|
67
|
+
this.hasFocus = false;
|
|
68
|
+
this.emit("dsa-blur");
|
|
69
|
+
}
|
|
70
|
+
handleChange() {
|
|
71
|
+
this.value = this.input.value;
|
|
72
|
+
this.emit("dsa-change");
|
|
73
|
+
}
|
|
74
|
+
handleFocus() {
|
|
75
|
+
this.currentIndex = this.value ? -1 : 0;
|
|
76
|
+
this.hasFocus = true;
|
|
77
|
+
this.emit("dsa-focus");
|
|
78
|
+
}
|
|
79
|
+
handleInput(event) {
|
|
80
|
+
var _a;
|
|
81
|
+
if (this.patternRegexp && !this.patternRegexp.test(this.input.value)) {
|
|
82
|
+
this.input.value = this.value;
|
|
83
|
+
this.handleCurrentIndexChange();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (this.input.value.length > this.length) {
|
|
87
|
+
this.input.value = this.input.value.slice(0, this.length);
|
|
88
|
+
} else {
|
|
89
|
+
this.value = this.input.value;
|
|
90
|
+
if (!event.data) {
|
|
91
|
+
if (this.currentIndex === 0) {
|
|
92
|
+
this.handleCurrentIndexChange();
|
|
93
|
+
} else if (this.currentIndex === -1) {
|
|
94
|
+
this.currentIndex = 0;
|
|
95
|
+
} else {
|
|
96
|
+
this.currentIndex -= 1;
|
|
97
|
+
}
|
|
98
|
+
} else {
|
|
99
|
+
if (((_a = event.data) == null ? void 0 : _a.length) === 1) {
|
|
100
|
+
this.currentIndex = this.currentIndex < this.length ? this.currentIndex + 1 : this.length - 1;
|
|
101
|
+
} else {
|
|
102
|
+
this.currentIndex = this.getLastIndex();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
this.formControlController.updateValidity();
|
|
106
|
+
this.emit("dsa-input");
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
handleSelect() {
|
|
110
|
+
if (this.input.value.length > 1 && this.input.selectionStart === 0 && this.input.selectionEnd === this.input.value.length) {
|
|
111
|
+
this.currentIndex = -1;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
handleInvalid(event) {
|
|
115
|
+
this.formControlController.setValidity(false);
|
|
116
|
+
this.formControlController.emitInvalidEvent(event);
|
|
117
|
+
}
|
|
118
|
+
handleKeyDown(event) {
|
|
119
|
+
const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
|
|
120
|
+
if (event.key === "Enter" && !hasModifier) {
|
|
121
|
+
setTimeout(() => {
|
|
122
|
+
if (!event.defaultPrevented && !event.isComposing) {
|
|
123
|
+
this.formControlController.submit();
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(event.key)) {
|
|
128
|
+
event.preventDefault();
|
|
129
|
+
switch (event.key) {
|
|
130
|
+
case "ArrowLeft":
|
|
131
|
+
this.currentIndex = this.currentIndex > 0 ? this.currentIndex - 1 : 0;
|
|
132
|
+
break;
|
|
133
|
+
case "ArrowRight":
|
|
134
|
+
if (this.currentIndex === -1) {
|
|
135
|
+
this.currentIndex = this.getLastIndex();
|
|
136
|
+
} else if (this.currentIndex < this.value.length && this.currentIndex < this.length - 1) {
|
|
137
|
+
this.currentIndex += 1;
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
case "ArrowUp":
|
|
141
|
+
this.currentIndex = 0;
|
|
142
|
+
break;
|
|
143
|
+
case "ArrowDown":
|
|
144
|
+
this.currentIndex = this.getLastIndex();
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
handleSingleFieldClick(event) {
|
|
150
|
+
this.focus();
|
|
151
|
+
if (event.currentTarget instanceof HTMLElement) {
|
|
152
|
+
const clickedIndex = Number(event.currentTarget.dataset.fieldIndex);
|
|
153
|
+
this.currentIndex = clickedIndex < this.value.length ? clickedIndex : this.getLastIndex();
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
getLastIndex() {
|
|
157
|
+
return this.value.length > 0 ? Math.min(this.value.length, this.length - 1) : 0;
|
|
158
|
+
}
|
|
159
|
+
getDescriptionIds() {
|
|
160
|
+
const ids = [...this.error ? ["error-text"] : [], "help-text"];
|
|
161
|
+
return ids.join(" ");
|
|
162
|
+
}
|
|
163
|
+
handleCurrentIndexChange() {
|
|
164
|
+
if (this.currentIndex === -1) {
|
|
165
|
+
this.input.setSelectionRange(0, this.input.value.length);
|
|
166
|
+
} else {
|
|
167
|
+
this.input.setSelectionRange(this.currentIndex, this.currentIndex + 1);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
handleDisabledChange() {
|
|
171
|
+
this.formControlController.setValidity(this.disabled);
|
|
172
|
+
}
|
|
173
|
+
async handleValueChange() {
|
|
174
|
+
await this.updateComplete;
|
|
175
|
+
this.formControlController.updateValidity();
|
|
176
|
+
}
|
|
177
|
+
handlePatterChange() {
|
|
178
|
+
this.patternRegexp = new RegExp(this.pattern);
|
|
179
|
+
}
|
|
180
|
+
/** Removes focus from the input. */
|
|
181
|
+
blur() {
|
|
182
|
+
this.input.blur();
|
|
183
|
+
}
|
|
184
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
185
|
+
checkValidity() {
|
|
186
|
+
return this.input.checkValidity();
|
|
187
|
+
}
|
|
188
|
+
/** Sets focus on the input. */
|
|
189
|
+
focus(options) {
|
|
190
|
+
this.input.focus(options);
|
|
191
|
+
}
|
|
192
|
+
/** Gets the associated form, if one exists. */
|
|
193
|
+
getForm() {
|
|
194
|
+
return this.formControlController.getForm();
|
|
195
|
+
}
|
|
196
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
197
|
+
reportValidity() {
|
|
198
|
+
return this.input.reportValidity();
|
|
199
|
+
}
|
|
200
|
+
/** Selects all the text in the input. */
|
|
201
|
+
select() {
|
|
202
|
+
if (this.input instanceof HTMLInputElement) {
|
|
203
|
+
this.input.select();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
207
|
+
setCustomValidity(message) {
|
|
208
|
+
this.input.setCustomValidity(message);
|
|
209
|
+
this.formControlController.updateValidity();
|
|
210
|
+
}
|
|
211
|
+
async getUpdateComplete() {
|
|
212
|
+
const result = await super.getUpdateComplete();
|
|
213
|
+
return result;
|
|
214
|
+
}
|
|
215
|
+
renderSingleField(index) {
|
|
216
|
+
const charValue = this.value.split("")[index];
|
|
217
|
+
const isCurrentField = this.currentIndex === index || this.currentIndex === -1 && charValue;
|
|
218
|
+
const inputClasses = e2({
|
|
219
|
+
"single-field": true,
|
|
220
|
+
"single-field--active": this.hasFocus && isCurrentField
|
|
221
|
+
});
|
|
222
|
+
return x`
|
|
223
|
+
<div
|
|
224
|
+
class=${inputClasses}
|
|
225
|
+
data-field-index=${index}
|
|
226
|
+
aria-hidden="true"
|
|
227
|
+
@click=${this.handleSingleFieldClick}
|
|
228
|
+
>
|
|
229
|
+
${charValue || this.hasFocus && isCurrentField ? x`<span class="single-field__value">${charValue}</span>` : x`
|
|
230
|
+
<span class="single-field__placeholder"
|
|
231
|
+
>${this.placeholder.charAt(0)}</span
|
|
232
|
+
>
|
|
233
|
+
`}
|
|
234
|
+
${this.hasFocus && isCurrentField && !charValue ? x` <div class="fake-caret"></div> ` : ""}
|
|
235
|
+
</div>
|
|
236
|
+
`;
|
|
237
|
+
}
|
|
238
|
+
renderInput() {
|
|
239
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
240
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
241
|
+
return x`
|
|
242
|
+
<div part="base" class="input__wrapper">
|
|
243
|
+
<div
|
|
244
|
+
class=${e2({
|
|
245
|
+
"visible-input": true,
|
|
246
|
+
"input--focused": this.hasFocus,
|
|
247
|
+
// Sizes
|
|
248
|
+
"input--small": this.size === "small",
|
|
249
|
+
"input--medium": this.size === "medium",
|
|
250
|
+
"input--large": this.size === "large",
|
|
251
|
+
// States
|
|
252
|
+
"input--error": this.error,
|
|
253
|
+
"input--on-layer": this.variant === "layer",
|
|
254
|
+
"input--on-base": this.variant === "base",
|
|
255
|
+
"input--disabled": this.disabled
|
|
256
|
+
})}
|
|
257
|
+
>
|
|
258
|
+
${Array.from(Array(this.length)).map(
|
|
259
|
+
(_, index) => this.renderSingleField(index)
|
|
260
|
+
)}
|
|
261
|
+
</div>
|
|
262
|
+
<input
|
|
263
|
+
part="input"
|
|
264
|
+
id="input"
|
|
265
|
+
class="hidden-input"
|
|
266
|
+
type="text"
|
|
267
|
+
name=${ifDefinedAndNotEmpty(this.name)}
|
|
268
|
+
?disabled=${this.disabled}
|
|
269
|
+
?required=${this.required}
|
|
270
|
+
minlength=${this.length}
|
|
271
|
+
maxlength=${this.length}
|
|
272
|
+
.value=${l(this.value)}
|
|
273
|
+
autocomplete="one-time-code"
|
|
274
|
+
?autofocus=${this.autofocus}
|
|
275
|
+
pattern=${o(this.pattern)}
|
|
276
|
+
enterkeyhint=${o(this.enterkeyhint)}
|
|
277
|
+
inputmode=${o(this.inputmode)}
|
|
278
|
+
aria-label=${ifDefinedAndNotEmpty(hasLabel ? void 0 : this.title)}
|
|
279
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
280
|
+
aria-invalid=${o(this.error ? "true" : void 0)}
|
|
281
|
+
@change=${this.handleChange}
|
|
282
|
+
@input=${this.handleInput}
|
|
283
|
+
@invalid=${this.handleInvalid}
|
|
284
|
+
@keydown=${this.handleKeyDown}
|
|
285
|
+
@focus=${this.handleFocus}
|
|
286
|
+
@blur=${this.handleBlur}
|
|
287
|
+
@select=${this.handleSelect}
|
|
288
|
+
/>
|
|
289
|
+
</div>
|
|
290
|
+
`;
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
DSAInputOTP.styles = input_otp_styles_default;
|
|
294
|
+
__decorateClass([
|
|
295
|
+
e("input")
|
|
296
|
+
], DSAInputOTP.prototype, "input", 2);
|
|
297
|
+
__decorateClass([
|
|
298
|
+
r()
|
|
299
|
+
], DSAInputOTP.prototype, "hasFocus", 2);
|
|
300
|
+
__decorateClass([
|
|
301
|
+
r()
|
|
302
|
+
], DSAInputOTP.prototype, "currentIndex", 2);
|
|
303
|
+
__decorateClass([
|
|
304
|
+
r()
|
|
305
|
+
], DSAInputOTP.prototype, "patternRegexp", 2);
|
|
306
|
+
__decorateClass([
|
|
307
|
+
n()
|
|
308
|
+
], DSAInputOTP.prototype, "value", 2);
|
|
309
|
+
__decorateClass([
|
|
310
|
+
defaultValue()
|
|
311
|
+
], DSAInputOTP.prototype, "defaultValue", 2);
|
|
312
|
+
__decorateClass([
|
|
313
|
+
n()
|
|
314
|
+
], DSAInputOTP.prototype, "pattern", 2);
|
|
315
|
+
__decorateClass([
|
|
316
|
+
n({ type: Number })
|
|
317
|
+
], DSAInputOTP.prototype, "length", 2);
|
|
318
|
+
__decorateClass([
|
|
319
|
+
n()
|
|
320
|
+
], DSAInputOTP.prototype, "autocapitalize", 2);
|
|
321
|
+
__decorateClass([
|
|
322
|
+
n({ type: Boolean })
|
|
323
|
+
], DSAInputOTP.prototype, "autofocus", 2);
|
|
324
|
+
__decorateClass([
|
|
325
|
+
n()
|
|
326
|
+
], DSAInputOTP.prototype, "enterkeyhint", 2);
|
|
327
|
+
__decorateClass([
|
|
328
|
+
n()
|
|
329
|
+
], DSAInputOTP.prototype, "inputmode", 2);
|
|
330
|
+
__decorateClass([
|
|
331
|
+
watch("currentIndex", { waitUntilFirstUpdate: true })
|
|
332
|
+
], DSAInputOTP.prototype, "handleCurrentIndexChange", 1);
|
|
333
|
+
__decorateClass([
|
|
334
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
335
|
+
], DSAInputOTP.prototype, "handleDisabledChange", 1);
|
|
336
|
+
__decorateClass([
|
|
337
|
+
watch("value", { waitUntilFirstUpdate: true })
|
|
338
|
+
], DSAInputOTP.prototype, "handleValueChange", 1);
|
|
339
|
+
__decorateClass([
|
|
340
|
+
watch("pattern")
|
|
341
|
+
], DSAInputOTP.prototype, "handlePatterChange", 1);
|
|
342
|
+
DSAInputOTP = __decorateClass([
|
|
343
|
+
t("dsa-input-otp")
|
|
344
|
+
], DSAInputOTP);
|
|
345
|
+
|
|
346
|
+
export {
|
|
347
|
+
DSAInputOTP
|
|
348
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.PSQJDSB2.js";
|
|
4
|
+
import {
|
|
5
|
+
i
|
|
6
|
+
} from "./chunk.4KHZQZ3M.js";
|
|
7
|
+
|
|
8
|
+
// src/components/radio/radio.styles.ts
|
|
9
|
+
var radio_styles_default = i`
|
|
10
|
+
${component_styles_default}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host(:focus-visible) {
|
|
17
|
+
outline: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.radio {
|
|
21
|
+
position: relative;
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
font: var(--dsa-wc-radio-label-font);
|
|
25
|
+
color: var(--dsa-wc-radio-label-color);
|
|
26
|
+
vertical-align: middle;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.radio--small {
|
|
31
|
+
--toggle-size: var(--dsa-wc-radio-size-small);
|
|
32
|
+
font: var(--dsa-wc-radio-label-font-small);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.radio--medium {
|
|
36
|
+
--toggle-size: var(--dsa-wc-radio-size);
|
|
37
|
+
font: var(--dsa-wc-radio-label-font);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.radio--large {
|
|
41
|
+
--toggle-size: var(--dsa-wc-radio-size-large);
|
|
42
|
+
font: var(--dsa-wc-radio-label-font-large);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.radio__input {
|
|
46
|
+
position: absolute;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
padding: 0;
|
|
49
|
+
margin: 0;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Checked + focus */
|
|
54
|
+
:host(:focus-visible) dsa-internal-radio-icon::part(control) {
|
|
55
|
+
outline: var(--dsa-wc-focus-ring);
|
|
56
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.radio__label {
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
color: var(--dsa-wc-radio-label-color);
|
|
62
|
+
line-height: var(--toggle-size);
|
|
63
|
+
justify-content: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
margin-inline-start: 0.5em;
|
|
66
|
+
user-select: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Disabled */
|
|
70
|
+
|
|
71
|
+
.radio--disabled {
|
|
72
|
+
cursor: not-allowed;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.radio--disabled .radio__label {
|
|
76
|
+
color: var(--dsa-wc-radio-label-color-disabled);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Error */
|
|
80
|
+
.radio__label.radio__label--error {
|
|
81
|
+
color: var(--dsa-wc-input-label-color-error) !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Readonly */
|
|
85
|
+
.radio--readonly {
|
|
86
|
+
cursor: not-allowed;
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
radio_styles_default
|
|
92
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
footer_styles_default
|
|
3
|
-
} from "./chunk.XSXBXWVS.js";
|
|
4
1
|
import {
|
|
5
2
|
footerLogoSvg
|
|
6
3
|
} from "./chunk.SSQ53AGL.js";
|
|
4
|
+
import {
|
|
5
|
+
footer_styles_default
|
|
6
|
+
} from "./chunk.QFP2EIRS.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.LICWCBKN.js";
|
|
13
13
|
import {
|
|
14
14
|
e
|
|
15
15
|
} from "./chunk.IKHG7XGO.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.O4MZVDWB.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlLayout
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SF3YU6PZ.js";
|
|
7
7
|
import {
|
|
8
8
|
combobox_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.7FRA5H32.js";
|
|
10
10
|
import {
|
|
11
11
|
scrollIntoView
|
|
12
12
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk.2WRFDMKN.js";
|
|
30
30
|
import {
|
|
31
31
|
LocalizeController
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.LICWCBKN.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.4FQJ3QJK.js";
|