@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
|
@@ -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.2FF44G4Y.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlLayout
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.E73QKLNL.js";
|
|
12
12
|
import {
|
|
13
13
|
scrollIntoView
|
|
14
14
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk.2WRFDMKN.js";
|
|
35
35
|
import {
|
|
36
36
|
LocalizeController
|
|
37
|
-
} from "./chunk.
|
|
37
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
38
38
|
import {
|
|
39
39
|
watch
|
|
40
40
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -75,6 +75,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
75
75
|
this.clearable = false;
|
|
76
76
|
this.min = "00:00";
|
|
77
77
|
this.max = "23:59";
|
|
78
|
+
this.step = 60;
|
|
78
79
|
}
|
|
79
80
|
/** Gets the validity state object */
|
|
80
81
|
get validity() {
|
|
@@ -271,6 +272,16 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
271
272
|
this.isTimePickerOpen = false;
|
|
272
273
|
return await waitForEvent(this, "dsa-after-hide");
|
|
273
274
|
}
|
|
275
|
+
/** Passes the stepUp method to the native input element */
|
|
276
|
+
stepUp(stepNumber) {
|
|
277
|
+
this.nativeInput.stepUp(stepNumber);
|
|
278
|
+
this.value = this.nativeInput.value;
|
|
279
|
+
}
|
|
280
|
+
/** Passes the stepDown method to the native input element */
|
|
281
|
+
stepDown(stepNumber) {
|
|
282
|
+
this.nativeInput.stepDown(stepNumber);
|
|
283
|
+
this.value = this.nativeInput.value;
|
|
284
|
+
}
|
|
274
285
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
275
286
|
checkValidity() {
|
|
276
287
|
return this.nativeInput.checkValidity();
|
|
@@ -378,20 +389,18 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
378
389
|
var _a;
|
|
379
390
|
const minTimeValues = timeStringToObject(this.min);
|
|
380
391
|
const maxTimeValues = timeStringToObject(this.max);
|
|
381
|
-
const timeStepValue = this.step ? this.step : 60;
|
|
382
392
|
if (!minTimeValues || !maxTimeValues) {
|
|
383
393
|
throw new Error("Invalid min or max time values");
|
|
384
394
|
}
|
|
385
395
|
const selectedTimeObject = (_a = timeStringToObject(this.value)) != null ? _a : minTimeValues;
|
|
386
|
-
const hoursStep =
|
|
387
|
-
const minutesStep = timeStepValue > 60 ? Math.floor(timeStepValue % 3600 / 60) : 1;
|
|
388
|
-
const secondsStep = timeStepValue % 60;
|
|
396
|
+
const hoursStep = this.step > 3600 ? Math.floor(this.step / 3600) : 1;
|
|
389
397
|
const displayedHours = Array.from(
|
|
390
398
|
{ length: 24 },
|
|
391
399
|
(_, index) => index
|
|
392
400
|
).filter((index) => {
|
|
393
401
|
return index >= minTimeValues.hours && index <= maxTimeValues.hours && index % hoursStep === 0;
|
|
394
402
|
});
|
|
403
|
+
const minutesStep = this.step > 60 ? Math.floor(this.step % 3600 / 60) : 1;
|
|
395
404
|
const displayedMinutes = Array.from(
|
|
396
405
|
{ length: 60 },
|
|
397
406
|
(_, index) => index
|
|
@@ -402,8 +411,10 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
402
411
|
if (selectedTimeObject.hours === (maxTimeValues == null ? void 0 : maxTimeValues.hours)) {
|
|
403
412
|
return index <= (maxTimeValues == null ? void 0 : maxTimeValues.minutes) && index % minutesStep === 0;
|
|
404
413
|
}
|
|
405
|
-
return
|
|
414
|
+
return this.step > 60 ? index % minutesStep === 0 : true;
|
|
406
415
|
});
|
|
416
|
+
if (displayedMinutes.length === 0) displayedMinutes[0] = 0;
|
|
417
|
+
const secondsStep = this.step % 60;
|
|
407
418
|
const displayedSeconds = Array.from(
|
|
408
419
|
{ length: 60 },
|
|
409
420
|
(_, index) => index
|
|
@@ -468,12 +479,12 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
468
479
|
`;
|
|
469
480
|
}
|
|
470
481
|
renderInput() {
|
|
482
|
+
var _a;
|
|
471
483
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
472
484
|
const hasPrefixIcon = this.hasSlotController.test("prefix");
|
|
473
485
|
const hasSuffixIcon = this.hasSlotController.test("suffix");
|
|
474
486
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
475
487
|
const hasClearIcon = this.clearable && !this.disabled && !this.readonly && this.value.length > 0;
|
|
476
|
-
const hasSeconds = this.step < 60;
|
|
477
488
|
const { displayedHours, displayedMinutes, displayedSeconds } = this.generateTimeUnitArrays();
|
|
478
489
|
const hoursElement = this.generateTimeUnitList("hours", displayedHours);
|
|
479
490
|
const minutesElement = this.generateTimeUnitList(
|
|
@@ -484,6 +495,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
484
495
|
"seconds",
|
|
485
496
|
displayedSeconds
|
|
486
497
|
);
|
|
498
|
+
const selectedTimeLabel = `${this.localize.term("selectedTime")}${this.value}`;
|
|
487
499
|
return x`
|
|
488
500
|
<div
|
|
489
501
|
part="base"
|
|
@@ -524,7 +536,7 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
524
536
|
?required=${this.required}
|
|
525
537
|
min=${o(this.min)}
|
|
526
538
|
max=${o(this.max)}
|
|
527
|
-
step=${
|
|
539
|
+
step=${this.step}
|
|
528
540
|
.value=${l(this.value)}
|
|
529
541
|
autocomplete=${o(this.autocomplete)}
|
|
530
542
|
?autofocus=${this.autofocus}
|
|
@@ -573,11 +585,14 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
573
585
|
part="picker-button"
|
|
574
586
|
class="input__action-button icon-button--time"
|
|
575
587
|
name="schedule"
|
|
576
|
-
label=${this.localize.term("selectATime")}
|
|
588
|
+
label=${`${this.localize.term("selectATime")} - ${(_a = this.label) != null ? _a : this.title}`}
|
|
577
589
|
@click=${this.toggleTimePicker}
|
|
578
590
|
library="system"
|
|
579
591
|
size=${this.size}
|
|
580
592
|
?disabled=${this.disabled || this.readonly}
|
|
593
|
+
description=${o(
|
|
594
|
+
this.value !== "" ? selectedTimeLabel : void 0
|
|
595
|
+
)}
|
|
581
596
|
></dsa-icon-button>
|
|
582
597
|
</div>
|
|
583
598
|
|
|
@@ -587,11 +602,13 @@ var DSAInputTime = class extends FormControlLayout {
|
|
|
587
602
|
@keydown=${this.handlePanelKeydown}
|
|
588
603
|
@click=${this.handlePanelClick}
|
|
589
604
|
>
|
|
590
|
-
${hoursElement} ${minutesElement}
|
|
591
|
-
${hasSeconds ? secondsElement : ""}
|
|
605
|
+
${hoursElement} ${minutesElement} ${secondsElement}
|
|
592
606
|
</div>
|
|
593
607
|
</dsa-popup>
|
|
594
608
|
</div>
|
|
609
|
+
<p id="selected-value" class="input--time-description">
|
|
610
|
+
${this.localize.term("selectedTime")}${this.value}
|
|
611
|
+
</p>
|
|
595
612
|
`;
|
|
596
613
|
}
|
|
597
614
|
};
|
|
@@ -627,7 +644,14 @@ __decorateClass([
|
|
|
627
644
|
n()
|
|
628
645
|
], DSAInputTime.prototype, "max", 2);
|
|
629
646
|
__decorateClass([
|
|
630
|
-
n(
|
|
647
|
+
n({
|
|
648
|
+
converter: {
|
|
649
|
+
fromAttribute: (value) => {
|
|
650
|
+
if (value === "any") return 60;
|
|
651
|
+
else return Number(value);
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
})
|
|
631
655
|
], DSAInputTime.prototype, "step", 2);
|
|
632
656
|
__decorateClass([
|
|
633
657
|
n()
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import {
|
|
2
|
+
card_nav_item_styles_default
|
|
3
|
+
} from "./chunk.YGZ44MNV.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
i,
|
|
9
|
+
u
|
|
10
|
+
} from "./chunk.VIVOXZF6.js";
|
|
11
|
+
import {
|
|
12
|
+
a11yWarning
|
|
13
|
+
} from "./chunk.PWL7QCVG.js";
|
|
14
|
+
import {
|
|
15
|
+
o
|
|
16
|
+
} from "./chunk.YQLIIKLI.js";
|
|
17
|
+
import {
|
|
18
|
+
ShoelaceElement,
|
|
19
|
+
n,
|
|
20
|
+
t
|
|
21
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
22
|
+
import {
|
|
23
|
+
__decorateClass
|
|
24
|
+
} from "./chunk.4ZGVANML.js";
|
|
25
|
+
|
|
26
|
+
// src/components/card-nav-item/card-nav-item.ts
|
|
27
|
+
var DSACardNavItem = class extends ShoelaceElement {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.hasSlotController = new HasSlotController(this, "[default]");
|
|
31
|
+
this.href = "";
|
|
32
|
+
this.rel = "noreferrer noopener";
|
|
33
|
+
this.role = "listitem";
|
|
34
|
+
}
|
|
35
|
+
isLink() {
|
|
36
|
+
return this.href ? true : false;
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
const isLink = this.isLink();
|
|
40
|
+
const tag = isLink ? i`a` : i`button`;
|
|
41
|
+
if (!this.hasSlotController.test("[default]")) {
|
|
42
|
+
a11yWarning(
|
|
43
|
+
"<dsa-card-nav-item> requires slotted content for accessibility"
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
return u`
|
|
47
|
+
<${tag}
|
|
48
|
+
part="base"
|
|
49
|
+
class="card-nav-item"
|
|
50
|
+
href=${o(isLink ? this.href : void 0)}
|
|
51
|
+
target=${o(isLink ? this.target : void 0)}
|
|
52
|
+
download=${o(isLink ? this.download : void 0)}
|
|
53
|
+
rel=${o(isLink ? this.rel : void 0)}
|
|
54
|
+
>
|
|
55
|
+
<div class="card-nav-item__body">
|
|
56
|
+
<slot></slot>
|
|
57
|
+
<dsa-icon name="arrow_forward" class="card-nav-item__icon"></dsa-icon>
|
|
58
|
+
</div>
|
|
59
|
+
</${tag}>
|
|
60
|
+
`;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
DSACardNavItem.styles = card_nav_item_styles_default;
|
|
64
|
+
__decorateClass([
|
|
65
|
+
n()
|
|
66
|
+
], DSACardNavItem.prototype, "href", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
n()
|
|
69
|
+
], DSACardNavItem.prototype, "target", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
n()
|
|
72
|
+
], DSACardNavItem.prototype, "rel", 2);
|
|
73
|
+
__decorateClass([
|
|
74
|
+
n()
|
|
75
|
+
], DSACardNavItem.prototype, "download", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
n({ reflect: true })
|
|
78
|
+
], DSACardNavItem.prototype, "role", 2);
|
|
79
|
+
DSACardNavItem = __decorateClass([
|
|
80
|
+
t("dsa-card-nav-item")
|
|
81
|
+
], DSACardNavItem);
|
|
82
|
+
|
|
83
|
+
export {
|
|
84
|
+
DSACardNavItem
|
|
85
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SS3GSU3M.js";
|
|
4
4
|
import {
|
|
5
5
|
getPhoneConfig
|
|
6
6
|
} from "./chunk.YKKP7YAT.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.7OLEA3GQ.js";
|
|
19
19
|
import {
|
|
20
20
|
FormControlLayout
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.E73QKLNL.js";
|
|
22
22
|
import {
|
|
23
23
|
l
|
|
24
24
|
} from "./chunk.7PPSHHT2.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -72,6 +72,21 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
72
72
|
this.showTableActions = true;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
handleCaptionSlotChange() {
|
|
76
|
+
this.linkCaptionAndTable();
|
|
77
|
+
}
|
|
78
|
+
handleTableSlotChange() {
|
|
79
|
+
this.linkCaptionAndTable();
|
|
80
|
+
}
|
|
81
|
+
linkCaptionAndTable() {
|
|
82
|
+
const tableCaption = this.querySelector("dsa-table-caption");
|
|
83
|
+
const tableElement = this.querySelector("dsa-table");
|
|
84
|
+
if (!tableCaption || !tableElement || tableCaption.id || tableElement.getAttribute("aria-labelledby"))
|
|
85
|
+
return;
|
|
86
|
+
const randomId = Math.floor(Math.random() * 999999999).toString();
|
|
87
|
+
tableCaption.id = randomId;
|
|
88
|
+
tableElement.setAttribute("aria-labelledby", randomId);
|
|
89
|
+
}
|
|
75
90
|
handleShowTableActions() {
|
|
76
91
|
const actionBar = this.querySelector("dsa-table-action");
|
|
77
92
|
const toolbar = this.querySelector("dsa-table-toolbar");
|
|
@@ -127,7 +142,11 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
127
142
|
const hasToolbar = this.hasSlotController.test("toolbar");
|
|
128
143
|
const hasAction = this.hasSlotController.test("action");
|
|
129
144
|
return x`
|
|
130
|
-
<slot
|
|
145
|
+
<slot
|
|
146
|
+
part="caption"
|
|
147
|
+
name="caption"
|
|
148
|
+
@slotchange=${this.handleCaptionSlotChange}
|
|
149
|
+
></slot>
|
|
131
150
|
<slot part="export" name="export"></slot>
|
|
132
151
|
<div
|
|
133
152
|
part="bar-container"
|
|
@@ -139,7 +158,11 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
139
158
|
<slot part="toolbar" name="toolbar"></slot>
|
|
140
159
|
<slot part="action" name="action"></slot>
|
|
141
160
|
</div>
|
|
142
|
-
<slot
|
|
161
|
+
<slot
|
|
162
|
+
part="table"
|
|
163
|
+
name="table"
|
|
164
|
+
@slotchange=${this.handleTableSlotChange}
|
|
165
|
+
></slot>
|
|
143
166
|
<slot part="pagination" name="pagination"></slot>
|
|
144
167
|
<dsa-visually-hidden aria-live="polite" aria-atomic="true">
|
|
145
168
|
${this.showTableActions ? x`<span
|
|
@@ -26,6 +26,13 @@ var menu_item_styles_default = i`
|
|
|
26
26
|
user-select: none;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
}
|
|
29
|
+
.menu-item[aria-current] {
|
|
30
|
+
color: var(--dsa-wc-menu-navigation-item-current-color);
|
|
31
|
+
background-color: var(
|
|
32
|
+
--dsa-wc-menu-navigation-item-current-background-color
|
|
33
|
+
);
|
|
34
|
+
font-weight: 700 !important;
|
|
35
|
+
}
|
|
29
36
|
.menu-item--button {
|
|
30
37
|
background: none;
|
|
31
38
|
border: none;
|
|
@@ -35,14 +42,6 @@ var menu_item_styles_default = i`
|
|
|
35
42
|
.menu-item--link {
|
|
36
43
|
text-decoration: none;
|
|
37
44
|
}
|
|
38
|
-
.menu-item--link[aria-current='page'] {
|
|
39
|
-
color: var(--dsa-wc-menu-navigation-item-current-color);
|
|
40
|
-
background-color: var(
|
|
41
|
-
--dsa-wc-menu-navigation-item-current-background-color
|
|
42
|
-
);
|
|
43
|
-
font-weight: 700 !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
45
|
.menu-item.menu-item--small {
|
|
47
46
|
font: var(--dsa-wc-menu-item-small-font);
|
|
48
47
|
padding: var(--dsa-wc-menu-item-small-padding);
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
card_nav_styles_default
|
|
3
|
+
} from "./chunk.4OAG5UWA.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
ifDefinedAndNotEmpty
|
|
9
|
+
} from "./chunk.B6GVVW66.js";
|
|
10
|
+
import {
|
|
11
|
+
ShoelaceElement,
|
|
12
|
+
t
|
|
13
|
+
} from "./chunk.DZB6XUZ7.js";
|
|
14
|
+
import {
|
|
15
|
+
x
|
|
16
|
+
} from "./chunk.7HUC6BF3.js";
|
|
17
|
+
import {
|
|
18
|
+
__decorateClass
|
|
19
|
+
} from "./chunk.4ZGVANML.js";
|
|
20
|
+
|
|
21
|
+
// src/components/card-nav/card-nav.ts
|
|
22
|
+
var DSACardNav = class extends ShoelaceElement {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.hasSlotController = new HasSlotController(
|
|
26
|
+
this,
|
|
27
|
+
"[default]",
|
|
28
|
+
"media",
|
|
29
|
+
"title-icon",
|
|
30
|
+
"title",
|
|
31
|
+
"subtitle"
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
return x`
|
|
36
|
+
<div part="base" class="card-nav">
|
|
37
|
+
<slot name="media" part="media" class="card-nav__media"></slot>
|
|
38
|
+
<div class="card-nav__title-block">
|
|
39
|
+
<slot
|
|
40
|
+
name="title-icon"
|
|
41
|
+
class=${ifDefinedAndNotEmpty(
|
|
42
|
+
this.hasSlotController.test("title-icon") ? "card-nav__title_icon" : void 0
|
|
43
|
+
)}
|
|
44
|
+
></slot>
|
|
45
|
+
<div class="title-block-text">
|
|
46
|
+
<slot
|
|
47
|
+
name="title"
|
|
48
|
+
class=${ifDefinedAndNotEmpty(
|
|
49
|
+
this.hasSlotController.test("title") ? "title" : void 0
|
|
50
|
+
)}
|
|
51
|
+
></slot>
|
|
52
|
+
<slot
|
|
53
|
+
name="subtitle"
|
|
54
|
+
class=${ifDefinedAndNotEmpty(
|
|
55
|
+
this.hasSlotController.test("subtitle") ? "subtitle" : void 0
|
|
56
|
+
)}
|
|
57
|
+
></slot>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="card-nav__content" role="list">
|
|
61
|
+
<slot></slot>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
`;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
DSACardNav.styles = card_nav_styles_default;
|
|
68
|
+
DSACardNav = __decorateClass([
|
|
69
|
+
t("dsa-card-nav")
|
|
70
|
+
], DSACardNav);
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
DSACardNav
|
|
74
|
+
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk.7OLEA3GQ.js";
|
|
9
9
|
import {
|
|
10
10
|
FormControlLayout
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.E73QKLNL.js";
|
|
12
12
|
import {
|
|
13
13
|
l
|
|
14
14
|
} from "./chunk.7PPSHHT2.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk.3NWILHZZ.js";
|
|
21
21
|
import {
|
|
22
22
|
LocalizeController
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.BMQ5WSY7.js";
|
|
24
24
|
import {
|
|
25
25
|
watch
|
|
26
26
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.PSQJDSB2.js";
|
|
4
|
+
import {
|
|
5
|
+
i
|
|
6
|
+
} from "./chunk.4KHZQZ3M.js";
|
|
7
|
+
|
|
8
|
+
// src/components/fieldset/fieldset.styles.ts
|
|
9
|
+
var fieldset_styles_default = i`
|
|
10
|
+
${component_styles_default}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fieldset {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: var(--dsa-spacing-24);
|
|
20
|
+
|
|
21
|
+
background-color: var(--dsa-wc-fieldset-background);
|
|
22
|
+
padding: var(--dsa-spacing-24);
|
|
23
|
+
border-radius: var(--dsa-radius-8);
|
|
24
|
+
border-width: 1px;
|
|
25
|
+
border-style: solid;
|
|
26
|
+
}
|
|
27
|
+
.fieldset--on-base {
|
|
28
|
+
border-color: var(--dsa-wc-fieldset-border-color);
|
|
29
|
+
}
|
|
30
|
+
.fieldset--on-layer {
|
|
31
|
+
border-color: transparent;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fieldset__legend {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: var(--dsa-spacing-12);
|
|
38
|
+
color: var(--dsa-wc-fieldset-legend-color);
|
|
39
|
+
padding: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fieldset__first-line {
|
|
43
|
+
display: flex;
|
|
44
|
+
gap: var(--dsa-spacing-4);
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
.fieldset__legend-title {
|
|
48
|
+
font: var(--dsa-wc-fieldset-title-font);
|
|
49
|
+
}
|
|
50
|
+
.fieldset__tooltip {
|
|
51
|
+
--dsa-wc-internal-icon-button-padding: var(--dsa-spacing-2);
|
|
52
|
+
}
|
|
53
|
+
.fieldset__legend-subtitle {
|
|
54
|
+
font: var(--dsa-font-small-normal);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.fieldset__content {
|
|
58
|
+
display: flex;
|
|
59
|
+
gap: var(--dsa-spacing-16);
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
}
|
|
62
|
+
.fieldset--vertical .fieldset__content {
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
}
|
|
65
|
+
.fieldset--horizontal .fieldset__content {
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
}
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
export {
|
|
71
|
+
fieldset_styles_default
|
|
72
|
+
};
|