@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
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import {
|
|
2
|
+
card_nav_accordion_styles_default
|
|
3
|
+
} from "./chunk.6CVNT3XU.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
waitForEvent
|
|
9
|
+
} from "./chunk.B4BZKR24.js";
|
|
10
|
+
import {
|
|
11
|
+
animateTo,
|
|
12
|
+
shimKeyframesHeightAuto,
|
|
13
|
+
stopAnimations
|
|
14
|
+
} from "./chunk.UBKKXGSV.js";
|
|
15
|
+
import {
|
|
16
|
+
getAnimation,
|
|
17
|
+
setDefaultAnimation
|
|
18
|
+
} from "./chunk.2WRFDMKN.js";
|
|
19
|
+
import {
|
|
20
|
+
LocalizeController
|
|
21
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
22
|
+
import {
|
|
23
|
+
watch
|
|
24
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
25
|
+
import {
|
|
26
|
+
a11yWarning
|
|
27
|
+
} from "./chunk.PWL7QCVG.js";
|
|
28
|
+
import {
|
|
29
|
+
e as e2
|
|
30
|
+
} from "./chunk.IKHG7XGO.js";
|
|
31
|
+
import {
|
|
32
|
+
ShoelaceElement,
|
|
33
|
+
e,
|
|
34
|
+
n,
|
|
35
|
+
t
|
|
36
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
37
|
+
import {
|
|
38
|
+
x
|
|
39
|
+
} from "./chunk.7HUC6BF3.js";
|
|
40
|
+
import {
|
|
41
|
+
__decorateClass
|
|
42
|
+
} from "./chunk.4ZGVANML.js";
|
|
43
|
+
|
|
44
|
+
// src/components/card-nav-accordion/card-nav-accordion.ts
|
|
45
|
+
var DSACardNavAccordion = class extends ShoelaceElement {
|
|
46
|
+
constructor() {
|
|
47
|
+
super(...arguments);
|
|
48
|
+
this.localize = new LocalizeController(this);
|
|
49
|
+
this.hasSlotController = new HasSlotController(this, "summary");
|
|
50
|
+
this.open = false;
|
|
51
|
+
this.role = "listitem";
|
|
52
|
+
}
|
|
53
|
+
firstUpdated() {
|
|
54
|
+
this.body.hidden = !this.open;
|
|
55
|
+
this.body.style.height = this.open ? "auto" : "0";
|
|
56
|
+
}
|
|
57
|
+
handleSummaryClick() {
|
|
58
|
+
if (this.open) {
|
|
59
|
+
this.hide();
|
|
60
|
+
} else {
|
|
61
|
+
this.show();
|
|
62
|
+
}
|
|
63
|
+
this.headerButton.focus();
|
|
64
|
+
}
|
|
65
|
+
handleSummaryKeyDown(event) {
|
|
66
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
if (this.open) {
|
|
69
|
+
this.hide();
|
|
70
|
+
} else {
|
|
71
|
+
this.show();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
if (event.key === "ArrowUp" || event.key === "ArrowLeft") {
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
this.hide();
|
|
77
|
+
}
|
|
78
|
+
if (event.key === "ArrowDown" || event.key === "ArrowRight") {
|
|
79
|
+
event.preventDefault();
|
|
80
|
+
this.show();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async handleOpenChange() {
|
|
84
|
+
if (this.open) {
|
|
85
|
+
const slShow = this.emit("dsa-show", { cancelable: true });
|
|
86
|
+
if (slShow.defaultPrevented) {
|
|
87
|
+
this.open = false;
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
await stopAnimations(this.body);
|
|
91
|
+
this.body.hidden = false;
|
|
92
|
+
const { keyframes, options } = getAnimation(this, "accordion.show", {
|
|
93
|
+
dir: this.localize.dir()
|
|
94
|
+
});
|
|
95
|
+
await animateTo(
|
|
96
|
+
this.body,
|
|
97
|
+
shimKeyframesHeightAuto(keyframes, this.body.scrollHeight),
|
|
98
|
+
options
|
|
99
|
+
);
|
|
100
|
+
this.body.style.height = "auto";
|
|
101
|
+
this.emit("dsa-after-show");
|
|
102
|
+
} else {
|
|
103
|
+
const slHide = this.emit("dsa-hide", { cancelable: true });
|
|
104
|
+
if (slHide.defaultPrevented) {
|
|
105
|
+
this.open = true;
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
await stopAnimations(this.body);
|
|
109
|
+
const { keyframes, options } = getAnimation(this, "accordion.hide", {
|
|
110
|
+
dir: this.localize.dir()
|
|
111
|
+
});
|
|
112
|
+
await animateTo(
|
|
113
|
+
this.body,
|
|
114
|
+
shimKeyframesHeightAuto(keyframes, this.body.scrollHeight),
|
|
115
|
+
options
|
|
116
|
+
);
|
|
117
|
+
this.body.hidden = true;
|
|
118
|
+
this.body.style.height = "auto";
|
|
119
|
+
this.emit("dsa-after-hide");
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
/** Shows the accordion. */
|
|
123
|
+
async show() {
|
|
124
|
+
if (this.open) {
|
|
125
|
+
return void 0;
|
|
126
|
+
}
|
|
127
|
+
this.open = true;
|
|
128
|
+
return await waitForEvent(this, "dsa-after-show");
|
|
129
|
+
}
|
|
130
|
+
/** Hides the accordion */
|
|
131
|
+
async hide() {
|
|
132
|
+
if (!this.open) {
|
|
133
|
+
return void 0;
|
|
134
|
+
}
|
|
135
|
+
this.open = false;
|
|
136
|
+
return await waitForEvent(this, "dsa-after-hide");
|
|
137
|
+
}
|
|
138
|
+
render() {
|
|
139
|
+
if (!this.summary && !this.hasSlotController.test("summary")) {
|
|
140
|
+
a11yWarning(
|
|
141
|
+
"<dsa-card-nav-accordion> requires a summary attribute or a summary slot for accessibility"
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
return x`
|
|
145
|
+
<div
|
|
146
|
+
part="base"
|
|
147
|
+
class=${e2({
|
|
148
|
+
"card-nav-accordion": true,
|
|
149
|
+
"card-nav-accordion--open": this.open,
|
|
150
|
+
"card-nav-accordion--chevron": true
|
|
151
|
+
})}
|
|
152
|
+
>
|
|
153
|
+
<div part="header" id="header" class="card-nav-accordion__header">
|
|
154
|
+
<span
|
|
155
|
+
role="button"
|
|
156
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
157
|
+
aria-controls="content"
|
|
158
|
+
@click=${this.handleSummaryClick}
|
|
159
|
+
@keydown=${this.handleSummaryKeyDown}
|
|
160
|
+
class="card-nav-accordion__header-button"
|
|
161
|
+
tabindex="0"
|
|
162
|
+
>
|
|
163
|
+
<slot name="summary" class="card-nav-accordion__summary"
|
|
164
|
+
>${this.summary}</slot
|
|
165
|
+
>
|
|
166
|
+
|
|
167
|
+
<span part="summary-icon" class="card-nav-accordion__summary-icon">
|
|
168
|
+
<dsa-icon
|
|
169
|
+
class="card-nav-accordion__expand-icon"
|
|
170
|
+
name="expand_more"
|
|
171
|
+
library="system"
|
|
172
|
+
></dsa-icon>
|
|
173
|
+
</span>
|
|
174
|
+
</span>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div
|
|
178
|
+
class="card-nav-accordion__body"
|
|
179
|
+
role="list"
|
|
180
|
+
aria-labelledby="header"
|
|
181
|
+
>
|
|
182
|
+
<slot
|
|
183
|
+
part="content"
|
|
184
|
+
id="content"
|
|
185
|
+
class="card-nav-accordion__content"
|
|
186
|
+
></slot>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
`;
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
DSACardNavAccordion.styles = card_nav_accordion_styles_default;
|
|
193
|
+
__decorateClass([
|
|
194
|
+
e(".card-nav-accordion")
|
|
195
|
+
], DSACardNavAccordion.prototype, "accordion", 2);
|
|
196
|
+
__decorateClass([
|
|
197
|
+
e(".card-nav-accordion__header-button")
|
|
198
|
+
], DSACardNavAccordion.prototype, "headerButton", 2);
|
|
199
|
+
__decorateClass([
|
|
200
|
+
e(".card-nav-accordion__body")
|
|
201
|
+
], DSACardNavAccordion.prototype, "body", 2);
|
|
202
|
+
__decorateClass([
|
|
203
|
+
n({ type: Boolean, reflect: true })
|
|
204
|
+
], DSACardNavAccordion.prototype, "open", 2);
|
|
205
|
+
__decorateClass([
|
|
206
|
+
n()
|
|
207
|
+
], DSACardNavAccordion.prototype, "summary", 2);
|
|
208
|
+
__decorateClass([
|
|
209
|
+
n({ reflect: true })
|
|
210
|
+
], DSACardNavAccordion.prototype, "role", 2);
|
|
211
|
+
__decorateClass([
|
|
212
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
213
|
+
], DSACardNavAccordion.prototype, "handleOpenChange", 1);
|
|
214
|
+
DSACardNavAccordion = __decorateClass([
|
|
215
|
+
t("dsa-card-nav-accordion")
|
|
216
|
+
], DSACardNavAccordion);
|
|
217
|
+
setDefaultAnimation("accordion.show", {
|
|
218
|
+
keyframes: [
|
|
219
|
+
{ height: "0", opacity: "0" },
|
|
220
|
+
{ height: "auto", opacity: "1" }
|
|
221
|
+
],
|
|
222
|
+
options: { duration: 250, easing: "linear" }
|
|
223
|
+
});
|
|
224
|
+
setDefaultAnimation("accordion.hide", {
|
|
225
|
+
keyframes: [
|
|
226
|
+
{ height: "auto", opacity: "1" },
|
|
227
|
+
{ height: "0", opacity: "0" }
|
|
228
|
+
],
|
|
229
|
+
options: { duration: 250, easing: "linear" }
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
export {
|
|
233
|
+
DSACardNavAccordion
|
|
234
|
+
};
|
|
@@ -91,6 +91,7 @@ var translation = {
|
|
|
91
91
|
minutes: (value) => `${value} Minute${Number(value) > 1 ? "s" : ""}`,
|
|
92
92
|
seconds: (value) => `${value} Seconde${Number(value) > 1 ? "s" : ""}`,
|
|
93
93
|
milliseconds: (value) => `${value} Milliseconde${Number(value) > 1 ? "s" : ""}`,
|
|
94
|
+
selectedTime: "Heure s\xE9lectionn\xE9e :",
|
|
94
95
|
day: "Jour",
|
|
95
96
|
month: "Mois",
|
|
96
97
|
year: "Ann\xE9e",
|
|
@@ -253,6 +254,7 @@ var translation2 = {
|
|
|
253
254
|
minutes: (value) => `${value} Minute${Number(value) > 1 ? "s" : ""}`,
|
|
254
255
|
seconds: (value) => `${value} Second${Number(value) > 1 ? "s" : ""}`,
|
|
255
256
|
milliseconds: (value) => `${value} Millisecond${Number(value) > 1 ? "s" : ""}`,
|
|
257
|
+
selectedTime: "Selected time :",
|
|
256
258
|
day: "Day",
|
|
257
259
|
month: "Month",
|
|
258
260
|
year: "Year",
|
|
@@ -154,18 +154,24 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
handleSlotChange() {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
157
|
+
if (customElements.get("dsa-checkbox") || customElements.get("dsa-checkbox-button") || customElements.get("dsa-checkbox-card")) {
|
|
158
|
+
const allCheckboxes = this.getAllCheckboxes();
|
|
159
|
+
allCheckboxes.forEach((checkbox) => {
|
|
160
|
+
checkbox.checked = this.value.includes(checkbox.value);
|
|
161
|
+
checkbox.parentDisabled = this.disabled;
|
|
162
|
+
checkbox.parentReadonly = this.readonly;
|
|
163
|
+
});
|
|
164
|
+
this.hasCheckboxButtons = allCheckboxes.some(
|
|
165
|
+
(checkbox) => checkbox.tagName.toLowerCase() === "dsa-checkbox-button"
|
|
166
|
+
);
|
|
167
|
+
this.hasCheckboxCards = allCheckboxes.some(
|
|
168
|
+
(checkbox) => checkbox.tagName.toLowerCase() === "dsa-checkbox-card"
|
|
169
|
+
);
|
|
170
|
+
} else {
|
|
171
|
+
customElements.whenDefined("dsa-checkbox").then(() => this.handleSlotChange());
|
|
172
|
+
customElements.whenDefined("dsa-checkbox-button").then(() => this.handleSlotChange());
|
|
173
|
+
customElements.whenDefined("dsa-checkbox-card").then(() => this.handleSlotChange());
|
|
174
|
+
}
|
|
169
175
|
}
|
|
170
176
|
handleInvalid(event) {
|
|
171
177
|
this.formControlController.setValidity(false);
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSAInputTime
|
|
3
|
+
} from "./chunk.7CBNLWGC.js";
|
|
4
|
+
import {
|
|
5
|
+
DSAInputDate
|
|
6
|
+
} from "./chunk.T6APUNAB.js";
|
|
7
|
+
import {
|
|
8
|
+
InputBase
|
|
9
|
+
} from "./chunk.YGJ3KERC.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
13
|
+
import {
|
|
14
|
+
o
|
|
15
|
+
} from "./chunk.YQLIIKLI.js";
|
|
16
|
+
import {
|
|
17
|
+
e,
|
|
18
|
+
n,
|
|
19
|
+
t
|
|
20
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
21
|
+
import {
|
|
22
|
+
x
|
|
23
|
+
} from "./chunk.7HUC6BF3.js";
|
|
24
|
+
import {
|
|
25
|
+
__decorateClass
|
|
26
|
+
} from "./chunk.4ZGVANML.js";
|
|
27
|
+
|
|
28
|
+
// src/components/input/input.ts
|
|
29
|
+
var DSAInput = class extends InputBase {
|
|
30
|
+
/**
|
|
31
|
+
* Connect methods to underlying input element
|
|
32
|
+
*/
|
|
33
|
+
/** Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted. */
|
|
34
|
+
get valueAsDate() {
|
|
35
|
+
return this.inputElement.valueAsDate;
|
|
36
|
+
}
|
|
37
|
+
set valueAsDate(newValue) {
|
|
38
|
+
this.inputElement.valueAsDate = newValue;
|
|
39
|
+
this.value = this.inputElement.value;
|
|
40
|
+
}
|
|
41
|
+
/** Gets or sets the current value as a number. Returns `NaN` if the value can't be converted. */
|
|
42
|
+
get valueAsNumber() {
|
|
43
|
+
return this.inputElement.valueAsNumber;
|
|
44
|
+
}
|
|
45
|
+
set valueAsNumber(newValue) {
|
|
46
|
+
this.inputElement.valueAsNumber = newValue;
|
|
47
|
+
this.value = this.inputElement.value;
|
|
48
|
+
}
|
|
49
|
+
/** Gets the validity state object */
|
|
50
|
+
get validity() {
|
|
51
|
+
return this.inputElement.validity;
|
|
52
|
+
}
|
|
53
|
+
/** Gets the validation message */
|
|
54
|
+
get validationMessage() {
|
|
55
|
+
return this.inputElement.validationMessage;
|
|
56
|
+
}
|
|
57
|
+
handleChange() {
|
|
58
|
+
this.value = this.inputElement.value;
|
|
59
|
+
}
|
|
60
|
+
handleInput() {
|
|
61
|
+
this.value = this.inputElement.value;
|
|
62
|
+
}
|
|
63
|
+
handleStepChange() {
|
|
64
|
+
this.inputElement.step = this.step;
|
|
65
|
+
this.formControlController.updateValidity();
|
|
66
|
+
}
|
|
67
|
+
/** Sets focus on the input. */
|
|
68
|
+
focus(options) {
|
|
69
|
+
this.inputElement.focus(options);
|
|
70
|
+
}
|
|
71
|
+
/** Removes focus from the input. */
|
|
72
|
+
blur() {
|
|
73
|
+
this.inputElement.blur();
|
|
74
|
+
}
|
|
75
|
+
/** Selects all the text in the input. */
|
|
76
|
+
select() {
|
|
77
|
+
this.inputElement.select();
|
|
78
|
+
}
|
|
79
|
+
/** Sets the start and end positions of the text selection (0-based). */
|
|
80
|
+
setSelectionRange(selectionStart, selectionEnd, selectionDirection = "none") {
|
|
81
|
+
this.inputElement.setSelectionRange(
|
|
82
|
+
selectionStart,
|
|
83
|
+
selectionEnd,
|
|
84
|
+
selectionDirection
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
/** Replaces a range of text with a new string. */
|
|
88
|
+
setRangeText(replacement, start, end, selectMode) {
|
|
89
|
+
this.inputElement.setRangeText(replacement, start, end, selectMode);
|
|
90
|
+
if (this.value !== this.inputElement.value) {
|
|
91
|
+
this.value = this.inputElement.value;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
async showTimePicker() {
|
|
95
|
+
if (this.inputElement instanceof DSAInputTime) {
|
|
96
|
+
await this.inputElement.showTimePicker();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
async hideTimePicker() {
|
|
100
|
+
if (this.inputElement instanceof DSAInputTime) {
|
|
101
|
+
await this.inputElement.hideTimePicker();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
async showDatepicker() {
|
|
105
|
+
if (this.inputElement instanceof DSAInputDate) {
|
|
106
|
+
await this.inputElement.showDatepicker();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
async hideDatepicker() {
|
|
110
|
+
if (this.inputElement instanceof DSAInputDate) {
|
|
111
|
+
await this.inputElement.hideDatepicker();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/** Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
|
|
115
|
+
stepUp(stepNumber) {
|
|
116
|
+
this.inputElement.stepUp(stepNumber);
|
|
117
|
+
if (this.value !== this.inputElement.value) {
|
|
118
|
+
this.value = this.inputElement.value;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/** Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
|
|
122
|
+
stepDown(stepNumber) {
|
|
123
|
+
this.inputElement.stepDown(stepNumber);
|
|
124
|
+
if (this.value !== this.inputElement.value) {
|
|
125
|
+
this.value = this.inputElement.value;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
129
|
+
checkValidity() {
|
|
130
|
+
return this.inputElement.checkValidity();
|
|
131
|
+
}
|
|
132
|
+
/** Gets the associated form, if one exists. */
|
|
133
|
+
getForm() {
|
|
134
|
+
return this.formControlController.getForm();
|
|
135
|
+
}
|
|
136
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
137
|
+
reportValidity() {
|
|
138
|
+
return this.inputElement.reportValidity();
|
|
139
|
+
}
|
|
140
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
141
|
+
setCustomValidity(message) {
|
|
142
|
+
this.inputElement.setCustomValidity(message);
|
|
143
|
+
}
|
|
144
|
+
async getUpdateComplete() {
|
|
145
|
+
if (!this.inputElement) return false;
|
|
146
|
+
return await this.inputElement.updateComplete;
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
if (this.type === "date") {
|
|
150
|
+
return x`
|
|
151
|
+
<dsa-input-date
|
|
152
|
+
class="input-element"
|
|
153
|
+
name=${o(this.name)}
|
|
154
|
+
title=${o(this.title)}
|
|
155
|
+
value=${this.value}
|
|
156
|
+
.defaultValue=${o(this.defaultValue)}
|
|
157
|
+
size=${o(this.size)}
|
|
158
|
+
variant=${o(this.variant)}
|
|
159
|
+
label=${o(this.label)}
|
|
160
|
+
help-text=${o(this.helpText)}
|
|
161
|
+
?clearable=${this.clearable}
|
|
162
|
+
?disabled=${this.disabled}
|
|
163
|
+
lang=${o(this.lang)}
|
|
164
|
+
placeholder=${o(this.placeholder)}
|
|
165
|
+
?readonly=${this.readonly}
|
|
166
|
+
?error=${this.error}
|
|
167
|
+
.errorMessage=${o(this.errorMessage)}
|
|
168
|
+
form=${o(this.form)}
|
|
169
|
+
.formControlController=${this.formControlController}
|
|
170
|
+
?required=${this.required}
|
|
171
|
+
min=${o(this.min)}
|
|
172
|
+
max=${o(this.max)}
|
|
173
|
+
calendar-start-date=${o(this.calendarStartDate)}
|
|
174
|
+
?autofocus=${this.autofocus}
|
|
175
|
+
enterkeyhint=${o(this.enterkeyhint)}
|
|
176
|
+
@dsa-change=${this.handleChange}
|
|
177
|
+
@dsa-input=${this.handleInput}
|
|
178
|
+
description=${o(this.description)}
|
|
179
|
+
>
|
|
180
|
+
${this.hasSlotController.test("label") ? x` <slot name="label" slot="label"></slot> ` : ""}
|
|
181
|
+
${this.hasSlotController.test("prefix") ? x` <slot name="prefix" slot="prefix"></slot> ` : ""}
|
|
182
|
+
${this.hasSlotController.test("help-text") ? x` <slot name="help-text" slot="help-text"></slot> ` : ""}
|
|
183
|
+
${this.hasSlotController.test("tooltip") ? x` <slot name="tooltip" slot="tooltip"></slot> ` : ""}
|
|
184
|
+
</dsa-input-date>
|
|
185
|
+
`;
|
|
186
|
+
} else if (this.type === "time") {
|
|
187
|
+
return x`
|
|
188
|
+
<dsa-input-time
|
|
189
|
+
class="input-element"
|
|
190
|
+
name=${o(this.name)}
|
|
191
|
+
title=${o(this.title)}
|
|
192
|
+
value=${this.value}
|
|
193
|
+
.defaultValue=${o(this.defaultValue)}
|
|
194
|
+
size=${o(this.size)}
|
|
195
|
+
variant=${o(this.variant)}
|
|
196
|
+
label=${o(this.label)}
|
|
197
|
+
help-text=${o(this.helpText)}
|
|
198
|
+
?clearable=${this.clearable}
|
|
199
|
+
?disabled=${this.disabled}
|
|
200
|
+
?readonly=${this.readonly}
|
|
201
|
+
?error=${this.error}
|
|
202
|
+
.errorMessage=${o(this.errorMessage)}
|
|
203
|
+
form=${o(this.form)}
|
|
204
|
+
.formControlController=${this.formControlController}
|
|
205
|
+
?required=${this.required}
|
|
206
|
+
min=${o(this.min)}
|
|
207
|
+
max=${o(this.max)}
|
|
208
|
+
step=${o(this.step)}
|
|
209
|
+
?autofocus=${this.autofocus}
|
|
210
|
+
enterkeyhint=${o(this.enterkeyhint)}
|
|
211
|
+
@dsa-change=${this.handleChange}
|
|
212
|
+
@dsa-input=${this.handleInput}
|
|
213
|
+
description=${o(this.description)}
|
|
214
|
+
>
|
|
215
|
+
${this.hasSlotController.test("label") ? x` <slot name="label" slot="label"></slot> ` : ""}
|
|
216
|
+
${this.hasSlotController.test("prefix") ? x` <slot name="prefix" slot="prefix"></slot> ` : ""}
|
|
217
|
+
${this.hasSlotController.test("suffix") ? x` <slot name="suffix" slot="suffix"></slot> ` : ""}
|
|
218
|
+
${this.hasSlotController.test("help-text") ? x` <slot name="help-text" slot="help-text"></slot> ` : ""}
|
|
219
|
+
${this.hasSlotController.test("tooltip") ? x` <slot name="tooltip" slot="tooltip"></slot> ` : ""}
|
|
220
|
+
</dsa-input-time>
|
|
221
|
+
`;
|
|
222
|
+
} else {
|
|
223
|
+
return x`
|
|
224
|
+
<dsa-input-native
|
|
225
|
+
class="input-element"
|
|
226
|
+
title=${o(this.title)}
|
|
227
|
+
name=${o(this.name)}
|
|
228
|
+
size=${o(this.size)}
|
|
229
|
+
variant=${o(this.variant)}
|
|
230
|
+
label=${o(this.label)}
|
|
231
|
+
help-text=${o(this.helpText)}
|
|
232
|
+
?disabled=${this.disabled}
|
|
233
|
+
placeholder=${o(this.placeholder)}
|
|
234
|
+
?readonly=${this.readonly}
|
|
235
|
+
?error=${this.error}
|
|
236
|
+
.errorMessage=${o(this.errorMessage)}
|
|
237
|
+
form=${o(this.form)}
|
|
238
|
+
.formControlController=${this.formControlController}
|
|
239
|
+
?required=${this.required}
|
|
240
|
+
description=${o(this.description)}
|
|
241
|
+
type=${this.type}
|
|
242
|
+
value=${this.value}
|
|
243
|
+
.defaultValue=${o(this.defaultValue)}
|
|
244
|
+
?clearable=${this.clearable}
|
|
245
|
+
?passwordVisible=${this.passwordVisible}
|
|
246
|
+
pattern=${o(this.pattern)}
|
|
247
|
+
minlength=${o(this.minlength)}
|
|
248
|
+
maxlength=${o(this.maxlength)}
|
|
249
|
+
?counter=${this.counter}
|
|
250
|
+
min=${o(this.min)}
|
|
251
|
+
max=${o(this.max)}
|
|
252
|
+
step=${o(this.step)}
|
|
253
|
+
autocapitalize=${o(this.autocapitalize)}
|
|
254
|
+
autocorrect=${o(this.autocorrect)}
|
|
255
|
+
autocomplete=${o(this.autocomplete)}
|
|
256
|
+
?autofocus=${this.autofocus}
|
|
257
|
+
enterkeyhint=${o(this.enterkeyhint)}
|
|
258
|
+
spellcheck=${this.spellcheck}
|
|
259
|
+
inputmode=${o(this.inputmode)}
|
|
260
|
+
@dsa-change=${this.handleChange}
|
|
261
|
+
@dsa-input=${this.handleInput}
|
|
262
|
+
>
|
|
263
|
+
${this.hasSlotController.test("label") ? x` <slot name="label" slot="label"></slot> ` : ""}
|
|
264
|
+
${this.hasSlotController.test("prefix") ? x` <slot name="prefix" slot="prefix"></slot> ` : ""}
|
|
265
|
+
${this.hasSlotController.test("suffix") ? x` <slot name="suffix" slot="suffix"></slot> ` : ""}
|
|
266
|
+
${this.hasSlotController.test("help-text") ? x` <slot name="help-text" slot="help-text"></slot> ` : ""}
|
|
267
|
+
${this.hasSlotController.test("tooltip") ? x` <slot name="tooltip" slot="tooltip"></slot> ` : ""}
|
|
268
|
+
</dsa-input-native>
|
|
269
|
+
`;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
__decorateClass([
|
|
274
|
+
e(".input-element")
|
|
275
|
+
], DSAInput.prototype, "inputElement", 2);
|
|
276
|
+
__decorateClass([
|
|
277
|
+
n()
|
|
278
|
+
], DSAInput.prototype, "lang", 2);
|
|
279
|
+
__decorateClass([
|
|
280
|
+
n({ attribute: "calendar-start-date" })
|
|
281
|
+
], DSAInput.prototype, "calendarStartDate", 2);
|
|
282
|
+
__decorateClass([
|
|
283
|
+
watch("step", { waitUntilFirstUpdate: true })
|
|
284
|
+
], DSAInput.prototype, "handleStepChange", 1);
|
|
285
|
+
DSAInput = __decorateClass([
|
|
286
|
+
t("dsa-input")
|
|
287
|
+
], DSAInput);
|
|
288
|
+
|
|
289
|
+
export {
|
|
290
|
+
DSAInput
|
|
291
|
+
};
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk.3BJMFOLF.js";
|
|
5
5
|
import {
|
|
6
6
|
header_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.UJQUHHXT.js";
|
|
8
8
|
import {
|
|
9
9
|
HasSlotController
|
|
10
10
|
} from "./chunk.YIY5RM53.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalizeController
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
14
14
|
import {
|
|
15
15
|
watch
|
|
16
16
|
} from "./chunk.4FQJ3QJK.js";
|