@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputTime
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IICLN6L3.js";
|
|
4
4
|
import {
|
|
5
5
|
getOverridenIconDetails,
|
|
6
6
|
isInvalidAmountKey,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk.Z2A5AEMU.js";
|
|
12
12
|
import {
|
|
13
13
|
DSAInputDate
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.EY2LRNGD.js";
|
|
15
15
|
import {
|
|
16
16
|
input_styles_default
|
|
17
17
|
} from "./chunk.OHDR6G6J.js";
|
|
18
18
|
import {
|
|
19
19
|
FormControlLayout
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.MKTUAWNS.js";
|
|
21
21
|
import {
|
|
22
22
|
defaultValue
|
|
23
23
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk.JA7YFGLI.js";
|
|
27
27
|
import {
|
|
28
28
|
LocalizeController
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.QADAWCTI.js";
|
|
30
30
|
import {
|
|
31
31
|
watch
|
|
32
32
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -77,7 +77,11 @@ var DSAInput = class extends FormControlLayout {
|
|
|
77
77
|
/** Gets or sets the current value as a number. Returns `NaN` if the value can't be converted. */
|
|
78
78
|
get valueAsNumber() {
|
|
79
79
|
var _a, _b;
|
|
80
|
-
|
|
80
|
+
if (this.type === "amount") {
|
|
81
|
+
return parseFloat(this.value.replace(",", "."));
|
|
82
|
+
} else {
|
|
83
|
+
return (_b = (_a = this.standardInput) == null ? void 0 : _a.valueAsNumber) != null ? _b : parseFloat(this.value);
|
|
84
|
+
}
|
|
81
85
|
}
|
|
82
86
|
set valueAsNumber(newValue) {
|
|
83
87
|
const input = document.createElement("input");
|
|
@@ -87,7 +91,8 @@ var DSAInput = class extends FormControlLayout {
|
|
|
87
91
|
}
|
|
88
92
|
/** Gets the validity state object */
|
|
89
93
|
get validity() {
|
|
90
|
-
|
|
94
|
+
var _a, _b;
|
|
95
|
+
return (_b = (_a = this.input) == null ? void 0 : _a.validity) != null ? _b : true;
|
|
91
96
|
}
|
|
92
97
|
/** Gets the validation message */
|
|
93
98
|
get validationMessage() {
|
|
@@ -233,7 +238,9 @@ var DSAInput = class extends FormControlLayout {
|
|
|
233
238
|
this.formControlController.setValidity(this.disabled);
|
|
234
239
|
}
|
|
235
240
|
handleStepChange() {
|
|
236
|
-
this.
|
|
241
|
+
if (this.input instanceof DSAInputTime) {
|
|
242
|
+
this.input.step = typeof this.step === "number" ? this.step : 60;
|
|
243
|
+
} else this.standardInput.step = String(this.step);
|
|
237
244
|
this.formControlController.updateValidity();
|
|
238
245
|
}
|
|
239
246
|
async handleValueChange() {
|
|
@@ -299,32 +306,44 @@ var DSAInput = class extends FormControlLayout {
|
|
|
299
306
|
this.input.value = numberToFrAmount(newValue);
|
|
300
307
|
this.value = this.input.value.replace(",", ".");
|
|
301
308
|
}
|
|
302
|
-
/** Increments the value of a numeric input type by the value of the step attribute. */
|
|
303
|
-
stepUp() {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
309
|
+
/** Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
|
|
310
|
+
stepUp(stepNumber) {
|
|
311
|
+
switch (this.type) {
|
|
312
|
+
case "date":
|
|
313
|
+
return;
|
|
314
|
+
case "time":
|
|
315
|
+
if (!(this.input instanceof DSAInputTime)) return;
|
|
316
|
+
this.input.stepUp(stepNumber);
|
|
317
|
+
this.value = this.input.value;
|
|
318
|
+
return;
|
|
319
|
+
case "amount":
|
|
320
|
+
this.adjustAmountValue("up");
|
|
321
|
+
return;
|
|
322
|
+
default:
|
|
323
|
+
this.standardInput.stepUp(stepNumber);
|
|
324
|
+
if (this.value !== this.standardInput.value) {
|
|
325
|
+
this.value = this.standardInput.value;
|
|
326
|
+
}
|
|
314
327
|
}
|
|
315
328
|
}
|
|
316
|
-
/** Decrements the value of a numeric input type by the value of the step attribute.
|
|
317
|
-
stepDown() {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
329
|
+
/** Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter. */
|
|
330
|
+
stepDown(stepNumber) {
|
|
331
|
+
switch (this.type) {
|
|
332
|
+
case "date":
|
|
333
|
+
return;
|
|
334
|
+
case "time":
|
|
335
|
+
if (!(this.input instanceof DSAInputTime)) return;
|
|
336
|
+
this.input.stepDown(stepNumber);
|
|
337
|
+
this.value = this.input.value;
|
|
338
|
+
return;
|
|
339
|
+
case "amount":
|
|
340
|
+
this.adjustAmountValue("down");
|
|
341
|
+
return;
|
|
342
|
+
default:
|
|
343
|
+
this.standardInput.stepDown(stepNumber);
|
|
344
|
+
if (this.value !== this.standardInput.value) {
|
|
345
|
+
this.value = this.standardInput.value;
|
|
346
|
+
}
|
|
328
347
|
}
|
|
329
348
|
}
|
|
330
349
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
@@ -580,9 +599,6 @@ __decorateClass([
|
|
|
580
599
|
__decorateClass([
|
|
581
600
|
query("dsa-input-time")
|
|
582
601
|
], DSAInput.prototype, "timeInput", 2);
|
|
583
|
-
__decorateClass([
|
|
584
|
-
state()
|
|
585
|
-
], DSAInput.prototype, "input", 2);
|
|
586
602
|
__decorateClass([
|
|
587
603
|
state()
|
|
588
604
|
], DSAInput.prototype, "hasFocus", 2);
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk.HGR7A5FK.js";
|
|
15
15
|
import {
|
|
16
16
|
LocalizeController
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.QADAWCTI.js";
|
|
18
18
|
import {
|
|
19
19
|
watch
|
|
20
20
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -36,7 +36,6 @@ var DSADropdown = class extends ShoelaceElement {
|
|
|
36
36
|
this.open = false;
|
|
37
37
|
this.placement = "bottom-start";
|
|
38
38
|
this.disabled = false;
|
|
39
|
-
this.stayOpenOnSelect = false;
|
|
40
39
|
this.skidding = 0;
|
|
41
40
|
this.hoist = false;
|
|
42
41
|
}
|
|
@@ -286,9 +285,6 @@ __decorateClass([
|
|
|
286
285
|
__decorateClass([
|
|
287
286
|
property({ type: Boolean, reflect: true })
|
|
288
287
|
], DSADropdown.prototype, "disabled", 2);
|
|
289
|
-
__decorateClass([
|
|
290
|
-
property({ attribute: "stay-open-on-select", type: Boolean, reflect: true })
|
|
291
|
-
], DSADropdown.prototype, "stayOpenOnSelect", 2);
|
|
292
288
|
__decorateClass([
|
|
293
289
|
property({ attribute: false })
|
|
294
290
|
], DSADropdown.prototype, "containingElement", 2);
|
|
@@ -32,6 +32,12 @@ var DSAAnchorTag = class extends ShoelaceElement {
|
|
|
32
32
|
this.target = "_self";
|
|
33
33
|
this.size = "medium";
|
|
34
34
|
}
|
|
35
|
+
connectedCallback() {
|
|
36
|
+
console.warn(
|
|
37
|
+
"The <dsa-anchor-tag> element is deprecated, and will be removed in the next major release. Please consider using the <dsa-tag-button> element instead."
|
|
38
|
+
);
|
|
39
|
+
super.connectedCallback();
|
|
40
|
+
}
|
|
35
41
|
render() {
|
|
36
42
|
if (!this.label) {
|
|
37
43
|
a11yWarning(
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import {
|
|
2
|
+
card_content_styles_default
|
|
3
|
+
} from "./chunk.NZEV2R75.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.NOMN6DGD.js";
|
|
10
|
+
import {
|
|
11
|
+
ifDefinedAndNotEmpty
|
|
12
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
13
|
+
import {
|
|
14
|
+
a11yWarning
|
|
15
|
+
} from "./chunk.PWL7QCVG.js";
|
|
16
|
+
import {
|
|
17
|
+
ShoelaceElement
|
|
18
|
+
} from "./chunk.XZ5FE34T.js";
|
|
19
|
+
import {
|
|
20
|
+
__decorateClass
|
|
21
|
+
} from "./chunk.S3NI7NKU.js";
|
|
22
|
+
|
|
23
|
+
// src/components/card-content/card-content.ts
|
|
24
|
+
import { customElement, property } from "lit/decorators.js";
|
|
25
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
26
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
27
|
+
import { html, literal } from "lit/static-html.js";
|
|
28
|
+
var DSACardContent = class extends ShoelaceElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.hasSlotController = new HasSlotController(
|
|
32
|
+
this,
|
|
33
|
+
"media",
|
|
34
|
+
"tags",
|
|
35
|
+
"title-icon",
|
|
36
|
+
"title",
|
|
37
|
+
"subtitle",
|
|
38
|
+
"footer"
|
|
39
|
+
);
|
|
40
|
+
this.href = "";
|
|
41
|
+
this.rel = "noreferrer noopener";
|
|
42
|
+
this.variant = "outlined";
|
|
43
|
+
this.layout = "vertical";
|
|
44
|
+
this.size = "large";
|
|
45
|
+
}
|
|
46
|
+
isLink() {
|
|
47
|
+
return this.href ? true : false;
|
|
48
|
+
}
|
|
49
|
+
updateTagsSizes() {
|
|
50
|
+
const slottedTags = this.querySelectorAll("dsa-tag");
|
|
51
|
+
slottedTags.forEach(
|
|
52
|
+
(tag) => tag.size = this.size === "large" ? "medium" : "small"
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
handleTagsSlotChange() {
|
|
56
|
+
this.updateTagsSizes();
|
|
57
|
+
}
|
|
58
|
+
handleSizeChange() {
|
|
59
|
+
this.updateTagsSizes();
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
const isLink = this.isLink();
|
|
63
|
+
const tag = isLink ? literal`a` : literal`div`;
|
|
64
|
+
const hasSideLinkIcon = isLink && !this.hasSlotController.test("footer") && this.layout === "left-align";
|
|
65
|
+
const hasBottomLinkIcon = isLink && !this.hasSlotController.test("footer") && this.layout !== "left-align";
|
|
66
|
+
if (isLink && !this.hasSlotController.test("title")) {
|
|
67
|
+
a11yWarning(
|
|
68
|
+
"<dsa-card-content> requires a title slot for accessibility when used as a link"
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
return html`
|
|
72
|
+
<article
|
|
73
|
+
part="base"
|
|
74
|
+
class=${classMap({
|
|
75
|
+
"card-content": true,
|
|
76
|
+
"card-content--link": isLink,
|
|
77
|
+
"card-content--small": this.size === "small",
|
|
78
|
+
"card-content--large": this.size === "large",
|
|
79
|
+
"card-content--left-align": this.layout === "left-align",
|
|
80
|
+
"card-content--right-align": this.layout === "right-align",
|
|
81
|
+
"card-content--filled": this.variant === "filled"
|
|
82
|
+
})}
|
|
83
|
+
>
|
|
84
|
+
<slot name="media" class=${ifDefinedAndNotEmpty(
|
|
85
|
+
this.hasSlotController.test("media") ? "card-content__media" : void 0
|
|
86
|
+
)}></slot>
|
|
87
|
+
<div part="body" class="card-content__body">
|
|
88
|
+
<slot
|
|
89
|
+
name="tags"
|
|
90
|
+
@slotchange=${this.handleTagsSlotChange}
|
|
91
|
+
class=${ifDefinedAndNotEmpty(
|
|
92
|
+
this.hasSlotController.test("tags") ? "card-content__tags" : void 0
|
|
93
|
+
)}
|
|
94
|
+
></slot>
|
|
95
|
+
<div class="card-content__title_block">
|
|
96
|
+
<slot name="title-icon" class=${ifDefinedAndNotEmpty(
|
|
97
|
+
this.hasSlotController.test("title-icon") ? "card-content__title-icon" : void 0
|
|
98
|
+
)}></slot>
|
|
99
|
+
<div class="card-content__title-block-text">
|
|
100
|
+
<${tag}
|
|
101
|
+
href=${ifDefined(isLink ? this.href : void 0)}
|
|
102
|
+
target=${ifDefined(isLink ? this.target : void 0)}
|
|
103
|
+
download=${ifDefined(isLink ? this.download : void 0)}
|
|
104
|
+
rel=${ifDefined(isLink ? this.rel : void 0)}
|
|
105
|
+
>
|
|
106
|
+
<slot
|
|
107
|
+
name="title"
|
|
108
|
+
class=${ifDefinedAndNotEmpty(
|
|
109
|
+
this.hasSlotController.test("title") ? "card-content__title" : void 0
|
|
110
|
+
)}
|
|
111
|
+
></slot>
|
|
112
|
+
</${tag}>
|
|
113
|
+
<slot
|
|
114
|
+
name="subtitle"
|
|
115
|
+
class=${ifDefinedAndNotEmpty(
|
|
116
|
+
this.hasSlotController.test("subtitle") ? "card-content__subtitle" : void 0
|
|
117
|
+
)}>
|
|
118
|
+
</slot>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
${this.hasSlotController.test("[default]") ? html` <slot class="card-content__content"></slot> ` : ""}
|
|
122
|
+
<slot
|
|
123
|
+
name="footer"
|
|
124
|
+
part="footer"
|
|
125
|
+
class=${ifDefinedAndNotEmpty(
|
|
126
|
+
this.hasSlotController.test("footer") ? "card-content__footer" : void 0
|
|
127
|
+
)}
|
|
128
|
+
tabindex=${ifDefined(isLink ? "-1" : void 0)}
|
|
129
|
+
></slot>
|
|
130
|
+
${hasBottomLinkIcon ? html`
|
|
131
|
+
<div class="card-content__link-bottom-icon-container">
|
|
132
|
+
<dsa-icon
|
|
133
|
+
class="card-content__link-icon"
|
|
134
|
+
name="chevron_right"
|
|
135
|
+
library="system"
|
|
136
|
+
aria-hidden="true"
|
|
137
|
+
></dsa-icon>
|
|
138
|
+
</div>
|
|
139
|
+
` : ""}
|
|
140
|
+
</div>
|
|
141
|
+
${hasSideLinkIcon ? html`
|
|
142
|
+
<div class="card-content__link-icon-container">
|
|
143
|
+
<dsa-icon
|
|
144
|
+
class="card-content__link-icon"
|
|
145
|
+
name="chevron_right"
|
|
146
|
+
library="system"
|
|
147
|
+
aria-hidden="true"
|
|
148
|
+
></dsa-icon>
|
|
149
|
+
</div>
|
|
150
|
+
` : ""}
|
|
151
|
+
</article>
|
|
152
|
+
`;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
DSACardContent.styles = card_content_styles_default;
|
|
156
|
+
__decorateClass([
|
|
157
|
+
property()
|
|
158
|
+
], DSACardContent.prototype, "href", 2);
|
|
159
|
+
__decorateClass([
|
|
160
|
+
property()
|
|
161
|
+
], DSACardContent.prototype, "target", 2);
|
|
162
|
+
__decorateClass([
|
|
163
|
+
property()
|
|
164
|
+
], DSACardContent.prototype, "rel", 2);
|
|
165
|
+
__decorateClass([
|
|
166
|
+
property()
|
|
167
|
+
], DSACardContent.prototype, "download", 2);
|
|
168
|
+
__decorateClass([
|
|
169
|
+
property({ reflect: true })
|
|
170
|
+
], DSACardContent.prototype, "variant", 2);
|
|
171
|
+
__decorateClass([
|
|
172
|
+
property({ reflect: true })
|
|
173
|
+
], DSACardContent.prototype, "layout", 2);
|
|
174
|
+
__decorateClass([
|
|
175
|
+
property({ reflect: true })
|
|
176
|
+
], DSACardContent.prototype, "size", 2);
|
|
177
|
+
__decorateClass([
|
|
178
|
+
watch("size")
|
|
179
|
+
], DSACardContent.prototype, "handleSizeChange", 1);
|
|
180
|
+
DSACardContent = __decorateClass([
|
|
181
|
+
customElement("dsa-card-content")
|
|
182
|
+
], DSACardContent);
|
|
183
|
+
|
|
184
|
+
export {
|
|
185
|
+
DSACardContent
|
|
186
|
+
};
|
|
@@ -111,7 +111,7 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
111
111
|
${this.renderCounter()}
|
|
112
112
|
|
|
113
113
|
${this.description !== "" ? html`
|
|
114
|
-
<p id="description"
|
|
114
|
+
<p id="description" class="form-control__description">
|
|
115
115
|
${this.description}
|
|
116
116
|
</p>
|
|
117
117
|
` : ""}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/card-content/card-content.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var card_content_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Resetting slotted elements styles */
|
|
15
|
+
::slotted(*) {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
font-size: 100%;
|
|
19
|
+
font: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Main card container */
|
|
23
|
+
.card-content {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
background-color: var(--dsa-wc-card-background);
|
|
28
|
+
border: var(--dsa-wc-card-border);
|
|
29
|
+
border-radius: var(--dsa-radius-8);
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Layout variants */
|
|
34
|
+
.card-content--left-align {
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
}
|
|
37
|
+
.card-content--right-align {
|
|
38
|
+
flex-direction: row-reverse;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Style variant */
|
|
42
|
+
.card-content--filled {
|
|
43
|
+
background-color: var(--dsa-wc-card-content-filled-background-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Link styling */
|
|
47
|
+
.card-content--link {
|
|
48
|
+
transition: var(--dsa-wc-transition-x-fast) background-color,
|
|
49
|
+
var(--dsa-wc-transition-x-fast) border,
|
|
50
|
+
var(--dsa-wc-transition-x-fast) box-shadow;
|
|
51
|
+
var(--dsa-wc-transition-x-fast) transform;
|
|
52
|
+
text-decoration: none;
|
|
53
|
+
color: inherit;
|
|
54
|
+
}
|
|
55
|
+
.card-content--link:focus-within {
|
|
56
|
+
outline: var(--dsa-wc-focus-ring);
|
|
57
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
58
|
+
}
|
|
59
|
+
.card-content--link:hover, .card-content--link:focus-within {
|
|
60
|
+
background-color: var(--dsa-wc-card-link-background-active);
|
|
61
|
+
border-color: var(--dsa-wc-card-link-border-color-hover);
|
|
62
|
+
}
|
|
63
|
+
.card-content--link a {
|
|
64
|
+
text-decoration: none;
|
|
65
|
+
}
|
|
66
|
+
.card-content--link a:focus {
|
|
67
|
+
outline: none;
|
|
68
|
+
}
|
|
69
|
+
.card-content--link a::after{
|
|
70
|
+
position: absolute;
|
|
71
|
+
left: 0;
|
|
72
|
+
width: 100%;
|
|
73
|
+
top: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
content: '';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Card media */
|
|
79
|
+
.card-content__media {
|
|
80
|
+
display: flex;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Card body */
|
|
84
|
+
.card-content__body {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex:1;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
padding: var(--dsa-wc-card-content-body-padding);
|
|
89
|
+
overflow: auto;
|
|
90
|
+
-webkit-overflow-scrolling: touch;
|
|
91
|
+
font: var(--dsa-wc-card-body-font);
|
|
92
|
+
}
|
|
93
|
+
.card-content--small .card-content__body {
|
|
94
|
+
padding: var(--dsa-wc-card-small-content-body-padding);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Tags */
|
|
98
|
+
.card-content__tags {
|
|
99
|
+
display: flex;
|
|
100
|
+
gap: var(--dsa-spacing-8);
|
|
101
|
+
margin-bottom: var(--dsa-wc-card-content-tags-margin-bottom);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Title block */
|
|
105
|
+
.card-content__title_block {
|
|
106
|
+
display: flex;
|
|
107
|
+
gap: var(--dsa-spacing-12);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Title text block */
|
|
111
|
+
.card-content__title-block-text {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
gap: var(--dsa-wc-card-content-title-block-gap);
|
|
115
|
+
justify-content: center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Title */
|
|
119
|
+
.card-content__title, .card-content__title-icon {
|
|
120
|
+
color: var(--dsa-wc-card-content-title-color);
|
|
121
|
+
}
|
|
122
|
+
.card-content__title-block-text .card-content__title {
|
|
123
|
+
font: var(--dsa-wc-card-content-large-title-font);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.card-content--small .card-content__title-block-text .card-content__title {
|
|
127
|
+
font: var(--dsa-wc-card-content-small-title-font);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Subtitle */
|
|
131
|
+
.card-content__title-block-text .card-content__subtitle {
|
|
132
|
+
font: var(--dsa-wc-card-content-subtitle-font);
|
|
133
|
+
color: var(--dsa-wc-card-content-subtitle-text-color);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Title icon */
|
|
137
|
+
.card-content__title-icon::slotted(*) {
|
|
138
|
+
flex-shrink: 0;
|
|
139
|
+
width: var(--dsa-wc-card-content-title-icon-size);
|
|
140
|
+
height: var(--dsa-wc-card-content-title-icon-size);
|
|
141
|
+
}
|
|
142
|
+
.card-content--small .card-content__title-icon::slotted(*) {
|
|
143
|
+
width: var(--dsa-wc-card-content-small-title-icon-size);
|
|
144
|
+
height: var(--dsa-wc-card-content-small-title-icon-size);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* Main slotted content */
|
|
148
|
+
.card-content__content {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
gap: var(--dsa-spacing-32);
|
|
152
|
+
margin-top: var(--dsa-wc-card-content-margin-top);
|
|
153
|
+
color: var(--dsa-wc-card-content-content-color);
|
|
154
|
+
font: var(--dsa-wc-card-content-content-font)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Footer */
|
|
158
|
+
.card-content__footer {
|
|
159
|
+
display: flex;
|
|
160
|
+
gap: var(--dsa-spacing-16);
|
|
161
|
+
flex-direction: row;
|
|
162
|
+
justify-content: flex-end;
|
|
163
|
+
text-align: right;
|
|
164
|
+
margin-top: auto;
|
|
165
|
+
padding-top: var(--dsa-wc-card-content-footer-padding-top);
|
|
166
|
+
}
|
|
167
|
+
.card-content--link .card-content__footer {
|
|
168
|
+
pointer-events: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Link card chevron icon */
|
|
172
|
+
.card-content__link-icon {
|
|
173
|
+
width: var(--dsa-wc-card-content-link-large-icon-size);
|
|
174
|
+
height: var(--dsa-wc-card-content-link-large-icon-size);
|
|
175
|
+
padding: var(--dsa-wc-card-content-link-icon-padding);
|
|
176
|
+
color: var(--dsa-wc-card-content-chevron-color);
|
|
177
|
+
}
|
|
178
|
+
.card-content--small .card-content__link-icon {
|
|
179
|
+
width: var(--dsa-wc-card-content-link-small-icon-size);
|
|
180
|
+
height: var(--dsa-wc-card-content-link-small-icon-size);
|
|
181
|
+
}
|
|
182
|
+
.card-content__link-bottom-icon-container {
|
|
183
|
+
display: flex;
|
|
184
|
+
margin-left: auto;
|
|
185
|
+
margin-top: auto;
|
|
186
|
+
padding-top: var(--dsa-wc-card-content-footer-padding-top);
|
|
187
|
+
}
|
|
188
|
+
.card-content__link-icon-container {
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
margin-inline-start: auto
|
|
192
|
+
}
|
|
193
|
+
`;
|
|
194
|
+
|
|
195
|
+
export {
|
|
196
|
+
card_content_styles_default
|
|
197
|
+
};
|
|
@@ -309,7 +309,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
309
309
|
|
|
310
310
|
${this.error ? renderFormElementErrors(this.errorMessage) : ""}
|
|
311
311
|
${this.description ? html`
|
|
312
|
-
<p id="description"
|
|
312
|
+
<p id="description" class="form-control__description">
|
|
313
313
|
${this.description}
|
|
314
314
|
</p>
|
|
315
315
|
` : ""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QGPBBIGJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getPhoneConfig
|
|
6
6
|
} from "./chunk.YKKP7YAT.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.7OLEA3GQ.js";
|
|
19
19
|
import {
|
|
20
20
|
FormControlLayout
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.MKTUAWNS.js";
|
|
22
22
|
import {
|
|
23
23
|
defaultValue
|
|
24
24
|
} from "./chunk.CMJ2SRTL.js";
|