@ds-autonomie/web-components 2.4.1 → 2.5.1
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 +36 -0
- package/cdn/chunks/{chunk.SXO3JE2C.js → chunk.2BQQJKFU.js} +20 -112
- package/cdn/chunks/{chunk.Y5RTMSTB.js → chunk.2S3446TB.js} +1 -1
- package/cdn/chunks/{chunk.EZ2CTTR3.js → chunk.3E3HJ2GB.js} +3 -3
- package/cdn/chunks/{chunk.ZCBARTO2.js → chunk.3PDDINNE.js} +6 -0
- package/cdn/chunks/{chunk.A5QRPK4Q.js → chunk.3XJTVFZ2.js} +1 -1
- package/cdn/chunks/{chunk.45DY5Z6P.js → chunk.3XMYYR4P.js} +1 -5
- package/cdn/chunks/{chunk.N7TSHDJG.js → chunk.3YELONZ5.js} +1 -1
- package/cdn/chunks/chunk.4OAG5UWA.js +72 -0
- package/cdn/chunks/{chunk.HBIJX2WM.js → chunk.4Q4LBN6D.js} +1 -1
- package/cdn/chunks/{chunk.YJBMFRB4.js → chunk.4UMO5YHQ.js} +1 -1
- package/cdn/chunks/{chunk.3OSWL542.js → chunk.53DHJKYL.js} +0 -6
- package/cdn/chunks/{chunk.EB3VB5VL.js → chunk.5B3X2KU4.js} +7 -4
- package/cdn/chunks/chunk.5QJ7KDER.js +124 -0
- package/cdn/chunks/chunk.6CVNT3XU.js +108 -0
- package/cdn/chunks/{chunk.5BQ2BGS6.js → chunk.6KSC4CRL.js} +1 -0
- package/cdn/chunks/{chunk.WJDOTH54.js → chunk.6SV5RDDG.js} +1 -1
- package/cdn/chunks/{chunk.5VZE6TSA.js → chunk.6UY5XC7A.js} +1 -1
- package/cdn/chunks/{chunk.MHOWVZXY.js → chunk.7CBNLWGC.js} +41 -155
- package/cdn/chunks/{chunk.CUFMKSEN.js → chunk.7ZJHGFQH.js} +9 -2
- package/cdn/chunks/chunk.A747OEHH.js +145 -0
- package/cdn/chunks/{chunk.OJFCPMJA.js → chunk.BBWKTDH3.js} +1 -1
- package/cdn/chunks/chunk.BDPH2MRN.js +234 -0
- package/cdn/chunks/{chunk.JO52YCNJ.js → chunk.BKSVKEYX.js} +1 -1
- package/cdn/chunks/{chunk.VARBZAJP.js → chunk.BMQ5WSY7.js} +2 -0
- package/cdn/chunks/{chunk.MCSZ2F65.js → chunk.BQ3SI4TM.js} +1 -1
- package/cdn/chunks/{chunk.5UVKMYSG.js → chunk.BQX4GGIU.js} +18 -12
- package/cdn/chunks/{chunk.H2OEFMQC.js → chunk.BWYI3OOJ.js} +0 -6
- package/cdn/chunks/chunk.CAWNJ57J.js +291 -0
- package/cdn/chunks/{chunk.NTOOFOWB.js → chunk.DBJLSCQP.js} +2 -2
- package/cdn/chunks/{chunk.SJM5UCFK.js → chunk.DRUKNJJ5.js} +1 -1
- package/cdn/chunks/{chunk.URME4YZI.js → chunk.E2ERJT5L.js} +4 -121
- package/cdn/chunks/{chunk.CMRQV2SO.js → chunk.EVV7CPIX.js} +3 -3
- package/cdn/chunks/{chunk.ZDF27RIQ.js → chunk.EYKHHWR5.js} +1 -1
- package/cdn/chunks/{chunk.GXQMOXKI.js → chunk.GVTFDL2C.js} +0 -4
- package/cdn/chunks/{chunk.GBGDDTEL.js → chunk.HOIWGDVX.js} +1 -1
- package/cdn/chunks/chunk.I6WQAXU3.js +85 -0
- package/cdn/chunks/{chunk.ICBLN3KB.js → chunk.IPKU2NK6.js} +29 -7
- package/cdn/chunks/{chunk.KSCPGWVT.js → chunk.JEOLRBU6.js} +1 -1
- package/cdn/chunks/{chunk.6FWACI3G.js → chunk.JOVZPGCQ.js} +1 -1
- package/cdn/chunks/{chunk.UM64ZD3C.js → chunk.JUCW3BPM.js} +1 -1
- package/cdn/chunks/{chunk.4ZEHBLJR.js → chunk.KNKNPTGU.js} +1 -1
- package/cdn/chunks/{chunk.WQ3NUYLG.js → chunk.KQJPZZKZ.js} +7 -8
- package/cdn/chunks/{chunk.WYTP4TFA.js → chunk.LEW43Y6P.js} +1 -1
- package/cdn/chunks/{chunk.PK4XXM66.js → chunk.LIJWOM2P.js} +1 -1
- package/cdn/chunks/chunk.LPB2VMCT.js +74 -0
- package/cdn/chunks/{chunk.EF2VOGBL.js → chunk.LYIECKOK.js} +1 -1
- package/cdn/chunks/{chunk.KLIZYLWG.js → chunk.M4YRRHEL.js} +1 -1
- package/cdn/chunks/{chunk.OFWHWMUH.js → chunk.MJMSFEEL.js} +1 -1
- package/cdn/chunks/{chunk.JD7YUYPB.js → chunk.MMT7DZQU.js} +53 -20
- package/cdn/chunks/{chunk.LFBIXLMF.js → chunk.MRBMS4RB.js} +10 -6
- package/cdn/chunks/{chunk.VI5JEKGK.js → chunk.N74GMZQD.js} +1 -1
- package/cdn/chunks/{chunk.2FOGPUI3.js → chunk.NMVBZ537.js} +1 -1
- package/cdn/chunks/{chunk.VRC57YIG.js → chunk.NNXRECFT.js} +1 -1
- package/cdn/chunks/chunk.NON7TU3E.js +15 -0
- package/cdn/chunks/{chunk.E7IRWRZH.js → chunk.NUMKSKYJ.js} +1 -1
- package/cdn/chunks/{chunk.FTI4C7U6.js → chunk.NYK3GS67.js} +1 -1
- package/cdn/chunks/{chunk.L3ZYNSI3.js → chunk.OCDDQJHV.js} +3 -3
- package/cdn/chunks/{chunk.BNLQUWBO.js → chunk.OQUR5UM4.js} +1 -1
- package/cdn/chunks/{chunk.LCA7FDI4.js → chunk.PQ4KTIXS.js} +4 -130
- package/cdn/chunks/{chunk.6HLUBEKO.js → chunk.PQNNELEM.js} +1 -1
- package/cdn/chunks/{chunk.OVBLP5E4.js → chunk.PRP4B2TV.js} +1 -1
- package/cdn/chunks/chunk.PT3QFRYN.js +336 -0
- package/cdn/chunks/{chunk.KYZIL6TB.js → chunk.PZQUQ6DG.js} +1 -1
- package/cdn/chunks/chunk.QCPGBCQ3.js +72 -0
- package/cdn/chunks/{chunk.AJFNFADL.js → chunk.QUA6RD7E.js} +1 -1
- package/cdn/chunks/{chunk.4XTAL3PC.js → chunk.QYS7Y562.js} +3 -3
- package/cdn/chunks/{chunk.QKLRW3JL.js → chunk.RHJUPBW2.js} +4 -4
- package/cdn/chunks/chunk.RNF5H43X.js +199 -0
- package/cdn/chunks/{chunk.P6NF7VUG.js → chunk.RRVYERI6.js} +1 -1
- package/cdn/chunks/{chunk.6XVWAOAW.js → chunk.SDRL7END.js} +1 -1
- package/cdn/chunks/{chunk.FAPQZI57.js → chunk.SMJWBG6U.js} +1 -1
- package/cdn/chunks/{chunk.E36IR3BP.js → chunk.SPK4CXKV.js} +1 -1
- package/cdn/chunks/{chunk.NMGNR4EL.js → chunk.SS3GSU3M.js} +1 -1
- package/cdn/chunks/{chunk.67KNPORK.js → chunk.SUXMTZZQ.js} +1 -1
- package/cdn/chunks/chunk.T4PQY3SD.js +194 -0
- package/cdn/chunks/{chunk.XS7VEXEG.js → chunk.T6APUNAB.js} +22 -114
- package/cdn/chunks/{chunk.VZJGVIXG.js → chunk.UJQUHHXT.js} +2 -0
- package/cdn/chunks/{chunk.2YVHHVLG.js → chunk.UORXHDBJ.js} +3 -2
- package/cdn/chunks/{chunk.OMPBUYUW.js → chunk.UYGSA2IW.js} +5 -5
- package/cdn/chunks/chunk.W6RA2ZKW.js +124 -0
- package/cdn/chunks/{chunk.AZBK27ET.js → chunk.WQLZJXIF.js} +1 -1
- package/cdn/chunks/{chunk.OSJ5I4FK.js → chunk.WWI5IYQY.js} +8 -3
- package/cdn/chunks/{chunk.SMWE3ICX.js → chunk.XGOXFBM5.js} +1 -1
- package/cdn/chunks/{chunk.JVTWZUNG.js → chunk.XODAGFNB.js} +1 -1
- package/cdn/chunks/{chunk.7YE2BWH2.js → chunk.XYXJQSTL.js} +1 -1
- package/cdn/chunks/{chunk.KOWSS3HP.js → chunk.Y2RQJPXD.js} +1 -1
- package/cdn/chunks/{chunk.KPS4A22J.js → chunk.Y4XSMWCI.js} +1 -1
- package/cdn/chunks/{chunk.PIFZYHAW.js → chunk.YAK3QGTM.js} +1 -1
- package/cdn/chunks/chunk.YGJ3KERC.js +290 -0
- package/cdn/chunks/chunk.YGZ44MNV.js +64 -0
- package/cdn/chunks/{chunk.RZUPGCMM.js → chunk.YSKD4LUA.js} +1 -5
- package/cdn/chunks/{chunk.K4B5TCNN.js → chunk.YX277NFA.js} +1 -1
- package/cdn/chunks/{chunk.XHB6RI7B.js → chunk.ZHNP2Z3B.js} +5 -5
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/anchor-tag/anchor-tag.d.ts +2 -1
- package/cdn/components/anchor-tag/anchor-tag.js +1 -1
- package/cdn/components/avatar/avatar.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/calendar/calendar.js +2 -2
- package/cdn/components/callout/callout.js +2 -2
- package/cdn/components/card/card.d.ts +0 -2
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/card-content/card-content.d.ts +51 -0
- package/cdn/components/card-content/card-content.js +28 -0
- package/cdn/components/card-content/card-content.styles.js +10 -0
- package/cdn/components/card-nav/card-nav.d.ts +23 -0
- package/cdn/components/card-nav/card-nav.js +15 -0
- package/cdn/components/{include/include.styles.js → card-nav/card-nav.styles.js} +3 -3
- package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +30 -0
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +10 -0
- package/cdn/components/card-nav-item/card-nav-item.d.ts +38 -0
- package/cdn/components/card-nav-item/card-nav-item.js +26 -0
- package/cdn/components/card-nav-item/card-nav-item.styles.js +10 -0
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/checkbox-button/checkbox-button.js +4 -4
- package/cdn/components/checkbox-card/checkbox-card.js +4 -4
- package/cdn/components/checkbox-group/checkbox-group.js +3 -3
- package/cdn/components/combobox/combobox.js +6 -6
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/download-card/download-card.js +2 -2
- package/cdn/components/download-link/download-link.js +2 -2
- package/cdn/components/drawer/drawer.js +4 -4
- package/cdn/components/dropdown/dropdown.d.ts +0 -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 +2 -2
- package/cdn/components/fieldset/fieldset.d.ts +39 -0
- package/cdn/components/fieldset/fieldset.js +17 -0
- package/cdn/components/fieldset/fieldset.styles.d.ts +2 -0
- package/cdn/components/fieldset/fieldset.styles.js +10 -0
- package/cdn/components/file-upload/file-upload.js +4 -4
- package/cdn/components/file-upload-item/file-upload-item.js +2 -2
- package/cdn/components/filter-base/filter-base.js +5 -5
- package/cdn/components/filter-button/filter-button.js +4 -4
- package/cdn/components/filter-counter/filter-counter.js +24 -21
- package/cdn/components/filter-date/filter-date.js +11 -11
- package/cdn/components/filter-range/filter-range.js +24 -21
- package/cdn/components/filter-select/filter-select.js +25 -22
- package/cdn/components/footer/footer.js +2 -2
- 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 +6 -6
- package/cdn/components/icon/icon.js +2 -2
- package/cdn/components/icon-button/icon-button.js +2 -2
- package/cdn/components/input/input.d.ts +17 -81
- package/cdn/components/input/input.js +17 -14
- package/cdn/components/input-date/input-date.d.ts +4 -42
- package/cdn/components/input-date/input-date.js +11 -10
- package/cdn/components/input-date/input-date.styles.js +2 -2
- package/cdn/components/input-mask/input-mask.d.ts +3 -50
- package/cdn/components/input-mask/input-mask.js +5 -4
- package/cdn/components/input-native/input-native.d.ts +57 -0
- package/cdn/components/input-native/input-native.js +43 -0
- package/cdn/components/input-native/input-native.styles.d.ts +2 -0
- package/cdn/components/{input/input.styles.js → input-native/input-native.styles.js} +4 -3
- package/cdn/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
- package/cdn/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
- package/cdn/components/input-otp/input-otp.d.ts +6 -50
- package/cdn/components/input-otp/input-otp.js +4 -3
- package/cdn/components/input-phone/input-phone.d.ts +5 -36
- package/cdn/components/input-phone/input-phone.js +8 -7
- package/cdn/components/input-time/input-time.d.ts +8 -53
- package/cdn/components/input-time/input-time.js +7 -6
- package/cdn/components/input-time/input-time.styles.js +2 -2
- package/cdn/components/menu-accordion/menu-accordion.js +4 -4
- package/cdn/components/menu-item/menu-item.d.ts +1 -1
- package/cdn/components/menu-item/menu-item.js +5 -4
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -3
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +2 -2
- package/cdn/components/navbar-menu/navbar-menu.js +4 -4
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.js +18 -15
- package/cdn/components/profile-button/profile-button.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +2 -2
- package/cdn/components/radio/radio.js +3 -3
- package/cdn/components/radio-button/radio-button.js +2 -2
- package/cdn/components/radio-card/radio-card.js +4 -4
- package/cdn/components/radio-group/radio-group.js +2 -2
- package/cdn/components/relative-time/relative-time.d.ts +1 -1
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/resize-observer/resize-observer.d.ts +1 -3
- package/cdn/components/select/select.js +5 -5
- 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 +4 -4
- package/cdn/components/step/step.js +4 -4
- package/cdn/components/switch/switch.js +4 -4
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-group/tab-group.d.ts +2 -0
- package/cdn/components/tab-group/tab-group.js +4 -4
- package/cdn/components/table/table.js +2 -2
- package/cdn/components/table/table.styles.js +1 -1
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +3 -3
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.js +2 -2
- package/cdn/components/table-head/table-head.js +3 -3
- package/cdn/components/table-header-cell/table-header-cell.js +4 -4
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +10 -10
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +7 -7
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/tag-button/tag-button.d.ts +53 -0
- package/cdn/components/tag-button/tag-button.js +18 -0
- package/cdn/components/tag-button/tag-button.styles.d.ts +2 -0
- package/cdn/components/tag-button/tag-button.styles.js +10 -0
- package/cdn/components/textarea/textarea.js +2 -2
- package/cdn/components/tooltip/tooltip.d.ts +2 -0
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/custom-elements.json +7595 -8126
- package/cdn/design-system.d.ts +7 -2
- package/cdn/design-system.js +176 -148
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
- package/cdn/internal/components/date-field/date-field.d.ts +11 -0
- package/cdn/internal/components/date-field/date-field.js +23 -1
- package/cdn/internal/components/input-base/input-base.d.ts +118 -0
- package/cdn/internal/components/input-base/input-base.js +313 -0
- package/cdn/internal/components/input-base/input-base.styles.d.ts +2 -0
- package/cdn/internal/components/input-base/input-base.styles.js +302 -0
- package/cdn/internal/components/input-base/input-base.utils.d.ts +1 -0
- package/cdn/internal/components/input-base/input-base.utils.js +1 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +0 -6
- package/cdn/themes/dsa-wc-theme.css +94 -2
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +100 -2
- 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/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +225 -355
- package/cdn/web-types.json +3580 -4067
- package/dist/chunks/{chunk.TKV7I7MM.js → chunk.2655IKKL.js} +9 -2
- package/dist/chunks/chunk.2EO2NJQJ.js +118 -0
- package/dist/chunks/{chunk.QEZ5FSIU.js → chunk.2GAMN72N.js} +1 -1
- package/dist/chunks/{chunk.DNLOBVBE.js → chunk.2JRGVS6D.js} +1 -1
- package/dist/chunks/chunk.3CWUZQRT.js +325 -0
- package/dist/chunks/{chunk.7K5DG6KV.js → chunk.3RMSYRZA.js} +1 -1
- package/dist/chunks/chunk.3XTO3LV5.js +62 -0
- package/dist/chunks/chunk.3YZI5GBX.js +72 -0
- package/dist/chunks/{chunk.KDEA34PP.js → chunk.4JZFGBJP.js} +1 -1
- package/dist/chunks/{chunk.OKUA77L4.js → chunk.4S7APMGY.js} +18 -12
- package/dist/chunks/{chunk.MWWI3AU2.js → chunk.4VHQEXSY.js} +1 -1
- package/dist/chunks/{chunk.PWVYG6XN.js → chunk.4ZAABSYS.js} +0 -6
- package/dist/chunks/{chunk.ZAZPAXHI.js → chunk.54XEUZ55.js} +1 -1
- package/dist/chunks/chunk.5KTLM3MD.js +106 -0
- package/dist/chunks/{chunk.JHA6OLMK.js → chunk.635JP52V.js} +3 -3
- package/dist/chunks/{chunk.O4HVYU6G.js → chunk.63BQQE4G.js} +27 -5
- package/dist/chunks/{chunk.AMTRQ7HP.js → chunk.6AKP5BRZ.js} +1 -1
- package/dist/chunks/{chunk.SRP6V7OW.js → chunk.6KMLQCBG.js} +1 -1
- package/dist/chunks/chunk.6MWXS55V.js +136 -0
- package/dist/chunks/{chunk.KENYJWWA.js → chunk.6NGHRQYD.js} +1 -1
- package/dist/chunks/{chunk.KGZXCKP2.js → chunk.6XCFILBM.js} +1 -1
- package/dist/chunks/{chunk.OWV6XZFR.js → chunk.7QLR3F26.js} +1 -1
- package/dist/chunks/{chunk.UKZA4PJB.js → chunk.AATHH5ZK.js} +1 -1
- package/dist/chunks/{chunk.X4HFQ4MT.js → chunk.AB7T3PSN.js} +1 -1
- package/dist/chunks/chunk.ADUUYLJY.js +79 -0
- package/dist/chunks/{chunk.XVFPRM26.js → chunk.AHHKOQL3.js} +1 -1
- package/dist/chunks/{chunk.JRJB2DFE.js → chunk.AJCLNOPZ.js} +1 -1
- package/dist/chunks/{chunk.4SVX6VCY.js → chunk.ARDX2RVR.js} +1 -1
- package/dist/chunks/{chunk.V4U5XMU7.js → chunk.B7LEFGX4.js} +1 -1
- package/dist/chunks/{chunk.P2LEUT2Q.js → chunk.BYB2ODNQ.js} +4 -121
- package/dist/chunks/{chunk.INFNQBQD.js → chunk.CPBWQ6BE.js} +1 -1
- package/dist/chunks/{chunk.6BOM4P42.js → chunk.DHCXNXX3.js} +5 -5
- package/dist/chunks/chunk.DJNQIAYV.js +283 -0
- package/dist/chunks/{chunk.7MGKJTDJ.js → chunk.DKIEKIV4.js} +4 -130
- package/dist/chunks/{chunk.OHDR6G6J.js → chunk.DMIXIORN.js} +3 -3
- package/dist/chunks/{chunk.SG42FXRA.js → chunk.DUPWIWDC.js} +41 -155
- package/dist/chunks/{chunk.Z2A5AEMU.js → chunk.DXRDCCL4.js} +1 -1
- package/dist/chunks/{chunk.IW4EYF6Z.js → chunk.DZVHKOGO.js} +1 -1
- package/dist/chunks/{chunk.QG62LWYX.js → chunk.EEK6ZGS2.js} +1 -4
- package/dist/chunks/{chunk.EWL56M5H.js → chunk.EQDAZLA2.js} +7 -4
- package/dist/chunks/{chunk.E7S4C6P7.js → chunk.ETG5DAHF.js} +1 -1
- package/dist/chunks/{chunk.SA7GMM2I.js → chunk.EWOJ3XVB.js} +3 -3
- package/dist/chunks/{chunk.6SDBUBGE.js → chunk.FKOYZI2V.js} +2 -0
- package/dist/chunks/{chunk.IHTWK22H.js → chunk.G5ZFFB2V.js} +5 -5
- package/dist/chunks/{chunk.XNVSET6H.js → chunk.I4XFUHWM.js} +1 -1
- package/dist/chunks/{chunk.U2RG7USD.js → chunk.IR5ZDNLY.js} +1 -1
- package/dist/chunks/chunk.J4QE6NJC.js +70 -0
- package/dist/chunks/{chunk.O4ZSTSXZ.js → chunk.JQS5RPAK.js} +1 -5
- package/dist/chunks/{chunk.GNJX6QSO.js → chunk.K4XU6L7E.js} +1 -1
- package/dist/chunks/{chunk.DKTT254G.js → chunk.KFBHQJJP.js} +6 -0
- package/dist/chunks/{chunk.M4H37WUH.js → chunk.L2B7WMWE.js} +8 -3
- package/dist/chunks/{chunk.GRNDTTXR.js → chunk.L7SZMI27.js} +1 -1
- package/dist/chunks/chunk.LGV7OXTA.js +186 -0
- package/dist/chunks/{chunk.NASETPCZ.js → chunk.LXS4P57X.js} +1 -1
- package/dist/chunks/{chunk.UCIFKWMI.js → chunk.MF7KW7MX.js} +1 -1
- package/dist/chunks/{chunk.P7SN3TMY.js → chunk.NJNQX6FX.js} +1 -1
- package/dist/chunks/{chunk.533C7JJH.js → chunk.NKOMMJMK.js} +10 -6
- package/dist/chunks/chunk.NZEV2R75.js +197 -0
- package/dist/chunks/{chunk.IXAKBOI4.js → chunk.ORWJR56M.js} +1 -1
- package/dist/chunks/{chunk.7XUPS5FG.js → chunk.PHSUFADX.js} +1 -0
- package/dist/chunks/chunk.Q2BCYSPM.js +70 -0
- package/dist/chunks/{chunk.PD6ETZGV.js → chunk.Q3II5ELV.js} +1 -1
- package/dist/chunks/{chunk.YWHYMKYI.js → chunk.QADAWCTI.js} +2 -0
- package/dist/chunks/chunk.QFO2VDJ3.js +286 -0
- package/dist/chunks/{chunk.TTZ6Y7GB.js → chunk.QGPBBIGJ.js} +1 -1
- package/dist/chunks/{chunk.XQDC25MI.js → chunk.QJIY2G7A.js} +1 -1
- package/dist/chunks/{chunk.H3X3D747.js → chunk.QLT366CP.js} +1 -5
- package/dist/chunks/{chunk.DFBKUH2U.js → chunk.RGHMS6RU.js} +1 -1
- package/dist/chunks/{chunk.2JCMUNW4.js → chunk.RURHQSLF.js} +1 -1
- package/dist/chunks/{chunk.LUPOBRAQ.js → chunk.SDT5BB26.js} +7 -8
- package/dist/chunks/{chunk.TXMAH3OK.js → chunk.SFD6GJDA.js} +53 -20
- package/dist/chunks/{chunk.ZRW5L2NC.js → chunk.SGKW2DOH.js} +3 -2
- package/dist/chunks/{chunk.IUPSCAN6.js → chunk.SGVMH2WK.js} +1 -1
- package/dist/chunks/{chunk.4URSPC26.js → chunk.SJN7BDOD.js} +1 -1
- package/dist/chunks/{chunk.5VC7IHJ2.js → chunk.STKBEBVL.js} +1 -1
- package/dist/chunks/{chunk.4VJTOIB4.js → chunk.SV6UZ7XX.js} +1 -1
- package/dist/chunks/{chunk.IFDJNZPC.js → chunk.SW6R5A3O.js} +1 -1
- package/dist/chunks/{chunk.H7ZLX7SO.js → chunk.TODRUEYV.js} +3 -3
- package/dist/chunks/chunk.TZVFQDBB.js +122 -0
- package/dist/chunks/chunk.ULPMZDTP.js +13 -0
- package/dist/chunks/{chunk.2BZBH3CX.js → chunk.URDP5HQR.js} +0 -6
- package/dist/chunks/{chunk.S6XG7G6X.js → chunk.VDYAE3MB.js} +2 -2
- package/dist/chunks/{chunk.XG7KR6BI.js → chunk.WDLYTTNO.js} +1 -1
- package/dist/chunks/{chunk.ZH3OZSYO.js → chunk.X6M22EYD.js} +22 -114
- package/dist/chunks/chunk.XAF7DDXJ.js +228 -0
- package/dist/chunks/{chunk.FC7AQRZS.js → chunk.XODWG3UJ.js} +1 -1
- package/dist/chunks/{chunk.GZEVQN6J.js → chunk.Y4CDJYQO.js} +20 -112
- package/dist/chunks/{chunk.RS4S7SAD.js → chunk.Y6XPKQ25.js} +1 -1
- package/dist/chunks/{chunk.7E57JVUE.js → chunk.YCRHX2XL.js} +1 -1
- package/dist/chunks/{chunk.JZYJ2V4F.js → chunk.YGRXSNFC.js} +1 -1
- package/dist/chunks/{chunk.MTOENDDR.js → chunk.YT4ZDRKX.js} +1 -1
- package/dist/chunks/{chunk.Y3I7GUNB.js → chunk.Z42XBNIN.js} +1 -1
- package/dist/chunks/{chunk.DISFQ7ZU.js → chunk.ZMMQOF24.js} +1 -1
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/anchor-tag/anchor-tag.d.ts +2 -1
- package/dist/components/anchor-tag/anchor-tag.js +1 -1
- package/dist/components/avatar/avatar.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +5 -5
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.js +2 -2
- package/dist/components/card/card.d.ts +0 -2
- package/dist/components/card/card.js +1 -1
- package/dist/components/card-content/card-content.d.ts +51 -0
- package/dist/components/card-content/card-content.js +22 -0
- package/dist/components/card-content/card-content.styles.d.ts +2 -0
- package/dist/components/card-content/card-content.styles.js +8 -0
- package/dist/components/card-nav/card-nav.d.ts +23 -0
- package/dist/components/card-nav/card-nav.js +12 -0
- package/dist/components/card-nav/card-nav.styles.d.ts +2 -0
- package/dist/components/card-nav/card-nav.styles.js +8 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.js +25 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.d.ts +2 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +8 -0
- package/dist/components/card-nav-item/card-nav-item.d.ts +38 -0
- package/dist/components/card-nav-item/card-nav-item.js +21 -0
- package/dist/components/card-nav-item/card-nav-item.styles.d.ts +2 -0
- package/dist/components/card-nav-item/card-nav-item.styles.js +8 -0
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-card/checkbox-card.js +4 -4
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/download-card/download-card.js +2 -2
- package/dist/components/download-link/download-link.js +2 -2
- package/dist/components/drawer/drawer.js +4 -4
- package/dist/components/dropdown/dropdown.d.ts +0 -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 +2 -2
- package/dist/components/fieldset/fieldset.d.ts +39 -0
- package/dist/components/fieldset/fieldset.js +13 -0
- package/dist/components/fieldset/fieldset.styles.d.ts +2 -0
- package/dist/components/fieldset/fieldset.styles.js +8 -0
- package/dist/components/file-upload/file-upload.js +4 -4
- package/dist/components/file-upload-item/file-upload-item.js +2 -2
- package/dist/components/filter-base/filter-base.js +5 -5
- package/dist/components/filter-button/filter-button.js +4 -4
- package/dist/components/filter-counter/filter-counter.js +23 -20
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +23 -20
- package/dist/components/filter-select/filter-select.js +24 -21
- package/dist/components/footer/footer.js +2 -2
- 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 +6 -6
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/icon-button/icon-button.js +2 -2
- package/dist/components/input/input.d.ts +17 -81
- package/dist/components/input/input.js +16 -13
- package/dist/components/input-date/input-date.d.ts +4 -42
- package/dist/components/input-date/input-date.js +10 -9
- package/dist/components/input-date/input-date.styles.js +2 -2
- package/dist/components/input-mask/input-mask.d.ts +3 -50
- package/dist/components/input-mask/input-mask.js +5 -4
- package/dist/components/input-native/input-native.d.ts +57 -0
- package/dist/components/input-native/input-native.js +35 -0
- package/dist/components/input-native/input-native.styles.d.ts +2 -0
- package/dist/components/input-native/input-native.styles.js +10 -0
- package/dist/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
- package/dist/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
- package/dist/components/input-otp/input-otp.d.ts +6 -50
- package/dist/components/input-otp/input-otp.js +4 -3
- package/dist/components/input-phone/input-phone.d.ts +5 -36
- package/dist/components/input-phone/input-phone.js +8 -7
- package/dist/components/input-time/input-time.d.ts +8 -53
- package/dist/components/input-time/input-time.js +7 -6
- package/dist/components/input-time/input-time.styles.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.js +4 -4
- package/dist/components/menu-item/menu-item.d.ts +1 -1
- package/dist/components/menu-item/menu-item.js +5 -4
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.d.ts +1 -3
- package/dist/components/mutation-observer/mutation-observer.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +2 -2
- package/dist/components/navbar-menu/navbar-menu.js +4 -4
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/pagination.js +17 -14
- package/dist/components/profile-button/profile-button.js +5 -5
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-card/radio-card.js +4 -4
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/relative-time/relative-time.d.ts +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/resize-observer/resize-observer.d.ts +1 -3
- package/dist/components/select/select.js +5 -5
- 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 +4 -4
- package/dist/components/step/step.js +4 -4
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.d.ts +2 -0
- package/dist/components/tab-group/tab-group.js +4 -4
- package/dist/components/table/table.js +2 -2
- package/dist/components/table/table.styles.js +1 -1
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +3 -3
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-head/table-head.js +3 -3
- package/dist/components/table-header-cell/table-header-cell.js +4 -4
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.js +10 -10
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +7 -7
- package/dist/components/tag/tag.js +4 -4
- package/dist/components/tag-button/tag-button.d.ts +53 -0
- package/dist/components/tag-button/tag-button.js +12 -0
- package/dist/components/tag-button/tag-button.styles.d.ts +2 -0
- package/dist/components/tag-button/tag-button.styles.js +8 -0
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.d.ts +2 -0
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/custom-elements.json +7595 -8126
- package/dist/design-system.d.ts +7 -2
- package/dist/design-system.js +175 -147
- package/dist/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
- package/dist/internal/components/date-field/date-field.d.ts +11 -0
- package/dist/internal/components/date-field/date-field.js +23 -1
- package/dist/internal/components/input-base/input-base.d.ts +118 -0
- package/dist/internal/components/input-base/input-base.js +313 -0
- package/dist/internal/components/input-base/input-base.styles.d.ts +2 -0
- package/dist/internal/components/input-base/input-base.styles.js +302 -0
- package/dist/internal/components/input-base/input-base.utils.d.ts +1 -0
- package/dist/internal/components/input-base/input-base.utils.js +1 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.js +0 -6
- package/dist/themes/dsa-wc-theme.css +94 -2
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +100 -2
- 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/localize.d.ts +1 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +225 -355
- package/dist/web-types.json +3580 -4067
- package/package.json +17 -17
- package/cdn/chunks/chunk.7ITBH4NW.js +0 -687
- package/cdn/chunks/chunk.L7DPKZV6.js +0 -82
- package/cdn/chunks/chunk.VTPSYUIU.js +0 -19
- package/cdn/components/include/include.d.ts +0 -32
- package/cdn/components/include/include.js +0 -14
- package/dist/chunks/chunk.GQ4NIFUB.js +0 -674
- package/dist/chunks/chunk.MBQRU4CJ.js +0 -79
- package/dist/chunks/chunk.NNBOLKWI.js +0 -17
- package/dist/components/include/include.d.ts +0 -32
- package/dist/components/include/include.js +0 -12
- package/dist/components/include/include.styles.js +0 -8
- package/dist/components/input/input.styles.js +0 -9
- /package/cdn/components/{include/include.styles.d.ts → card-content/card-content.styles.d.ts} +0 -0
- /package/{dist/components/input/input.styles.d.ts → cdn/components/card-nav/card-nav.styles.d.ts} +0 -0
- /package/cdn/components/{input/input.styles.d.ts → card-nav-accordion/card-nav-accordion.styles.d.ts} +0 -0
- /package/{dist/components/include/include.styles.d.ts → cdn/components/card-nav-item/card-nav-item.styles.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 2.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 20ad518: `input`, `input-phone`, `input-otp` : communalisation du code
|
|
8
|
+
- 5e7de2a: `checkbox`: correction d'un bug empechant l'utilisation de liens dans le label
|
|
9
|
+
- 0258fb3: `tab-group`: retrait du focus sur les flèches de scroll et le groupe
|
|
10
|
+
- b163af1: `checkbox-group`: attente du chargement des composants enfants
|
|
11
|
+
`tab-group`: attente du chargement des composants enfants
|
|
12
|
+
`tree`: attente du chargement des composants enfants
|
|
13
|
+
- 7387de1: `table-header-cell`: restriction de l'effet de survol aux tableaux triables, élargissement du bouton de tri
|
|
14
|
+
|
|
15
|
+
## 2.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- a4cec6a: `card-nav`, `card-nav-item`, `card-nav-accordion` : ajout des composants
|
|
20
|
+
- 8f0db29: `card-content`: ajout du composant
|
|
21
|
+
- 6f31568: `fieldset` : ajout du composant
|
|
22
|
+
- 56b6786: `visually-hidden`, `resize-observer`, `mutation-observer`, `relative-time` : ajout d'éléments utilitaires
|
|
23
|
+
- a7e4dcb: `tag-button` : ajout du composant
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 32a1695: `dropdown`: retrait de l'attribut obsolète stay-open-on-select
|
|
28
|
+
- 3e0d4e3: `combobox` : restitution de l'option "Voir plus" au lecteur d'écran ; `tag` : suppression d'un attribut title inutile
|
|
29
|
+
- 687c17e: `header` : résolution d'un problème d'affichage du logo sur Safari
|
|
30
|
+
- 34774d5: `header` : augmentation de la taille "large" du logo
|
|
31
|
+
- e3e6300: `input`: amélioration de la gestion des méthodes stepUp et stepDown
|
|
32
|
+
`input` type "time": implémentation des méthodes stepUp et stepDown, ajout d'une transcription de la valeur
|
|
33
|
+
- f486d2f: `tab-group` : prise en compte des changements dynamiques des attributs `active` des dsa-tab enfants
|
|
34
|
+
- 618a76a: `combobox` : résolution d'une erreur de mise à jour des la liste d'option en cas de slotchange
|
|
35
|
+
- 5eac37f: `tooltip`: ajout automatique d'une description accessible à l'élément cible
|
|
36
|
+
- 925c802: `input` : correction du retour de valueAsNumber pour le type amount
|
|
37
|
+
- 2a1679f: `menu-item`: élargissement de l'attribut "current" au type "button"
|
|
38
|
+
|
|
3
39
|
## 2.4.1
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SS3GSU3M.js";
|
|
4
4
|
import {
|
|
5
5
|
getPhoneConfig
|
|
6
6
|
} from "./chunk.YKKP7YAT.js";
|
|
@@ -17,17 +17,11 @@ import {
|
|
|
17
17
|
stripSpecialChars
|
|
18
18
|
} from "./chunk.7OLEA3GQ.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./chunk.
|
|
20
|
+
InputBase
|
|
21
|
+
} from "./chunk.YGJ3KERC.js";
|
|
22
22
|
import {
|
|
23
23
|
l
|
|
24
24
|
} from "./chunk.7PPSHHT2.js";
|
|
25
|
-
import {
|
|
26
|
-
defaultValue
|
|
27
|
-
} from "./chunk.YY5FKN3H.js";
|
|
28
|
-
import {
|
|
29
|
-
FormControlController
|
|
30
|
-
} from "./chunk.3NWILHZZ.js";
|
|
31
25
|
import {
|
|
32
26
|
LocalizeController
|
|
33
27
|
} from "./chunk.CAMVBH5H.js";
|
|
@@ -57,14 +51,10 @@ import {
|
|
|
57
51
|
} from "./chunk.4ZGVANML.js";
|
|
58
52
|
|
|
59
53
|
// src/components/input-phone/input-phone.ts
|
|
60
|
-
var DSAInputPhone = class extends
|
|
54
|
+
var DSAInputPhone = class extends InputBase {
|
|
61
55
|
constructor() {
|
|
62
56
|
super(...arguments);
|
|
63
|
-
this.formControlController = new FormControlController(this, {
|
|
64
|
-
assumeInteractionOn: ["dsa-blur", "dsa-input"]
|
|
65
|
-
});
|
|
66
57
|
this.localize = new LocalizeController(this);
|
|
67
|
-
this.hasFocus = false;
|
|
68
58
|
this.maskedNumber = "";
|
|
69
59
|
this.phoneConfig = getPhoneConfig("+33");
|
|
70
60
|
this.placeholder = this.phoneConfig.placeholder;
|
|
@@ -72,8 +62,6 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
72
62
|
this.value = "";
|
|
73
63
|
this.phonePrefix = "+33";
|
|
74
64
|
this.phoneNumber = "";
|
|
75
|
-
this.defaultValue = "";
|
|
76
|
-
this.clearable = false;
|
|
77
65
|
this.inputPrefix = "";
|
|
78
66
|
this.placement = "bottom-start";
|
|
79
67
|
}
|
|
@@ -85,27 +73,20 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
85
73
|
patternMatch = matches !== null;
|
|
86
74
|
}
|
|
87
75
|
const validityState = {
|
|
88
|
-
badInput: this.
|
|
89
|
-
customError: this.
|
|
76
|
+
badInput: this.input.validity.badInput,
|
|
77
|
+
customError: this.input.validity.customError,
|
|
90
78
|
patternMismatch: !patternMatch,
|
|
91
|
-
rangeOverflow: this.
|
|
92
|
-
rangeUnderflow: this.
|
|
93
|
-
stepMismatch: this.
|
|
94
|
-
tooLong: this.
|
|
95
|
-
tooShort: this.
|
|
96
|
-
typeMismatch: this.
|
|
97
|
-
valid: patternMatch !== void 0 ? patternMatch : this.
|
|
98
|
-
valueMissing: this.
|
|
79
|
+
rangeOverflow: this.input.validity.rangeOverflow,
|
|
80
|
+
rangeUnderflow: this.input.validity.rangeUnderflow,
|
|
81
|
+
stepMismatch: this.input.validity.stepMismatch,
|
|
82
|
+
tooLong: this.input.validity.tooLong,
|
|
83
|
+
tooShort: this.input.validity.tooShort,
|
|
84
|
+
typeMismatch: this.input.validity.typeMismatch,
|
|
85
|
+
valid: patternMatch !== void 0 ? patternMatch : this.input.validity.valid,
|
|
86
|
+
valueMissing: this.input.validity.valueMissing
|
|
99
87
|
};
|
|
100
88
|
return validityState;
|
|
101
89
|
}
|
|
102
|
-
/** Gets the validation message */
|
|
103
|
-
get validationMessage() {
|
|
104
|
-
return this.inputEl.validationMessage;
|
|
105
|
-
}
|
|
106
|
-
firstUpdated() {
|
|
107
|
-
this.formControlController.updateValidity();
|
|
108
|
-
}
|
|
109
90
|
connectedCallback() {
|
|
110
91
|
super.connectedCallback();
|
|
111
92
|
this.defaultValue = this.value;
|
|
@@ -116,7 +97,7 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
116
97
|
);
|
|
117
98
|
}
|
|
118
99
|
handleDocumentKeyUp() {
|
|
119
|
-
const strippedValue = stripSpecialChars(this.
|
|
100
|
+
const strippedValue = stripSpecialChars(this.input.value);
|
|
120
101
|
const newValue = maskedValueToRawValue(
|
|
121
102
|
strippedValue,
|
|
122
103
|
this.phoneConfig.mask
|
|
@@ -124,7 +105,7 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
124
105
|
const maskedValue = rawValueToMaskedValue(newValue, this.placeholder);
|
|
125
106
|
this.phoneNumber = newValue;
|
|
126
107
|
this.maskedNumber = maskedValue;
|
|
127
|
-
this.
|
|
108
|
+
this.input.value = maskedValue;
|
|
128
109
|
this.updateValue();
|
|
129
110
|
this.formControlController.updateValidity();
|
|
130
111
|
this.emit("dsa-input");
|
|
@@ -177,28 +158,6 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
177
158
|
this.emit("dsa-change");
|
|
178
159
|
}
|
|
179
160
|
}
|
|
180
|
-
handleKeyDown(event) {
|
|
181
|
-
const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
|
|
182
|
-
if (event.key === "Enter" && !hasModifier) {
|
|
183
|
-
setTimeout(() => {
|
|
184
|
-
if (!event.defaultPrevented && !event.isComposing) {
|
|
185
|
-
this.formControlController.submit();
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
handleFocus() {
|
|
191
|
-
this.hasFocus = true;
|
|
192
|
-
this.emit("dsa-focus");
|
|
193
|
-
}
|
|
194
|
-
handleBlur() {
|
|
195
|
-
this.hasFocus = false;
|
|
196
|
-
this.emit("dsa-blur");
|
|
197
|
-
}
|
|
198
|
-
handleInvalid(event) {
|
|
199
|
-
this.formControlController.setValidity(false);
|
|
200
|
-
this.formControlController.emitInvalidEvent(event);
|
|
201
|
-
}
|
|
202
161
|
// Clear Icon handlers
|
|
203
162
|
handleClearIconClick(event) {
|
|
204
163
|
this.phonePrefix = "+33";
|
|
@@ -206,7 +165,7 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
206
165
|
this.emit("dsa-clear");
|
|
207
166
|
this.emit("dsa-input");
|
|
208
167
|
this.emit("dsa-change");
|
|
209
|
-
this.
|
|
168
|
+
this.input.focus();
|
|
210
169
|
event.stopPropagation();
|
|
211
170
|
}
|
|
212
171
|
getDescriptionIds() {
|
|
@@ -240,37 +199,10 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
240
199
|
handlePhoneChange() {
|
|
241
200
|
this.updateValue();
|
|
242
201
|
}
|
|
243
|
-
/** Sets focus on the input. */
|
|
244
|
-
focus(options) {
|
|
245
|
-
this.inputEl.focus(options);
|
|
246
|
-
}
|
|
247
|
-
/** Removes focus from the input. */
|
|
248
|
-
blur() {
|
|
249
|
-
this.inputEl.blur();
|
|
250
|
-
}
|
|
251
|
-
/** Selects all the text in the input. */
|
|
252
|
-
select() {
|
|
253
|
-
this.inputEl.select();
|
|
254
|
-
}
|
|
255
|
-
/** Sets the start and end positions of the text selection (0-based). */
|
|
256
|
-
setSelectionRange(selectionStart, selectionEnd, selectionDirection = "none") {
|
|
257
|
-
this.inputEl.setSelectionRange(
|
|
258
|
-
selectionStart,
|
|
259
|
-
selectionEnd,
|
|
260
|
-
selectionDirection
|
|
261
|
-
);
|
|
262
|
-
}
|
|
263
|
-
/** Replaces a range of text with a new string. */
|
|
264
|
-
setRangeText(replacement, start, end, selectMode) {
|
|
265
|
-
this.inputEl.setRangeText(replacement, start, end, selectMode);
|
|
266
|
-
if (this.phoneNumber !== this.inputEl.value) {
|
|
267
|
-
this.phoneNumber = this.inputEl.value;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
202
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
271
203
|
checkValidity() {
|
|
272
204
|
var _a;
|
|
273
|
-
const isValidInput = (_a = this.
|
|
205
|
+
const isValidInput = (_a = this.input) == null ? void 0 : _a.checkValidity();
|
|
274
206
|
if (this.phoneNumber.length === 0) {
|
|
275
207
|
return isValidInput != null ? isValidInput : false;
|
|
276
208
|
}
|
|
@@ -278,14 +210,10 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
278
210
|
const patternMatch = matches !== null;
|
|
279
211
|
return patternMatch;
|
|
280
212
|
}
|
|
281
|
-
/** Gets the associated form, if one exists. */
|
|
282
|
-
getForm() {
|
|
283
|
-
return this.formControlController.getForm();
|
|
284
|
-
}
|
|
285
213
|
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
286
214
|
reportValidity() {
|
|
287
215
|
var _a;
|
|
288
|
-
const isValidInput = (_a = this.
|
|
216
|
+
const isValidInput = (_a = this.input) == null ? void 0 : _a.reportValidity();
|
|
289
217
|
if (this.phoneNumber.length === 0) {
|
|
290
218
|
return isValidInput != null ? isValidInput : false;
|
|
291
219
|
}
|
|
@@ -293,11 +221,6 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
293
221
|
const patternMatch = matches !== null;
|
|
294
222
|
return patternMatch;
|
|
295
223
|
}
|
|
296
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
297
|
-
setCustomValidity(message) {
|
|
298
|
-
this.inputEl.setCustomValidity(message);
|
|
299
|
-
this.formControlController.updateValidity();
|
|
300
|
-
}
|
|
301
224
|
renderInput() {
|
|
302
225
|
var _a;
|
|
303
226
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
@@ -426,13 +349,10 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
426
349
|
DSAInputPhone.styles = input_phone_styles_default;
|
|
427
350
|
__decorateClass([
|
|
428
351
|
e(".input-phone__control")
|
|
429
|
-
], DSAInputPhone.prototype, "
|
|
352
|
+
], DSAInputPhone.prototype, "input", 2);
|
|
430
353
|
__decorateClass([
|
|
431
354
|
e(".input-phone__select")
|
|
432
355
|
], DSAInputPhone.prototype, "phonePrefixEl", 2);
|
|
433
|
-
__decorateClass([
|
|
434
|
-
r()
|
|
435
|
-
], DSAInputPhone.prototype, "hasFocus", 2);
|
|
436
356
|
__decorateClass([
|
|
437
357
|
r()
|
|
438
358
|
], DSAInputPhone.prototype, "maskedNumber", 2);
|
|
@@ -454,21 +374,9 @@ __decorateClass([
|
|
|
454
374
|
__decorateClass([
|
|
455
375
|
n({ attribute: false })
|
|
456
376
|
], DSAInputPhone.prototype, "phoneNumber", 2);
|
|
457
|
-
__decorateClass([
|
|
458
|
-
defaultValue()
|
|
459
|
-
], DSAInputPhone.prototype, "defaultValue", 2);
|
|
460
|
-
__decorateClass([
|
|
461
|
-
n({ type: Boolean })
|
|
462
|
-
], DSAInputPhone.prototype, "clearable", 2);
|
|
463
377
|
__decorateClass([
|
|
464
378
|
n({ attribute: "input-prefix" })
|
|
465
379
|
], DSAInputPhone.prototype, "inputPrefix", 2);
|
|
466
|
-
__decorateClass([
|
|
467
|
-
n({ type: Boolean })
|
|
468
|
-
], DSAInputPhone.prototype, "autofocus", 2);
|
|
469
|
-
__decorateClass([
|
|
470
|
-
n()
|
|
471
|
-
], DSAInputPhone.prototype, "enterkeyhint", 2);
|
|
472
380
|
__decorateClass([
|
|
473
381
|
n({ reflect: true })
|
|
474
382
|
], DSAInputPhone.prototype, "placement", 2);
|
|
@@ -100,9 +100,9 @@ __decorateClass([
|
|
|
100
100
|
], DSAMutationObserver.prototype, "handleDisabledChange", 1);
|
|
101
101
|
__decorateClass([
|
|
102
102
|
watch("attr", { waitUntilFirstUpdate: true }),
|
|
103
|
-
watch("
|
|
104
|
-
watch("
|
|
105
|
-
watch("
|
|
103
|
+
watch("attrOldValue", { waitUntilFirstUpdate: true }),
|
|
104
|
+
watch("charData", { waitUntilFirstUpdate: true }),
|
|
105
|
+
watch("charDataOldValue", { waitUntilFirstUpdate: true }),
|
|
106
106
|
watch("childList", { waitUntilFirstUpdate: true })
|
|
107
107
|
], DSAMutationObserver.prototype, "handleChange", 1);
|
|
108
108
|
DSAMutationObserver = __decorateClass([
|
|
@@ -37,6 +37,12 @@ var DSAAnchorTag = class extends ShoelaceElement {
|
|
|
37
37
|
this.target = "_self";
|
|
38
38
|
this.size = "medium";
|
|
39
39
|
}
|
|
40
|
+
connectedCallback() {
|
|
41
|
+
console.warn(
|
|
42
|
+
"The <dsa-anchor-tag> element is deprecated, and will be removed in the next major release. Please consider using the <dsa-tag-button> element instead."
|
|
43
|
+
);
|
|
44
|
+
super.connectedCallback();
|
|
45
|
+
}
|
|
40
46
|
render() {
|
|
41
47
|
if (!this.label) {
|
|
42
48
|
a11yWarning(
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk.2WRFDMKN.js";
|
|
15
15
|
import {
|
|
16
16
|
LocalizeController
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
18
18
|
import {
|
|
19
19
|
watch
|
|
20
20
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -42,7 +42,6 @@ var DSADropdown = class extends ShoelaceElement {
|
|
|
42
42
|
this.open = false;
|
|
43
43
|
this.placement = "bottom-start";
|
|
44
44
|
this.disabled = false;
|
|
45
|
-
this.stayOpenOnSelect = false;
|
|
46
45
|
this.skidding = 0;
|
|
47
46
|
this.hoist = false;
|
|
48
47
|
}
|
|
@@ -292,9 +291,6 @@ __decorateClass([
|
|
|
292
291
|
__decorateClass([
|
|
293
292
|
n({ type: Boolean, reflect: true })
|
|
294
293
|
], DSADropdown.prototype, "disabled", 2);
|
|
295
|
-
__decorateClass([
|
|
296
|
-
n({ attribute: "stay-open-on-select", type: Boolean, reflect: true })
|
|
297
|
-
], DSADropdown.prototype, "stayOpenOnSelect", 2);
|
|
298
294
|
__decorateClass([
|
|
299
295
|
n({ attribute: false })
|
|
300
296
|
], DSADropdown.prototype, "containingElement", 2);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.PSQJDSB2.js";
|
|
4
|
+
import {
|
|
5
|
+
i
|
|
6
|
+
} from "./chunk.4KHZQZ3M.js";
|
|
7
|
+
|
|
8
|
+
// src/components/card-nav/card-nav.styles.ts
|
|
9
|
+
var card_nav_styles_default = i`
|
|
10
|
+
${component_styles_default}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.card-nav {
|
|
17
|
+
border-radius: var(--dsa-radius-8);
|
|
18
|
+
border: 1px solid var(--dsa-wc-card-nav-border-color);
|
|
19
|
+
background-color: var(--dsa-wc-card-nav-background-color);
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
color: var(--dsa-wc-card-nav-color);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.card-nav__media::slotted(img) {
|
|
25
|
+
display: block;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Title block */
|
|
30
|
+
.card-nav__title-block {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--dsa-spacing-12);
|
|
34
|
+
padding: 1.25rem 1rem;
|
|
35
|
+
}
|
|
36
|
+
.title-block-text {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: var(--dsa-spacing-8);
|
|
40
|
+
}
|
|
41
|
+
.title-block-text .title {
|
|
42
|
+
font: var(--dsa-font-large-bold);
|
|
43
|
+
}
|
|
44
|
+
.title-block-text .subtitle {
|
|
45
|
+
font: var(--dsa-font-medium-bold);
|
|
46
|
+
color: var(--dsa-wc-card-nav-subtitle-color);
|
|
47
|
+
}
|
|
48
|
+
.card-nav__title_icon::slotted(*) {
|
|
49
|
+
color: var(--dsa-wc-card-nav-icon-color);
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
width: 2rem;
|
|
52
|
+
height: 2rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.card-content {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
::slotted(*:last-child) {
|
|
61
|
+
--card-nav-item-border-width: 0px;
|
|
62
|
+
--card-nav-accordion-border-color: transparent;
|
|
63
|
+
--card-nav-accordion-border-color-hover: transparent;
|
|
64
|
+
--card-nav-accordion-border-color-transition-delay: var(
|
|
65
|
+
--dsa-wc-transition-medium
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
export {
|
|
71
|
+
card_nav_styles_default
|
|
72
|
+
};
|
|
@@ -22,12 +22,6 @@ var radio_icon_styles_default = i`
|
|
|
22
22
|
display: contents;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
:host::after {
|
|
26
|
-
content: '';
|
|
27
|
-
position: absolute;
|
|
28
|
-
inset: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
25
|
.radio__control--small {
|
|
32
26
|
--toggle-size: var(--dsa-wc-radio-size-small);
|
|
33
27
|
--toggle-inner-size: var(--dsa-wc-radio-inner-size-small);
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk.2WRFDMKN.js";
|
|
30
30
|
import {
|
|
31
31
|
LocalizeController
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -229,7 +229,6 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
handleDefaultSlotChange() {
|
|
232
|
-
this.resetDisplayedOptionsCount();
|
|
233
232
|
if (customElements.get(OPTION_TAG)) {
|
|
234
233
|
this.allOptions = this.getAllOptions();
|
|
235
234
|
this.filterOptions(this.displayLabel);
|
|
@@ -243,6 +242,7 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
243
242
|
} else {
|
|
244
243
|
customElements.whenDefined(OPTION_TAG).then(() => this.handleDefaultSlotChange());
|
|
245
244
|
}
|
|
245
|
+
this.resetDisplayedOptionsCount();
|
|
246
246
|
}
|
|
247
247
|
handleTagRemove(event, option) {
|
|
248
248
|
event.stopPropagation();
|
|
@@ -445,8 +445,11 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
445
445
|
else if (currentOptionIndex < this.displayedOptionsCount - 1) {
|
|
446
446
|
this.setCurrentOption(this.filteredOptions[currentOptionIndex + 1]);
|
|
447
447
|
} else if (this.filteredOptions.length > this.displayedOptionsCount) {
|
|
448
|
-
this.
|
|
449
|
-
|
|
448
|
+
if (this.seeMoreOption) {
|
|
449
|
+
this.setCurrentOption(this.seeMoreOption);
|
|
450
|
+
} else {
|
|
451
|
+
this.setCurrentOption(void 0);
|
|
452
|
+
}
|
|
450
453
|
}
|
|
451
454
|
break;
|
|
452
455
|
case "ArrowUp":
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fieldset_styles_default
|
|
3
|
+
} from "./chunk.QCPGBCQ3.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
10
|
+
import {
|
|
11
|
+
a11yWarning
|
|
12
|
+
} from "./chunk.PWL7QCVG.js";
|
|
13
|
+
import {
|
|
14
|
+
e as e2
|
|
15
|
+
} from "./chunk.IKHG7XGO.js";
|
|
16
|
+
import {
|
|
17
|
+
ShoelaceElement,
|
|
18
|
+
e,
|
|
19
|
+
n,
|
|
20
|
+
t
|
|
21
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
22
|
+
import {
|
|
23
|
+
x
|
|
24
|
+
} from "./chunk.7HUC6BF3.js";
|
|
25
|
+
import {
|
|
26
|
+
__decorateClass
|
|
27
|
+
} from "./chunk.4ZGVANML.js";
|
|
28
|
+
|
|
29
|
+
// src/components/fieldset/fieldset.ts
|
|
30
|
+
var DSAFieldset = class extends ShoelaceElement {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(...arguments);
|
|
33
|
+
this.hasSlotController = new HasSlotController(
|
|
34
|
+
this,
|
|
35
|
+
"legend-title"
|
|
36
|
+
);
|
|
37
|
+
this.legendTitle = "";
|
|
38
|
+
this.variant = "base";
|
|
39
|
+
this.disabled = false;
|
|
40
|
+
this.horizontal = false;
|
|
41
|
+
}
|
|
42
|
+
updateChildrenDisabledState() {
|
|
43
|
+
var _a;
|
|
44
|
+
const children = (_a = this.defaultSlot) == null ? void 0 : _a.assignedElements();
|
|
45
|
+
children == null ? void 0 : children.forEach((child) => {
|
|
46
|
+
if ("disabled" in child) {
|
|
47
|
+
child.disabled = this.disabled;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
handleSlotChange() {
|
|
52
|
+
this.updateChildrenDisabledState();
|
|
53
|
+
}
|
|
54
|
+
handleDisabledChange() {
|
|
55
|
+
this.updateChildrenDisabledState();
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
const hasLegendTitleSlot = this.hasSlotController.test("label");
|
|
59
|
+
const hasLegendTitle = this.legendTitle ? true : !!hasLegendTitleSlot;
|
|
60
|
+
if (!hasLegendTitle) {
|
|
61
|
+
a11yWarning(
|
|
62
|
+
"<dsa-fieldset> requires a legend-title attribute or a legend-title slot for accessibility"
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
return x`
|
|
66
|
+
<fieldset
|
|
67
|
+
role="group"
|
|
68
|
+
class=${e2({
|
|
69
|
+
fieldset: true,
|
|
70
|
+
"fieldset--on-base": this.variant === "base",
|
|
71
|
+
"fieldset--on-layer": this.variant === "layer",
|
|
72
|
+
"fieldset--horizontal": this.horizontal,
|
|
73
|
+
"fieldset--vertical": !this.horizontal
|
|
74
|
+
})}
|
|
75
|
+
aria-labelledby="legend"
|
|
76
|
+
>
|
|
77
|
+
<div id="legend" class="fieldset__legend">
|
|
78
|
+
<div class="fieldset__first-line">
|
|
79
|
+
<slot name="legend-title" class="fieldset__legend-title"
|
|
80
|
+
>${this.legendTitle}</slot
|
|
81
|
+
>
|
|
82
|
+
<slot name="tooltip" class="fieldset__tooltip"></slot>
|
|
83
|
+
</div>
|
|
84
|
+
<slot name="legend-subtitle" class="fieldset__legend-subtitle">
|
|
85
|
+
${this.legendSubtitle}
|
|
86
|
+
</slot>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<div class="fieldset__content">
|
|
90
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
91
|
+
</div>
|
|
92
|
+
</fieldset>
|
|
93
|
+
`;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
DSAFieldset.styles = fieldset_styles_default;
|
|
97
|
+
__decorateClass([
|
|
98
|
+
e("slot:not([name])")
|
|
99
|
+
], DSAFieldset.prototype, "defaultSlot", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
n({ attribute: "legend-title" })
|
|
102
|
+
], DSAFieldset.prototype, "legendTitle", 2);
|
|
103
|
+
__decorateClass([
|
|
104
|
+
n({ attribute: "legend-subtitle" })
|
|
105
|
+
], DSAFieldset.prototype, "legendSubtitle", 2);
|
|
106
|
+
__decorateClass([
|
|
107
|
+
n({ reflect: true })
|
|
108
|
+
], DSAFieldset.prototype, "variant", 2);
|
|
109
|
+
__decorateClass([
|
|
110
|
+
n({ type: Boolean, reflect: true })
|
|
111
|
+
], DSAFieldset.prototype, "disabled", 2);
|
|
112
|
+
__decorateClass([
|
|
113
|
+
n({ type: Boolean })
|
|
114
|
+
], DSAFieldset.prototype, "horizontal", 2);
|
|
115
|
+
__decorateClass([
|
|
116
|
+
watch("disabled")
|
|
117
|
+
], DSAFieldset.prototype, "handleDisabledChange", 1);
|
|
118
|
+
DSAFieldset = __decorateClass([
|
|
119
|
+
t("dsa-fieldset")
|
|
120
|
+
], DSAFieldset);
|
|
121
|
+
|
|
122
|
+
export {
|
|
123
|
+
DSAFieldset
|
|
124
|
+
};
|