@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
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.QADAWCTI.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -65,6 +65,21 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
65
65
|
this.showTableActions = true;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
handleCaptionSlotChange() {
|
|
69
|
+
this.linkCaptionAndTable();
|
|
70
|
+
}
|
|
71
|
+
handleTableSlotChange() {
|
|
72
|
+
this.linkCaptionAndTable();
|
|
73
|
+
}
|
|
74
|
+
linkCaptionAndTable() {
|
|
75
|
+
const tableCaption = this.querySelector("dsa-table-caption");
|
|
76
|
+
const tableElement = this.querySelector("dsa-table");
|
|
77
|
+
if (!tableCaption || !tableElement || tableCaption.id || tableElement.getAttribute("aria-labelledby"))
|
|
78
|
+
return;
|
|
79
|
+
const randomId = Math.floor(Math.random() * 999999999).toString();
|
|
80
|
+
tableCaption.id = randomId;
|
|
81
|
+
tableElement.setAttribute("aria-labelledby", randomId);
|
|
82
|
+
}
|
|
68
83
|
handleShowTableActions() {
|
|
69
84
|
const actionBar = this.querySelector("dsa-table-action");
|
|
70
85
|
const toolbar = this.querySelector("dsa-table-toolbar");
|
|
@@ -120,7 +135,11 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
120
135
|
const hasToolbar = this.hasSlotController.test("toolbar");
|
|
121
136
|
const hasAction = this.hasSlotController.test("action");
|
|
122
137
|
return html`
|
|
123
|
-
<slot
|
|
138
|
+
<slot
|
|
139
|
+
part="caption"
|
|
140
|
+
name="caption"
|
|
141
|
+
@slotchange=${this.handleCaptionSlotChange}
|
|
142
|
+
></slot>
|
|
124
143
|
<slot part="export" name="export"></slot>
|
|
125
144
|
<div
|
|
126
145
|
part="bar-container"
|
|
@@ -132,7 +151,11 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
132
151
|
<slot part="toolbar" name="toolbar"></slot>
|
|
133
152
|
<slot part="action" name="action"></slot>
|
|
134
153
|
</div>
|
|
135
|
-
<slot
|
|
154
|
+
<slot
|
|
155
|
+
part="table"
|
|
156
|
+
name="table"
|
|
157
|
+
@slotchange=${this.handleTableSlotChange}
|
|
158
|
+
></slot>
|
|
136
159
|
<slot part="pagination" name="pagination"></slot>
|
|
137
160
|
<dsa-visually-hidden aria-live="polite" aria-atomic="true">
|
|
138
161
|
${this.showTableActions ? html`<span
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import {
|
|
2
|
+
card_nav_item_styles_default
|
|
3
|
+
} from "./chunk.3XTO3LV5.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
a11yWarning
|
|
9
|
+
} from "./chunk.PWL7QCVG.js";
|
|
10
|
+
import {
|
|
11
|
+
ShoelaceElement
|
|
12
|
+
} from "./chunk.XZ5FE34T.js";
|
|
13
|
+
import {
|
|
14
|
+
__decorateClass
|
|
15
|
+
} from "./chunk.S3NI7NKU.js";
|
|
16
|
+
|
|
17
|
+
// src/components/card-nav-item/card-nav-item.ts
|
|
18
|
+
import { customElement, property } from "lit/decorators.js";
|
|
19
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
20
|
+
import { html, literal } from "lit/static-html.js";
|
|
21
|
+
var DSACardNavItem = class extends ShoelaceElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.hasSlotController = new HasSlotController(this, "[default]");
|
|
25
|
+
this.href = "";
|
|
26
|
+
this.rel = "noreferrer noopener";
|
|
27
|
+
this.role = "listitem";
|
|
28
|
+
}
|
|
29
|
+
isLink() {
|
|
30
|
+
return this.href ? true : false;
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const isLink = this.isLink();
|
|
34
|
+
const tag = isLink ? literal`a` : literal`button`;
|
|
35
|
+
if (!this.hasSlotController.test("[default]")) {
|
|
36
|
+
a11yWarning(
|
|
37
|
+
"<dsa-card-nav-item> requires slotted content for accessibility"
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
return html`
|
|
41
|
+
<${tag}
|
|
42
|
+
part="base"
|
|
43
|
+
class="card-nav-item"
|
|
44
|
+
href=${ifDefined(isLink ? this.href : void 0)}
|
|
45
|
+
target=${ifDefined(isLink ? this.target : void 0)}
|
|
46
|
+
download=${ifDefined(isLink ? this.download : void 0)}
|
|
47
|
+
rel=${ifDefined(isLink ? this.rel : void 0)}
|
|
48
|
+
>
|
|
49
|
+
<div class="card-nav-item__body">
|
|
50
|
+
<slot></slot>
|
|
51
|
+
<dsa-icon name="arrow_forward" class="card-nav-item__icon"></dsa-icon>
|
|
52
|
+
</div>
|
|
53
|
+
</${tag}>
|
|
54
|
+
`;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
DSACardNavItem.styles = card_nav_item_styles_default;
|
|
58
|
+
__decorateClass([
|
|
59
|
+
property()
|
|
60
|
+
], DSACardNavItem.prototype, "href", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
property()
|
|
63
|
+
], DSACardNavItem.prototype, "target", 2);
|
|
64
|
+
__decorateClass([
|
|
65
|
+
property()
|
|
66
|
+
], DSACardNavItem.prototype, "rel", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
property()
|
|
69
|
+
], DSACardNavItem.prototype, "download", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
property({ reflect: true })
|
|
72
|
+
], DSACardNavItem.prototype, "role", 2);
|
|
73
|
+
DSACardNavItem = __decorateClass([
|
|
74
|
+
customElement("dsa-card-nav-item")
|
|
75
|
+
], DSACardNavItem);
|
|
76
|
+
|
|
77
|
+
export {
|
|
78
|
+
DSACardNavItem
|
|
79
|
+
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk.7OLEA3GQ.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlLayout
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.MKTUAWNS.js";
|
|
12
12
|
import {
|
|
13
13
|
defaultValue
|
|
14
14
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.JA7YFGLI.js";
|
|
18
18
|
import {
|
|
19
19
|
LocalizeController
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.QADAWCTI.js";
|
|
21
21
|
import {
|
|
22
22
|
watch
|
|
23
23
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.S3NI7NKU.js";
|
|
16
16
|
|
|
17
17
|
// src/components/card/card.ts
|
|
18
|
-
import { customElement, property
|
|
18
|
+
import { customElement, property } from "lit/decorators.js";
|
|
19
19
|
import { classMap } from "lit/directives/class-map.js";
|
|
20
20
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
21
21
|
import { html, literal } from "lit/static-html.js";
|
|
@@ -69,9 +69,6 @@ var DSACard = class extends ShoelaceElement {
|
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
DSACard.styles = card_styles_default;
|
|
72
|
-
__decorateClass([
|
|
73
|
-
state()
|
|
74
|
-
], DSACard.prototype, "tag", 2);
|
|
75
72
|
__decorateClass([
|
|
76
73
|
property()
|
|
77
74
|
], DSACard.prototype, "href", 2);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.O4MZVDWB.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlLayout
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.MKTUAWNS.js";
|
|
7
7
|
import {
|
|
8
8
|
combobox_styles_default
|
|
9
9
|
} from "./chunk.YJEHKLDJ.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk.HGR7A5FK.js";
|
|
30
30
|
import {
|
|
31
31
|
LocalizeController
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.QADAWCTI.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -218,7 +218,6 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
handleDefaultSlotChange() {
|
|
221
|
-
this.resetDisplayedOptionsCount();
|
|
222
221
|
if (customElements.get(OPTION_TAG)) {
|
|
223
222
|
this.allOptions = this.getAllOptions();
|
|
224
223
|
this.filterOptions(this.displayLabel);
|
|
@@ -232,6 +231,7 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
232
231
|
} else {
|
|
233
232
|
customElements.whenDefined(OPTION_TAG).then(() => this.handleDefaultSlotChange());
|
|
234
233
|
}
|
|
234
|
+
this.resetDisplayedOptionsCount();
|
|
235
235
|
}
|
|
236
236
|
handleTagRemove(event, option) {
|
|
237
237
|
event.stopPropagation();
|
|
@@ -434,8 +434,11 @@ var DSACombobox = class extends FormControlLayout {
|
|
|
434
434
|
else if (currentOptionIndex < this.displayedOptionsCount - 1) {
|
|
435
435
|
this.setCurrentOption(this.filteredOptions[currentOptionIndex + 1]);
|
|
436
436
|
} else if (this.filteredOptions.length > this.displayedOptionsCount) {
|
|
437
|
-
this.
|
|
438
|
-
|
|
437
|
+
if (this.seeMoreOption) {
|
|
438
|
+
this.setCurrentOption(this.seeMoreOption);
|
|
439
|
+
} else {
|
|
440
|
+
this.setCurrentOption(void 0);
|
|
441
|
+
}
|
|
439
442
|
}
|
|
440
443
|
break;
|
|
441
444
|
case "ArrowUp":
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk.H7ZLX7SO.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlLayout
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.MKTUAWNS.js";
|
|
7
|
+
import {
|
|
8
|
+
defaultValue
|
|
9
|
+
} from "./chunk.CMJ2SRTL.js";
|
|
7
10
|
import {
|
|
8
11
|
getDateFromISO,
|
|
9
12
|
getISOFormattedDate
|
|
10
13
|
} from "./chunk.YBWQADCH.js";
|
|
11
|
-
import {
|
|
12
|
-
defaultValue
|
|
13
|
-
} from "./chunk.CMJ2SRTL.js";
|
|
14
14
|
import {
|
|
15
15
|
FormControlController
|
|
16
16
|
} from "./chunk.JA7YFGLI.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk.HGR7A5FK.js";
|
|
28
28
|
import {
|
|
29
29
|
LocalizeController
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.QADAWCTI.js";
|
|
31
31
|
import {
|
|
32
32
|
watch
|
|
33
33
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
menu_item_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SDT5BB26.js";
|
|
4
4
|
import {
|
|
5
5
|
getTextContent
|
|
6
6
|
} from "./chunk.YIY5RM53.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.NOMN6DGD.js";
|
|
10
|
+
import {
|
|
11
|
+
ifDefinedAndNotEmpty
|
|
12
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
10
13
|
import {
|
|
11
14
|
ShoelaceElement
|
|
12
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -93,11 +96,8 @@ var DSAMenuItem = class extends ShoelaceElement {
|
|
|
93
96
|
target=${ifDefined(this.type === "link" ? this.target : void 0)}
|
|
94
97
|
rel=${ifDefined(this.type === "link" ? this.rel : void 0)}
|
|
95
98
|
download=${ifDefined(this.type === "link" ? this.download : void 0)}
|
|
96
|
-
aria-current=${
|
|
97
|
-
this.type === "link" ? this.current : void 0
|
|
98
|
-
)}
|
|
99
|
+
aria-current=${ifDefinedAndNotEmpty(this.current)}
|
|
99
100
|
tabindex=${ifDefined(this.disabled ? "-1" : void 0)}
|
|
100
|
-
|
|
101
101
|
>
|
|
102
102
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
103
103
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultValue
|
|
3
|
+
} from "./chunk.CMJ2SRTL.js";
|
|
1
4
|
import {
|
|
2
5
|
getDateFromISO,
|
|
3
6
|
isValidDate,
|
|
4
7
|
monthLength
|
|
5
8
|
} from "./chunk.YBWQADCH.js";
|
|
6
|
-
import {
|
|
7
|
-
defaultValue
|
|
8
|
-
} from "./chunk.CMJ2SRTL.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlController
|
|
11
11
|
} from "./chunk.JA7YFGLI.js";
|
|
12
12
|
import {
|
|
13
13
|
LocalizeController
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.QADAWCTI.js";
|
|
15
15
|
import {
|
|
16
16
|
watch
|
|
17
17
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk.IONY2GZF.js";
|
|
6
6
|
import {
|
|
7
7
|
input_time_styles_default
|
|
8
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.54CFE45F.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlLayout
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.MKTUAWNS.js";
|
|
12
12
|
import {
|
|
13
13
|
scrollIntoView
|
|
14
14
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk.HGR7A5FK.js";
|
|
32
32
|
import {
|
|
33
33
|
LocalizeController
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.QADAWCTI.js";
|
|
35
35
|
import {
|
|
36
36
|
watch
|
|
37
37
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -62,6 +62,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
62
62
|
this.clearable = false;
|
|
63
63
|
this.min = "00:00";
|
|
64
64
|
this.max = "23:59";
|
|
65
|
+
this.step = 60;
|
|
65
66
|
}
|
|
66
67
|
/** Gets the validity state object */
|
|
67
68
|
get validity() {
|
|
@@ -258,6 +259,16 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
258
259
|
this.isTimePickerOpen = false;
|
|
259
260
|
return await waitForEvent(this, "dsa-after-hide");
|
|
260
261
|
}
|
|
262
|
+
/** Passes the stepUp method to the native input element */
|
|
263
|
+
stepUp(stepNumber) {
|
|
264
|
+
this.nativeInput.stepUp(stepNumber);
|
|
265
|
+
this.value = this.nativeInput.value;
|
|
266
|
+
}
|
|
267
|
+
/** Passes the stepDown method to the native input element */
|
|
268
|
+
stepDown(stepNumber) {
|
|
269
|
+
this.nativeInput.stepDown(stepNumber);
|
|
270
|
+
this.value = this.nativeInput.value;
|
|
271
|
+
}
|
|
261
272
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
262
273
|
checkValidity() {
|
|
263
274
|
return this.nativeInput.checkValidity();
|
|
@@ -365,20 +376,18 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
365
376
|
var _a;
|
|
366
377
|
const minTimeValues = timeStringToObject(this.min);
|
|
367
378
|
const maxTimeValues = timeStringToObject(this.max);
|
|
368
|
-
const timeStepValue = this.step ? this.step : 60;
|
|
369
379
|
if (!minTimeValues || !maxTimeValues) {
|
|
370
380
|
throw new Error("Invalid min or max time values");
|
|
371
381
|
}
|
|
372
382
|
const selectedTimeObject = (_a = timeStringToObject(this.value)) != null ? _a : minTimeValues;
|
|
373
|
-
const hoursStep =
|
|
374
|
-
const minutesStep = timeStepValue > 60 ? Math.floor(timeStepValue % 3600 / 60) : 1;
|
|
375
|
-
const secondsStep = timeStepValue % 60;
|
|
383
|
+
const hoursStep = this.step > 3600 ? Math.floor(this.step / 3600) : 1;
|
|
376
384
|
const displayedHours = Array.from(
|
|
377
385
|
{ length: 24 },
|
|
378
386
|
(_, index) => index
|
|
379
387
|
).filter((index) => {
|
|
380
388
|
return index >= minTimeValues.hours && index <= maxTimeValues.hours && index % hoursStep === 0;
|
|
381
389
|
});
|
|
390
|
+
const minutesStep = this.step > 60 ? Math.floor(this.step % 3600 / 60) : 1;
|
|
382
391
|
const displayedMinutes = Array.from(
|
|
383
392
|
{ length: 60 },
|
|
384
393
|
(_, index) => index
|
|
@@ -389,8 +398,10 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
389
398
|
if (selectedTimeObject.hours === (maxTimeValues == null ? void 0 : maxTimeValues.hours)) {
|
|
390
399
|
return index <= (maxTimeValues == null ? void 0 : maxTimeValues.minutes) && index % minutesStep === 0;
|
|
391
400
|
}
|
|
392
|
-
return
|
|
401
|
+
return this.step > 60 ? index % minutesStep === 0 : true;
|
|
393
402
|
});
|
|
403
|
+
if (displayedMinutes.length === 0) displayedMinutes[0] = 0;
|
|
404
|
+
const secondsStep = this.step % 60;
|
|
394
405
|
const displayedSeconds = Array.from(
|
|
395
406
|
{ length: 60 },
|
|
396
407
|
(_, index) => index
|
|
@@ -455,12 +466,12 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
455
466
|
`;
|
|
456
467
|
}
|
|
457
468
|
renderInput() {
|
|
469
|
+
var _a;
|
|
458
470
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
459
471
|
const hasPrefixIcon = this.hasSlotController.test("prefix");
|
|
460
472
|
const hasSuffixIcon = this.hasSlotController.test("suffix");
|
|
461
473
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
462
474
|
const hasClearIcon = this.clearable && !this.disabled && !this.readonly && this.value.length > 0;
|
|
463
|
-
const hasSeconds = this.step < 60;
|
|
464
475
|
const { displayedHours, displayedMinutes, displayedSeconds } = this.generateTimeUnitArrays();
|
|
465
476
|
const hoursElement = this.generateTimeUnitList("hours", displayedHours);
|
|
466
477
|
const minutesElement = this.generateTimeUnitList(
|
|
@@ -471,6 +482,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
471
482
|
"seconds",
|
|
472
483
|
displayedSeconds
|
|
473
484
|
);
|
|
485
|
+
const selectedTimeLabel = `${this.localize.term("selectedTime")}${this.value}`;
|
|
474
486
|
return html`
|
|
475
487
|
<div
|
|
476
488
|
part="base"
|
|
@@ -511,7 +523,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
511
523
|
?required=${this.required}
|
|
512
524
|
min=${ifDefined(this.min)}
|
|
513
525
|
max=${ifDefined(this.max)}
|
|
514
|
-
step=${
|
|
526
|
+
step=${this.step}
|
|
515
527
|
.value=${live(this.value)}
|
|
516
528
|
autocomplete=${ifDefined(this.autocomplete)}
|
|
517
529
|
?autofocus=${this.autofocus}
|
|
@@ -560,11 +572,14 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
560
572
|
part="picker-button"
|
|
561
573
|
class="input__action-button icon-button--time"
|
|
562
574
|
name="schedule"
|
|
563
|
-
label=${this.localize.term("selectATime")}
|
|
575
|
+
label=${`${this.localize.term("selectATime")} - ${(_a = this.label) != null ? _a : this.title}`}
|
|
564
576
|
@click=${this.toggleTimePicker}
|
|
565
577
|
library="system"
|
|
566
578
|
size=${this.size}
|
|
567
579
|
?disabled=${this.disabled || this.readonly}
|
|
580
|
+
description=${ifDefined(
|
|
581
|
+
this.value !== "" ? selectedTimeLabel : void 0
|
|
582
|
+
)}
|
|
568
583
|
></dsa-icon-button>
|
|
569
584
|
</div>
|
|
570
585
|
|
|
@@ -574,11 +589,13 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
574
589
|
@keydown=${this.handlePanelKeydown}
|
|
575
590
|
@click=${this.handlePanelClick}
|
|
576
591
|
>
|
|
577
|
-
${hoursElement} ${minutesElement}
|
|
578
|
-
${hasSeconds ? secondsElement : ""}
|
|
592
|
+
${hoursElement} ${minutesElement} ${secondsElement}
|
|
579
593
|
</div>
|
|
580
594
|
</dsa-popup>
|
|
581
595
|
</div>
|
|
596
|
+
<p id="selected-value" class="input--time-description">
|
|
597
|
+
${this.localize.term("selectedTime")}${this.value}
|
|
598
|
+
</p>
|
|
582
599
|
`;
|
|
583
600
|
}
|
|
584
601
|
};
|
|
@@ -614,7 +631,14 @@ __decorateClass([
|
|
|
614
631
|
property()
|
|
615
632
|
], DSAInputTime.prototype, "max", 2);
|
|
616
633
|
__decorateClass([
|
|
617
|
-
property(
|
|
634
|
+
property({
|
|
635
|
+
converter: {
|
|
636
|
+
fromAttribute: (value) => {
|
|
637
|
+
if (value === "any") return 60;
|
|
638
|
+
else return Number(value);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
})
|
|
618
642
|
], DSAInputTime.prototype, "step", 2);
|
|
619
643
|
__decorateClass([
|
|
620
644
|
property()
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/card-nav/card-nav.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var card_nav_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.card-nav {
|
|
15
|
+
border-radius: var(--dsa-radius-8);
|
|
16
|
+
border: 1px solid var(--dsa-wc-card-nav-border-color);
|
|
17
|
+
background-color: var(--dsa-wc-card-nav-background-color);
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
color: var(--dsa-wc-card-nav-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.card-nav__media::slotted(img) {
|
|
23
|
+
display: block;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Title block */
|
|
28
|
+
.card-nav__title-block {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: var(--dsa-spacing-12);
|
|
32
|
+
padding: 1.25rem 1rem;
|
|
33
|
+
}
|
|
34
|
+
.title-block-text {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: var(--dsa-spacing-8);
|
|
38
|
+
}
|
|
39
|
+
.title-block-text .title {
|
|
40
|
+
font: var(--dsa-font-large-bold);
|
|
41
|
+
}
|
|
42
|
+
.title-block-text .subtitle {
|
|
43
|
+
font: var(--dsa-font-medium-bold);
|
|
44
|
+
color: var(--dsa-wc-card-nav-subtitle-color);
|
|
45
|
+
}
|
|
46
|
+
.card-nav__title_icon::slotted(*) {
|
|
47
|
+
color: var(--dsa-wc-card-nav-icon-color);
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
width: 2rem;
|
|
50
|
+
height: 2rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.card-content {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
::slotted(*:last-child) {
|
|
59
|
+
--card-nav-item-border-width: 0px;
|
|
60
|
+
--card-nav-accordion-border-color: transparent;
|
|
61
|
+
--card-nav-accordion-border-color-hover: transparent;
|
|
62
|
+
--card-nav-accordion-border-color-transition-delay: var(
|
|
63
|
+
--dsa-wc-transition-medium
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
card_nav_styles_default
|
|
70
|
+
};
|