@ds-autonomie/web-components 2.3.1 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/cdn/chunks/{chunk.ZEPLEFIQ.js → chunk.2FOGPUI3.js} +2 -2
- package/cdn/chunks/chunk.2URJBNTF.js +148 -0
- package/cdn/chunks/{chunk.W4FOPJHU.js → chunk.2YVHHVLG.js} +2 -0
- package/cdn/chunks/{chunk.JEWSMUZM.js → chunk.3AD4AURN.js} +11 -2
- package/cdn/chunks/{chunk.ISEH6AO6.js → chunk.3XJMTCX6.js} +16 -9
- package/cdn/chunks/{chunk.GCLAPOSZ.js → chunk.45DY5Z6P.js} +1 -1
- package/cdn/chunks/{chunk.56W7VK2Z.js → chunk.4GWNV3R4.js} +29 -6
- package/cdn/chunks/{chunk.YDBMOXIS.js → chunk.4XTAL3PC.js} +1 -2
- package/cdn/chunks/{chunk.4AMHKT45.js → chunk.4ZEHBLJR.js} +7 -1
- package/cdn/chunks/{chunk.BILEGEVX.js → chunk.5AF25B3X.js} +3 -3
- package/cdn/chunks/{chunk.27YOIDOY.js → chunk.5LBMOJJI.js} +1 -1
- package/cdn/chunks/{chunk.TO65OMN5.js → chunk.5UVKMYSG.js} +25 -16
- package/cdn/chunks/{chunk.EEKS3ZN7.js → chunk.5VZE6TSA.js} +1 -1
- package/cdn/chunks/{chunk.TAKMMVMG.js → chunk.67KNPORK.js} +1 -1
- package/cdn/chunks/{chunk.5EYEXU6M.js → chunk.6FWACI3G.js} +13 -1
- package/cdn/chunks/{chunk.US6UTTN5.js → chunk.6HLUBEKO.js} +1 -1
- package/cdn/chunks/{chunk.ZUJJYUHF.js → chunk.6XVWAOAW.js} +1 -1
- package/cdn/chunks/{chunk.AATBJDAH.js → chunk.7ITBH4NW.js} +15 -12
- package/cdn/chunks/{chunk.HZJEKORW.js → chunk.7YE2BWH2.js} +1 -1
- package/cdn/chunks/{chunk.THMGZ3JS.js → chunk.A27ADPHB.js} +1 -1
- package/cdn/chunks/{chunk.KXKV4FIS.js → chunk.A5QRPK4Q.js} +4 -1
- package/cdn/chunks/{chunk.Y3KT5GTU.js → chunk.AJFNFADL.js} +1 -1
- package/cdn/chunks/{chunk.S3G2QBTA.js → chunk.ATHVFSQX.js} +8 -0
- package/cdn/chunks/{chunk.JHXMD4L2.js → chunk.AZBK27ET.js} +1 -1
- package/cdn/chunks/{chunk.JIUJNSW6.js → chunk.BGP2ITQD.js} +7 -9
- package/cdn/chunks/{chunk.V2UYRTUC.js → chunk.BNLQUWBO.js} +1 -1
- package/cdn/chunks/{chunk.DDRUVCZW.js → chunk.CMRQV2SO.js} +1 -1
- package/cdn/chunks/{chunk.GN3AVMBZ.js → chunk.CUFMKSEN.js} +1 -1
- package/cdn/chunks/{chunk.7S74KUA4.js → chunk.CUZCVMCE.js} +1 -1
- package/cdn/chunks/{chunk.5UPL2TW3.js → chunk.D3U3NPDM.js} +1 -11
- package/cdn/chunks/{chunk.LFCUNNYV.js → chunk.DROLKHEJ.js} +9 -10
- package/cdn/chunks/{chunk.BLLAYNRQ.js → chunk.E36IR3BP.js} +1 -1
- package/cdn/chunks/{chunk.TOWWOPMH.js → chunk.E73QKLNL.js} +19 -4
- package/cdn/chunks/{chunk.3CRRJ74Q.js → chunk.E7IRWRZH.js} +1 -1
- package/cdn/chunks/{chunk.RJUKDJQG.js → chunk.EB3VB5VL.js} +146 -70
- package/cdn/chunks/{chunk.P5KRELMB.js → chunk.F6BCRVNV.js} +27 -13
- package/cdn/chunks/{chunk.VGXDHXD4.js → chunk.FAPQZI57.js} +1 -1
- package/cdn/chunks/{chunk.7FRA5H32.js → chunk.FLMM3C4U.js} +22 -4
- package/cdn/chunks/{chunk.JXHXRRPX.js → chunk.FN6Y2EK6.js} +3 -1
- package/cdn/chunks/{chunk.P7D7IUHT.js → chunk.FTI4C7U6.js} +1 -1
- package/cdn/chunks/{chunk.U5Q3HCRP.js → chunk.GBGDDTEL.js} +1 -1
- package/cdn/chunks/{chunk.JHLEDXWG.js → chunk.GXQMOXKI.js} +8 -0
- package/cdn/chunks/{chunk.SE7W7XMK.js → chunk.HBIJX2WM.js} +1 -1
- package/cdn/chunks/{chunk.ZKPOAPR2.js → chunk.HNGA66FR.js} +8 -0
- package/cdn/chunks/{chunk.AVH4JYLK.js → chunk.ICBLN3KB.js} +2 -2
- package/cdn/chunks/{chunk.O3K7DNLG.js → chunk.II42H5RK.js} +1 -1
- package/cdn/chunks/{chunk.W2B6WXUI.js → chunk.IWMEHK72.js} +5 -0
- package/cdn/chunks/{chunk.F34KPGDS.js → chunk.JD7YUYPB.js} +50 -39
- package/cdn/chunks/{chunk.ER5ZWWSU.js → chunk.JG2GJKT5.js} +2 -2
- package/cdn/chunks/{chunk.57JBB4UL.js → chunk.JO52YCNJ.js} +1 -1
- package/cdn/chunks/{chunk.VHQBFGHB.js → chunk.JUHZQETN.js} +35 -10
- package/cdn/chunks/{chunk.NX5D5OTS.js → chunk.JVTWZUNG.js} +2 -2
- package/cdn/chunks/{chunk.LBM4RHMA.js → chunk.K4B5TCNN.js} +25 -6
- package/cdn/chunks/{chunk.MOWF7MA3.js → chunk.KDSIJN5N.js} +3 -3
- package/cdn/chunks/{chunk.KCPXZK3D.js → chunk.KLIZYLWG.js} +9 -1
- package/cdn/chunks/{chunk.IB463542.js → chunk.KOWSS3HP.js} +5 -5
- package/cdn/chunks/{chunk.KNY4ZIQ7.js → chunk.KPS4A22J.js} +2 -2
- package/cdn/chunks/{chunk.LLHSRCWY.js → chunk.KSCPGWVT.js} +38 -2
- package/cdn/chunks/{chunk.ASMJ2LI6.js → chunk.KWRUGVRF.js} +1 -0
- package/cdn/chunks/{chunk.4VWDJUDJ.js → chunk.KYZIL6TB.js} +2 -2
- package/cdn/chunks/{chunk.T56ZOKTF.js → chunk.L3ZYNSI3.js} +1 -1
- package/cdn/chunks/{chunk.GS6TNOKD.js → chunk.LCA7FDI4.js} +6 -9
- package/cdn/chunks/{chunk.ROGVB4AO.js → chunk.LFBIXLMF.js} +2 -2
- package/cdn/chunks/{chunk.WY2HI4TL.js → chunk.M3TRPPPZ.js} +1 -1
- package/cdn/chunks/{chunk.7VDWWPRU.js → chunk.MCSZ2F65.js} +5 -7
- package/cdn/chunks/{chunk.W6N2ZQTH.js → chunk.MHOWVZXY.js} +6 -10
- package/cdn/chunks/{chunk.IAOVYG7Z.js → chunk.N7TSHDJG.js} +1 -1
- package/cdn/chunks/{chunk.QEPPYDSN.js → chunk.NMGNR4EL.js} +16 -5
- package/cdn/chunks/{chunk.YGAW4V4H.js → chunk.NOI6NFVL.js} +1 -1
- package/cdn/chunks/{chunk.7KCIFACP.js → chunk.NTOOFOWB.js} +1 -1
- package/cdn/chunks/{chunk.OLIPJEPX.js → chunk.OFWHWMUH.js} +1 -1
- package/cdn/chunks/{chunk.RF24VGSM.js → chunk.OIBXY54X.js} +3 -3
- package/cdn/chunks/{chunk.ZLZIVCPW.js → chunk.OJFCPMJA.js} +7 -4
- package/cdn/chunks/{chunk.X3MRO4MI.js → chunk.OOL4Q6HA.js} +1 -0
- package/cdn/chunks/{chunk.TGMW5D2F.js → chunk.OSJ5I4FK.js} +1 -1
- package/cdn/chunks/{chunk.7ZBG7ZQG.js → chunk.OVBLP5E4.js} +48 -34
- package/cdn/chunks/{chunk.H3Y633AF.js → chunk.P6NF7VUG.js} +1 -1
- package/cdn/chunks/{chunk.Z7VB7VAD.js → chunk.PIFZYHAW.js} +10 -2
- package/cdn/chunks/{chunk.J6J6XRPR.js → chunk.PK4XXM66.js} +1 -1
- package/cdn/chunks/{chunk.RGTLY6EQ.js → chunk.POKFLTEE.js} +1 -1
- package/cdn/chunks/{chunk.EKKWPXJL.js → chunk.QHU2DUDS.js} +12 -0
- package/cdn/chunks/{chunk.5BWMYJNC.js → chunk.QKLRW3JL.js} +15 -2
- package/cdn/chunks/chunk.RAMP7CRD.js +93 -0
- package/cdn/chunks/{chunk.RXUJBLKT.js → chunk.RZUPGCMM.js} +2 -2
- package/cdn/chunks/{chunk.MNE7AANP.js → chunk.SJM5UCFK.js} +1 -1
- package/cdn/chunks/{chunk.OZVVCEKQ.js → chunk.SMWE3ICX.js} +2 -2
- package/cdn/chunks/{chunk.2P3IVRMK.js → chunk.SXO3JE2C.js} +11 -5
- package/cdn/chunks/{chunk.HAONBKG7.js → chunk.TS2KKUX2.js} +14 -14
- package/cdn/chunks/{chunk.MML6GY5Y.js → chunk.TUB5XL3J.js} +1 -0
- package/cdn/chunks/{chunk.6NFWRZM6.js → chunk.UM64ZD3C.js} +15 -2
- package/cdn/chunks/{chunk.EHSLOI5L.js → chunk.URME4YZI.js} +5 -3
- package/cdn/chunks/{chunk.V5TMX44U.js → chunk.UULRRJ5I.js} +1 -1
- package/cdn/chunks/{chunk.LICWCBKN.js → chunk.VARBZAJP.js} +4 -0
- package/cdn/chunks/{chunk.WMMK7OL4.js → chunk.VI5JEKGK.js} +14 -1
- package/cdn/chunks/{chunk.MESUBVHC.js → chunk.VRC57YIG.js} +2 -2
- package/cdn/chunks/{chunk.O577BA4U.js → chunk.VZF3ZTED.js} +1 -1
- package/cdn/chunks/{chunk.ZTXQFGQX.js → chunk.W6JXBJWF.js} +1 -1
- package/cdn/chunks/{chunk.M53HNM5Y.js → chunk.WJDOTH54.js} +2 -2
- package/cdn/chunks/{chunk.57UCUSPU.js → chunk.WYTP4TFA.js} +10 -2
- package/cdn/chunks/{chunk.N6NAUMXW.js → chunk.XASHG6W4.js} +4 -6
- package/cdn/chunks/{chunk.55Y4QE5R.js → chunk.XHB6RI7B.js} +3 -3
- package/cdn/chunks/{chunk.WOONNSQ2.js → chunk.XRFDWQQQ.js} +2 -1
- package/cdn/chunks/{chunk.WYBADVDH.js → chunk.XS7VEXEG.js} +10 -10
- package/cdn/chunks/{chunk.YA7ZX7VM.js → chunk.Y5RTMSTB.js} +1 -1
- package/{dist/chunks/chunk.6YEPFMKU.js → cdn/chunks/chunk.YBWQADCH.js} +2 -6
- package/cdn/chunks/{chunk.NBPMAZHK.js → chunk.YDT7HT2E.js} +0 -3
- package/cdn/chunks/{chunk.FXVCDQEN.js → chunk.YJBMFRB4.js} +15 -1
- package/cdn/chunks/{chunk.65HTBW2L.js → chunk.YKKP7YAT.js} +7 -1
- package/cdn/chunks/{chunk.CZFLF4QH.js → chunk.ZCBARTO2.js} +9 -1
- package/cdn/chunks/{chunk.HMLKFYNH.js → chunk.ZDF27RIQ.js} +11 -2
- package/cdn/chunks/{chunk.GFKXMARC.js → chunk.ZYAFL7BC.js} +10 -4
- package/cdn/components/accordion/accordion.d.ts +2 -0
- package/cdn/components/accordion/accordion.js +5 -3
- package/cdn/components/accordion/accordion.styles.js +1 -1
- package/cdn/components/alert/alert.js +6 -5
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/anchor-tag/anchor-tag.js +3 -2
- package/cdn/components/anchor-tag/anchor-tag.styles.js +1 -1
- package/cdn/components/badge/badge.js +2 -2
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/callout/callout.js +3 -2
- package/cdn/components/card/card.js +2 -1
- package/cdn/components/checkbox/checkbox.js +8 -8
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/checkbox-button/checkbox-button.js +9 -9
- package/cdn/components/checkbox-group/checkbox-group.d.ts +3 -1
- package/cdn/components/checkbox-group/checkbox-group.js +6 -6
- package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/cdn/components/combobox/combobox.d.ts +11 -1
- package/cdn/components/combobox/combobox.js +13 -13
- package/cdn/components/combobox/combobox.styles.js +2 -2
- package/cdn/components/dialog/dialog.js +5 -4
- package/cdn/components/download-link/download-link.js +2 -2
- package/cdn/components/download-link/download-link.styles.js +1 -1
- package/cdn/components/drawer/drawer.js +5 -4
- 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/error-text/error-text.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.js +7 -6
- package/cdn/components/file-upload/file-upload.styles.js +2 -2
- package/cdn/components/file-upload-item/file-upload-item.js +5 -3
- package/cdn/components/filter-base/filter-base.js +7 -6
- package/cdn/components/filter-button/filter-button.js +6 -5
- package/cdn/components/filter-button/filter-button.styles.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +26 -26
- package/cdn/components/filter-date/filter-date.js +14 -13
- package/cdn/components/filter-range/filter-range.js +27 -27
- package/cdn/components/filter-select/filter-select.js +27 -27
- 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 +2 -2
- package/cdn/components/header-search/header-search.js +8 -7
- package/cdn/components/icon-button/icon-button.js +3 -2
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- package/cdn/components/input/input.d.ts +1 -0
- package/cdn/components/input/input.js +18 -18
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/input-date/input-date.js +15 -15
- package/cdn/components/input-date/input-date.styles.js +3 -3
- package/cdn/components/input-mask/input-mask.js +8 -8
- package/cdn/components/input-mask/input-mask.styles.js +2 -2
- package/cdn/components/input-otp/input-otp.js +9 -9
- package/cdn/components/input-otp/input-otp.styles.js +2 -2
- package/cdn/components/input-phone/input-phone.configs.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +1 -0
- package/cdn/components/input-phone/input-phone.js +16 -16
- package/cdn/components/input-phone/input-phone.styles.js +2 -2
- package/cdn/components/input-time/input-time.js +11 -11
- package/cdn/components/input-time/input-time.styles.js +3 -3
- package/cdn/components/menu-accordion/menu-accordion.d.ts +1 -0
- package/cdn/components/menu-accordion/menu-accordion.js +4 -2
- package/cdn/components/navbar-menu/navbar-menu.js +3 -2
- package/cdn/components/option/option.js +2 -2
- package/cdn/components/page-header/page-header.d.ts +31 -0
- package/cdn/components/page-header/page-header.js +17 -0
- package/cdn/components/page-header/page-header.styles.d.ts +2 -0
- package/cdn/components/page-header/page-header.styles.js +10 -0
- package/cdn/components/pagination/pagination.js +20 -20
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/profile-button/profile-button.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +3 -2
- package/cdn/components/progress-ring/progress-ring.js +2 -1
- package/cdn/components/quote/quote.js +3 -2
- package/cdn/components/radio-button/radio-button.js +9 -9
- package/cdn/components/radio-card/radio-card.js +7 -7
- package/cdn/components/radio-group/radio-group.d.ts +3 -0
- package/cdn/components/radio-group/radio-group.js +6 -6
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/range-slider/range-slider.js +2 -1
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/select/select.d.ts +1 -0
- package/cdn/components/select/select.js +12 -12
- package/cdn/components/select/select.styles.js +2 -2
- 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 +2 -2
- package/cdn/components/step/step.js +3 -3
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.js +5 -4
- package/cdn/components/tab-group/tab-group.d.ts +6 -0
- package/cdn/components/tab-group/tab-group.js +6 -5
- package/cdn/components/tab-group/tab-group.styles.js +1 -1
- package/cdn/components/table/table.js +1 -1
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +3 -3
- package/cdn/components/table-caption/table-caption.d.ts +1 -0
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.d.ts +8 -0
- package/cdn/components/table-container/table-container.js +5 -1
- package/cdn/components/table-head/table-head.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +17 -17
- package/cdn/components/table-header-row/table-header-row.styles.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +12 -12
- package/cdn/components/tag/tag.js +6 -5
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/textarea/textarea.js +7 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +12 -12
- package/cdn/components/tree-item/tree-item.js +11 -11
- package/cdn/custom-elements.json +502 -190
- package/cdn/design-system.d.ts +1 -0
- package/cdn/design-system.js +136 -131
- package/cdn/internal/components/form-control/form-control-layout.d.ts +2 -0
- package/cdn/internal/components/form-control/form-control-layout.js +17 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +1 -0
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +6 -0
- package/cdn/styles/form-control.styles.js +5 -0
- package/cdn/themes/dsa-wc-theme.css +124 -31
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +125 -31
- 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/date.js +1 -1
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +65 -31
- package/cdn/web-types.json +250 -84
- package/dist/chunks/{chunk.ITUK4PON.js → chunk.2JCMUNW4.js} +1 -1
- package/dist/chunks/{chunk.6UCJKKYR.js → chunk.2TYHIVTN.js} +7 -9
- package/dist/chunks/{chunk.2KECVLQH.js → chunk.37I5GPBX.js} +8 -0
- package/dist/chunks/{chunk.WPIYFGT2.js → chunk.46A3MGDV.js} +1 -1
- package/dist/chunks/{chunk.WFHOSUOX.js → chunk.4LRLYTU2.js} +3 -3
- package/dist/chunks/{chunk.4YOAT5R7.js → chunk.4SVX6VCY.js} +15 -2
- package/dist/chunks/{chunk.YVOXMJ6Q.js → chunk.4URSPC26.js} +10 -2
- package/dist/chunks/{chunk.L66AKAXM.js → chunk.4VJTOIB4.js} +1 -1
- package/dist/chunks/{chunk.KFXWL3NW.js → chunk.4W3KHK6H.js} +1 -1
- package/dist/chunks/{chunk.NF5ELBI4.js → chunk.533C7JJH.js} +2 -2
- package/dist/chunks/chunk.5Q5FI5EH.js +146 -0
- package/dist/chunks/{chunk.BVRGK5ZO.js → chunk.5R6YK6UH.js} +4 -6
- package/dist/chunks/{chunk.UG7D663E.js → chunk.5VC7IHJ2.js} +11 -2
- package/dist/chunks/{chunk.52CUBOF2.js → chunk.6BOM4P42.js} +3 -3
- package/dist/chunks/{chunk.MBRRLF6D.js → chunk.6HSTAJNR.js} +9 -10
- package/dist/chunks/{chunk.HEOHHRVV.js → chunk.6ZR5MQTU.js} +1 -1
- package/dist/chunks/{chunk.RCN745RS.js → chunk.7E57JVUE.js} +1 -1
- package/dist/chunks/{chunk.HAYCQF2N.js → chunk.7K5DG6KV.js} +1 -1
- package/dist/chunks/{chunk.7BE555XS.js → chunk.7MGKJTDJ.js} +6 -9
- package/dist/chunks/{chunk.SWP3OZUN.js → chunk.AMTRQ7HP.js} +1 -1
- package/dist/chunks/{chunk.EIZK62ST.js → chunk.D7NKST7Z.js} +5 -0
- package/dist/chunks/{chunk.63MNXWSY.js → chunk.DFBKUH2U.js} +1 -1
- package/dist/chunks/{chunk.3O6BVDJF.js → chunk.DISFQ7ZU.js} +1 -1
- package/dist/chunks/{chunk.K7CPVIPV.js → chunk.DKTT254G.js} +9 -1
- package/dist/chunks/{chunk.YZTXGQRN.js → chunk.DNLOBVBE.js} +14 -1
- package/dist/chunks/{chunk.SP5JKDHH.js → chunk.E7S4C6P7.js} +1 -1
- package/dist/chunks/{chunk.M5QF4L4W.js → chunk.ERDP4WZN.js} +1 -1
- package/dist/chunks/{chunk.NHPMJYPM.js → chunk.EWL56M5H.js} +146 -70
- package/dist/chunks/{chunk.YOMZYBQL.js → chunk.FC7AQRZS.js} +2 -2
- package/dist/chunks/{chunk.MPZ56XQK.js → chunk.FUUFLFPS.js} +3 -3
- package/dist/chunks/{chunk.6KWCQDRD.js → chunk.GFXISORD.js} +12 -0
- package/dist/chunks/{chunk.OWG5FD2H.js → chunk.GI3JNOHH.js} +11 -2
- package/dist/chunks/{chunk.K53YJ3XK.js → chunk.GNJX6QSO.js} +1 -1
- package/dist/chunks/{chunk.UJAK75R6.js → chunk.GQ4NIFUB.js} +15 -12
- package/dist/chunks/{chunk.P3CATWXI.js → chunk.GRNDTTXR.js} +2 -2
- package/dist/chunks/{chunk.5H3FRLYG.js → chunk.GSKMPYLG.js} +14 -14
- package/dist/chunks/{chunk.GZO5TQGU.js → chunk.GZEVQN6J.js} +11 -5
- package/dist/chunks/{chunk.KFUZ6JMQ.js → chunk.H3X3D747.js} +2 -2
- package/dist/chunks/{chunk.3EAWXV27.js → chunk.H7ZLX7SO.js} +1 -1
- package/dist/chunks/{chunk.DIM7WDHO.js → chunk.IFDJNZPC.js} +13 -1
- package/dist/chunks/{chunk.E45DVVIM.js → chunk.INFNQBQD.js} +2 -2
- package/dist/chunks/{chunk.EI563TWV.js → chunk.ISWFROYZ.js} +1 -0
- package/dist/chunks/{chunk.6K4LF64W.js → chunk.IUPSCAN6.js} +1 -1
- package/dist/chunks/{chunk.K3HEMTRQ.js → chunk.IW4EYF6Z.js} +1 -1
- package/dist/chunks/{chunk.2GRTPJX3.js → chunk.IXAKBOI4.js} +1 -1
- package/dist/chunks/{chunk.UVN7RIEO.js → chunk.JG4PBHLV.js} +8 -0
- package/dist/chunks/{chunk.WIVRYVXD.js → chunk.JRJB2DFE.js} +1 -1
- package/dist/chunks/{chunk.2YE5HPSL.js → chunk.JZYJ2V4F.js} +2 -2
- package/dist/chunks/{chunk.PTFOYYGJ.js → chunk.KDEA34PP.js} +1 -1
- package/dist/chunks/{chunk.EYZGEU3G.js → chunk.KEJKTQP6.js} +1 -11
- package/dist/chunks/{chunk.5NUQTJJR.js → chunk.KENYJWWA.js} +10 -2
- package/dist/chunks/{chunk.JOW4YVGA.js → chunk.KGZXCKP2.js} +38 -2
- package/dist/chunks/{chunk.JNZTWND7.js → chunk.KNPGT6SV.js} +15 -6
- package/dist/chunks/{chunk.IIYPN5OC.js → chunk.LC7CCWN3.js} +1 -1
- package/dist/chunks/{chunk.INLQD4SQ.js → chunk.LQG6R72U.js} +0 -3
- package/dist/chunks/{chunk.F6RRFM4P.js → chunk.M362UNDB.js} +1 -0
- package/dist/chunks/{chunk.KGZLC7FO.js → chunk.M4H37WUH.js} +1 -1
- package/dist/chunks/{chunk.J4GT5AWF.js → chunk.M5MCRNUJ.js} +35 -10
- package/dist/chunks/{chunk.GNJ2HZ3Y.js → chunk.MIOQ72YC.js} +3 -3
- package/dist/chunks/{chunk.LGDM46D4.js → chunk.MKTUAWNS.js} +19 -4
- package/dist/chunks/{chunk.WOJO2VFN.js → chunk.MTOENDDR.js} +9 -1
- package/dist/chunks/{chunk.3SX7AERB.js → chunk.MWWI3AU2.js} +7 -1
- package/dist/chunks/{chunk.T2OLM5TG.js → chunk.NASETPCZ.js} +48 -34
- package/dist/chunks/{chunk.XE37RME4.js → chunk.O4HVYU6G.js} +2 -2
- package/dist/chunks/{chunk.2O3M7HBZ.js → chunk.O4ZSTSXZ.js} +1 -1
- package/dist/chunks/{chunk.3NNE7XGI.js → chunk.OCK5L55T.js} +1 -1
- package/dist/chunks/{chunk.CWDSCTUA.js → chunk.OHDR6G6J.js} +1 -1
- package/dist/chunks/{chunk.2W6FOXSH.js → chunk.OKUA77L4.js} +25 -16
- package/dist/chunks/{chunk.FK5HR2F4.js → chunk.OVOTWPG3.js} +1 -1
- package/dist/chunks/{chunk.OJ5RKDE5.js → chunk.OWV6XZFR.js} +2 -2
- package/dist/chunks/{chunk.4C3EA7WT.js → chunk.P2LEUT2Q.js} +5 -3
- package/dist/chunks/{chunk.7KMMSAQN.js → chunk.P7SN3TMY.js} +2 -2
- package/dist/chunks/{chunk.77ECBNUM.js → chunk.PD6ETZGV.js} +5 -5
- package/dist/chunks/{chunk.NPCMEZGE.js → chunk.QEZ5FSIU.js} +1 -1
- package/dist/chunks/{chunk.QBHSEMUU.js → chunk.QFC4API2.js} +2 -2
- package/dist/chunks/{chunk.DANAZGRI.js → chunk.QG62LWYX.js} +8 -0
- package/dist/chunks/{chunk.MAENDYI7.js → chunk.RS4S7SAD.js} +15 -2
- package/dist/chunks/{chunk.EAYW5L6J.js → chunk.S6XG7G6X.js} +1 -1
- package/dist/chunks/{chunk.CEGU6OTH.js → chunk.SA7GMM2I.js} +1 -2
- package/dist/chunks/{chunk.KQJQQDCQ.js → chunk.SG42FXRA.js} +6 -10
- package/dist/chunks/{chunk.54KX7M52.js → chunk.SRP6V7OW.js} +1 -1
- package/dist/chunks/{chunk.ITAWMEY7.js → chunk.SWWPGGIS.js} +1 -1
- package/dist/chunks/{chunk.B2KV6DSI.js → chunk.TK77JBEH.js} +1 -1
- package/dist/chunks/{chunk.BCLTC7W4.js → chunk.TKV7I7MM.js} +1 -1
- package/dist/chunks/{chunk.LE5LHO5Y.js → chunk.TQJLTADP.js} +3 -1
- package/dist/chunks/{chunk.THO67JP2.js → chunk.TTZ6Y7GB.js} +16 -5
- package/dist/chunks/{chunk.HTBAICPA.js → chunk.TXMAH3OK.js} +50 -39
- package/dist/chunks/{chunk.BNREFNJW.js → chunk.U2RG7USD.js} +5 -7
- package/dist/chunks/{chunk.EK7OT2VJ.js → chunk.UCIFKWMI.js} +1 -1
- package/dist/chunks/{chunk.X6UZBREW.js → chunk.UKZA4PJB.js} +1 -1
- package/dist/chunks/{chunk.XMPGIWRA.js → chunk.V4U5XMU7.js} +1 -1
- package/dist/chunks/{chunk.BN3YUYMM.js → chunk.VZHVRVYC.js} +10 -4
- package/dist/chunks/{chunk.MILDW5D6.js → chunk.WBUREDTC.js} +1 -0
- package/dist/chunks/{chunk.5NXRUN57.js → chunk.WCJ3TXH5.js} +27 -13
- package/dist/chunks/{chunk.3B3226HJ.js → chunk.X4HFQ4MT.js} +1 -1
- package/dist/chunks/{chunk.BALZ7HK5.js → chunk.XG7KR6BI.js} +25 -6
- package/dist/chunks/{chunk.DLE3F4GC.js → chunk.XNVSET6H.js} +1 -1
- package/dist/chunks/{chunk.DB3EDROT.js → chunk.XQDC25MI.js} +15 -1
- package/dist/chunks/{chunk.3HX6HRHC.js → chunk.XVFPRM26.js} +2 -2
- package/dist/chunks/{chunk.PZXD4VTO.js → chunk.XX3QRZEL.js} +2 -1
- package/dist/chunks/{chunk.3J7DL2SS.js → chunk.Y3I7GUNB.js} +4 -1
- package/{cdn/chunks/chunk.6YEPFMKU.js → dist/chunks/chunk.YBWQADCH.js} +2 -6
- package/dist/chunks/{chunk.WB2DWTAB.js → chunk.YJEHKLDJ.js} +22 -4
- package/dist/chunks/{chunk.65HTBW2L.js → chunk.YKKP7YAT.js} +7 -1
- package/dist/chunks/{chunk.U7ZMMMJ3.js → chunk.YWHYMKYI.js} +4 -0
- package/dist/chunks/{chunk.KOTPR264.js → chunk.YXCCM5NC.js} +29 -6
- package/dist/chunks/chunk.YZVRMUCB.js +88 -0
- package/dist/chunks/{chunk.6ZJSEOLO.js → chunk.ZAZPAXHI.js} +7 -5
- package/dist/chunks/{chunk.ODXKNTKC.js → chunk.ZG2D4OQ4.js} +1 -1
- package/dist/chunks/{chunk.3JLROK74.js → chunk.ZH3OZSYO.js} +10 -10
- package/dist/chunks/{chunk.M4ZPYQVZ.js → chunk.ZRW5L2NC.js} +2 -0
- package/dist/components/accordion/accordion.d.ts +2 -0
- package/dist/components/accordion/accordion.js +5 -3
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/alert/alert.js +6 -5
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/anchor-tag/anchor-tag.js +3 -2
- package/dist/components/anchor-tag/anchor-tag.styles.js +1 -1
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.js +4 -4
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/callout/callout.js +3 -2
- package/dist/components/card/card.js +2 -1
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +9 -9
- package/dist/components/checkbox-group/checkbox-group.d.ts +3 -1
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +11 -1
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +5 -4
- package/dist/components/download-link/download-link.js +2 -2
- package/dist/components/download-link/download-link.styles.js +1 -1
- package/dist/components/drawer/drawer.js +5 -4
- 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/error-text/error-text.styles.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +1 -0
- package/dist/components/file-upload/file-upload.js +7 -6
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +5 -3
- package/dist/components/filter-base/filter-base.js +7 -6
- package/dist/components/filter-button/filter-button.js +6 -5
- package/dist/components/filter-button/filter-button.styles.js +1 -1
- package/dist/components/filter-counter/filter-counter.js +26 -26
- package/dist/components/filter-date/filter-date.js +14 -13
- package/dist/components/filter-range/filter-range.js +27 -27
- package/dist/components/filter-select/filter-select.js +27 -27
- 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 +2 -2
- package/dist/components/header-search/header-search.js +8 -7
- package/dist/components/icon-button/icon-button.js +3 -2
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.d.ts +1 -0
- package/dist/components/input/input.js +18 -18
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-date/input-date.js +15 -15
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +8 -8
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-otp/input-otp.js +9 -9
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.configs.js +1 -1
- package/dist/components/input-phone/input-phone.d.ts +1 -0
- package/dist/components/input-phone/input-phone.js +16 -16
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.js +11 -11
- package/dist/components/input-time/input-time.styles.js +3 -3
- package/dist/components/menu-accordion/menu-accordion.d.ts +1 -0
- package/dist/components/menu-accordion/menu-accordion.js +4 -2
- package/dist/components/navbar-menu/navbar-menu.js +3 -2
- package/dist/components/option/option.js +2 -2
- package/dist/components/page-header/page-header.d.ts +31 -0
- package/dist/components/page-header/page-header.js +12 -0
- package/dist/components/page-header/page-header.styles.d.ts +2 -0
- package/dist/components/page-header/page-header.styles.js +8 -0
- package/dist/components/pagination/pagination.js +20 -20
- package/dist/components/pagination-button/pagination-button.js +1 -1
- package/dist/components/profile-button/profile-button.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +3 -2
- package/dist/components/progress-ring/progress-ring.js +2 -1
- package/dist/components/quote/quote.js +3 -2
- package/dist/components/radio-button/radio-button.js +9 -9
- package/dist/components/radio-card/radio-card.js +7 -7
- package/dist/components/radio-group/radio-group.d.ts +3 -0
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/range-slider/range-slider.js +2 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.d.ts +1 -0
- package/dist/components/select/select.js +12 -12
- package/dist/components/select/select.styles.js +2 -2
- 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 +2 -2
- package/dist/components/step/step.js +3 -3
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.js +5 -4
- package/dist/components/tab-group/tab-group.d.ts +6 -0
- package/dist/components/tab-group/tab-group.js +6 -5
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/table/table.js +1 -1
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +3 -3
- package/dist/components/table-caption/table-caption.d.ts +1 -0
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.d.ts +8 -0
- package/dist/components/table-container/table-container.js +4 -1
- package/dist/components/table-head/table-head.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.js +17 -17
- package/dist/components/table-header-row/table-header-row.styles.js +1 -1
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +12 -12
- package/dist/components/tag/tag.js +6 -5
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.js +11 -11
- package/dist/custom-elements.json +502 -190
- package/dist/design-system.d.ts +1 -0
- package/dist/design-system.js +136 -131
- package/dist/internal/components/form-control/form-control-layout.d.ts +2 -0
- package/dist/internal/components/form-control/form-control-layout.js +17 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +1 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +6 -0
- package/dist/styles/form-control.styles.js +5 -0
- package/dist/themes/dsa-wc-theme.css +124 -31
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +125 -31
- 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/date.js +1 -1
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +65 -31
- package/dist/web-types.json +250 -84
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 2.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 068758d: `checkbox-group', `radio-group`, `input`: correction d'un bug entrainant l'affichage de la description accessible
|
|
8
|
+
- 104e6a0: `dsa-table-container`: rattachement automatique des titres et tableaux
|
|
9
|
+
- Updated dependencies [8e62bf0]
|
|
10
|
+
- @ds-autonomie/assets@1.4.5
|
|
11
|
+
|
|
12
|
+
## 2.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 51bb00e: `accordion` : ajout d'un slot "actions"
|
|
17
|
+
- 8895185: `table-caption` : ajout d'un attribut total-items-label
|
|
18
|
+
- 656c514: Ajout de classes permettant de donner un style DSA à un tableau personnalisé
|
|
19
|
+
- 9f374ff: `page-header` : ajout du composant en-tête de page; `tab-group` : possibilité de modifier le padding et la largeur maximale
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- b64cfa8: `input`: correction de l'état de validité du type amount quand le champ est vide
|
|
24
|
+
- e18885b: `input-phone` : correction du format de numéro pour la Polynésie française
|
|
25
|
+
- ec2b955: Affichage de messages d'avertissement dans la console en cas d'oubli d'attributs impactant l'accessibilité"
|
|
26
|
+
- 36bbf91: `combobox`: ajout d'un attribut permettant de limiter le nombre d'options affichées
|
|
27
|
+
- 0f3e02c: `combobox` : suppression de la flèche si aucune option n'est chargée
|
|
28
|
+
- 1958bc6: `input`, `filter-date` : résolution d'un bug lorsque la date du 1er janvier est sélectionnée
|
|
29
|
+
- 07bf0b5: `combobox` : changement du comportement pour faciliter la sélection des suggestions
|
|
30
|
+
- 5e218f7: `table-container`: ajout d'une annonce personnalisable à l'affichage de la barre d'actions
|
|
31
|
+
- 6f9796e: `icon-button`: transformation des valeurs de tailles en unités responsives
|
|
32
|
+
`download-card`, `download-link`, `breadcrumb`, `combobox`, `filter`, `select`, `accordion`, `drawer`, `tab`: ajustement des tailles d'icones
|
|
33
|
+
`tag`, `anchor-tag`, `badge`: ajustement du padding, valeurs responsives
|
|
34
|
+
`calendar`: ajustement de la taille du panneau en responsive
|
|
35
|
+
`error-text`: ajustement de la taille de l'icône
|
|
36
|
+
- ee489ab: `table-header-cell` : modification du comportement au hover/focus des en-têtes de colonnes triables
|
|
37
|
+
- 224882f: `input`, `input-mask`, `input-otp`, `input-phone`, `textarea`, `select`, `combobox`, `checkbox-group`, `radio-group`: ajout d'un attribut permettant d'ajouter une description pour l'accessibilité
|
|
38
|
+
- db8d8f9: `dsa-link` : amélioration des classes CSS pour les liens
|
|
39
|
+
- c06a211: `checkbox-group`, `radio-group` : changement des attributs `aria-describedby` des fieldsets par `aria-labelledby` car la description n'était pas lue par les lecteurs d'écran.
|
|
40
|
+
|
|
3
41
|
## 2.3.1
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
breadcrumb_item_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KWRUGVRF.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
6
|
} from "./chunk.YIY5RM53.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VARBZAJP.js";
|
|
10
10
|
import {
|
|
11
11
|
o
|
|
12
12
|
} from "./chunk.YQLIIKLI.js";
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.PSQJDSB2.js";
|
|
4
|
+
import {
|
|
5
|
+
i
|
|
6
|
+
} from "./chunk.4KHZQZ3M.js";
|
|
7
|
+
|
|
8
|
+
// src/components/page-header/page-header.styles.ts
|
|
9
|
+
var page_header_styles_default = i`
|
|
10
|
+
${component_styles_default}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
--internal-page-header-padding-inline: var(
|
|
15
|
+
--page-header-padding-inline,
|
|
16
|
+
var(--dsa-wc-page-header-padding-x-mobile)
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
::slotted(*) {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
font-size: 100%;
|
|
24
|
+
font: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.page-header {
|
|
28
|
+
background-color: var(--dsa-wc-page-header-background);
|
|
29
|
+
color: var(--dsa-wc-page-header-color);
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
padding: var(--dsa-spacing-16) var(--internal-page-header-padding-inline)
|
|
33
|
+
var(--dsa-spacing-24);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.page-header__container {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: var(--dsa-spacing-24);
|
|
40
|
+
width: 100%;
|
|
41
|
+
max-width: var(--page-header-max-width);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.backlink {
|
|
45
|
+
display: block;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.title-and-actions {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: var(--dsa-spacing-16);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.title-icon::slotted(*) {
|
|
55
|
+
flex-shrink: 0;
|
|
56
|
+
width: var(--dsa-wc-page-header-title-icon-size-mobile);
|
|
57
|
+
height: var(--dsa-wc-page-header-title-icon-size-mobile);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.text-content {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
gap: var(--dsa-spacing-16);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.text-first-line {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
gap: var(--dsa-spacing-16);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.page-header--mobile .title {
|
|
73
|
+
font: var(--dsa-wc-page-header-title-font-mobile);
|
|
74
|
+
}
|
|
75
|
+
.page-header--desktop .title {
|
|
76
|
+
font: var(--dsa-wc-page-header-title-font-desktop);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.tags {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: var(--dsa-spacing-12);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.text-second-line {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: baseline;
|
|
87
|
+
}
|
|
88
|
+
.page-header--mobile .text-second-line {
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
gap: var(--dsa-spacing-8);
|
|
91
|
+
}
|
|
92
|
+
.page-header--desktop .text-second-line {
|
|
93
|
+
flex-direction: row;
|
|
94
|
+
gap: var(--dsa-spacing-16);
|
|
95
|
+
}
|
|
96
|
+
.subtitle {
|
|
97
|
+
font: var(--dsa-wc-page-header-subtitle-font);
|
|
98
|
+
}
|
|
99
|
+
.secondary-text {
|
|
100
|
+
font: var(--dsa-wc-page-header-secondary-text-font);
|
|
101
|
+
color: var(--dsa-wc-page-header-secondary-text-color);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.actions {
|
|
105
|
+
display: flex;
|
|
106
|
+
gap: var(--dsa-spacing-16);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* Desktop-specific styles
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
.page-header--desktop {
|
|
114
|
+
--internal-page-header-padding-inline: var(
|
|
115
|
+
--page-header-padding-inline,
|
|
116
|
+
var(--dsa-wc-page-header-padding-x-desktop)
|
|
117
|
+
);
|
|
118
|
+
padding: var(--dsa-spacing-32) var(--internal-page-header-padding-inline)
|
|
119
|
+
var(--dsa-spacing-24);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.page-header--desktop .title-and-actions {
|
|
123
|
+
flex-direction: row;
|
|
124
|
+
gap: var(--dsa-spacing-12);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.page-header--desktop .title-icon::slotted(*) {
|
|
128
|
+
width: var(--dsa-wc-page-header-title-icon-size-desktop);
|
|
129
|
+
height: var(--dsa-wc-page-header-title-icon-size-desktop);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.page-header--desktop .text-content {
|
|
133
|
+
gap: var(--dsa-spacing-8);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.page-header--desktop .text-first-line {
|
|
137
|
+
flex-direction: row;
|
|
138
|
+
gap: var(--dsa-spacing-24);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.page-header--desktop .actions {
|
|
142
|
+
margin-left: auto;
|
|
143
|
+
}
|
|
144
|
+
`;
|
|
145
|
+
|
|
146
|
+
export {
|
|
147
|
+
page_header_styles_default
|
|
148
|
+
};
|
|
@@ -13,6 +13,8 @@ var table_header_cell_styles_default = i`
|
|
|
13
13
|
display: table-cell;
|
|
14
14
|
padding: var(--dsa-wc-table-header-cell-padding-y)
|
|
15
15
|
var(--dsa-wc-table-header-cell-padding-x);
|
|
16
|
+
border-block-end: var(--dsa-wc-table-cell-border-size) solid
|
|
17
|
+
var(--dsa-wc-table-cell-border-color);
|
|
16
18
|
vertical-align: middle;
|
|
17
19
|
text-align: start;
|
|
18
20
|
}
|
|
@@ -17,8 +17,17 @@ var table_header_row_styles_default = i`
|
|
|
17
17
|
color: var(--dsa-wc-table-header-row-color);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
/* Sizes */
|
|
21
|
+
:host([size='small']) {
|
|
22
|
+
block-size: var(--dsa-wc-table-row-small-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([size='medium']) {
|
|
26
|
+
block-size: var(--dsa-wc-table-row-medium-height);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([size='large']) {
|
|
30
|
+
block-size: var(--dsa-wc-table-row-large-height);
|
|
22
31
|
}
|
|
23
32
|
|
|
24
33
|
[part~='column-checkbox'] {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
o
|
|
2
|
+
o
|
|
3
3
|
} from "./chunk.6OFBSNBH.js";
|
|
4
4
|
import {
|
|
5
5
|
file_upload_item_styles_default
|
|
@@ -11,8 +11,11 @@ import {
|
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.CAMVBH5H.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk.
|
|
14
|
+
ifDefinedAndNotEmpty
|
|
15
|
+
} from "./chunk.B6GVVW66.js";
|
|
16
|
+
import {
|
|
17
|
+
a11yWarning
|
|
18
|
+
} from "./chunk.PWL7QCVG.js";
|
|
16
19
|
import {
|
|
17
20
|
e
|
|
18
21
|
} from "./chunk.IKHG7XGO.js";
|
|
@@ -54,6 +57,11 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
54
57
|
render() {
|
|
55
58
|
var _a;
|
|
56
59
|
const isUploadCompleted = (this.uploadProgress === void 0 || this.uploadProgress === 100) && !this.error;
|
|
60
|
+
if (this.error && !this.errorMessage) {
|
|
61
|
+
a11yWarning(
|
|
62
|
+
"<dsa-file-upload-item> requires an error-message attribute for accessibility when the error attribute is set"
|
|
63
|
+
);
|
|
64
|
+
}
|
|
57
65
|
return x`
|
|
58
66
|
<div
|
|
59
67
|
part="base"
|
|
@@ -65,11 +73,7 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
65
73
|
"file-item-container--large": this.size === "large"
|
|
66
74
|
})}
|
|
67
75
|
>
|
|
68
|
-
<article
|
|
69
|
-
part="file-item"
|
|
70
|
-
aria-describedby="error-text"
|
|
71
|
-
aria-invalid=${o(this.error ? "true" : void 0)}
|
|
72
|
-
>
|
|
76
|
+
<article part="file-item">
|
|
73
77
|
<slot part="label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
74
78
|
<slot
|
|
75
79
|
part="upload-indicator"
|
|
@@ -85,6 +89,9 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
85
89
|
type="button"
|
|
86
90
|
@click=${this.handleRemoveClick}
|
|
87
91
|
aria-label=${this.localize.term("clearFile", this.labelText)}
|
|
92
|
+
aria-describedby=${ifDefinedAndNotEmpty(
|
|
93
|
+
this.error ? "error-text" : void 0
|
|
94
|
+
)}
|
|
88
95
|
>
|
|
89
96
|
${isUploadCompleted ? x`<dsa-icon name="delete" library="system"></dsa-icon>` : x`<dsa-icon name="close" library="system"></dsa-icon>`}
|
|
90
97
|
</button>
|
|
@@ -102,7 +109,7 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
102
109
|
>
|
|
103
110
|
<div
|
|
104
111
|
part="progress-bar-indicator"
|
|
105
|
-
style=${
|
|
112
|
+
style=${o({ width: `${(_a = this.uploadProgress) != null ? _a : 0}%` })}
|
|
106
113
|
></div>
|
|
107
114
|
</div>
|
|
108
115
|
</article>
|
|
@@ -28,26 +28,35 @@ var accordion_styles_default = i`
|
|
|
28
28
|
|
|
29
29
|
.accordion__header {
|
|
30
30
|
border-radius: inherit;
|
|
31
|
+
position: relative;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
.accordion__header-button {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
37
|
border-radius: inherit;
|
|
38
|
+
margin-right: auto;
|
|
37
39
|
padding: var(--dsa-wc-accordion-padding);
|
|
38
40
|
user-select: none;
|
|
39
41
|
cursor: pointer;
|
|
42
|
+
z-index: 5;
|
|
43
|
+
}
|
|
44
|
+
.accordion__header-button::after {
|
|
45
|
+
content: '';
|
|
46
|
+
position: absolute;
|
|
47
|
+
inset: 0;
|
|
40
48
|
}
|
|
41
49
|
|
|
42
|
-
.accordion:not(.accordion--disabled):has(.accordion__header:hover) {
|
|
50
|
+
.accordion:not(.accordion--disabled):has(.accordion__header-button:hover) {
|
|
43
51
|
border-color: var(--dsa-wc-accordion-hover-border-color);
|
|
44
52
|
}
|
|
45
53
|
|
|
46
|
-
.accordion:not(.accordion--disabled)
|
|
54
|
+
.accordion:not(.accordion--disabled)
|
|
55
|
+
.accordion__header:has(.accordion__header-button:hover) {
|
|
47
56
|
background-color: var(--dsa-wc-accordion-header-hover-background-color);
|
|
48
57
|
}
|
|
49
58
|
|
|
50
|
-
.accordion__header-button:focus-visible {
|
|
59
|
+
.accordion__header:has(.accordion__header-button:focus-visible) {
|
|
51
60
|
outline: var(--dsa-wc-focus-ring);
|
|
52
61
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
53
62
|
background-color: var(--dsa-wc-accordion-header-hover-background-color);
|
|
@@ -57,11 +66,15 @@ var accordion_styles_default = i`
|
|
|
57
66
|
cursor: not-allowed;
|
|
58
67
|
}
|
|
59
68
|
|
|
60
|
-
.
|
|
69
|
+
.accordion__header-button:focus-visible {
|
|
61
70
|
outline: none;
|
|
62
71
|
box-shadow: none;
|
|
63
72
|
}
|
|
64
73
|
|
|
74
|
+
.accordion__summary-container {
|
|
75
|
+
display: contents;
|
|
76
|
+
}
|
|
77
|
+
|
|
65
78
|
.accordion__summary {
|
|
66
79
|
flex: 1 1 auto;
|
|
67
80
|
display: flex;
|
|
@@ -70,10 +83,13 @@ var accordion_styles_default = i`
|
|
|
70
83
|
|
|
71
84
|
.accordion__summary-icon {
|
|
72
85
|
flex: 0 0 auto;
|
|
86
|
+
|
|
73
87
|
display: flex;
|
|
74
88
|
align-items: center;
|
|
75
89
|
color: var(--dsa-wc-accordion-icon-color);
|
|
76
90
|
transition: var(--dsa-wc-transition-medium) rotate ease;
|
|
91
|
+
font-size: var(--dsa-wc-accordion-icon-size);
|
|
92
|
+
padding: var(--dsa-wc-accordion-padding);
|
|
77
93
|
}
|
|
78
94
|
|
|
79
95
|
.accordion--open.accordion--chevron .accordion__summary-icon {
|
|
@@ -84,6 +100,13 @@ var accordion_styles_default = i`
|
|
|
84
100
|
rotate: -90deg;
|
|
85
101
|
}
|
|
86
102
|
|
|
103
|
+
.accordion__actions {
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--dsa-spacing-12);
|
|
107
|
+
z-index: 10;
|
|
108
|
+
}
|
|
109
|
+
|
|
87
110
|
.accordion--open .accordion__expand-icon,
|
|
88
111
|
.accordion:not(.accordion--open) .accordion__collapse-icon {
|
|
89
112
|
display: none;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FilterBase
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4ZEHBLJR.js";
|
|
4
4
|
import {
|
|
5
5
|
filter_counter_styles_default
|
|
6
6
|
} from "./chunk.BLJRNU3Y.js";
|
|
@@ -98,7 +98,6 @@ var DSAFilterCounter = class extends FilterBase {
|
|
|
98
98
|
max=${this.max}
|
|
99
99
|
variant=${this.drawer ? "layer" : "base"}
|
|
100
100
|
title=${this.label}
|
|
101
|
-
aria-label=${this.label}
|
|
102
101
|
></dsa-input>
|
|
103
102
|
<dsa-icon-button
|
|
104
103
|
name="add"
|
|
@@ -15,10 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk.2WRFDMKN.js";
|
|
16
16
|
import {
|
|
17
17
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.VARBZAJP.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.4FQJ3QJK.js";
|
|
22
|
+
import {
|
|
23
|
+
a11yWarning
|
|
24
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
25
|
import {
|
|
23
26
|
ShoelaceElement,
|
|
24
27
|
e,
|
|
@@ -212,6 +215,9 @@ var FilterBase = class extends ShoelaceElement {
|
|
|
212
215
|
}
|
|
213
216
|
// Common render methods
|
|
214
217
|
renderTrigger() {
|
|
218
|
+
if (!this.label) {
|
|
219
|
+
a11yWarning("Filters require a label attribute for accessibility");
|
|
220
|
+
}
|
|
215
221
|
return x` <dsa-filter-button
|
|
216
222
|
slot="anchor"
|
|
217
223
|
class="filter__trigger"
|
|
@@ -68,19 +68,19 @@ var anchor_tag_styles_default = i`
|
|
|
68
68
|
.anchor-tag--small {
|
|
69
69
|
font: var(--dsa-wc-tag-small-font-size);
|
|
70
70
|
height: var(--dsa-wc-tag-small-height);
|
|
71
|
-
padding:
|
|
71
|
+
padding: var(--dsa-wc-tag-small-padding);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.anchor-tag--medium {
|
|
75
75
|
font: var(--dsa-wc-tag-medium-font-size);
|
|
76
76
|
height: var(--dsa-wc-tag-medium-height);
|
|
77
|
-
padding:
|
|
77
|
+
padding: var(--dsa-wc-tag-medium-padding);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.anchor-tag--large {
|
|
81
81
|
font: var(--dsa-wc-tag-large-font-size);
|
|
82
82
|
height: var(--dsa-wc-tag-large-height);
|
|
83
|
-
padding:
|
|
83
|
+
padding: var(--dsa-wc-tag-large-padding);
|
|
84
84
|
}
|
|
85
85
|
`;
|
|
86
86
|
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkbox_group_styles_default
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
a11yWarning
|
|
6
|
-
} from "./chunk.PWL7QCVG.js";
|
|
3
|
+
} from "./chunk.VZF3ZTED.js";
|
|
7
4
|
import {
|
|
8
5
|
renderFormElementErrors
|
|
9
6
|
} from "./chunk.EY4WUNAJ.js";
|
|
@@ -19,6 +16,9 @@ import {
|
|
|
19
16
|
import {
|
|
20
17
|
watch
|
|
21
18
|
} from "./chunk.4FQJ3QJK.js";
|
|
19
|
+
import {
|
|
20
|
+
a11yWarning
|
|
21
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
22
|
import {
|
|
23
23
|
e as e2
|
|
24
24
|
} from "./chunk.IKHG7XGO.js";
|
|
@@ -52,6 +52,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
52
52
|
this.defaultValue = [];
|
|
53
53
|
this.label = "";
|
|
54
54
|
this.helpText = "";
|
|
55
|
+
this.description = "";
|
|
55
56
|
this.name = "option";
|
|
56
57
|
this.value = [];
|
|
57
58
|
this.form = "";
|
|
@@ -170,6 +171,12 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
170
171
|
this.formControlController.setValidity(false);
|
|
171
172
|
this.formControlController.emitInvalidEvent(event);
|
|
172
173
|
}
|
|
174
|
+
getDescriptionIds() {
|
|
175
|
+
let ids = [];
|
|
176
|
+
if (this.error) ids = ["error-text"];
|
|
177
|
+
ids = [...ids, "help-text", "description"];
|
|
178
|
+
return ids.join(" ");
|
|
179
|
+
}
|
|
173
180
|
handleValueChange() {
|
|
174
181
|
this.getAllCheckboxes().forEach(
|
|
175
182
|
(checkbox) => checkbox.checked = this.value.includes(checkbox.value)
|
|
@@ -186,13 +193,6 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
186
193
|
(checkbox) => checkbox.parentReadonly = this.readonly
|
|
187
194
|
);
|
|
188
195
|
}
|
|
189
|
-
handleErrorChange() {
|
|
190
|
-
if (this.error) {
|
|
191
|
-
this.setAttribute("aria-invalid", "true");
|
|
192
|
-
} else {
|
|
193
|
-
this.removeAttribute("aria-invalid");
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
196
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
197
197
|
checkValidity() {
|
|
198
198
|
const isRequiredAndEmpty = this.required && this.value.length === 0;
|
|
@@ -239,6 +239,11 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
239
239
|
"<dsa-checkbox-group> requires a label attribute or a label slot for accessibility"
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
+
if (this.error && !this.errorMessage) {
|
|
243
|
+
a11yWarning(
|
|
244
|
+
"<dsa-checkbox-group> requires an error-message attribute for accessibility when the error attribute is set"
|
|
245
|
+
);
|
|
246
|
+
}
|
|
242
247
|
return x`
|
|
243
248
|
<fieldset
|
|
244
249
|
part="form-control"
|
|
@@ -254,8 +259,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
254
259
|
"form-control--options-horizontal": !!this.horizontal
|
|
255
260
|
})}
|
|
256
261
|
role="group"
|
|
257
|
-
aria-labelledby="label"
|
|
258
|
-
aria-describedby=${this.error ? "error-text help-text" : "help-text"}
|
|
262
|
+
aria-labelledby="label ${this.getDescriptionIds()}"
|
|
259
263
|
>
|
|
260
264
|
${this.hideLabel ? x`<dsa-visually-hidden id="label"
|
|
261
265
|
><slot name="label">${this.label}</slot></dsa-visually-hidden
|
|
@@ -311,6 +315,11 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
311
315
|
</slot>
|
|
312
316
|
|
|
313
317
|
${this.error ? renderFormElementErrors(this.errorMessage) : ""}
|
|
318
|
+
${this.description ? x`
|
|
319
|
+
<p id="description" class="form-control__description">
|
|
320
|
+
${this.description}
|
|
321
|
+
</p>
|
|
322
|
+
` : ""}
|
|
314
323
|
</fieldset>
|
|
315
324
|
`;
|
|
316
325
|
}
|
|
@@ -337,6 +346,9 @@ __decorateClass([
|
|
|
337
346
|
__decorateClass([
|
|
338
347
|
n({ attribute: "help-text" })
|
|
339
348
|
], DSACheckboxGroup.prototype, "helpText", 2);
|
|
349
|
+
__decorateClass([
|
|
350
|
+
n({ attribute: "description" })
|
|
351
|
+
], DSACheckboxGroup.prototype, "description", 2);
|
|
340
352
|
__decorateClass([
|
|
341
353
|
n()
|
|
342
354
|
], DSACheckboxGroup.prototype, "name", 2);
|
|
@@ -399,9 +411,6 @@ __decorateClass([
|
|
|
399
411
|
__decorateClass([
|
|
400
412
|
watch("readonly")
|
|
401
413
|
], DSACheckboxGroup.prototype, "handleReadonlyChange", 1);
|
|
402
|
-
__decorateClass([
|
|
403
|
-
watch("error")
|
|
404
|
-
], DSACheckboxGroup.prototype, "handleErrorChange", 1);
|
|
405
414
|
DSACheckboxGroup = __decorateClass([
|
|
406
415
|
t("dsa-checkbox-group")
|
|
407
416
|
], DSACheckboxGroup);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
menu_accordion_styles_default
|
|
3
3
|
} from "./chunk.HDRDFHGQ.js";
|
|
4
|
+
import {
|
|
5
|
+
HasSlotController
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
4
7
|
import {
|
|
5
8
|
waitForEvent
|
|
6
9
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -15,10 +18,13 @@ import {
|
|
|
15
18
|
} from "./chunk.2WRFDMKN.js";
|
|
16
19
|
import {
|
|
17
20
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.VARBZAJP.js";
|
|
19
22
|
import {
|
|
20
23
|
watch
|
|
21
24
|
} from "./chunk.4FQJ3QJK.js";
|
|
25
|
+
import {
|
|
26
|
+
a11yWarning
|
|
27
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
28
|
import {
|
|
23
29
|
e as e2
|
|
24
30
|
} from "./chunk.IKHG7XGO.js";
|
|
@@ -40,6 +46,7 @@ var DSAMenuAccordion = class extends ShoelaceElement {
|
|
|
40
46
|
constructor() {
|
|
41
47
|
super(...arguments);
|
|
42
48
|
this.localize = new LocalizeController(this);
|
|
49
|
+
this.hasSlotController = new HasSlotController(this, "summary");
|
|
43
50
|
this.open = false;
|
|
44
51
|
this.level = 1;
|
|
45
52
|
}
|
|
@@ -152,6 +159,11 @@ var DSAMenuAccordion = class extends ShoelaceElement {
|
|
|
152
159
|
return await waitForEvent(this, "dsa-after-hide");
|
|
153
160
|
}
|
|
154
161
|
render() {
|
|
162
|
+
if (!this.summary && !this.hasSlotController.test("summary")) {
|
|
163
|
+
a11yWarning(
|
|
164
|
+
"<dsa-menu-accordion> requires a summary attribute or a summary slot for accessibility"
|
|
165
|
+
);
|
|
166
|
+
}
|
|
155
167
|
return x`
|
|
156
168
|
<div
|
|
157
169
|
part="base"
|