@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TTZ6Y7GB.js";
|
|
4
4
|
import {
|
|
5
5
|
getPhoneConfig
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YKKP7YAT.js";
|
|
7
7
|
import {
|
|
8
8
|
input_phone_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.46A3MGDV.js";
|
|
10
10
|
import {
|
|
11
11
|
frenchNumberPrefix,
|
|
12
12
|
phonePrefixOptions
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.7OLEA3GQ.js";
|
|
19
19
|
import {
|
|
20
20
|
FormControlLayout
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.MKTUAWNS.js";
|
|
22
22
|
import {
|
|
23
23
|
defaultValue
|
|
24
24
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -194,6 +194,12 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
194
194
|
this.inputEl.focus();
|
|
195
195
|
event.stopPropagation();
|
|
196
196
|
}
|
|
197
|
+
getDescriptionIds() {
|
|
198
|
+
let ids = ["input-phone"];
|
|
199
|
+
if (this.error) ids = [...ids, "error-text"];
|
|
200
|
+
ids = [...ids, "help-text", "description"];
|
|
201
|
+
return ids.join(" ");
|
|
202
|
+
}
|
|
197
203
|
handleDisabledChange() {
|
|
198
204
|
if (this.disabled) {
|
|
199
205
|
this.phonePrefixEl.setAttribute("disabled", "");
|
|
@@ -376,7 +382,7 @@ var DSAInputPhone = class extends FormControlLayout {
|
|
|
376
382
|
aria-label=${ifDefinedAndNotEmpty(
|
|
377
383
|
hasLabel ? void 0 : this.title
|
|
378
384
|
)}
|
|
379
|
-
aria-describedby=${this.
|
|
385
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
380
386
|
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
381
387
|
@change=${this.handleChange}
|
|
382
388
|
@keyup=${this.handleDocumentKeyUp}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
menu_accordion_styles_default
|
|
3
3
|
} from "./chunk.DJEMOASF.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.HGR7A5FK.js";
|
|
16
19
|
import {
|
|
17
20
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.YWHYMKYI.js";
|
|
19
22
|
import {
|
|
20
23
|
watch
|
|
21
24
|
} from "./chunk.NOMN6DGD.js";
|
|
25
|
+
import {
|
|
26
|
+
a11yWarning
|
|
27
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
28
|
import {
|
|
23
29
|
ShoelaceElement
|
|
24
30
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -34,6 +40,7 @@ var DSAMenuAccordion = class extends ShoelaceElement {
|
|
|
34
40
|
constructor() {
|
|
35
41
|
super(...arguments);
|
|
36
42
|
this.localize = new LocalizeController(this);
|
|
43
|
+
this.hasSlotController = new HasSlotController(this, "summary");
|
|
37
44
|
this.open = false;
|
|
38
45
|
this.level = 1;
|
|
39
46
|
}
|
|
@@ -146,6 +153,11 @@ var DSAMenuAccordion = class extends ShoelaceElement {
|
|
|
146
153
|
return await waitForEvent(this, "dsa-after-hide");
|
|
147
154
|
}
|
|
148
155
|
render() {
|
|
156
|
+
if (!this.summary && !this.hasSlotController.test("summary")) {
|
|
157
|
+
a11yWarning(
|
|
158
|
+
"<dsa-menu-accordion> requires a summary attribute or a summary slot for accessibility"
|
|
159
|
+
);
|
|
160
|
+
}
|
|
149
161
|
return html`
|
|
150
162
|
<div
|
|
151
163
|
part="base"
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk.CMJ2SRTL.js";
|
|
7
7
|
import {
|
|
8
8
|
form_control_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.D7NKST7Z.js";
|
|
10
10
|
import {
|
|
11
11
|
FormControlController
|
|
12
12
|
} from "./chunk.JA7YFGLI.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.YWHYMKYI.js";
|
|
16
16
|
import {
|
|
17
17
|
watch
|
|
18
18
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -102,6 +102,7 @@ var filter_button_styles_default = css`
|
|
|
102
102
|
transition: var(--dsa-wc-transition-medium) rotate ease;
|
|
103
103
|
rotate: 0;
|
|
104
104
|
color: var(--dsa-wc-input-icon-color);
|
|
105
|
+
font-size: var(--dsa-wc-filter-button-icon-size);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
:host([aria-expanded='true']) .expand-icon {
|
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
ifDefinedAndNotEmpty
|
|
9
9
|
} from "./chunk.ZQJVCRB2.js";
|
|
10
|
+
import {
|
|
11
|
+
a11yWarning
|
|
12
|
+
} from "./chunk.PWL7QCVG.js";
|
|
10
13
|
import {
|
|
11
14
|
ShoelaceElement
|
|
12
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -130,6 +133,11 @@ var DSARangeSlider = class extends ShoelaceElement {
|
|
|
130
133
|
this.toSlider.blur();
|
|
131
134
|
}
|
|
132
135
|
render() {
|
|
136
|
+
if (!this.labelFrom || !this.labelTo) {
|
|
137
|
+
a11yWarning(
|
|
138
|
+
"<dsa-range-slider> requires label-from and label-to attributes for accessibility"
|
|
139
|
+
);
|
|
140
|
+
}
|
|
133
141
|
return html`
|
|
134
142
|
<input
|
|
135
143
|
class=${classMap({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDateFromISO,
|
|
3
3
|
getISOFormattedDate
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.YBWQADCH.js";
|
|
5
5
|
import {
|
|
6
6
|
calendar_styles_default
|
|
7
7
|
} from "./chunk.L5DEEGJU.js";
|
|
8
8
|
import {
|
|
9
9
|
LocalizeController
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.YWHYMKYI.js";
|
|
11
11
|
import {
|
|
12
12
|
watch
|
|
13
13
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -26,18 +26,8 @@ var error_text_styles_default = css`
|
|
|
26
26
|
flex: 0 0 auto;
|
|
27
27
|
display: flex;
|
|
28
28
|
color: var(--dsa-wc-error-text-icon-color);
|
|
29
|
-
|
|
29
|
+
font-size: var(--dsa-wc-error-text-icon-size);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
.error-text__icon dsa-icon {
|
|
33
|
-
width: 1.666em;
|
|
34
|
-
height: 1.666em;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// .error-text__icon dsa-icon::part(svg) {
|
|
38
|
-
// width: auto;
|
|
39
|
-
// height: auto;
|
|
40
|
-
// }
|
|
41
31
|
`;
|
|
42
32
|
|
|
43
33
|
export {
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
filter_button_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ISWFROYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YWHYMKYI.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.NOMN6DGD.js";
|
|
10
|
+
import {
|
|
11
|
+
a11yWarning
|
|
12
|
+
} from "./chunk.PWL7QCVG.js";
|
|
10
13
|
import {
|
|
11
14
|
ShoelaceElement
|
|
12
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -53,6 +56,11 @@ var DSAFilterButton = class extends ShoelaceElement {
|
|
|
53
56
|
);
|
|
54
57
|
}
|
|
55
58
|
render() {
|
|
59
|
+
if (!this.label) {
|
|
60
|
+
a11yWarning(
|
|
61
|
+
"<dsa-filter-button> require a label attribute for accessibility"
|
|
62
|
+
);
|
|
63
|
+
}
|
|
56
64
|
return html`
|
|
57
65
|
<span class="label"
|
|
58
66
|
>${`${this.label}${this.selectionCount > 0 && !this.drawer ? " : " : ""}`}</span
|
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
|
+
import {
|
|
11
|
+
LocalizeController
|
|
12
|
+
} from "./chunk.YWHYMKYI.js";
|
|
10
13
|
import {
|
|
11
14
|
watch
|
|
12
15
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -22,6 +25,7 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
22
25
|
constructor() {
|
|
23
26
|
super(...arguments);
|
|
24
27
|
this.hasSlotController = new HasSlotController(this, "toolbar");
|
|
28
|
+
this.localize = new LocalizeController(this);
|
|
25
29
|
this.showTableActions = false;
|
|
26
30
|
}
|
|
27
31
|
connectedCallback() {
|
|
@@ -61,6 +65,21 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
61
65
|
this.showTableActions = true;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
68
|
+
handleCaptionSlotChange() {
|
|
69
|
+
this.linkCaptionAndTable();
|
|
70
|
+
}
|
|
71
|
+
handleTableSlotChange() {
|
|
72
|
+
this.linkCaptionAndTable();
|
|
73
|
+
}
|
|
74
|
+
linkCaptionAndTable() {
|
|
75
|
+
const tableCaption = this.querySelector("dsa-table-caption");
|
|
76
|
+
const tableElement = this.querySelector("dsa-table");
|
|
77
|
+
if (!tableCaption || !tableElement || tableCaption.id || tableElement.getAttribute("aria-labelledby"))
|
|
78
|
+
return;
|
|
79
|
+
const randomId = Math.floor(Math.random() * 999999999).toString();
|
|
80
|
+
tableCaption.id = randomId;
|
|
81
|
+
tableElement.setAttribute("aria-labelledby", randomId);
|
|
82
|
+
}
|
|
64
83
|
handleShowTableActions() {
|
|
65
84
|
const actionBar = this.querySelector("dsa-table-action");
|
|
66
85
|
const toolbar = this.querySelector("dsa-table-toolbar");
|
|
@@ -112,10 +131,15 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
112
131
|
}
|
|
113
132
|
}
|
|
114
133
|
render() {
|
|
134
|
+
var _a;
|
|
115
135
|
const hasToolbar = this.hasSlotController.test("toolbar");
|
|
116
136
|
const hasAction = this.hasSlotController.test("action");
|
|
117
137
|
return html`
|
|
118
|
-
<slot
|
|
138
|
+
<slot
|
|
139
|
+
part="caption"
|
|
140
|
+
name="caption"
|
|
141
|
+
@slotchange=${this.handleCaptionSlotChange}
|
|
142
|
+
></slot>
|
|
119
143
|
<slot part="export" name="export"></slot>
|
|
120
144
|
<div
|
|
121
145
|
part="bar-container"
|
|
@@ -127,8 +151,17 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
127
151
|
<slot part="toolbar" name="toolbar"></slot>
|
|
128
152
|
<slot part="action" name="action"></slot>
|
|
129
153
|
</div>
|
|
130
|
-
<slot
|
|
154
|
+
<slot
|
|
155
|
+
part="table"
|
|
156
|
+
name="table"
|
|
157
|
+
@slotchange=${this.handleTableSlotChange}
|
|
158
|
+
></slot>
|
|
131
159
|
<slot part="pagination" name="pagination"></slot>
|
|
160
|
+
<dsa-visually-hidden aria-live="polite" aria-atomic="true">
|
|
161
|
+
${this.showTableActions ? html`<span
|
|
162
|
+
>${(_a = this.actionsAnnouncement) != null ? _a : this.localize.term("showTableActionsAnnouncement")}</span
|
|
163
|
+
>` : ""}
|
|
164
|
+
</dsa-visually-hidden>
|
|
132
165
|
`;
|
|
133
166
|
}
|
|
134
167
|
};
|
|
@@ -136,6 +169,9 @@ DSATableContainer.styles = table_container_styles_default;
|
|
|
136
169
|
__decorateClass([
|
|
137
170
|
property({ attribute: "show-table-actions", reflect: true, type: Boolean })
|
|
138
171
|
], DSATableContainer.prototype, "showTableActions", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
property({ attribute: "actions-announcement", type: String })
|
|
174
|
+
], DSATableContainer.prototype, "actionsAnnouncement", 2);
|
|
139
175
|
__decorateClass([
|
|
140
176
|
watch("showTableActions")
|
|
141
177
|
], DSATableContainer.prototype, "handleShowTableActions", 1);
|
|
@@ -4,6 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
renderFormElementErrors
|
|
6
6
|
} from "./chunk.IZBHR7GP.js";
|
|
7
|
+
import {
|
|
8
|
+
ifDefinedAndNotEmpty
|
|
9
|
+
} from "./chunk.ZQJVCRB2.js";
|
|
10
|
+
import {
|
|
11
|
+
a11yWarning
|
|
12
|
+
} from "./chunk.PWL7QCVG.js";
|
|
7
13
|
import {
|
|
8
14
|
ShoelaceElement
|
|
9
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -15,7 +21,6 @@ import {
|
|
|
15
21
|
import { html } from "lit";
|
|
16
22
|
import { customElement, property, state } from "lit/decorators.js";
|
|
17
23
|
import { classMap } from "lit/directives/class-map.js";
|
|
18
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
19
24
|
import { styleMap } from "lit/directives/style-map.js";
|
|
20
25
|
import { LocalizeController } from "@shoelace-style/localize";
|
|
21
26
|
var DSAFileUploadItem = class extends ShoelaceElement {
|
|
@@ -42,6 +47,11 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
42
47
|
render() {
|
|
43
48
|
var _a;
|
|
44
49
|
const isUploadCompleted = (this.uploadProgress === void 0 || this.uploadProgress === 100) && !this.error;
|
|
50
|
+
if (this.error && !this.errorMessage) {
|
|
51
|
+
a11yWarning(
|
|
52
|
+
"<dsa-file-upload-item> requires an error-message attribute for accessibility when the error attribute is set"
|
|
53
|
+
);
|
|
54
|
+
}
|
|
45
55
|
return html`
|
|
46
56
|
<div
|
|
47
57
|
part="base"
|
|
@@ -53,11 +63,7 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
53
63
|
"file-item-container--large": this.size === "large"
|
|
54
64
|
})}
|
|
55
65
|
>
|
|
56
|
-
<article
|
|
57
|
-
part="file-item"
|
|
58
|
-
aria-describedby="error-text"
|
|
59
|
-
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
60
|
-
>
|
|
66
|
+
<article part="file-item">
|
|
61
67
|
<slot part="label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
62
68
|
<slot
|
|
63
69
|
part="upload-indicator"
|
|
@@ -73,6 +79,9 @@ var DSAFileUploadItem = class extends ShoelaceElement {
|
|
|
73
79
|
type="button"
|
|
74
80
|
@click=${this.handleRemoveClick}
|
|
75
81
|
aria-label=${this.localize.term("clearFile", this.labelText)}
|
|
82
|
+
aria-describedby=${ifDefinedAndNotEmpty(
|
|
83
|
+
this.error ? "error-text" : void 0
|
|
84
|
+
)}
|
|
76
85
|
>
|
|
77
86
|
${isUploadCompleted ? html`<dsa-icon name="delete" library="system"></dsa-icon>` : html`<dsa-icon name="close" library="system"></dsa-icon>`}
|
|
78
87
|
</button>
|
|
@@ -29,12 +29,29 @@ var tab_group_styles_default = css`
|
|
|
29
29
|
|
|
30
30
|
.tab-group--has-scroll-controls .tab-group__nav-container {
|
|
31
31
|
position: relative;
|
|
32
|
-
padding: 0
|
|
32
|
+
padding: 0 2.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.tab-group--below-page-header .tab-group__nav-section {
|
|
36
|
+
background: var(--dsa-wc-page-header-background);
|
|
37
|
+
}
|
|
38
|
+
.tab-group__nav-section,
|
|
39
|
+
.tab-group__body-section {
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
padding-inline: var(--tab-group-padding-inline);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tab-group__nav-container,
|
|
46
|
+
.tab-group__body {
|
|
47
|
+
width: 100%;
|
|
48
|
+
max-width: var(--tab-group-max-width);
|
|
33
49
|
}
|
|
34
50
|
|
|
35
51
|
.tab-group__body {
|
|
36
52
|
display: block;
|
|
37
53
|
overflow: auto;
|
|
54
|
+
max-width: var(--tab-group-max-width);
|
|
38
55
|
}
|
|
39
56
|
|
|
40
57
|
.tab-group__scroll-button {
|
|
@@ -44,7 +61,7 @@ var tab_group_styles_default = css`
|
|
|
44
61
|
position: absolute;
|
|
45
62
|
top: 0;
|
|
46
63
|
bottom: 0;
|
|
47
|
-
width:
|
|
64
|
+
width: 2.5rem;
|
|
48
65
|
}
|
|
49
66
|
|
|
50
67
|
.tab-group__scroll-button--start {
|
|
@@ -91,12 +108,14 @@ var tab_group_styles_default = css`
|
|
|
91
108
|
height: 0;
|
|
92
109
|
}
|
|
93
110
|
|
|
111
|
+
.tab-group--top .tab-group__nav-section {
|
|
112
|
+
border-bottom: solid var(--dsa-wc-tab-group-track-width)
|
|
113
|
+
var(--dsa-wc-tab-group-track-color);
|
|
114
|
+
}
|
|
94
115
|
.tab-group--top .tab-group__tabs {
|
|
95
116
|
flex: 1 1 auto;
|
|
96
117
|
position: relative;
|
|
97
118
|
flex-direction: row;
|
|
98
|
-
border-bottom: solid var(--dsa-wc-tab-group-track-width)
|
|
99
|
-
var(--dsa-wc-tab-group-track-color);
|
|
100
119
|
}
|
|
101
120
|
|
|
102
121
|
.tab-group--top .tab-group__indicator {
|
|
@@ -135,12 +154,14 @@ var tab_group_styles_default = css`
|
|
|
135
154
|
height: 0;
|
|
136
155
|
}
|
|
137
156
|
|
|
157
|
+
.tab-group--bottom .tab-group__nav-section {
|
|
158
|
+
border-top: solid var(--dsa-wc-tab-group-track-width)
|
|
159
|
+
var(--dsa-wc-tab-group-track-color);
|
|
160
|
+
}
|
|
138
161
|
.tab-group--bottom .tab-group__tabs {
|
|
139
162
|
flex: 1 1 auto;
|
|
140
163
|
position: relative;
|
|
141
164
|
flex-direction: row;
|
|
142
|
-
border-top: solid var(--dsa-wc-tab-group-track-width)
|
|
143
|
-
var(--dsa-wc-tab-group-track-color);
|
|
144
165
|
}
|
|
145
166
|
|
|
146
167
|
.tab-group--bottom .tab-group__indicator {
|
|
@@ -169,11 +190,13 @@ var tab_group_styles_default = css`
|
|
|
169
190
|
order: 1;
|
|
170
191
|
}
|
|
171
192
|
|
|
193
|
+
.tab-group--start .tab-group__nav-section {
|
|
194
|
+
border-inline-end: solid var(--dsa-wc-tab-group-track-width)
|
|
195
|
+
var(--dsa-wc-tab-group-track-color);
|
|
196
|
+
}
|
|
172
197
|
.tab-group--start .tab-group__tabs {
|
|
173
198
|
flex: 0 0 auto;
|
|
174
199
|
flex-direction: column;
|
|
175
|
-
border-inline-end: solid var(--dsa-wc-tab-group-track-width)
|
|
176
|
-
var(--dsa-wc-tab-group-track-color);
|
|
177
200
|
}
|
|
178
201
|
|
|
179
202
|
.tab-group--start .tab-group__indicator {
|
|
@@ -208,11 +231,13 @@ var tab_group_styles_default = css`
|
|
|
208
231
|
order: 2;
|
|
209
232
|
}
|
|
210
233
|
|
|
234
|
+
.tab-group--end .tab-group__nav-section {
|
|
235
|
+
border-left: solid var(--dsa-wc-tab-group-track-width)
|
|
236
|
+
var(--dsa-wc-tab-group-track-color);
|
|
237
|
+
}
|
|
211
238
|
.tab-group--end .tab-group__tabs {
|
|
212
239
|
flex: 0 0 auto;
|
|
213
240
|
flex-direction: column;
|
|
214
|
-
border-left: solid var(--dsa-wc-tab-group-track-width)
|
|
215
|
-
var(--dsa-wc-tab-group-track-color);
|
|
216
241
|
}
|
|
217
242
|
|
|
218
243
|
.tab-group--end .tab-group__indicator {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
a11yWarning
|
|
3
|
-
} from "./chunk.PWL7QCVG.js";
|
|
4
1
|
import {
|
|
5
2
|
renderFormElementErrors
|
|
6
3
|
} from "./chunk.IZBHR7GP.js";
|
|
7
4
|
import {
|
|
8
5
|
HasSlotController
|
|
9
6
|
} from "./chunk.YIY5RM53.js";
|
|
7
|
+
import {
|
|
8
|
+
a11yWarning
|
|
9
|
+
} from "./chunk.PWL7QCVG.js";
|
|
10
10
|
import {
|
|
11
11
|
ShoelaceElement
|
|
12
12
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -43,6 +43,7 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
43
43
|
this.errorMessage = "";
|
|
44
44
|
this.form = "";
|
|
45
45
|
this.required = false;
|
|
46
|
+
this.description = "";
|
|
46
47
|
}
|
|
47
48
|
renderInput() {
|
|
48
49
|
return html``;
|
|
@@ -57,11 +58,16 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
57
58
|
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
58
59
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
59
60
|
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
60
|
-
if (!hasLabel) {
|
|
61
|
+
if (!hasLabel && !this.title) {
|
|
61
62
|
a11yWarning(
|
|
62
63
|
"Form controls require a label attribute or a label slot for accessibility"
|
|
63
64
|
);
|
|
64
65
|
}
|
|
66
|
+
if (this.error && !this.errorMessage) {
|
|
67
|
+
a11yWarning(
|
|
68
|
+
"Form controls requires an error-message attribute for accessibility when the error attribute is set"
|
|
69
|
+
);
|
|
70
|
+
}
|
|
65
71
|
return html`
|
|
66
72
|
<div
|
|
67
73
|
part="form-control"
|
|
@@ -103,6 +109,12 @@ var FormControlLayout = class extends ShoelaceElement {
|
|
|
103
109
|
</slot>
|
|
104
110
|
|
|
105
111
|
${this.renderCounter()}
|
|
112
|
+
|
|
113
|
+
${this.description !== "" ? html`
|
|
114
|
+
<p id="description" class="form-control__description">
|
|
115
|
+
${this.description}
|
|
116
|
+
</p>
|
|
117
|
+
` : ""}
|
|
106
118
|
|
|
107
119
|
${this.error && !this.disabled && this.errorMessage !== "" ? renderFormElementErrors(this.errorMessage) : ""}
|
|
108
120
|
</div>
|
|
@@ -161,6 +173,9 @@ __decorateClass([
|
|
|
161
173
|
__decorateClass([
|
|
162
174
|
property({ type: Boolean, reflect: true })
|
|
163
175
|
], FormControlLayout.prototype, "required", 2);
|
|
176
|
+
__decorateClass([
|
|
177
|
+
property({ attribute: "description" })
|
|
178
|
+
], FormControlLayout.prototype, "description", 2);
|
|
164
179
|
|
|
165
180
|
export {
|
|
166
181
|
FormControlLayout
|
|
@@ -3,10 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.SGIGGO5M.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YWHYMKYI.js";
|
|
7
7
|
import {
|
|
8
8
|
ifDefinedAndNotEmpty
|
|
9
9
|
} from "./chunk.ZQJVCRB2.js";
|
|
10
|
+
import {
|
|
11
|
+
a11yWarning
|
|
12
|
+
} from "./chunk.PWL7QCVG.js";
|
|
10
13
|
import {
|
|
11
14
|
ShoelaceElement
|
|
12
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -28,6 +31,11 @@ var DSAProgressBar = class extends ShoelaceElement {
|
|
|
28
31
|
this.label = "";
|
|
29
32
|
}
|
|
30
33
|
render() {
|
|
34
|
+
if (!this.label) {
|
|
35
|
+
a11yWarning(
|
|
36
|
+
"<dsa-progress-bar> requires a label attribute for accessibility"
|
|
37
|
+
);
|
|
38
|
+
}
|
|
31
39
|
return html`
|
|
32
40
|
<div
|
|
33
41
|
part="base"
|