@ds-autonomie/web-components 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/cdn/chunks/{chunk.OSJ5I4FK.js → chunk.2FF44G4Y.js} +5 -0
- package/cdn/chunks/{chunk.ICBLN3KB.js → chunk.2N65UIM6.js} +6 -6
- 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.ZHJDF2I3.js → chunk.3KJHZGAI.js} +5 -5
- package/cdn/chunks/{chunk.ZCBARTO2.js → chunk.3PDDINNE.js} +6 -0
- 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.XLDTCR3W.js → chunk.5B3X2KU4.js} +8 -5
- package/cdn/chunks/{chunk.UPVAZQNH.js → chunk.5F7AUS4F.js} +50 -34
- package/cdn/chunks/chunk.5QJ7KDER.js +124 -0
- package/cdn/chunks/{chunk.TZ4FLP4S.js → chunk.5UVKMYSG.js} +1 -1
- package/cdn/chunks/chunk.6CVNT3XU.js +108 -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.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.LBDB4OXT.js → chunk.BGP2ITQD.js} +1 -1
- package/cdn/chunks/{chunk.JO52YCNJ.js → chunk.BKSVKEYX.js} +1 -1
- package/cdn/chunks/{chunk.LFBIXLMF.js → chunk.BKVL3A5I.js} +4 -4
- 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.NTOOFOWB.js → chunk.DBJLSCQP.js} +2 -2
- package/cdn/chunks/{chunk.SJM5UCFK.js → chunk.DRUKNJJ5.js} +1 -1
- package/cdn/chunks/{chunk.JZOEQBF7.js → chunk.E73QKLNL.js} +1 -1
- package/cdn/chunks/{chunk.ZDF27RIQ.js → chunk.EYKHHWR5.js} +1 -1
- package/cdn/chunks/{chunk.HE5SI4A5.js → chunk.F6BCRVNV.js} +1 -1
- package/cdn/chunks/{chunk.GXQMOXKI.js → chunk.GVTFDL2C.js} +0 -4
- package/cdn/chunks/{chunk.EVFY55H5.js → chunk.HG4TPK7J.js} +38 -14
- package/cdn/chunks/{chunk.GBGDDTEL.js → chunk.HOIWGDVX.js} +1 -1
- package/cdn/chunks/chunk.I6WQAXU3.js +85 -0
- package/cdn/chunks/{chunk.75VU5MNL.js → chunk.J5KWVZHL.js} +2 -2
- package/cdn/chunks/{chunk.BEKIGEWZ.js → chunk.JEOLRBU6.js} +26 -3
- package/cdn/chunks/{chunk.NV5OLVPR.js → chunk.JG2GJKT5.js} +1 -1
- package/cdn/chunks/{chunk.6FWACI3G.js → chunk.JOVZPGCQ.js} +1 -1
- package/cdn/chunks/{chunk.N6Z3FRHY.js → chunk.JVTWZUNG.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.FULHOODX.js → chunk.LZCR7P7U.js} +2 -2
- 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.VI5JEKGK.js → chunk.N74GMZQD.js} +1 -1
- package/cdn/chunks/{chunk.2FOGPUI3.js → chunk.NMVBZ537.js} +1 -1
- package/cdn/chunks/{chunk.CTMJ2DNZ.js → chunk.NOI6NFVL.js} +1 -1
- 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.6HLUBEKO.js → chunk.PQNNELEM.js} +1 -1
- package/cdn/chunks/{chunk.OVBLP5E4.js → chunk.PRP4B2TV.js} +1 -1
- package/cdn/chunks/{chunk.KYZIL6TB.js → chunk.PZQUQ6DG.js} +1 -1
- package/cdn/chunks/chunk.QCPGBCQ3.js +72 -0
- 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.WD2ZD2TZ.js → chunk.SS3GSU3M.js} +2 -2
- package/cdn/chunks/{chunk.67KNPORK.js → chunk.SUXMTZZQ.js} +1 -1
- package/cdn/chunks/chunk.T4PQY3SD.js +194 -0
- package/cdn/chunks/{chunk.FLPTQ76Z.js → chunk.TY7NQYTC.js} +5 -5
- package/cdn/chunks/{chunk.VZJGVIXG.js → chunk.UJQUHHXT.js} +2 -0
- package/cdn/chunks/{chunk.C6VRBK7T.js → chunk.UM64ZD3C.js} +1 -1
- package/cdn/chunks/{chunk.NY5U3HSN.js → chunk.URME4YZI.js} +1 -1
- package/cdn/chunks/{chunk.OMPBUYUW.js → chunk.UYGSA2IW.js} +5 -5
- package/cdn/chunks/chunk.W6RA2ZKW.js +124 -0
- package/cdn/chunks/{chunk.JD7YUYPB.js → chunk.WLND36JK.js} +39 -15
- package/cdn/chunks/{chunk.AZBK27ET.js → chunk.WQLZJXIF.js} +1 -1
- package/cdn/chunks/{chunk.SMWE3ICX.js → chunk.XGOXFBM5.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.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/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/card-nav/card-nav.styles.d.ts +2 -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.d.ts +2 -0
- package/cdn/components/card-nav-item/card-nav-item.styles.js +10 -0
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/checkbox-button/checkbox-button.js +4 -4
- package/cdn/components/checkbox-card/checkbox-card.js +2 -2
- package/cdn/components/checkbox-group/checkbox-group.js +3 -3
- package/cdn/components/combobox/combobox.js +7 -7
- 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 +19 -19
- package/cdn/components/filter-date/filter-date.js +11 -11
- package/cdn/components/filter-range/filter-range.js +19 -19
- package/cdn/components/filter-select/filter-select.js +20 -20
- 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 +5 -5
- package/cdn/components/input/input.js +12 -12
- package/cdn/components/input-date/input-date.js +9 -9
- package/cdn/components/input-mask/input-mask.js +5 -5
- package/cdn/components/input-otp/input-otp.js +4 -4
- package/cdn/components/input-phone/input-phone.js +8 -8
- package/cdn/components/input-time/input-time.d.ts +7 -3
- package/cdn/components/input-time/input-time.js +6 -6
- package/cdn/components/input-time/input-time.styles.js +1 -1
- 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 +13 -13
- 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 +2 -2
- package/cdn/components/radio-button/radio-button.js +4 -4
- package/cdn/components/radio-card/radio-card.js +4 -4
- package/cdn/components/radio-group/radio-group.js +3 -3
- 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 +6 -6
- 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.js +4 -4
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.d.ts +3 -0
- package/cdn/components/table-container/table-container.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +2 -2
- package/cdn/components/table-header-row/table-header-row.js +7 -7
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +6 -6
- 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 +4 -4
- package/cdn/components/tooltip/tooltip.d.ts +2 -0
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +8 -8
- package/cdn/components/tree-item/tree-item.js +7 -7
- package/cdn/custom-elements.json +1246 -224
- package/cdn/design-system.d.ts +7 -2
- package/cdn/design-system.js +130 -105
- package/cdn/internal/components/form-control/form-control-layout.js +1 -1
- 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 +212 -37
- package/cdn/web-types.json +672 -103
- 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.DYTNEN2V.js → chunk.2TYHIVTN.js} +1 -1
- 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.VYIXCMT3.js → chunk.3ZF3W6DC.js} +5 -5
- package/dist/chunks/{chunk.KDEA34PP.js → chunk.4JZFGBJP.js} +1 -1
- package/dist/chunks/{chunk.MWWI3AU2.js → chunk.4VHQEXSY.js} +1 -1
- package/dist/chunks/{chunk.M4H37WUH.js → chunk.54CFE45F.js} +5 -0
- package/dist/chunks/{chunk.ZAZPAXHI.js → chunk.54XEUZ55.js} +1 -1
- package/dist/chunks/chunk.5KTLM3MD.js +106 -0
- package/dist/chunks/{chunk.533C7JJH.js → chunk.62WXVS5Q.js} +4 -4
- package/dist/chunks/{chunk.JHA6OLMK.js → chunk.635JP52V.js} +3 -3
- 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.4UC4W5Q5.js → chunk.6XCFILBM.js} +26 -3
- 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.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.INFNQBQD.js → chunk.CPBWQ6BE.js} +1 -1
- package/dist/chunks/{chunk.VJJQFEZ2.js → chunk.DRFXWCPL.js} +2 -2
- 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.G3UE6SMI.js → chunk.EQDAZLA2.js} +8 -5
- 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.DR3IPTYE.js → chunk.EY2LRNGD.js} +5 -5
- 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.O4HVYU6G.js → chunk.IE7IGJZB.js} +4 -4
- package/dist/chunks/{chunk.TRQQN4AO.js → chunk.IICLN6L3.js} +38 -14
- package/dist/chunks/{chunk.U2RG7USD.js → chunk.IR5ZDNLY.js} +1 -1
- package/dist/chunks/chunk.J4QE6NJC.js +70 -0
- package/dist/chunks/{chunk.6674T4KX.js → chunk.JJT6FP7U.js} +50 -34
- 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.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.RVCSQIWF.js → chunk.MKTUAWNS.js} +1 -1
- package/dist/chunks/{chunk.P7SN3TMY.js → chunk.NJNQX6FX.js} +1 -1
- package/dist/chunks/chunk.NZEV2R75.js +197 -0
- package/dist/chunks/{chunk.HQJDKIMG.js → chunk.OKUA77L4.js} +1 -1
- package/dist/chunks/{chunk.AC4PBQVM.js → chunk.OMUELARQ.js} +2 -2
- package/dist/chunks/{chunk.TXMAH3OK.js → chunk.ORLKMJIV.js} +39 -15
- package/dist/chunks/{chunk.IXAKBOI4.js → chunk.ORWJR56M.js} +1 -1
- package/dist/chunks/{chunk.JMJY2JIN.js → chunk.P2LEUT2Q.js} +1 -1
- 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.53DFT644.js → chunk.QFC4API2.js} +1 -1
- package/dist/chunks/{chunk.A4R5LBIA.js → chunk.QGPBBIGJ.js} +2 -2
- 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.FWHDRD6T.js → chunk.RS4S7SAD.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.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.BHY3DDPH.js → chunk.SWWPGGIS.js} +1 -1
- package/dist/chunks/chunk.TZVFQDBB.js +122 -0
- package/dist/chunks/{chunk.S6XG7G6X.js → chunk.VDYAE3MB.js} +2 -2
- package/dist/chunks/{chunk.2OZ6SQ6Y.js → chunk.WCJ3TXH5.js} +1 -1
- package/dist/chunks/{chunk.XG7KR6BI.js → chunk.WDLYTTNO.js} +1 -1
- package/dist/chunks/chunk.XAF7DDXJ.js +228 -0
- package/dist/chunks/{chunk.FC7AQRZS.js → chunk.XODWG3UJ.js} +1 -1
- package/dist/chunks/{chunk.YOISCONT.js → chunk.XVFPRM26.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/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 +4 -4
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-card/checkbox-card.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +7 -7
- 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 +18 -18
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +18 -18
- package/dist/components/filter-select/filter-select.js +19 -19
- 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 +5 -5
- package/dist/components/input/input.js +11 -11
- package/dist/components/input-date/input-date.js +8 -8
- package/dist/components/input-mask/input-mask.js +5 -5
- package/dist/components/input-otp/input-otp.js +4 -4
- package/dist/components/input-phone/input-phone.js +8 -8
- package/dist/components/input-time/input-time.d.ts +7 -3
- package/dist/components/input-time/input-time.js +6 -6
- package/dist/components/input-time/input-time.styles.js +1 -1
- 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 +12 -12
- 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 +2 -2
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-card/radio-card.js +4 -4
- package/dist/components/radio-group/radio-group.js +3 -3
- 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 +6 -6
- 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.js +4 -4
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.d.ts +3 -0
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +7 -7
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +6 -6
- 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 +4 -4
- package/dist/components/tooltip/tooltip.d.ts +2 -0
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/custom-elements.json +1246 -224
- package/dist/design-system.d.ts +7 -2
- package/dist/design-system.js +129 -104
- package/dist/internal/components/form-control/form-control-layout.js +1 -1
- 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 +212 -37
- package/dist/web-types.json +672 -103
- package/package.json +2 -2
- 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.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/cdn/components/{include/include.styles.d.ts → card-content/card-content.styles.d.ts} +0 -0
- /package/{dist/components/include/include.styles.d.ts → cdn/components/card-nav-accordion/card-nav-accordion.styles.d.ts} +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
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-accordion/card-nav-accordion.styles.ts
|
|
9
|
+
var card_nav_accordion_styles_default = i`
|
|
10
|
+
${component_styles_default}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
--card-nav-item-border-width: 1px;
|
|
15
|
+
--card-nav-accordion-border-color: var(--dsa-wc-card-nav-border-color);
|
|
16
|
+
--card-nav-accordion-border-color-hover: var(
|
|
17
|
+
--dsa-wc-card-nav-border-color-hover
|
|
18
|
+
);
|
|
19
|
+
--card-nav-accordion-border-color-transition-delay: 0s;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.card-nav-accordion {
|
|
23
|
+
font: var(--dsa-font-medium-bold);
|
|
24
|
+
color: var(--dsa-wc-card-nav-color);
|
|
25
|
+
overflow-anchor: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card-nav-accordion__header-button {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
border-radius: inherit;
|
|
32
|
+
padding: 0.75rem 0.5rem 0.75rem 1rem;
|
|
33
|
+
user-select: none;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
border-bottom: 1px solid var(--card-nav-accordion-border-color);
|
|
36
|
+
transition: border-color 0s ease-in-out
|
|
37
|
+
var(--card-nav-accordion-border-color-transition-delay);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.card-nav-accordion--open .card-nav-accordion__header-button {
|
|
41
|
+
border-color: var(--dsa-wc-card-nav-border-color);
|
|
42
|
+
transition: border-color 0s ease-in-out 0s;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.card-nav-accordion__header:focus-within :focus:focus-visible {
|
|
46
|
+
outline: var(--dsa-wc-focus-ring);
|
|
47
|
+
outline-offset: -1px;
|
|
48
|
+
}
|
|
49
|
+
.card-nav-accordion__header-button:hover,
|
|
50
|
+
.card-nav-accordion__header-button:focus {
|
|
51
|
+
background-color: var(--dsa-wc-card-nav-background-color-hover);
|
|
52
|
+
border-color: var(--card-nav-accordion-border-color-hover);
|
|
53
|
+
}
|
|
54
|
+
.card-nav-accordion--open .card-nav-accordion__header-button:hover,
|
|
55
|
+
.card-nav-accordion--open .card-nav-accordion__header-button:focus {
|
|
56
|
+
border-color: var(--dsa-wc-card-nav-border-color-hover);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.card-nav-accordion__header-button:not(
|
|
60
|
+
.card-nav-accordion--open
|
|
61
|
+
):focus-visible {
|
|
62
|
+
outline: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.card-nav-accordion__summary {
|
|
66
|
+
flex: 1 1 auto;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.card-nav-accordion__summary-icon {
|
|
72
|
+
flex: 0 0 auto;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
transition: var(--dsa-wc-transition-medium) rotate ease;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.card-nav-accordion--open.card-nav-accordion--chevron
|
|
79
|
+
.card-nav-accordion__summary-icon {
|
|
80
|
+
rotate: 180deg;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.card-nav-accordion__expand-icon {
|
|
84
|
+
padding: 0.5rem;
|
|
85
|
+
width: 1.25rem;
|
|
86
|
+
height: 1.25rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.card-nav-accordion__body {
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.card-nav-accordion__content {
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
::slotted(dsa-card-nav-item:last-child) {
|
|
98
|
+
--card-nav-item-border-width: var(--card-nav-item-border-width);
|
|
99
|
+
}
|
|
100
|
+
::slotted(dsa-card-nav-item) {
|
|
101
|
+
--card-nav-item-padding: 0.75rem 1.25rem 0.75rem 1.75rem;
|
|
102
|
+
--card-nav-item-font: var(--dsa-font-medium-normal);
|
|
103
|
+
}
|
|
104
|
+
`;
|
|
105
|
+
|
|
106
|
+
export {
|
|
107
|
+
card_nav_accordion_styles_default
|
|
108
|
+
};
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.2WRFDMKN.js";
|
|
16
16
|
import {
|
|
17
17
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -184,6 +184,13 @@ var DSATooltip = class extends ShoelaceElement {
|
|
|
184
184
|
this.open = false;
|
|
185
185
|
return await waitForEvent(this, "dsa-after-hide");
|
|
186
186
|
}
|
|
187
|
+
/** Automatically adds an accessible description to the trigger element */
|
|
188
|
+
handleDefaultSlotChange() {
|
|
189
|
+
const target = this.querySelector(
|
|
190
|
+
"dsa-button, dsa-icon-button"
|
|
191
|
+
);
|
|
192
|
+
target == null ? void 0 : target.setAttribute("description", this.content);
|
|
193
|
+
}
|
|
187
194
|
render() {
|
|
188
195
|
return x`
|
|
189
196
|
<dsa-popup
|
|
@@ -205,7 +212,7 @@ var DSATooltip = class extends ShoelaceElement {
|
|
|
205
212
|
arrow
|
|
206
213
|
hover-bridge
|
|
207
214
|
>
|
|
208
|
-
<slot slot="anchor"
|
|
215
|
+
<slot slot="anchor" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
209
216
|
|
|
210
217
|
<slot
|
|
211
218
|
name="content"
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tag_button_styles_default
|
|
3
|
+
} from "./chunk.W6RA2ZKW.js";
|
|
4
|
+
import {
|
|
5
|
+
i,
|
|
6
|
+
u
|
|
7
|
+
} from "./chunk.VIVOXZF6.js";
|
|
8
|
+
import {
|
|
9
|
+
ifDefinedAndNotEmpty
|
|
10
|
+
} from "./chunk.B6GVVW66.js";
|
|
11
|
+
import {
|
|
12
|
+
a11yWarning
|
|
13
|
+
} from "./chunk.PWL7QCVG.js";
|
|
14
|
+
import {
|
|
15
|
+
o
|
|
16
|
+
} from "./chunk.YQLIIKLI.js";
|
|
17
|
+
import {
|
|
18
|
+
e as e2
|
|
19
|
+
} from "./chunk.IKHG7XGO.js";
|
|
20
|
+
import {
|
|
21
|
+
ShoelaceElement,
|
|
22
|
+
e,
|
|
23
|
+
n,
|
|
24
|
+
t
|
|
25
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
26
|
+
import {
|
|
27
|
+
__decorateClass
|
|
28
|
+
} from "./chunk.4ZGVANML.js";
|
|
29
|
+
|
|
30
|
+
// src/components/tag-button/tag-button.ts
|
|
31
|
+
var DSATagButton = class extends ShoelaceElement {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.label = "";
|
|
35
|
+
this.variant = "neutral";
|
|
36
|
+
this.size = "medium";
|
|
37
|
+
this.accessibleName = "";
|
|
38
|
+
this.description = "";
|
|
39
|
+
this.href = "";
|
|
40
|
+
this.rel = "noreferrer noopener";
|
|
41
|
+
this.target = "_self";
|
|
42
|
+
}
|
|
43
|
+
isLink() {
|
|
44
|
+
return this.href ? true : false;
|
|
45
|
+
}
|
|
46
|
+
handleBlur() {
|
|
47
|
+
this.emit("dsa-blur");
|
|
48
|
+
}
|
|
49
|
+
handleFocus() {
|
|
50
|
+
this.emit("dsa-focus");
|
|
51
|
+
}
|
|
52
|
+
/** Simulates a click on the tag button. */
|
|
53
|
+
click() {
|
|
54
|
+
this.tagButton.click();
|
|
55
|
+
}
|
|
56
|
+
/** Sets focus on the tag button. */
|
|
57
|
+
focus(options) {
|
|
58
|
+
this.tagButton.focus(options);
|
|
59
|
+
}
|
|
60
|
+
/** Removes focus from the tag button. */
|
|
61
|
+
blur() {
|
|
62
|
+
this.tagButton.blur();
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
if (!this.label && !this.accessibleName) {
|
|
66
|
+
a11yWarning(
|
|
67
|
+
"<dsa-tag-button> requires a label or an accessible-name attribute for accessibility"
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
const isLink = this.isLink();
|
|
71
|
+
const htmlTag = isLink ? i`a` : i`button`;
|
|
72
|
+
return u`
|
|
73
|
+
<${htmlTag}
|
|
74
|
+
part="base"
|
|
75
|
+
class=${e2({
|
|
76
|
+
"tag-button": true,
|
|
77
|
+
// Variant
|
|
78
|
+
[`tag-button--${this.variant}`]: true,
|
|
79
|
+
// Sizes
|
|
80
|
+
"tag-button--small": this.size === "small",
|
|
81
|
+
"tag-button--medium": this.size === "medium",
|
|
82
|
+
"tag-button--large": this.size === "large"
|
|
83
|
+
})}
|
|
84
|
+
type=${o(isLink ? void 0 : "button")}
|
|
85
|
+
href=${ifDefinedAndNotEmpty(isLink ? this.href : void 0)}
|
|
86
|
+
target=${ifDefinedAndNotEmpty(isLink ? this.target : void 0)}
|
|
87
|
+
download=${ifDefinedAndNotEmpty(isLink ? this.download : void 0)}
|
|
88
|
+
rel=${ifDefinedAndNotEmpty(isLink ? this.rel : void 0)}
|
|
89
|
+
aria-label=${ifDefinedAndNotEmpty(this.accessibleName)}
|
|
90
|
+
aria-describedby="description"
|
|
91
|
+
@blur=${this.handleBlur}
|
|
92
|
+
@focus=${this.handleFocus}
|
|
93
|
+
>
|
|
94
|
+
<slot part="prefix" name="prefix" class="tag-button__prefix"></slot>
|
|
95
|
+
|
|
96
|
+
<span class="tag-button__content"> ${this.label} </span>
|
|
97
|
+
|
|
98
|
+
<slot part="suffix" name="suffix" class="tag-button__suffix"></slot>
|
|
99
|
+
</${htmlTag}>
|
|
100
|
+
${this.description !== "" ? u`
|
|
101
|
+
<p id="description" class="tag-button__description">
|
|
102
|
+
${this.description}
|
|
103
|
+
</p>
|
|
104
|
+
` : ""}
|
|
105
|
+
`;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
DSATagButton.styles = tag_button_styles_default;
|
|
109
|
+
__decorateClass([
|
|
110
|
+
e(".tag-button")
|
|
111
|
+
], DSATagButton.prototype, "tagButton", 2);
|
|
112
|
+
__decorateClass([
|
|
113
|
+
n()
|
|
114
|
+
], DSATagButton.prototype, "label", 2);
|
|
115
|
+
__decorateClass([
|
|
116
|
+
n({ reflect: true })
|
|
117
|
+
], DSATagButton.prototype, "variant", 2);
|
|
118
|
+
__decorateClass([
|
|
119
|
+
n({ reflect: true })
|
|
120
|
+
], DSATagButton.prototype, "size", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
n({ attribute: "accessible-name" })
|
|
123
|
+
], DSATagButton.prototype, "accessibleName", 2);
|
|
124
|
+
__decorateClass([
|
|
125
|
+
n({ attribute: "description" })
|
|
126
|
+
], DSATagButton.prototype, "description", 2);
|
|
127
|
+
__decorateClass([
|
|
128
|
+
n()
|
|
129
|
+
], DSATagButton.prototype, "href", 2);
|
|
130
|
+
__decorateClass([
|
|
131
|
+
n()
|
|
132
|
+
], DSATagButton.prototype, "rel", 2);
|
|
133
|
+
__decorateClass([
|
|
134
|
+
n()
|
|
135
|
+
], DSATagButton.prototype, "download", 2);
|
|
136
|
+
__decorateClass([
|
|
137
|
+
n()
|
|
138
|
+
], DSATagButton.prototype, "target", 2);
|
|
139
|
+
DSATagButton = __decorateClass([
|
|
140
|
+
t("dsa-tag-button")
|
|
141
|
+
], DSATagButton);
|
|
142
|
+
|
|
143
|
+
export {
|
|
144
|
+
DSATagButton
|
|
145
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSATreeItem
|
|
3
|
+
} from "./chunk.MJMSFEEL.js";
|
|
1
4
|
import {
|
|
2
5
|
tree_styles_default
|
|
3
6
|
} from "./chunk.YGUWRBBP.js";
|
|
4
|
-
import {
|
|
5
|
-
DSATreeItem
|
|
6
|
-
} from "./chunk.OFWHWMUH.js";
|
|
7
7
|
import {
|
|
8
8
|
clamp
|
|
9
9
|
} from "./chunk.HF7GESMZ.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -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",
|
|
@@ -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";
|
|
@@ -117,7 +117,7 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
117
117
|
${this.renderCounter()}
|
|
118
118
|
|
|
119
119
|
${this.description !== "" ? x`
|
|
120
|
-
<p id="description"
|
|
120
|
+
<p id="description" class="form-control__description">
|
|
121
121
|
${this.description}
|
|
122
122
|
</p>
|
|
123
123
|
` : ""}
|
|
@@ -407,7 +407,7 @@ var DSARadioGroup = class extends ShoelaceElement {
|
|
|
407
407
|
this.customValidityError !== "" ? this.customValidityError : this.errorMessage
|
|
408
408
|
) : ""}
|
|
409
409
|
${this.description !== "" ? x`
|
|
410
|
-
<p id="description"
|
|
410
|
+
<p id="description" class="form-control__description">
|
|
411
411
|
${this.description}
|
|
412
412
|
</p>
|
|
413
413
|
` : ""}
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
ShoelaceElement,
|
|
22
22
|
n,
|
|
23
|
-
r,
|
|
24
23
|
t
|
|
25
24
|
} from "./chunk.DZB6XUZ7.js";
|
|
26
25
|
import {
|
|
@@ -78,9 +77,6 @@ var DSACard = class extends ShoelaceElement {
|
|
|
78
77
|
}
|
|
79
78
|
};
|
|
80
79
|
DSACard.styles = card_styles_default;
|
|
81
|
-
__decorateClass([
|
|
82
|
-
r()
|
|
83
|
-
], DSACard.prototype, "tag", 2);
|
|
84
80
|
__decorateClass([
|
|
85
81
|
n()
|
|
86
82
|
], DSACard.prototype, "href", 2);
|