@ds-autonomie/web-components 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -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.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.2P3IVRMK.js → chunk.75VU5MNL.js} +11 -5
- 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.LLHSRCWY.js → chunk.BEKIGEWZ.js} +13 -0
- package/cdn/chunks/{chunk.V2UYRTUC.js → chunk.BNLQUWBO.js} +1 -1
- package/cdn/chunks/{chunk.6NFWRZM6.js → chunk.C6VRBK7T.js} +15 -2
- package/cdn/chunks/{chunk.DDRUVCZW.js → chunk.CMRQV2SO.js} +1 -1
- package/cdn/chunks/{chunk.YGAW4V4H.js → chunk.CTMJ2DNZ.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.3CRRJ74Q.js → chunk.E7IRWRZH.js} +1 -1
- package/cdn/chunks/{chunk.W6N2ZQTH.js → chunk.EVFY55H5.js} +6 -10
- 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.WYBADVDH.js → chunk.FLPTQ76Z.js} +10 -10
- 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.GS6TNOKD.js → chunk.FULHOODX.js} +6 -9
- 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.P5KRELMB.js → chunk.HE5SI4A5.js} +27 -13
- 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.57JBB4UL.js → chunk.JO52YCNJ.js} +1 -1
- package/cdn/chunks/{chunk.VHQBFGHB.js → chunk.JUHZQETN.js} +35 -10
- package/cdn/chunks/{chunk.TOWWOPMH.js → chunk.JZOEQBF7.js} +19 -4
- 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.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.JIUJNSW6.js → chunk.LBDB4OXT.js} +7 -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.NX5D5OTS.js → chunk.N6Z3FRHY.js} +2 -2
- package/cdn/chunks/{chunk.IAOVYG7Z.js → chunk.N7TSHDJG.js} +1 -1
- package/cdn/chunks/{chunk.7KCIFACP.js → chunk.NTOOFOWB.js} +1 -1
- package/cdn/chunks/{chunk.ER5ZWWSU.js → chunk.NV5OLVPR.js} +2 -2
- package/cdn/chunks/{chunk.EHSLOI5L.js → chunk.NY5U3HSN.js} +5 -3
- 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.HAONBKG7.js → chunk.TS2KKUX2.js} +14 -14
- package/cdn/chunks/{chunk.MML6GY5Y.js → chunk.TUB5XL3J.js} +1 -0
- package/cdn/chunks/{chunk.TO65OMN5.js → chunk.TZ4FLP4S.js} +25 -16
- package/cdn/chunks/{chunk.AATBJDAH.js → chunk.UPVAZQNH.js} +15 -12
- 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.QEPPYDSN.js → chunk.WD2ZD2TZ.js} +16 -5
- 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.RJUKDJQG.js → chunk.XLDTCR3W.js} +146 -70
- package/cdn/chunks/{chunk.WOONNSQ2.js → chunk.XRFDWQQQ.js} +2 -1
- 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.55Y4QE5R.js → chunk.ZHJDF2I3.js} +3 -3
- 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 +5 -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 +487 -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 +238 -84
- package/dist/chunks/{chunk.ITUK4PON.js → chunk.2JCMUNW4.js} +1 -1
- package/dist/chunks/{chunk.5NXRUN57.js → chunk.2OZ6SQ6Y.js} +27 -13
- 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.JOW4YVGA.js → chunk.4UC4W5Q5.js} +13 -0
- 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.QBHSEMUU.js → chunk.53DFT644.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.UJAK75R6.js → chunk.6674T4KX.js} +15 -12
- 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.THO67JP2.js → chunk.A4R5LBIA.js} +16 -5
- package/dist/chunks/{chunk.GZO5TQGU.js → chunk.AC4PBQVM.js} +11 -5
- package/dist/chunks/{chunk.SWP3OZUN.js → chunk.AMTRQ7HP.js} +1 -1
- package/dist/chunks/{chunk.ITAWMEY7.js → chunk.BHY3DDPH.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.3JLROK74.js → chunk.DR3IPTYE.js} +10 -10
- package/dist/chunks/{chunk.6UCJKKYR.js → chunk.DYTNEN2V.js} +7 -9
- 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.YOMZYBQL.js → chunk.FC7AQRZS.js} +2 -2
- package/dist/chunks/{chunk.MPZ56XQK.js → chunk.FUUFLFPS.js} +3 -3
- package/dist/chunks/{chunk.MAENDYI7.js → chunk.FWHDRD6T.js} +15 -2
- package/dist/chunks/{chunk.NHPMJYPM.js → chunk.G3UE6SMI.js} +146 -70
- 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.P3CATWXI.js → chunk.GRNDTTXR.js} +2 -2
- package/dist/chunks/{chunk.5H3FRLYG.js → chunk.GSKMPYLG.js} +14 -14
- 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.2W6FOXSH.js → chunk.HQJDKIMG.js} +25 -16
- 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.4C3EA7WT.js → chunk.JMJY2JIN.js} +5 -3
- 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.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.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.FK5HR2F4.js → chunk.OVOTWPG3.js} +1 -1
- package/dist/chunks/{chunk.OJ5RKDE5.js → chunk.OWV6XZFR.js} +2 -2
- 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.DANAZGRI.js → chunk.QG62LWYX.js} +8 -0
- package/dist/chunks/{chunk.LGDM46D4.js → chunk.RVCSQIWF.js} +19 -4
- 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.54KX7M52.js → chunk.SRP6V7OW.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.KQJQQDCQ.js → chunk.TRQQN4AO.js} +6 -10
- 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.7BE555XS.js → chunk.VJJQFEZ2.js} +6 -9
- package/dist/chunks/{chunk.52CUBOF2.js → chunk.VYIXCMT3.js} +3 -3
- 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.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.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.3HX6HRHC.js → chunk.YOISCONT.js} +2 -2
- 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.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 +5 -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 +487 -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 +238 -84
- package/package.json +1 -1
|
@@ -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.ZG2D4OQ4.js";
|
|
7
4
|
import {
|
|
8
5
|
renderFormElementErrors
|
|
9
6
|
} from "./chunk.IZBHR7GP.js";
|
|
@@ -19,6 +16,9 @@ import {
|
|
|
19
16
|
import {
|
|
20
17
|
watch
|
|
21
18
|
} from "./chunk.NOMN6DGD.js";
|
|
19
|
+
import {
|
|
20
|
+
a11yWarning
|
|
21
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
22
|
import {
|
|
23
23
|
ShoelaceElement
|
|
24
24
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -45,6 +45,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
45
45
|
this.defaultValue = [];
|
|
46
46
|
this.label = "";
|
|
47
47
|
this.helpText = "";
|
|
48
|
+
this.description = "";
|
|
48
49
|
this.name = "option";
|
|
49
50
|
this.value = [];
|
|
50
51
|
this.form = "";
|
|
@@ -163,6 +164,12 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
163
164
|
this.formControlController.setValidity(false);
|
|
164
165
|
this.formControlController.emitInvalidEvent(event);
|
|
165
166
|
}
|
|
167
|
+
getDescriptionIds() {
|
|
168
|
+
let ids = [];
|
|
169
|
+
if (this.error) ids = ["error-text"];
|
|
170
|
+
ids = [...ids, "help-text", "description"];
|
|
171
|
+
return ids.join(" ");
|
|
172
|
+
}
|
|
166
173
|
handleValueChange() {
|
|
167
174
|
this.getAllCheckboxes().forEach(
|
|
168
175
|
(checkbox) => checkbox.checked = this.value.includes(checkbox.value)
|
|
@@ -179,13 +186,6 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
179
186
|
(checkbox) => checkbox.parentReadonly = this.readonly
|
|
180
187
|
);
|
|
181
188
|
}
|
|
182
|
-
handleErrorChange() {
|
|
183
|
-
if (this.error) {
|
|
184
|
-
this.setAttribute("aria-invalid", "true");
|
|
185
|
-
} else {
|
|
186
|
-
this.removeAttribute("aria-invalid");
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
189
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
190
190
|
checkValidity() {
|
|
191
191
|
const isRequiredAndEmpty = this.required && this.value.length === 0;
|
|
@@ -232,6 +232,11 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
232
232
|
"<dsa-checkbox-group> requires a label attribute or a label slot for accessibility"
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
+
if (this.error && !this.errorMessage) {
|
|
236
|
+
a11yWarning(
|
|
237
|
+
"<dsa-checkbox-group> requires an error-message attribute for accessibility when the error attribute is set"
|
|
238
|
+
);
|
|
239
|
+
}
|
|
235
240
|
return html`
|
|
236
241
|
<fieldset
|
|
237
242
|
part="form-control"
|
|
@@ -247,8 +252,7 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
247
252
|
"form-control--options-horizontal": !!this.horizontal
|
|
248
253
|
})}
|
|
249
254
|
role="group"
|
|
250
|
-
aria-labelledby="label"
|
|
251
|
-
aria-describedby=${this.error ? "error-text help-text" : "help-text"}
|
|
255
|
+
aria-labelledby="label ${this.getDescriptionIds()}"
|
|
252
256
|
>
|
|
253
257
|
${this.hideLabel ? html`<dsa-visually-hidden id="label"
|
|
254
258
|
><slot name="label">${this.label}</slot></dsa-visually-hidden
|
|
@@ -304,6 +308,11 @@ var DSACheckboxGroup = class extends ShoelaceElement {
|
|
|
304
308
|
</slot>
|
|
305
309
|
|
|
306
310
|
${this.error ? renderFormElementErrors(this.errorMessage) : ""}
|
|
311
|
+
${this.description ? html`
|
|
312
|
+
<p id="description" classname="form-control__description">
|
|
313
|
+
${this.description}
|
|
314
|
+
</p>
|
|
315
|
+
` : ""}
|
|
307
316
|
</fieldset>
|
|
308
317
|
`;
|
|
309
318
|
}
|
|
@@ -330,6 +339,9 @@ __decorateClass([
|
|
|
330
339
|
__decorateClass([
|
|
331
340
|
property({ attribute: "help-text" })
|
|
332
341
|
], DSACheckboxGroup.prototype, "helpText", 2);
|
|
342
|
+
__decorateClass([
|
|
343
|
+
property({ attribute: "description" })
|
|
344
|
+
], DSACheckboxGroup.prototype, "description", 2);
|
|
333
345
|
__decorateClass([
|
|
334
346
|
property()
|
|
335
347
|
], DSACheckboxGroup.prototype, "name", 2);
|
|
@@ -392,9 +404,6 @@ __decorateClass([
|
|
|
392
404
|
__decorateClass([
|
|
393
405
|
watch("readonly")
|
|
394
406
|
], DSACheckboxGroup.prototype, "handleReadonlyChange", 1);
|
|
395
|
-
__decorateClass([
|
|
396
|
-
watch("error")
|
|
397
|
-
], DSACheckboxGroup.prototype, "handleErrorChange", 1);
|
|
398
407
|
DSACheckboxGroup = __decorateClass([
|
|
399
408
|
customElement("dsa-checkbox-group")
|
|
400
409
|
], DSACheckboxGroup);
|
|
@@ -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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_otp_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OCK5L55T.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlLayout
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.RVCSQIWF.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultValue
|
|
9
9
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -144,7 +144,9 @@ var DSAInputOTP = class extends FormControlLayout {
|
|
|
144
144
|
return this.value.length > 0 ? Math.min(this.value.length, this.length - 1) : 0;
|
|
145
145
|
}
|
|
146
146
|
getDescriptionIds() {
|
|
147
|
-
|
|
147
|
+
let ids = [];
|
|
148
|
+
if (this.error) ids = ["error-text"];
|
|
149
|
+
ids = [...ids, "help-text", "description"];
|
|
148
150
|
return ids.join(" ");
|
|
149
151
|
}
|
|
150
152
|
handleCurrentIndexChange() {
|
|
@@ -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
|
|
@@ -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 {
|
|
@@ -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"
|
|
@@ -15,10 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk.HGR7A5FK.js";
|
|
16
16
|
import {
|
|
17
17
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.YWHYMKYI.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.NOMN6DGD.js";
|
|
22
|
+
import {
|
|
23
|
+
a11yWarning
|
|
24
|
+
} from "./chunk.PWL7QCVG.js";
|
|
22
25
|
import {
|
|
23
26
|
ShoelaceElement
|
|
24
27
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -208,6 +211,9 @@ var FilterBase = class extends ShoelaceElement {
|
|
|
208
211
|
}
|
|
209
212
|
// Common render methods
|
|
210
213
|
renderTrigger() {
|
|
214
|
+
if (!this.label) {
|
|
215
|
+
a11yWarning("Filters require a label attribute for accessibility");
|
|
216
|
+
}
|
|
211
217
|
return html` <dsa-filter-button
|
|
212
218
|
slot="anchor"
|
|
213
219
|
class="filter__trigger"
|